Learning Decision-Focused Uncertainty Sets in Robust Optimization

Irina Wang, Cole Becker, Bart P. G. Van ParysarXiv 2023 · DOI

Abstract

We propose a data-driven technique to automatically learn contextual uncertainty sets in robust optimization, resulting in excellent worst-case and average-case performance while also guaranteeing constraint satisfaction. Our method reshapes the uncertainty sets by minimizing the expected performance across a contextual family of problems, subject to conditional-value-at-risk (CVaR) constraints. Our approach is very flexible, and can learn a wide variety of uncertainty sets while preserving tractability. We solve the constrained learning problem using a stochastic augmented Lagrangian method that relies on differentiating the solutions of the robust optimization problems with respect to the parameters of the uncertainty set. Due to the nonsmooth and nonconvex nature of the augmented Lagrangian function, we apply the nonsmooth conservative implicit function theorem to establish convergence to a critical point, which is a feasible solution of the constrained problem under mild assumptions. Using empirical process theory, we show finite-sample probabilistic guarantees of constraint satisfaction for the resulting solutions. Numerical experiments show that our method outperforms traditional approaches in robust and distributionally robust optimization in terms of out-of-sample performance and constraint satisfaction guarantees.

Introduction

In Robust Optimization (RO), decisions are designed to remain feasible even under the worst-case realization of uncertain data. This is achieved by defining an uncertainty set—a region where uncertain parameters are expected to reside. Traditionally, these sets are constructed using a "decoupled" approach: one first builds a set that covers a high percentage (e.g., 95%) of historical data and then solves the optimization problem.

However, this coverage-based approach is often blind to the specific optimization task. It may protect against worst-case scenarios that have little impact on the objective function, leading to overly conservative and expensive decisions in typical scenarios. This paper introduces a framework to "learn" the shape and size of uncertainty sets by focusing directly on the quality of the resulting decisions, effectively bridging the gap between data modeling and decision-making.

Methodology: Decision-Focused Learning

The authors propose Learning Decision-Focused Uncertainty Sets (LRO), which treats the uncertainty set as a parametric model that can be optimized. The core of the approach is a bi-level optimization problem that maps context parameters (features) to optimal decisions.

The LRO Framework

  1. Outer Level (Learning): The parameters $\theta$ of the uncertainty set (such as its center, shape, and size) are tuned to minimize the expected cost across many scenarios. To ensure safety, the authors incorporate a constraint on the Conditional Value-at-Risk (CVaR) of the problem's constraints. This ensures that violations are not only rare but also limited in magnitude.
  2. Inner Level (Decision): For a given context $x$ and learned parameters $\theta$, the system solves a standard Robust Optimization problem to find the optimal decision $z(\theta, x)$.
The LRO framework: context parameters $x$ drive an optimization layer to produce a parametric solution $z(\theta, x)$, which is evaluated to update the uncertainty set parameters $ heta$.

Differentiable Optimization and Convergence

To solve this bi-level problem, the authors utilize differentiable optimization, treating the RO solver as a layer within a neural-like architecture. Because the resulting optimization landscape is inherently non-smooth and non-convex, the authors employ a stochastic augmented Lagrangian method. They provide a rigorous theoretical foundation for this approach by applying the nonsmooth conservative implicit function theorem, proving that the algorithm converges to a critical point that is a feasible solution under mild assumptions.

Experimental Evaluation

The LRO method was evaluated against traditional RO and Distributionally Robust Optimization (DRO) baselines across several complex benchmarks:

  • Portfolio Optimization: In a 30-stock test, LRO achieved an average-case objective of -0.925 (higher profit), significantly outperforming standard Mean-Variance RO (-0.831) and the best contextual baseline (CMV at -0.898).
  • Multi-stage Inventory Management: In a two-stage retail network problem, LRO achieved the best worst-case (-401.59) and average-case (-404.48) performance. Crucially, it maintained the target 10% constraint violation rate, whereas other methods were either overly conservative or failed to meet safety guarantees.
  • Computational Efficiency: By learning simpler, reshaped ellipsoidal or budget sets, the final model remains highly tractable at "test time," offering faster execution than complex DRO methods.

Key Insights and Conclusion

The primary contribution of this work is the shift from coverage-focused to decision-focused uncertainty sets. An uncertainty set does not need to perfectly represent the underlying distribution; it only needs to be shaped to produce high-performing robust decisions. By making these sets contextual, the model learns to map specific features (like market volatility) to custom-shaped sets for that specific moment.

While the method currently requires the inner RO problem to be convex for effective differentiation, it provides a powerful template for data-driven robust decision-making. Future work may extend this to non-convex constraints or integer programming, further expanding the reach of decision-focused optimization in dynamic environments.

Summary updated

BibTeX
@misc{wang2023learning,
  author = {Irina Wang and Cole Becker and Bart P. G. Van Parys},
  title = {{Learning Decision-Focused Uncertainty Sets in Robust Optimization}},
  year = {2023},
  eprint = {2305.19225},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.19225},
}
Figure