Learning Scenario Reduction for Two-Stage Robust Optimization with Discrete Uncertainty

Tianjue Lin, Jianan Zhou, Jieyi Bi, Yaoxin Wu, Wen Song, Zhiguang Cao, Jie Zhang

TL;DR

Two-Stage Robust Optimization (2RO) is a powerful framework for decision-making under uncertainty, but it suffers from extreme computational costs when handling large numbers of scenarios. This paper introduces NeurPRISE, a deep learning approach that uses a GNN-Transformer architecture to intelligently select a tiny, highly representative subset of scenarios based on the problem's actual structure. NeurPRISE achieves up to a 200× speedup over sequential lookahead heuristics while maintaining near-optimal solution quality and demonstrating excellent zero-shot generalization.

What Problem Does This Paper Address?

Real-world optimization problems—such as logistics, network design, and facility location—are riddled with uncertainty (e.g., fluctuating customer demand or volatile material costs). Two-Stage Robust Optimization (2RO) handles this by making a proactive first-stage decision, then allowing reactive "recourse" decisions to be made after the uncertainty is revealed.

However, when uncertainty is modeled as a discrete set of scenarios, exact solvers break down because the problem size explodes linearly with the number of scenarios. To make computation tractable, practitioners use scenario reduction to pick a smaller, representative subset of scenarios.

The catch? Existing scenario reduction methods are problem-agnostic—they look only at the statistical distance or geometry of the scenarios, completely ignoring the problem's specific constraints, feasible regions, or recourse dynamics. This paper addresses this gap by creating a problem-driven scenario reduction method that understands exactly how each scenario impacts the final objective.

Methods

The authors propose a two-step paradigm consisting of an expert heuristic and a neural surrogate:

  1. PRISE (PRoblem-drIven SEquential lookahead): An exact greedy heuristic that builds a reduced scenario set step-by-step. At each iteration, it evaluates the actual "marginal gain" of adding each unselected scenario by solving the underlying optimization problem. While highly accurate, PRISE is computationally heavy because it requires solving multiple Mixed-Integer Linear Programs (MILPs) at every step.
  2. NeurPRISE: To bypass PRISE's heavy computational footprint, the authors train a neural surrogate model via imitation learning to replicate PRISE's selections in a single forward pass. NeurPRISE uses a GNN-Transformer backbone:
  3. GNN Encoder: Encodes individual scenarios as bipartite constraint-variable graphs to capture problem-specific structures.
  4. Transformer Encoder: Models cross-scenario interactions and dependencies through attention mechanisms.
  5. Multi-Head Scoring Decoder: Outputs importance scores for all scenarios simultaneously.

NeurPRISE is trained using a novel Score-Weighted KL (SWKL) loss, which applies log-compression to the marginal gains computed by PRISE, flattening the steep decay of diminishing returns and allowing the model to effectively rank scenarios.

Figure 1: An illustrative overview of our approach. Left: PRISE; Upper Right: NeurPRISE Frame- work; Lower Right: NeurPRISE Inference.

Datasets

The approach was evaluated across three classic 2RO problem classes with discrete uncertainty:

  • Selection (SEL): Selecting a minimum-cost subset of items with uncertain costs.
  • Vertex Cover (VC): Finding a minimum-cost node cover on a graph with uncertain node costs.
  • Capacitated Facility Location Problem (CFLP): Deciding which facilities to open where uncertainty enters through customer demands in the constraints.

Synthetic datasets were generated at small (50 scenarios), medium (50 scenarios, larger problem size), and large scales (100 scenarios) for training and evaluation.

Key Insights and Ideas

  • Problem-Driven beats Problem-Agnostic: PRISE converges to within 1% of the full-scenario objective using just 2–8% of the scenario set, whereas problem-agnostic baselines require 2–7× more scenarios for the same coverage.
  • Empirical Diminishing Returns: Even though the 2RO objective function is not mathematically submodular, it strongly exhibits diminishing returns in practice. The first few selected scenarios capture the vast majority of the worst-case impact.
  • Decoupling Complexity: By selecting a fixed number of scenarios ($k$) via a neural forward pass, NeurPRISE decouples the downstream MILP solver's runtime from the total number of initial scenarios ($S$).

Key Results

  • Massive Speedups: NeurPRISE delivers a 7–200× speedup over the PRISE heuristic and runs orders of magnitude faster than exact full-scenario solvers.
  • Low Regret: Across SEL and VC problems, NeurPRISE consistently achieves lower regret (suboptimality) than standard baselines (like K-means or MaxSum), closely approaching the quality of the PRISE oracle.
  • Zero-Shot Generalization: NeurPRISE models trained on small, uniform distributions generalize remarkably well without retraining to:
  • Up to 5× larger problem scales.
  • Up to 4× more scenarios (scaling sub-linearly in total time).
  • Distribution shifts (e.g., shifting from Uniform to Normal or Multimodal scenario distributions).

Limitations and Future Work

  • High Offline Labeling Cost: Generating the training labels using the PRISE oracle requires solving many MILPs sequentially, making the offline data collection phase very expensive for large instances.
  • Downstream MILP Bottleneck: While NeurPRISE's neural inference takes milliseconds, the overall time is still dominated by the downstream exact MILP solver acting on the reduced set.
  • Future Directions: The authors suggest exploring cheaper labeling oracles (e.g., relaxed MILPs) and techniques to further mitigate downstream solver overhead.

Summary updated

BibTeX
@inproceedings{lin2026learning,
  author = {Tianjue Lin and Jianan Zhou and Jieyi Bi and Yaoxin Wu and Wen Song and Zhiguang Cao and Jie Zhang},
  title = {{Learning Scenario Reduction for Two-Stage Robust Optimization with Discrete Uncertainty}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=z2LE8XaW7F},
}
Figure