Statistical Properties of Robust Optimization under Distribution Shifts

Zhiyi Li, Xiaojie Mao, Yunbei Xu, Ruohan Zhan

TL;DR

This paper derives the first dimension-free generalization error bounds for Distributionally Robust Optimization (DRO) and Robust Satisficing (RS) under genuine Wasserstein distribution shifts. The authors reveal that DRO works by shrinking the effective distributional distance, whereas RS works by reducing the model's sensitivity to shift. Furthermore, they provide theoretical and empirical decision rules showing when to prefer DRO over RS based on whether the shift's magnitude or direction is known.

What Problem Does This Paper Address?

Standard machine learning models trained via Empirical Risk Minimization (ERM) assume that training (source) and test (target) data share the same distribution. When distribution shift occurs, ERM performance can catastrophically degrade.

To hedge against shifts, practitioners turn to robust learning frameworks:

  • Distributionally Robust Optimization (DRO) minimizes the worst-case expected loss within a Wasserstein ball of radius $r$ around the empirical distribution.
  • Robust Satisficing (RS) constrains loss deviations beyond a tolerable threshold $\tau$ to scale linearly with the distributional distance.

Despite their popularity, existing theoretical guarantees typically analyze vanishing-radius asymptotics, assume no shift ($P^* = \tilde{P}$), or only consider adversarial worst-case perturbations. Prior statistical bounds for RS also suffered from the curse of dimensionality ($O(n^{-1/d})$) and failed to characterize the core trade-off between robustness and nominal performance. This paper closes these gaps by providing finite-sample generalization bounds under true distribution shifts.

Methods

The authors analyze excess risk on a target distribution $\tilde{P}$: $$R_{\tilde{P}}(\hat{f}) := \mathbb{E}_{\tilde{P}}[\ell(\hat{f}, z)] - \inf_{f \in \mathcal{F}} \mathbb{E}_{\tilde{P}}[\ell(f, z)]$$

Key methodological elements include:

  • Dimension-Free Analysis: Using Kantorovich–Rubinstein duality, covering numbers, and uniform empirical process control via $\phi$-envelope function classes (adapted from Lee & Raginsky), the authors establish generalization bounds scaling at $O(1/\sqrt{n})$, completely bypassing the curse of dimensionality.
  • Novel Bound Formulations:
  • DRO Bound: Decomposes into a shift term $L \cdot \inf_{P \in \mathcal{B}(P^*, r)} d_W(P, \tilde{P})$ plus a regularization penalty $\Lambda_r(P^*, f^*)$.
  • RS Bound: Decomposes into a scaled shift term $k_{\tau_\epsilon} \cdot d_W(P^*, \tilde{P})$ plus a satisficing penalty $\epsilon$, where $k_{\tau_\epsilon} \le L$.
  • Comparative Statics Framework: Evaluates DRO and RS under partial shift knowledge (e.g., known magnitude vs. known direction) by introducing monotonicity and population strong convexity conditions.

Datasets

The paper evaluates the theory using:

  1. Synthetic Linear Regression: Data generated with covariates $x \sim \mathcal{N}(0, I_3)$, Huber loss, and parameter drift $y|x = \langle x, \tilde{\beta}\rangle + \epsilon$ across 500 sampled shift directions.
  2. Network Lot-Sizing Benchmark: A two-stage stochastic operations research problem where initial stock $x$ is allocated before demand $z$ is realized, followed by secondary recourse decisions (transportation and emergency replenishment). Models were solved via Gurobi. (No pre-existing public tabular or vision datasets were utilized.)

Key Insights and Ideas

  • Distinct Robustness Mechanisms:
  • DRO mitigates shift by directly shrinking the geometric distance to the target distribution ($\inf_{P} d_W(P, \tilde{P})$).
  • RS mitigates shift by flattening the slope of the loss, decreasing the sensitivity coefficient $k_{\tau_\epsilon} \le L$.
  • When Magnitude is Known (Direction Unknown): DRO theoretically dominates RS. By naturally setting the radius $r = d_W(P^*, \tilde{P})$, DRO absorbs the shift into its ambiguity ball, whereas RS suffers from over-conservatism across unknown directions.
  • When Direction is Known (Magnitude Unknown):
  • If the shift magnitude is under-specified, RS yields tighter bounds and better empirical performance than DRO.
  • If the shift magnitude is over-specified or the direction is explicitly adversarial, DRO outperforms RS because RS retains a non-negligible shift penalty.
  • Hyperparameter Correspondence Curvature: A mapping between DRO radius $r$ and RS tolerance $\tau$ shows that for small anticipated shifts, small variations in $\tau$ cause large jumps in $r$ (making RS more stable and DRO overly conservative). For large shifts, the reverse holds.

Key Results

  • Theory: Proved that ERM inevitably incurs an excess risk penalty of at least $L \cdot d_W(P^*, \tilde{P})$. In contrast, DRO and RS provide controlled bounds avoiding exponential dependence on the data dimension $d$.
  • Simulation (Known Magnitude): Under an average shift distance $d_W = 0.15$, DRO achieved loss ratios relative to ERM concentrated tightly around 1.0. RS performed significantly worse, showing an average loss ratio nearly $2\times$ higher and much greater variance.
  • Network Lot-Sizing:
  • In under-specified regimes with low unit ordering costs $c$, RS achieved lower mean total costs than DRO by avoiding unnecessary upfront stock while mitigating emergency costs.
  • When over-specified with high unit ordering costs $c$, DRO proved superior.
  • Both methods significantly lowered the 95% cost quantile compared to ERM, with RS exhibiting higher stability.

Limitations and Future Work

  • Regularity Assumptions: The bounds rely on a bounded instance space ($\operatorname{diam}(\mathcal{Z}) < \infty$) and uniformly Lipschitz loss functions, which may exclude unbounded domains or heavy-tailed distributions.
  • Optimization Convexity: Comparative statics propositions require strong convexity of the population risk, which holds for linear models and logistic regression but does not translate directly to deep neural networks.
  • Empirical Scope: Experiments were confined to low-dimensional linear regression and a network lot-sizing model; evaluating these principles on large-scale machine learning benchmarks (e.g., ImageNet-C, WILDS) remains open for future research.

Summary updated

BibTeX
@inproceedings{li2025statistical,
  author = {Zhiyi Li and Xiaojie Mao and Yunbei Xu and Ruohan Zhan},
  title = {{Statistical Properties of Robust Optimization under Distribution Shifts}},
  booktitle = {MLxOR @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=svG94LVjAO},
}
Figure