arXiv:2610.40644eess.SYOct 2026

Manuscript Offprint

arXiv:2610.40644

Adaptive Scenario Generation for KL-DRO Around a Learned Density Model

Aron Brenner, Saurabh Amin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Distributionally robust optimization (DRO) hedges data-driven two-stage stochastic programs against error in the distribution estimated from a finite record, and standard ambiguity sets differ in how they treat realizations absent from that record. A divergence ball around the empirical distribution contains only reweightings of the record, whereas a transport ball also contains distributions supported off the record, including on realizations the data-generating process cannot produce, against which the decision is then hedged as well. We instead propose a Kullback–Leibler (KL) ball centered at a density model fitted to the record, the learned nominal, which lets the adversary up-weight costly unobserved realizations in proportion to the probability the model assigns them. Solving the resulting problem poses a second difficulty, because it can accommodate only a few scenarios, and an independent sample of that size is likely to omit the rare realizations on which the worst case concentrates. We therefore build the scenario set adaptively, alternating between solving the finite problem and drawing new realizations from the learned nominal, steered toward the worst case at the current decision, with importance weights that correct the draws back to the model. On a multi-item newsvendor problem and a capacity expansion problem on realistic grid data, centering the ball at the learned nominal rather than at the record lowers cost under distribution shift, at comparable in-distribution cost, when the record is scarce and the model class captures structure that lets it extrapolate beyond the record. The advantage fades as the record grows or as the shift departs from the structure the model has learned.

1 INTRODUCTION

Two-stage stochastic programs model decisions that must be committed before uncertainty is realized, with recourse actions taken after, in applications spanning finance, supply chains, telecommunications, and energy systems (Wallace & Ziemba, 2005; Birge & Louveaux, 2011). We consider their data-driven, distributionally robust form,

min⁡x∈X{c(x)+max⁡P∈P(Q)RP[Q(x,ξ)]},Q(x,ξ):=min⁡y∈Y(ξ,x)q(y),(1)\min_{x\in\mathcal{X}}\left\{c(x)+\max_{\mathbb{P}\in\mathcal{P}(\mathbb{Q})}\mathcal{R}_{\mathbb{P}}\big[Q(x,\xi)\big]\right\},\qquad Q(x,\xi):=\min_{y\in\mathcal{Y}(\xi,x)}q(y), \tag{1}

where xx denotes here-and-now decisions with cost c(x)c(x), ξ∈RD\xi \in \mathbb{R}^D the random vector, Q(x,ξ)Q(x, \xi) the cost of the wait-and-see decisions yy, P(Q)\mathcal{P}(\mathbb{Q}) an ambiguity set of distributions considered plausible around a nominal distribution Q\mathbb{Q} (in the standard setting, the empirical distribution Q^N\hat{\mathbb{Q}}_N of a record of NN past realizations), and RP\mathcal{R}_{\mathbb{P}} a risk measure, such as the expectation or the conditional value at risk (CVaR). We are motivated by problems whose cost is dominated by tail events, in which several dimensions of uncertainty move against the plan at once, such as a demand surge that arrives while a supplier is down.

Such problems expose two gaps in how data-driven distributionally robust optimization (DRO) treats realizations absent from the record. The first lies in the ambiguity set (Sec. 3). Divergence balls around the empirical distribution contain only reweightings of the record, while Wasserstein balls and moment-based sets admit unobserved realizations but judge them only by their distance from the record or by a few moments. Each family carries a statistical guarantee tied to the record (Duchi et al., 2021; Mohajerin Esfahani & Kuhn, 2018), but none uses how the components of the uncertainty move together in the tail, the structure that distinguishes plausible unobserved realizations from implausible ones. The second gap lies in the finite scenario set on which the problem is actually solved, whose size is limited because each scenario adds a copy of the recourse problem. A divergence ball can only reweight this set. Scenario reduction and problem-driven selection choose it from the record or from a sample drawn once, so the set is likely to miss the rare realizations on which the worst case concentrates.

Both gaps concern realizations that the record lacks, and both could be narrowed by a model that generates plausible ones. High-resolution operational records, often spanning only a few years, are available in many applications of stochastic programming, and generative models trained on such records can capture their dependence structure and respect known properties of the process, including the behavior of its extremes (Boulaguiem et al., 2022; Pandey et al., 2025; Chang & Sapsis, 2026). Such a model offers both a new center for the ambiguity set, addressing the first gap, and a new source of scenarios, addressing the second. This raises the question of how a generative model learned from a short record can be integrated into risk-averse stochastic programming, so that a limited set of scenarios hedges against tail risks the record underrepresents.

We propose Kullback–Leibler DRO (KL-DRO) centered at a learned nominal: we take Q in equation 1 to be a density model QθQ_{\theta} trained on the record, such as a normalizing flow, a Gaussian copula, or a diffusion model, and the ambiguity set to be

Pρ(Qθ):={P:KL(P∥Qθ)≤ρ}.(2)\mathcal{P}_{\rho}(\mathbb{Q}_{\theta}):=\left\{\mathbb{P}:\mathrm{K L}(\mathbb{P}\parallel\mathbb{Q}_{\theta})\leq\rho\right\}. \tag{2}

Over this ball, the adversary can up-weight costly realizations absent from the record in proportion to the probability QθQ_{\theta} assigns them, so what it can reach is governed by the learned nominal rather than by a distance from the record, which addresses the first gap. To close the second, we build the scenario set adaptively, alternating between solving the finite problem and drawing new realizations from the learned nominal, steered toward the worst case at the current decision, with importance weights that center the ball at an estimate of QθQ_{\theta}. Centering the ball at a learned nominal does, however, give up the finite-sample guarantees of balls centered at the record, so we choose the radius empirically (Sec. 5).

Contributions. Our contributions are as follows.

• Distributionally robust optimization with a learned nominal. We pose KL-DRO with the ambiguity set centered at a learned generative model, extending balls centered at parametric models or Bayesian posteriors for single-stage objectives (Watson & Holmes, 2016; Dellaporta et al., 2025) to high-dimensional nominals and two-stage objectives.

• Finite scenario approximations for tail-dominated problems. We build the scenario set by adaptive importance sampling toward the ball’s worst case at each decision, so that the scenarios are drawn where the adversary places its weight.

• Evaluations in controlled and realistic settings. We evaluate the framework on a multi-item newsvendor problem with a known distribution and controlled record size and shift, and on a capacity expansion problem over a 20-zone network with realistic demand and renewable data and an out-of-distribution test year.

References (78)