Data-driven Distributionally Robust Optimization over Time

Kevin-Martin Aigner, Andreas Bärmann, Kristin M. Braun, Frauke Liers, Sebastian Pokutta, Oskar Schneider, Kartikey Sharma, Sebastian TschuppikINFORMS J. Optim 2023

Abstract

Stochastic Optimization (SO) is a classical approach for optimization under uncertainty that typically requires knowledge about the probability distribution of uncertain parameters. As the latter is often unknown, Distributionally Robust Optimization (DRO) provides a strong alternative that determines the best guaranteed solution over a set of distributions (ambiguity set). In this work, we present an approach for DRO over time that uses online learning and scenario observations arriving as a data stream to learn more about the uncertainty. Our robust solutions adapt over time and reduce the cost of protection with shrinking ambiguity. For various kinds of ambiguity sets, the robust solutions converge to the SO solution. Our algorithm achieves the optimization and learning goals without solving the DRO problem exactly at any step. We also provide a regret bound for the quality of the online strategy which converges at a rate of $\mathcal{O}(\log T / \sqrt{T})$, where $T$ is the number of iterations. Furthermore, we illustrate the effectiveness of our procedure by numerical experiments on mixed-integer optimization instances from popular benchmark libraries and give practical examples stemming from telecommunications and routing. Our algorithm is able to solve the DRO over time problem significantly faster than standard reformulations.

Introduction

In the field of optimization under uncertainty, practitioners often face a choice between two paradigms: Stochastic Optimization (SO) and Robust Optimization (RO). SO assumes the underlying probability distribution of uncertain parameters is known, while RO ignores probabilities entirely to protect against the absolute worst-case scenario.

Distributionally Robust Optimization (DRO) serves as a middle ground, protecting against a set of possible distributions known as an ambiguity set. However, traditional DRO is often treated as a static problem where uncertainty is defined once. In many real-world applications, data arrives sequentially. As more observations (scenarios) are collected—such as fluctuating traffic times or network demands—the ambiguity set should naturally shrink as we gain confidence in the true distribution. The primary barrier to this dynamic approach is computational: solving a full DRO problem repeatedly as new data arrives is often too slow for real-time decision-making. This paper introduces a framework to learn uncertainty and optimize decisions simultaneously without the massive computational overhead of exact reformulations.

Methodology: DRO over Time

The proposed framework, Algorithm 2: DRO over Time with Online Projected Gradient Descent, treats the optimization process as a repeated game between two players:

  1. The $p$-player (The Adversary): Instead of solving for the absolute worst-case distribution within the ambiguity set using complex mathematical programming, this player performs a single Online Gradient Descent (OGD) step. This step updates the current estimate of the "worst" distribution based on the most recent data.
  2. The $x$-player (The Decision Maker): This player solves a standard, significantly simpler Stochastic Optimization problem based on the distribution provided by the $p$-player.

Key Innovations

  • Shrinking Ambiguity Sets: The algorithm utilizes data-driven sets—defined by Confidence Intervals, $\ell_2$-norms, or Kernels—that contract toward the true distribution as the sample size increases.
  • Approximate Solving: A critical efficiency gain comes from the fact that the algorithm never solves the full, exact DRO problem at any single iteration. By performing only one gradient step and one SO solve per time step, the computational burden is drastically reduced.
  • Theoretical Guarantees: Despite the approximate nature of each step, the authors prove a dynamic regret bound of $\mathcal{O}(\log T / \sqrt{T})$. This ensures that the performance gap between the online strategy and the optimal hindsight strategy vanishes over time.

Experimental Evaluation

The researchers evaluated the algorithm across several rigorous benchmarks to test both computational speed and solution quality:

  • Mixed-Integer Programming: 15 instances from MIPLIB and 10 convex instances from QPLIB.
  • Network Design: Telecommunications infrastructure instances (res8, w1_100, w1_200) facing uncertain demand.
  • Route Choice: A real-world simulation using the Chicago city network (ChicagoSketch), involving 933 nodes and 2,950 arcs, simulating a driver learning the optimal commute over 5,000 days.

Key Results

  • Computational Efficiency: The online algorithm demonstrated massive speedups. In the w1_200 network design instance, the algorithm required only 4.7 seconds per iteration, whereas the exact DRO reformulation took 1,282.2 seconds—a speedup exceeding 270x.
  • Solution Quality: The "regret" (the loss in quality compared to an exact solver) remained marginal and converged toward zero as predicted by the theory.
  • Stochastic Consistency: As data accumulated, the "cost of protection" decreased. The algorithm successfully transitioned from a conservative robust posture to an efficient stochastic one. In the Chicago routing experiment, the algorithm eventually "learned" the true stochastic shortest path, even after initially taking safer, deviating routes.

Discussion and Future Work

The findings suggest that solving the inner maximization of a DRO problem to optimality at every step is unnecessary; a simple gradient update in the probability space is sufficient to maintain robustness. This bridges the gap between being "safe" (Robust) and being "efficient" (Stochastic).

However, some limitations remain. The current framework is designed for problems with a finite number of discrete scenarios. While these can approximate continuous variables, a native continuous-distribution version is a subject for future research. Additionally, the algorithm currently assumes the underlying distribution is stationary; adapting the framework to handle "concept drift" (non-stationary environments) would further expand its practical utility in changing markets or environments.

Summary updated

BibTeX
@article{aigner2023data,
  author = {Kevin-Martin Aigner and Andreas Bärmann and Kristin M. Braun and Frauke Liers and Sebastian Pokutta and Oskar Schneider and Kartikey Sharma and Sebastian Tschuppik},
  title = {{Data-driven Distributionally Robust Optimization over Time}},
  journal = {INFORMS J. Optim.},
  year = {2023},
}
Figure