math.OCNov 24, 2026

KKT Atlas: Learning Low-Dimensional Local Scenario Models for Contextual Stochastic Optimization

Authors: Zhengzhong Ricky You, Baichuan Mo, Yuan Zhou, Jinhua Zhao, Zuo-Jun Max Shen

Organizations: Department of Civil Engineering, Tsinghua University, Beijing 100084, China · Yau Mathematical Sciences Center, Tsinghua University, Beijing 100084, China · Department of Urban Studies and Planning, Massachusetts Institute of Technology, Cambridge, MA 02139, USA · Department of Industrial Engineering and Operations Research, University of California, Berkeley, Berkeley, CA 94720, USA

Abstract

In contextual stochastic optimization, integrated learning trains conditional models on operational loss, but repeatedly solving stochastic programs with many scenarios is costly. We propose KKT Atlas, which partitions contexts into local charts and identifies a low-dimensional subspace per chart from decision gradients of the scenario cost. It generates shared scenarios by jointly fitting subspace coordinates and context-dependent probabilities. We show that one more scenario than the subspace dimension suffices to approximate the conditional Karush-Kuhn-Tucker optimality condition under regularity conditions, yielding decision and risk bounds under local strong convexity, with generalization error scaling with the compact parameter dimension. On three synthetic problems, Atlas uses 4-18 scenarios per decision versus 500 for direct-solve full-support integrated learning. It attains comparable or lower risk with about 44-23×23\times construction and 1313-61×61\times batch deployment speedups. Atlas also achieves lower risk than clustering-based reduction at matched support budgets. In real-world European grid reserve commitment, Atlas compresses 728 scenarios to 8-9, cutting construction and deployment times by factors of about 4 and 3 relative to full-support integrated learning. Its loss is lowest over 11 quarters and, over 17 later quarters with fixed settings, slightly higher than with full-support integrated learning and significantly lower than with the remaining benchmarks.

Figures & tables

Explore similar work

Oct 23, 2026

Contextual Decision Making: Predictive or Generative

Contextual decision making uses observed covariates to guide decisions under uncertainty. Two natural approaches are predict-then-optimize (PtO), which learns the conditional expected objective, and generate-then-optimize (GtO), which learns conditional uncertainty and optimizes using generated scenarios. We study when each approach is preferable by examining how the choice of learning target affects statistical accuracy and optimization tractability. Although PtO learns a narrower target, our regret bounds show how differences in smoothness can offset GtO's additional dimensional burden. Exploiting smoothness also raises an optimization tradeoff: within the class of nonnegative-weight PtO methods studied, a lower bound limits the gains from additional smoothness, while more flexible methods may introduce signed weights and lose the guarantee of preserving convexity. GtO preserves scenario-wise convexity, but requires learning a richer object and generating scenarios for optimization. Synthetic experiments and a real case study illustrate how these tradeoffs vary with data availability and problem structure. Together with the scope for reusing a model across tasks, our findings provide practical guidance for choosing between the approaches without identifying a universal winner.
May 7, 2025

Primal-dual algorithm for contextual stochastic combinatorial optimization

This paper introduces a novel approach to contextual stochastic optimization, integrating operations research and machine learning to address decision-making under uncertainty. Traditional methods often fail to leverage contextual information, which underscores the necessity for new algorithms. In this study, we utilize neural networks with combinatorial optimization layers to encode policies. Our goal is to minimize the empirical cost, which is estimated from past data on uncertain parameters and contexts. To that end, we present a surrogate learning problem and a generic primal-dual algorithm that is applicable to various combinatorial settings in stochastic optimization. Our approach extends classic Fenchel--Young loss results and introduces a new regularization method using sparse perturbations on the distribution simplex. This allows for tractable updates in the original space and can accommodate diverse objective functions. We establish sublinear convergence for the exact linear-parametric version and provide a bound on the non-optimality of the resulting policy in terms of the empirical cost. Experiments on three contextual stochastic optimization problems show that our algorithm is efficient and scalable, achieving performance comparable to state-of-the-art baselines with significantly reduced computational requirements.
Aug 15, 2026

Decision-Driven Regularization: A Blended Model for Learning and Optimization

In contextual optimization, the decision-maker seeks optimal decisions to minimize a cost function, that varies based on observed features. This context is common in many business applications ranging from on-demand delivery and retail operations to portfolio optimization and inventory management. In this paper, we study the learning and optimization approach, which first learns how outcomes result from the features, and then selects optimal decisions based on these outcomes. We focus on the integrated learning and optimization literature, and identify that a lack of control for prediction accuracy can lead to overfitting and a loss of decision effectiveness against simple separate learning and optimization models. Instead, we propose a bi-objective formulation that balances prediction accuracy and cost minimization, termed decision-driven regularization. It also addresses ambiguity in the definition of the cost function via a surrogate that depends on a new hyperparameter. We additionally show that alternative perspectives for formulating the problem, namely robust optimization and regret minimization, lead to models that are closely related to our proposed model. As a consequence, our framework generalizes models such as SPO+. Our model is shown to be numerically superior to other benchmarks, such as OLS, Random Forest, XGBoost, SPO+, Perturbation Gradient, and Learning and Rank, in our synthetic studies.