TL;DR: This paper introduces ALEG and ALEM, two novel algorithms designed to significantly accelerate Group Distributionally Robust Optimization (GDRO). By exploiting a "two-level" data structure—sampling from every group simultaneously rather than picking samples uniformly at random—the authors achieve a theoretical speedup of $\sqrt{m}$ (where $m$ is the number of groups) over previous state-of-the-art methods.
Introduction: The Challenge of Group Robustness
In many machine learning applications, we don't just want a model that performs well on average; we want one that is robust across different sub-populations (groups). This is the core of Group Distributionally Robust Optimization (GDRO). Instead of minimizing average loss, GDRO minimizes the maximum loss across $m$ distinct groups. This is vital for fairness (ensuring a model doesn't fail on minorities) and robustness (handling distribution shifts).
Mathematically, this is a "minimax" problem: we minimize the model parameters while an adversary tries to maximize the weight of the worst-performing group. The challenge is that the objective function has a nested, "two-level" finite-sum structure: a sum over $m$ groups, where each group itself is a sum over its own samples. Existing general-purpose optimization algorithms treat this as one giant flat list of samples, failing to exploit this hierarchy and resulting in slow convergence, especially when the number of groups is large.
Proposed Algorithms: ALEG and ALEM
The authors propose two primary algorithms to tackle this structural bottleneck:
- ALEG (Variance-Reduced Stochastic Mirror Prox for Empirical GDRO):
- Group Sampling: Unlike standard methods that pick one random sample from the entire dataset, ALEG samples one data point from every group in each iteration. This "group sampling" strategy reduces the variance and the Lipschitz constant of the stochastic gradient by a factor of $m$.
- Double-Loop Variance Reduction: It uses a snapshot-based approach (similar to SVRG) to periodically compute a full gradient, which is then used to correct the stochastic estimates in the inner loop.
- Mirror Prox with "Negative Momentum": It incorporates snapshot points into the update rule to accelerate convergence without requiring the expensive bisection steps found in other accelerated methods.
- ALEM (Two-Stage Algorithm for Empirical MERO):
- The authors extend their work to Minimax Excess Risk Optimization (MERO), which focuses on the excess risk (how much worse a group performs compared to its own best possible performance).
- Stage 1: Use ALEG to estimate the minimum possible risk for each individual group.
- Stage 2: Run ALEG again on the "excess risk" objective using those estimates.
Theoretical Insights
- The Power of Structure: The key insight is realizing that the minimax objective isn't just a flat sum. By sampling from every group at once, the algorithm "stabilizes" the adversarial part of the problem (the group weights), which allows for much larger step sizes and faster convergence.
- Lipschitz Reduction: The authors prove that their group sampling strategy reduces the Lipschitz constant of the stochastic gradient. In optimization, a smaller Lipschitz constant generally means you can move faster toward the optimal solution.
- Suboptimal Baselines: The paper points out that previous state-of-the-art methods (like MPVR) were suboptimal for this specific problem because they treated the $m \times n$ samples as a single level, effectively "losing" the $\sqrt{m}$ factor in their complexity bounds.
Empirical Results
The researchers evaluated their algorithms on two main setups:
- Synthetic Dataset: A binary classification task with 25 groups, where each group has a slightly different optimal classifier and varying noise levels.
- CIFAR-100: A standard image recognition dataset. Here, the 100 classes are treated as the 100 distinct groups ($m=100$), making the task of finding a single robust classifier across all categories highly challenging.
- Theoretical Speedup: ALEG achieves an $\varepsilon$-accurate solution with a complexity of $\mathcal{O}\left(\frac{m\sqrt{\bar{n}\ln{m}}}{\varepsilon}\right)$. This is a factor of $\sqrt{m}$ faster than the previous best-known rate.
- Empirical Performance: In tests on CIFAR-100 and synthetic data, ALEG and ALEM converged significantly faster than baselines like Stochastic Mirror Descent (SMD) and AL-SVRE.
- Stability: The variance reduction techniques made the training curves much smoother and more stable compared to pure stochastic methods, which often oscillate wildly in minimax settings.
Limitations and Future Directions
- Convexity Assumption: The current theoretical guarantees rely on the loss functions being convex. While many ML problems fit this, modern deep learning is non-convex. The authors note their convexity assumption is "weaker" than some predecessors, but it remains a constraint for general neural network theory.
- Computational Overhead: Sampling from every group in every iteration increases the cost per iteration. While the total complexity is lower, each step is heavier. Future work could explore "mini-group" sampling to find a middle ground.
- Linear Models: The experiments primarily used linear models (logistic and softmax loss). Testing these algorithms on large-scale non-convex architectures (like Transformers or ResNets) would be a natural next step to see if the theoretical gains translate to the deep learning frontier.
Summary updated