# Group Distributionally Robust Optimization with Flexible Sample Queries

*Haomin Bai, Dingzhi Yu, Shuai Li, Haipeng Luo, Lijun Zhang*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154085) · [OpenReview](https://openreview.net/forum?id=GKDd9FPubr) · [Open on the map](../papers.html#p154085)

Category: [Causality, Privacy & Learning Theory](../pcat/11.md) › [Differentially Private Optimization and Learning](../pgroup/300.md) · Type: new method · Keywords: group distributionally robust optimization, flexible sample queries, online convex optimization, prediction with limited advice, regret bounds

Areas: [Optimization & Algorithms](../areas/optimization.md) › Optimization under Uncertainty › Constrained Optimization

## Summary
We introduce flexible sample queries (FSQ) and an anytime GDRO algorithm that adaptively queries varying numbers of samples per round, achieving near-optimal sample complexity.

## Explained to a 5-year-old
We want a computer program that works well for many different kinds of data. Right now, the ways we try to do this need either a lot of data each time or a little, which makes it slow. The new idea lets us use a different amount of data each time we learn. This means sometimes you give it a short lesson, sometimes a long one. By mixing short and long lessons, the program can learn faster and stay good at all the kinds.

## Explained to a 5-year-old, longer
Imagine you have a robot that needs to understand many different languages. You want it to be good at each language, not just one. The old way of teaching it required either a huge lesson every time or a tiny lesson, which took a long time. The new idea says you can give the robot a lesson with a few examples, or a lesson with many examples, depending on what you need. This means sometimes you give it a short lesson, sometimes a long one. By mixing short and long lessons, the robot can learn faster. It also stays good at all the languages because it sees enough examples overall. The researchers turned this idea into a game where two parts of the robot help each other. One part learns from the data it sees, and the other part decides how to use that data. They made a new method that can handle any number of examples each time. They proved that this method works well and is as good as the best possible method. So the robot can be taught more efficiently and become better at many tasks.

## For a technical reader
The paper addresses the inefficiency of existing group distributionally robust optimization methods that either query many samples per round or only one sample per round. It introduces a flexible sample queries setting that allows variable sample sizes each round, casting GDRO as a two-player game between an online convex optimizer and a prediction with limited advice player. The optimizer uses follow-the-regularized-leader with stochastic gradients, while the PLA player uses an adaptive exploration strategy. The combined algorithm yields an anytime GDRO solution with a provable high-probability error bound that scales with the per-round sample sizes and matches near-optimal sample complexity.

## Problem
Learning models that perform well across multiple distributions (group distributionally robust optimization) is challenging because existing methods either require querying many samples per round, imposing strict implementation constraints, or query only a single sample per round, leading to slow convergence.

## Method
We cast GDRO as a two-player game between an online convex optimizer and a prediction with limited advice (PLA) player. The optimizer uses follow-the-regularized-leader with stochastic gradients, while the PLA player employs an adaptive exploration strategy that can handle arbitrary per-round sample sizes. Integrating these yields an anytime GDRO algorithm that supports flexible sample queries.

## Results
The algorithm achieves a high-probability optimization error bound of O!big(frac1tsqrtsumj=1t fracmrjlog mbig), which decreases as per-round sample sizes increase, and matches the near-optimal sample complexity O(mlog m/ε2) for any fixed sample size rin[m].

## Contributions
We introduce a setting that allows varying numbers of samples per round, formulate GDRO as a two-player game, develop an adaptive PLA method, and provide the first high-probability regret bound for non-oblivious PLA, leading to an anytime GDRO algorithm with provable near-optimal sample complexity.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154085)
