Efficient Online-Bandit Strategies for Minimax Learning Problems

Christophe Roux, Elias Samuel Wirth, Sebastian Pokutta, Thomas KerdreuxarXiv 2021

Abstract

Minimax learning problems, such as Distributional Robust Optimization (DRO) and top-$k$ loss minimization, are essential for building robust and fair machine learning models. However, standard optimization methods for these problems typically require processing the entire dataset at every step, leading to a computational bottleneck of $O(nd)$ per iteration. We present a novel framework that utilizes online-bandit strategies to enable efficient mini-batch sampling. By treating the data distribution player as a combinatorial bandit, we achieve high-probability convergence guarantees while significantly reducing the per-iteration memory and compute requirements.

The Challenge of Large-Scale Minimax Optimization

Modern machine learning tasks often involve an "adversary" that reweights data points to challenge the model, a setup common in DRO and hard-example mining. Traditionally, these are solved as zero-sum games between two online learners. For a dataset with $n$ samples, calculating the loss for every point at each iteration is prohibitively slow ($O(nd)$). The core challenge lies in using small mini-batches (sampling only $k \ll n$ points) without losing the theoretical convergence guarantees necessary for these complex games.

An Online-Bandit Framework

The proposed solution replaces the "full-information" player responsible for the data distribution (the $p$-player) with a combinatorial bandit. Instead of seeing all losses, this player only receives partial feedback from the subset of data actually sampled in a given round.

Algorithm 1: Online-Bandit for (OPT)

The framework relies on an iterative process where a sampler chooses a mini-batch $I_t$, losses are computed only for that batch, and both the model weights ($w$) and the distribution weights ($p$) are updated.

Algorithm 1: The Online-Bandit framework for minimax optimization.

To handle the exponential number of ways to choose $k$ items from $n$, the authors employ the EXP4.MP algorithm combined with DepRound. This allows weight updates in $O(n \log n)$ time, effectively bypassing exponential complexity.

Structural Properties and Constraint Sets

The efficiency of this bandit strategy depends on two key properties of the constraint set $\mathcal{K}$: Sparsity and Injectivity. The researchers specifically focus on the $k$-set (or capped simplex), where the $p$-player weights the $k$ hardest examples.

Visualizations of different constraint sets within a 3-dimensional simplex, illustrating the geometry of the p-player's strategy space.

These geometric structures allow the use of combinatorial semi-bandit tools to focus on "hard examples" without the overhead of sorting the entire dataset every round.

Key Insights and Results

  • High-Probability Convergence: Unlike standard bandit results that focus on expected regret, this work provides high-probability bounds. This is crucial because the "adversary" (the model player) is adaptive, and expected results are insufficient to guarantee convergence to a Nash Equilibrium.
  • Theoretical Performance: The authors prove a convergence rate of $O(1/\sqrt{T})$, where the error scales gracefully with the dataset size $n$ and subset size $k$.
  • Empirical Efficiency: Experiments on the Breast Cancer Wisconsin and Boston Housing datasets show that the "OL-EXP.4M" strategy achieves the same accuracy as full-information baselines while using significantly fewer resources per iteration. It consistently outperformed S-AFL (Stochastic Agnostic Federated Learning) by processing fewer data points to reach target accuracy.

Conclusion and Future Directions

This online-bandit approach provides a scalable path for minimax optimization by treating mini-batching as a deliberate architectural choice rather than a heuristic. Future work includes extending these guarantees to even smaller sampling fractions and identifying new applications for generalized constraint structures like the "$\alpha$-set."

Summary updated

Abstract

Several learning problems involve solving min-max problems, e.g., empirical distributional robust learning or learning with non-standard aggregated losses. More specifically, these problems are convex-linear problems where the minimization is carried out over the model parameters $w\in\mathcal{W}$ and the maximization over the empirical distribution $p\in\mathcal{K}$ of the training set indexes, where $\mathcal{K}$ is the simplex or a subset of it. To design efficient methods, we let an online learning algorithm play against a (combinatorial) bandit algorithm. We argue that the efficiency of such approaches critically depends on the structure of $\mathcal{K}$ and propose two properties of $\mathcal{K}$ that facilitate designing efficient algorithms. We focus on a specific family of sets $\mathcal{S}_{n,k}$ encompassing various learning applications and provide high-probability convergence guarantees to the minimax values.
BibTeX
@misc{roux2021efficient,
  author = {Christophe Roux and Elias Samuel Wirth and Sebastian Pokutta and Thomas Kerdreux},
  title = {{Efficient Online-Bandit Strategies for Minimax Learning Problems}},
  year = {2021},
  eprint = {2105.13939},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.13939},
}
Figure