← Latest papers
🤖 machine learning

Input convex neural networks as surrogates in mathematical optimisation

This paper advocates for using input convex neural networks (ICNNs) as surrogates in mathematical optimization, demonstrating that their convex architecture enables tighter relaxations and more efficient branch-and-bound algorithms compared to traditional feedforward networks, thereby improving solve times and scalability for problems with convex or concave underlying responses.

Original authors: Yu Liu, Jan Kronqvist, Fabricio Oliveira

Published 2026-08-11
📖 8 min read🧠 Deep dive

Original authors: Yu Liu, Jan Kronqvist, Fabricio Oliveira

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to solve a massive, complicated puzzle, like planning the most efficient route for a delivery truck or mixing the perfect batch of wine. Often, the rules of the game are hidden inside a "black box" — a complex computer program (a neural network) that has learned how the world works by looking at millions of examples. You know what goes in and what comes out, but you don't know the secret math inside. To find the best possible solution, you need to open that black box and fit it into your puzzle. The trouble is, the most common type of black box is a jagged, zig-zagging maze. Trying to find the perfect path through it is like trying to solve a Rubik's cube while blindfolded; it's so hard that computers often give up before they find the answer.

This paper tackles that exact headache. It introduces a special kind of black box called an Input Convex Neural Network (ICNN). Think of this not as a jagged maze, but as a smooth, bowl-shaped slide. Because the shape is so predictable (it only curves one way), computers can slide right to the bottom without getting stuck. The authors show that by using these smooth slides instead of jagged mazes, we can solve these optimization puzzles much faster and with much less computing power. They didn't just guess this would work; they built a new mathematical tool to prove it and tested it on real-world problems like delivering food aid and drilling for oil, finding that their method is often a thousand times faster than the old way.

The Problem: The Jagged Maze vs. The Smooth Slide

In the world of operations research (the science of making the best decisions), we often use neural networks to act as surrogates. A surrogate is like a stand-in actor; it mimics a complex, expensive-to-calculate process so we can make decisions quickly. For years, the standard stand-in has been a Feedforward Neural Network (FNN). Imagine an FNN as a landscape made of thousands of tiny, sharp steps and cliffs. It's incredibly accurate at predicting outcomes, but because it's so jagged, it's a nightmare to optimize. To find the best solution, computers have to turn the problem into a giant list of "yes or no" questions (binary variables), which creates a combinatorial explosion. It's like trying to find the lowest point in a mountain range by checking every single rock individually; as the network gets bigger, the time it takes grows so fast that the computer runs out of time.

The authors argue that if the real-world process we are modeling is naturally smooth and curved (like a bowl or a hill), we shouldn't force a jagged FNN to do the job. Instead, we should use an Input Convex Neural Network (ICNN). An ICNN is a neural network with a strict rule: it is only allowed to curve in one direction. It's like a smooth slide or a perfect bowl. This structural constraint makes the math much easier to handle.

The Discovery: Two Ways to Win

The paper explores two main ways to use these smooth ICNNs to solve optimization problems, and they found that both are superior to the old methods.

1. The "Tighter Squeeze" (ICNN-MIP)
First, the authors looked at what happens if we still use the standard "yes or no" method (Mixed-Integer Programming, or MIP) but swap the jagged FNN for a smooth ICNN. They proved mathematically that the "relaxation" (a simplified version of the problem used to guess the answer) for an ICNN is incredibly tight.

  • The Analogy: Imagine trying to guess the weight of a watermelon. The FNN method gives you a box that is huge and loose; the watermelon could be anywhere inside. The ICNN method gives you a box that hugs the watermelon perfectly.
  • The Result: Because the ICNN's box is so tight, the computer doesn't need to check nearly as many possibilities. In their tests, the ICNN version solved problems in a fraction of a second that the FNN version couldn't solve even after an hour. In some cases, the ICNN method found the perfect answer immediately without needing to branch out at all, whereas the FNN method got lost in millions of dead ends.

2. The "Slippery Slide" (ICNN-BB)
Second, and perhaps more exciting, they developed a brand-new algorithm called ICNN-BB. This method completely throws away the "yes or no" questions. Because the ICNN is smooth and convex, the authors realized they could describe the entire network using only simple linear equations (like a straight line) without needing any binary variables.

  • The Analogy: Instead of climbing a jagged mountain with a rope and grappling hooks (binary variables), you just slide down a smooth, frictionless slide.
  • The Catch: This slide works perfectly if the problem is set up in a specific way (minimizing the output). If the problem is more complex, the slide might have a small gap where it's not perfectly tight. To fix this, the authors built a "concave envelope" — a safety net that sits on top of the slide to catch any loose ends. They combined the slide (epigraph) and the safety net (concave envelope) to create the strongest possible mathematical description of the network.
  • The Result: Their new algorithm, ICNN-BB, branches directly on the input variables (the things you are trying to decide) rather than the internal neurons. This is a huge efficiency gain. In their tests, this method was often the fastest, especially when the problem wasn't too complex.

The Real-World Tests

To prove this wasn't just math on paper, the authors tested their ideas on three very different real-world scenarios:

  1. Humanitarian Food Aid: They modeled a system to deliver food to people in need, trying to minimize cost while meeting nutritional and taste requirements. The "taste" part was the black box.

    • The Outcome: The ICNN methods were incredibly fast. The standard FNN method crashed and burned, taking over an hour and failing to find a solution for larger networks. The ICNN methods solved the same problems in less than a second. Even better, the ICNN-BB method was so accurate that it stopped immediately at the very first step, proving the "slide" was perfect for this problem.
  2. Oil Well Routing: This involved deciding how to route oil from wells to processing facilities, a problem full of tricky physics and binary choices (open or close a pipe).

    • The Outcome: Here, the ICNN methods still won, but the race was closer. The ICNN-MIP method solved problems that the FNN method couldn't touch. The ICNN-BB method was the fastest on smaller versions but slowed down on the largest ones because the "safety net" (the concave envelope) got too complicated to calculate when there were too many variables. This showed a clear limit: ICNN-BB is amazing for low-to-medium complexity, but the "safety net" gets heavy if the problem gets too big.
  3. Wine Blending: A winemaker trying to mix grapes from different suppliers to create the best-tasting wine at the lowest cost.

    • The Outcome: Similar to the oil problem, the ICNN methods were significantly faster and more reliable than the FNN method. The ICNN-BB method was the champion for small batches, but as the number of blends increased, the computational cost of the "safety net" grew, eventually making the standard ICNN-MIP method a better choice.

The Bottom Line

The paper concludes that Input Convex Neural Networks are the new default choice for optimization problems where the underlying relationship is smooth or curved. They offer a "two-tier" advantage:

  1. If you use them with standard solvers (ICNN-MIP), you get a much tighter, more efficient search than before.
  2. If you use them with their new specialized algorithm (ICNN-BB), you can often solve the problem without any binary variables at all, leading to massive speedups.

However, the authors are careful to note that this isn't a magic bullet for everything. The ICNN-BB method hits a wall when the number of input variables gets too high (like in the wine blending test with 55 dimensions), because calculating the "safety net" becomes too expensive. But for a vast range of problems, this approach turns a computationally impossible nightmare into a quick, smooth slide. The authors suggest that in the future, we might see even smarter ways to build these safety nets or mix convex and non-convex networks to get the best of both worlds.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →