Beyond Minimax Rates in Group Distributionally Robust Optimization via a Novel Notion of Sparsity

Quan M. Nguyen, Nishant A Mehta, Cristóbal A GuzmánICML 2025

Machine learning models often suffer from "performance disparities"—they might perform exceptionally well on average but fail miserably for specific subpopulations, such as minority demographic groups. Group Distributionally Robust Optimization (GDRO) aims to fix this by minimizing the maximum risk across all $K$ groups in a dataset.

However, standard theory dictates that finding a robust model requires a number of samples that scales linearly with the total number of groups $K$. As we try to make models fair across increasingly granular subgroups, this "minimax" rate becomes a severe bottleneck. This paper, presented at ICML 2025, explores how to make machine learning models more robust and fair without paying this heavy "sample tax," arguing that the traditional worst-case perspective is often too pessimistic.

The Minimax Bottleneck in GDRO

In many real-world scenarios, at any given time during training, only a few groups are actually "bottlenecks" (exhibiting high risk), while the rest are performing adequately. If an algorithm treats all $K$ groups as equally difficult at all times, it wastes valuable computational and sample resources on groups that are already well-optimized.

Introducing $(\lambda, \beta)$-Sparsity and Sleeping Bandits

To overcome this bottleneck, the authors introduce a novel concept called $(\lambda, \beta)$-sparsity. A problem is considered $(\lambda, \beta)$-sparse if, for any model configuration, there are at most $\beta$ groups whose risks are significantly higher (by a margin $\lambda$) than the others.

Illustration of $(\lambda, \beta)$-sparsity where only a subset of groups dictate the worst-case risk at any given parameter $\theta$.

To exploit this sparsity, the authors frame GDRO as a two-player zero-sum game:

  1. The Min-Player: Tries to find model parameters that lower the overall risk.
  2. The Max-Player: Tries to identify the group with the highest risk to "challenge" the min-player.

The authors make a clever connection to Sleeping Bandits theory. In this framework, the max-player treats groups with low risk as "sleeping" arms and ignores them, focusing only on the active, high-risk groups. They introduce three main algorithms based on this concept:

  • SB-GDRO: A baseline that uses a known risk gap ($\lambda$) to filter groups.
  • SB-GDRO-A: A fully adaptive version that automatically finds the optimal $\lambda$ using a geometric search strategy.
  • SB-GDRO-SA: A "semi-adaptive" and dimension-free version designed for high-dimensional models where building mathematical "covers" of the parameter space is computationally impossible.

Key Insights and Dynamics

  • Sparsity is Dynamic: Unlike traditional feature sparsity (where certain features are always zero), $(\lambda, \beta)$-sparsity is about the distribution of risk. The specific "hard" groups might change as the model learns, but the total number of hard groups ($\beta$) remains small at any given step.
  • The Sleeping Bandit Connection: By treating low-risk groups as "sleeping," the algorithm avoids wasting samples on subpopulations where the model is already performing well. This allows the sample complexity to depend on the much smaller $\beta$ rather than the total number of groups $K$.
  • Robustness Requires Focus: In experiments on the UCI Adult dataset (predicting income across 10 intersectional race/gender groups), the algorithm spent over 60% of its sampling effort on the "Amer-Indian-Eskimo Female" group, even though that group makes up only 0.3% of the total dataset. This demonstrates how the algorithm automatically identifies and prioritizes the most marginalized groups to ensure global robustness.

Theoretical and Empirical Results

Theoretical Speedup: The authors proved that the sample complexity can be reduced from $O(K \ln K / \epsilon^2)$ to $O(\beta \ln K / \epsilon^2)$. When $\beta \ll K$, this represents a massive theoretical improvement. They also showed that it is possible to achieve these better rates even without knowing the "sparsity parameters" ($\lambda$ and $\beta$) beforehand.

Summary of upper and lower sample complexity bounds for the proposed algorithms.

Empirical Efficiency: The researchers evaluated their approach on both Synthetic Gaussian Linear Regression and the real-world UCI Adult Dataset. On the Adult dataset, their SB-GDRO-SA algorithm reached a target optimality gap significantly faster than the standard baseline (Stochastic Mirror Descent). While the baseline struggled to reach a high-precision optimality gap even after 1 million samples, the new approach achieved it in less than 400,000 samples.

Limitations and Future Work

While promising, the paper outlines a few areas for future refinement:

  • Global vs. Local Sparsity: The current theory assumes the $(\lambda, \beta)$ condition holds across the entire parameter space. In practice, it might only hold "locally" near the optimal solution. Relaxing this to "local sparsity" is a promising next step.
  • Computational Complexity: The fully adaptive version (SB-GDRO-A) is theoretically elegant but computationally expensive for very large models. While SB-GDRO-SA addresses this, further optimization for deep learning scales is needed.
  • Last-Iterate Convergence: The paper focuses on the average of all models produced during training. Proving that the very last model produced is also optimal (last-iterate convergence) remains an open challenge in this stochastic setting.

Summary updated

BibTeX
@inproceedings{nguyen2025beyond,
  author = {Quan M. Nguyen and Nishant A Mehta and Cristóbal A Guzmán},
  title = {{Beyond Minimax Rates in Group Distributionally Robust Optimization via a Novel Notion of Sparsity}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=6kGTxbn4Qf},
}
Figure