Abstract
Group Distributionally Robust Optimization (GDRO) is a powerful paradigm for training models that perform reliably across diverse data distributions. However, existing GDRO solvers are often limited by rigid data ingestion requirements, typically demanding either exactly one or all $m$ group samples per iteration. This paper presents a novel GDRO framework that supports a flexible, dynamically changing number of sample queries per round. By leveraging a "prediction with limited advice" (PLA) formulation and a unified Follow-The-Regularized-Leader (FTRL) strategy, the authors achieve state-of-the-art high-probability convergence guarantees that adapt to real-world resource constraints.
The Problem: Inflexible Data Ingestion
Standard machine learning often optimizes for average-case performance, which can lead to significant failures on minority groups or underrepresented distributions. GDRO addresses this by minimizing the worst-case error across $m$ distinct groups.
Despite its benefits, GDRO's practical application is hindered by the inflexibility of current algorithms. Most solvers are designed for two extremes: processing exactly one sample per round (slow convergence) or processing all $m$ samples per round (high resource cost). In dynamic environments like federated learning or medical data streams, the number of available samples per group fluctuates. This research introduces a GDRO algorithm capable of handling $r_t$ samples at round $t$, where $1 \le r_t \le m$ can vary arbitrarily.
Methodology: Bridging Bandits and Full Information
The authors frame GDRO as a two-player zero-sum game between a model player ($w$) and an adversarial distribution player ($q$). The $q$-player's objective is to identify the worst-performing distributions to guide model updates.
To enable flexible sampling, the $q$-player's task is modeled as a Prediction with Limited Advice (PLA) problem. PLA serves as a bridge between Multi-Armed Bandits (observing one expert) and full-information settings (observing all experts). The challenge lies in the "non-oblivious" nature of the game, where losses depend on past actions.
The proposed solution utilizes a unified Follow-The-Regularized-Leader (FTRL) algorithm. It dynamically adjusts its loss estimation strategy based on the current sample size $r_t$:
- For $r_t = 1$: It employs a biased Implicit-eXploration (IX) estimator.
- For $r_t \ge 2$: It uses an unbiased estimator.
For the $w$-player, the authors replace traditional Stochastic Mirror Descent (SMD) with FTRL using uniformly averaged outputs. This modification ensures the algorithm is "anytime"---meaning it does not require prior knowledge of the total training steps---and provides tighter mathematical bounds.
Key Results and Insights
The framework delivers several significant theoretical and empirical milestones:
- Theoretical Bounds: The paper establishes the first high-probability regret bound for non-oblivious PLA: $O(\sqrt{\sum_{j=1}^t \frac{m}{r_j} \log m})$.
- Accelerated Convergence: The GDRO optimization error is bounded by $O(\frac{1}{t}\sqrt{\sum_{j=1}^t \frac{m}{r_j}\log m})$, proving that increasing the sample size $r_t$ directly accelerates convergence.
- Empirical Validation: Tests on synthetic binary data ($m=20$) and a real-world Diabetes readmission dataset ($m=12$) demonstrate that the algorithm effectively handles varying sample sizes. It outperforms 1-sample baselines in both wall-clock time and iteration count.
Discussion and Future Directions
A key insight of this work is the unification of disparate sampling strategies into a single FTRL aggregate loss tracker. Furthermore, switching to FTRL for model updates eliminates the $O(\log t)$ penalty typically associated with SMD-based anytime algorithms.
While the current study focuses on linear models, the theoretical foundation is robust. Future work could explore these flexible sampling techniques in non-convex deep learning contexts, such as optimizing data mixtures for Large Language Model (LLM) pretraining or improving dynamic sampling in recommendation systems.
Summary updated