NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-Stage Predict+Optimize for (Mixed Integer) Linear Programs

Xinyi Hu, Jasper C.h. Lee, Jimmy H.m. Lee, Peter J. Stuckey

In the realm of decision-making under uncertainty, the "Predict+Optimize" (P+O) framework has become a standard approach. The premise is straightforward: leverage machine learning to predict unknown parameters (such as future demand or resource availability) and then integrate those predictions into an optimization model to determine the optimal action. However, most existing P+O research assumes a "one-shot" scenario—all predictions are made, decisions are finalized, and then the ground truth is revealed simultaneously.

A new paper from researchers at CUHK, UC Davis, and Monash University argues that real-world operations rarely unfold so simply. Whether scheduling hospital staff for a week or managing a dynamic investment portfolio, information typically arrives in sequential trickles, requiring decisions to be made in stages.

TL;DR

This paper introduces Multi-Stage Predict+Optimize, a novel framework for sequential decision-making where unknown parameters are revealed over time. By training specialized neural networks for each stage using coordinate descent, the authors demonstrate that updating predictions in light of new information and past actions leads to significantly better optimization outcomes than traditional "one-shot" approaches.

The Multi-Stage Problem

Standard P+O frameworks typically handle a two-stage process:

  1. Stage 0: Predict unknown parameters and make a "soft" commitment.
  2. Stage 1: The true parameters are revealed, and a "recourse" action is performed to correct any discrepancies (e.g., hiring expensive temporary staff if demand was higher than initially predicted).

The authors highlight that many real-world problems are inherently multi-stage. Consider a hospital administrator scheduling nurse shifts for an upcoming week. They do not learn the entire week's patient load at once; they learn Monday's load on Sunday night, Tuesday's on Monday night, and so forth. Crucially, as new information arrives, they can update their predictions for the remainder of the week and adjust future schedules accordingly.

The primary challenge in this setting is interdependency. A decision made on Monday dictates what is feasible on Tuesday, and a prediction for Wednesday depends heavily on the commitments already locked in during the preceding days.

Methods: Training for Sequential Decisions

The authors propose a formal framework where decisions are "hard-committed" stage-by-stage. To train models effectively for this environment, they developed three neural network (NN) approaches:

  1. Baseline: A single NN makes one comprehensive prediction at the start, which is then reused across all subsequent stages. This represents the traditional "one-shot" approach adapted to a multi-stage setting.
  2. Sequential Coordinate Descent (SCD): The authors train one distinct NN per stage. Because the stages depend on each other, they employ coordinate descent—training the NN for Stage 1 while keeping the others fixed, then moving to Stage 2, and cycling through until the entire system converges.
  3. Parallel Coordinate Descent (PCD): Recognizing that SCD is a slow, serial process, PCD trains all stage-specific NNs simultaneously in parallel. It achieves this by using "snapshots" of the other NNs from the previous iteration.
Pseudocode for Sequential and Parallel Coordinate Descent training approaches.

To address the fact that optimization problems—especially Mixed Integer Linear Programs (MILPs)—are not naturally differentiable, the authors utilize convex relaxations. This technique allows gradients to flow from the final "regret" (the difference between the chosen action's cost and the optimal action in hindsight) back into the neural network weights.

Datasets and Benchmarks

The researchers evaluated their methods on three distinct optimization benchmarks:

  • Production and Sales Problem: A Linear Programming (LP) task where an oil company plans production across multiple months against uncertain customer demand.
  • Investment Problem: A MILP task involving the buying and selling of financial products where market prices and interest rates are revealed sequentially.
  • Nurse Rostering Problem: A complex MILP task where administrators must meet patient demand while minimizing hiring costs and strictly adhering to labor regulations.

The experiments utilized real-world data (such as demand data from the ICON scheduling competition) to ground the optimization instances in realistic numerical values.

Key Insights

  • The Power of Updates: The most significant advantage of the multi-stage framework is the ability to re-predict at every stage. Even if an initial prediction is accurate, stage-specific NNs learn to account for the "sunk costs" and constrained feasible regions created by previous decisions.
  • Interdependency Matters: Training NNs in isolation fails to capture the dynamics of the problem. The coordinate descent approach is vital because it forces early-stage models to recognize the downstream consequences of their predictions.
  • Soft vs. Hard Commitments: The framework elegantly manages the transition from "tentative plans" to "final actions," penalizing the model for making erratic changes while ensuring strict feasibility at every step.

Key Results

The empirical results across all benchmarks followed a consistent hierarchy of performance: SCD > PCD > Baseline > Standard Regression.

  • Superior Accuracy: In the Production and Sales problem, the SCD method improved performance over standard regression by up to 23%.
  • The Efficiency Trade-off: While SCD yielded the best optimization results, it was the most computationally expensive to train. PCD emerged as a practical "sweet spot," providing significantly better results than the baseline while training much faster than the sequential version.
  • Win Rates: In the highly constrained Nurse Rostering benchmark, the SCD method achieved a "win rate" (outperforming standard regression) of over 86% across various cost scenarios.

Limitations and Future Work

The authors are transparent about the remaining hurdles in this domain:

  • Computational Cost: Training these models requires solving numerous optimization problems in the inner loop. For very large-scale MILPs, this could become a significant bottleneck.
  • The "MILP Gap": Interestingly, the performance advantage of multi-stage methods was more pronounced in pure LPs than in MILPs. The authors hypothesize that the approximations required to differentiate through integer constraints might accumulate errors over many stages—a fascinating area for future research.
  • Feature Engineering: Preliminary tests indicated that feeding the true parameters of previous stages into the next stage's NN did not improve performance as much as expected. Determining how to better utilize "revealed truth" as a feature remains an open question.

Overall, this work marks a significant step toward making Predict+Optimize practical for the dynamic, unfolding nature of real-world operations.

Summary updated

BibTeX
@inproceedings{hu2024multi,
  author = {Xinyi HU and Jasper C.H. Lee and Jimmy H.M. Lee and Peter J. Stuckey},
  title = {{Multi-Stage Predict+Optimize for (Mixed Integer) Linear Programs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=pXFiHHySEw},
}
Figure