Robust sample average approximation

Dimitris Bertsimas, Vishal Gupta, Nathan Kallus

Abstract

Sample average approximation (SAA) is a widely popular approach to data-driven decision-making under uncertainty. Under mild assumptions, SAA is both tractable and enjoys strong asymptotic performance guarantees. Similar guarantees, however, do not typically hold in finite samples. In this paper, we propose a modification of SAA, which we term Robust SAA, which retains SAA's tractability and asymptotic properties and, additionally, enjoys strong finite-sample performance guarantees. The key to our method is linking SAA, distributionally robust optimization, and hypothesis testing of goodness-of-fit. Beyond Robust SAA, this connection provides a unified perspective enabling us to characterize the finite sample and asymptotic guarantees of various other data-driven procedures that are based upon distributionally robust optimization. This analysis provides insight into the practical performance of these various methods in real applications. We present examples from inventory management and portfolio allocation, and demonstrate numerically that our approach outperforms other data-driven approaches in these applications.

Introduction

In operations research and engineering, stochastic optimization problems often involve minimizing an expected cost where the underlying probability distribution is unknown. The standard approach, Sample Average Approximation (SAA), replaces the unknown distribution with the empirical distribution of available data. While SAA is popular due to its computational tractability and asymptotic convergence, it suffers from significant instability in finite-sample regimes. With limited data, SAA solutions can be highly sensitive to noise, leading to poor out-of-sample performance and overly optimistic cost estimates.

Distributionally Robust Optimization (DRO) offers an alternative by optimizing against the worst-case distribution within a predefined uncertainty set. However, traditional DRO methods often struggle with a trade-off: they either fail to converge to the true optimum as data grows or become computationally prohibitive. Robust SAA addresses this gap by creating a framework that is tractable, reliable in small samples, and asymptotically consistent.

The Robust SAA Framework

The core innovation of Robust SAA is defining the distributional uncertainty set (DUS) as the confidence region of a statistical goodness-of-fit (GoF) test. This creates a fundamental link between statistical theory and robust optimization: the significance level of a hypothesis test corresponds to the finite-sample guarantee of the optimization, while the consistency of the test ensures asymptotic convergence.

The Robust SAA framework constructs an uncertainty set (shaded region) around the empirical distribution (solid line) based on a goodness-of-fit test, ensuring the true distribution (dashed line) is captured with high probability.

Instead of optimizing over the empirical distribution alone, the decision-maker optimizes over all distributions that "pass" a GoF test, such as the Kolmogorov-Smirnov test for one-dimensional data. This shaded region in the figure above acts as a natural regularizer, preventing the model from over-fitting to the specific noise present in a small sample.

Computational Tractability

A major contribution of this work is demonstrating that these minimax problems can be reformulated into single-level convex optimization problems. For common cost functions in inventory or portfolio management, Robust SAA reduces to Linear Programming (LP) or Second-Order Cone Programming (SOCP), allowing it to be solved efficiently with standard commercial solvers.

For high-dimensional data, the authors introduce a new GoF test based on Linear-Convex Ordering (LCX). This allows the method to remain effective for multivariate distributions where traditional tests often fail due to the curse of dimensionality.

Numerical Results and Insights

The paper evaluates Robust SAA using benchmarks in inventory management (Newsvendor problems) and portfolio allocation.

Key Findings:

  • Reliability: In Newsvendor experiments with Normal, Gumbel, and Mixed demand distributions, Robust SAA's cost bounds held with the promised probability (e.g., 80% confidence) even for very small sample sizes ($N$). In contrast, standard SAA and Two-Sample SAA frequently provided guarantees that were violated in practice.
  • Convergence: Unlike earlier DRO models, Robust SAA's cost estimates converge to the true full-information optimum as the sample size increases, satisfying the property of "uniform consistency."
  • Stability: In portfolio allocation tasks involving heavy-tailed risks, Robust SAA significantly outperformed SAA in terms of out-of-sample suboptimality and showed much lower variance in its recommended decisions. It effectively acts as a stabilizer, preventing wild swings in decisions when data points change.

Conclusion

Robust SAA provides a unified perspective that imports decades of statistical theory into the realm of robust optimization. By treating the uncertainty set as a confidence region, it offers a principled way to manage the "price of data" and provides managers with reliable, stable decision-making tools. While challenges remain in extremely high-dimensional settings, the introduction of LCX-based tests and the use of bootstrapping for threshold setting represent promising paths for future research in tightening these bounds further.

Summary updated

BibTeX
@article{bertsimas2014robust,
  author = {Dimitris Bertsimas and Vishal Gupta and Nathan Kallus},
  title = {{Robust sample average approximation}},
  journal = {Math. Program.},
  year = {2014},
}
Figure