NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Taming the Tails: Why Distributionally Robust Optimization Needs New Theory for Imbalanced Regression

Nathaniel KangNeurIPS 2026

TL;DR

When predicting continuous outcomes on skewed datasets, standard Distributionally Robust Optimization (DRO) unexpectedly abandons the rare, extreme values that matter most—spending its "worst-case" safety budget on the dense, everyday majority instead. This paper introduces Target-Conditional DRO (TC-DRO), a framework that slices the target range into regions and assigns bigger uncertainty budgets where data are scarce. It transforms principled worst-case math into an automatic, loss-aware sample reweighting scheme that protects the tails without sacrificing overall accuracy.

What Problem Does This Paper Address?

Imagine training a model to predict extreme operational metrics, hospital stays, or financial losses. Most of your training data sits comfortably in a dense middle range, while the high-stakes outcomes live out in the thin, sparse tails. This is imbalanced regression. Standard Empirical Risk Minimization (ERM)—which just minimizes average error—naturally optimizes for the crowd and leaves the rare tails brittle.

To guard against worst-case scenarios and data shifts, engineers often reach for Distributionally Robust Optimization (DRO). Instead of optimizing for the exact training distribution, DRO plays a game against a hypothetical adversary allowed to perturb the data distribution within a fixed "ambiguity radius" ($\rho$), training the model to survive the worst-case perturbation.

Here’s the catch: standard DRO uses a single, global budget across the entire dataset. When targets are heavily skewed, the adversary realizes it gets the most bang for its buck by perturbing the dense bulk of the data where samples are plentiful. Rare tail regions—where our statistical uncertainty is actually highest—contribute almost nothing to the global variance and receive negligible protection.

Figure 1: Standard DRO versus Target-Conditional DRO on an imbalanced regression task. (a) The target distribution is heavily right-skewed with sparse tails. (b) Standard DRO applies a uniform ambiguity radius ρ regardless of local density, leaving tail regions under-protected; the dashed band is that radius, not a second density. (c) The gray curve is the same fixed target histogram as in (a). Each arrow is the per-bin radius ρk, longer where that histogram is thin, and the arrows are not a second density. The adversary moves feature mass only inside each target bin, so the target marginal stays fixed.

Methods

To force the adversary to pay attention to the tails, the author proposes Target-Conditional DRO (TC-DRO). Rather than handing out one global perturbation budget, TC-DRO budgets uncertainty locally:

  1. Stratify and Measure Scarcity: The continuous target space $Y$ is partitioned into $K$ quantile bins (so each bin has roughly the same number of data points). Because a quantile bin in a sparse tail spans a much wider range of target values than a bin in the dense center, the method fits a Gaussian Kernel Density Estimate (KDE) to measure the true local target density in each bin.
  2. Assign Density-Adaptive Radii: Each bin $k$ gets its own ambiguity radius $\rho_k$ that scales inversely with its average KDE density (controlled by an adaptation exponent $\alpha$). Thinly populated target ranges get wide radii; dense regions get tight ones.
  3. Lock the Target Marginal: The adversary is only allowed to shift feature distributions within each target bin ($P(X \mid Y \in B_k)$), keeping the bin's overall target mass fixed.
  4. Dual Reformulation into Sample Weights: Because the bins are decoupled, the optimization cleanly breaks into $K$ tiny, independent problems. Using Fenchel duality, the inner "adversary" step simplifies into closed-form (or fast 1D convex) updates that output per-sample importance weights for stochastic gradient descent. Unlike static rarity weights computed before training, TC-DRO’s weights dynamically adapt to both target scarcity and current per-bin training losses, adding minimal $O(n)$ overhead per epoch.

Datasets

No new datasets are introduced. The author evaluates TC-DRO across seven existing tabular imbalanced regression benchmarks from the UCI and OpenML repositories, chosen for their right-skewed or heavy-tailed targets:

  • Abalone (4,177 instances; biological age estimation)
  • Accel (1,019 instances; accelerometer prediction)
  • Ailerons (13,750 instances) & Delta Ailerons (7,129 instances; aircraft control)
  • Bank8FM (8,192 instances; simulated bank operations)
  • CPU Act (8,192 instances) & Machine CPU (209 instances; computer systems performance—deliberately included to test small-sample regimes).

Key Insights and Ideas

  • Standard DRO Quietly Collapses to ERM: Perhaps the biggest "aha" moment is both theoretical and empirical: under a uniform budget on MLP models, standard Wasserstein DRO produces the exact same solution as ordinary ERM. Its worst-case penalty acts as a global Lipschitz regularizer outside the sample average rather than reweighting rare points. Meanwhile, global $\chi^2$-DRO stays within 0.3% of ERM because bulk variance drowns out the tails.
  • Why Quantile Bins Still Need KDE: If you slice data into quantile bins, every bin has $n/K$ samples—so simple bin-count ratios look completely flat! Measuring continuous KDE density inside quantile bins is a neat trick: it keeps sample sizes balanced for statistical stability while still detecting that tail bins stretch thinly across vast stretches of target space.
  • Non-Vacuous Tail Guarantees: Theoretically, standard DRO’s risk guarantee on a rare region degrades to a useless trivial bound whenever the region's probability mass falls below $n^{-1/2}$. TC-DRO’s per-region excess-risk bounds tighten directly with the local bin sample size $O(1/\sqrt{n_k})$.

Key Results

Across all seven benchmarks (using a 4-layer MLP), the author compares $\chi^2$ and Wasserstein variants of TC-DRO against ERM, standard DRO, and five specialized imbalanced regression baselines (including LDS+FDS, DenseLoss, ConR, RankSim, and CalMix).

  • Tail Performance: Evaluated on SERA (Squared Error-Relevance Area, the primary metric weighting error by target rarity), TC-DRO-Wass achieves the best average score (1.138), winning outright on 5 of 7 datasets, followed closely by TC-DRO-$\chi^2$ (1.149), which wins on the remaining two (Bank8FM and Delta Ailerons). Both comfortably beat ERM/W-DRO (1.307), $\chi^2$-DRO (1.302), and the strongest imbalance baseline, CalMix (1.228).
  • No Global Penalty: While most imbalanced regression baselines hurt overall accuracy to help the tails (raising average MSE above ERM's 0.498), TC-DRO-Wass actually improves average global MSE to 0.490 and MAE to 0.442 (vs. ERM's 0.449).

Limitations and Future Work

  • Bounded Loss & Weight Clipping: The theoretical guarantees rely on bounded loss functions, and in practice, very rare bins can produce volatile dual weights—requiring explicit weight clipping (capped at 10) to keep gradient variance stable during SGD.
  • Covariate Shift Only: By holding the empirical target marginal fixed across bins, TC-DRO protects against shifts in $P(X \mid Y)$, not shifts in the target distribution $P(Y)$ itself.
  • Scalar Tabular Focus: The quantile-binning construction relies on having a 1D, ordered scalar outcome. Extending TC-DRO to multi-dimensional (vector-valued) targets or unstructured non-tabular modalities would require new ways to define and partition target regions.

Summary updated

BibTeX
@inproceedings{kang2026taming,
  author = {Nathaniel Kang},
  title = {{Taming the Tails: Why Distributionally Robust Optimization Needs New Theory for Imbalanced Regression}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=SFa3GaxCb3},
}
Figure