MixMax: Distributional Robustness in Function Space via Optimal Data Mixtures

Anvith Thudi, Chris J. Maddison
6/3/2024
cs.LGstat.ML

No official code found. Best implementation: Anvith-Thudi/MixMax (2 stars, last commit 2025-09-29).

Abstract

Machine learning models are often required to perform well across several pre-defined settings, such as a set of user groups. Worst-case performance is a common metric to capture this requirement, and is the objective of group distributionally robust optimization (group DRO). Unfortunately, these methods struggle when the loss is non-convex in the parameters, or the model class is non-parametric. Here, we make a classical move to address this: we reparameterize group DRO from parameter space to function space, which results in a number of advantages. First, we show that group DRO over the space of bounded functions admits a minimax theorem. Second, for cross-entropy and mean squared error, we show that the minimax optimal mixture distribution is the solution of a simple convex optimization problem. Thus, provided one is working with a model class of universal function approximators, group DRO can be solved by a convex optimization problem followed by a classical risk minimization problem. We call our method MixMax. In our experi ments, we found that MixMax matched or outperformed the standard group DRO baselines, and in particular, MixMax improved the performance of XGBoost over the only baseline, data balancing, for variations of the ACSIncome and CelebA annotations datasets.

View on arXivView PDF

Code Implementations(1)

Anvith-Thudi/MixMaxCommunity100%

The repository for https://arxiv.org/abs/2406.01477 which introduced MixMax.

20PythonOct 23, 20241 years ago

Similar Papers

Cite this paper

@article{thudi2024mixmax,
  title  = {MixMax: Distributional Robustness in Function Space via Optimal Data Mixtures},
  author = {Anvith Thudi and Chris J. Maddison},
  year   = {2024},
  eprint = {2406.01477},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.01477v3},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.01477.svg)](https://codeofpaper.com/paper/2406.01477)

Discussion