Machine learning models frequently suffer from "performance gaps," performing exceptionally well for majority groups while failing disproportionately on specific minority subsets (e.g., varying demographics in facial recognition or medical diagnosis). The standard framework to address this is Group Distributionally Robust Optimization (group DRO), which optimizes the model to minimize error on its worst-performing group.
However, group DRO faces a significant technical hurdle: it is mathematically well-behaved only when the loss function is convex relative to the model's parameters. Modern, highly expressive models—such as deep neural networks and gradient-boosted trees like XGBoost—are decidedly non-convex or non-parametric. Consequently, applying DRO to these models often relies on unstable heuristics, computationally expensive routines, or defaults to simple "data balancing" (upsampling smaller groups), which is rarely the optimal strategy.
The MixMax Approach: Shifting to Function Space
To overcome these limitations, researchers propose a classical mathematical move with a modern twist: reparameterizing the DRO problem from parameter space to function space.
Instead of asking, "What are the best weights for this specific neural network?" the MixMax approach asks, "What is the best possible function that maps these inputs to outputs?" For highly expressive models acting as universal function approximators, this shift is valid and highly advantageous.
By moving to function space, the authors prove that a minimax theorem holds for bounded functions. This means there exists a specific "hardest" mixture of group data that, if solved, satisfies the DRO objective. By bypassing the messy, non-convex landscape of neural network weights, the authors arrive at a clean, convex optimization problem for determining the optimal data weights.
Finding the "Hardest" Mixture
Intuitively, MixMax finds the data mixture that makes the model's learning task the most difficult. By training on this adversarial mixture, the model is forced to learn features that are genuinely robust across all groups.
For common loss functions, finding this optimal mixture is a concave maximization problem:
- Classification (Cross-Entropy): The optimal mixture maximizes the entropy of the labels.
- Regression (Mean Squared Error): The optimal mixture maximizes the conditional variance.
To implement this, the authors introduce the MixMax algorithm, which uses entropic mirror ascent to iteratively find the optimal weights for each group's data. They also introduce a data-reuse variant, $E^2$MixMax, designed for real-world scenarios where infinite data or perfect "oracle" models for each group are unavailable.
Experimental Validation and Key Results
MixMax represents the first principled group DRO method applicable to non-parametric models like XGBoost, moving the field beyond simple data balancing. The authors evaluated MixMax across several domains, including synthetic Markov Chains (for sequence modeling), ACSIncome (tabular census data), and CelebA Annotations (image attributes).
Key findings include:
- Outperforming Baselines: In sequence modeling tasks, MixMax outperformed standard group DRO and existing baselines like DoReMi, particularly when group distributions varied significantly.
- Significant XGBoost Gains: On tabular datasets (ACSIncome and CelebA), MixMax consistently improved the worst-group accuracy of XGBoost over the standard balanced baseline, yielding relative test accuracy improvements between 2.3% and 5.9%.
- Predictable Improvements: The study revealed a strong Pearson correlation (0.792) between the "room for improvement" (the performance gap between a balanced model and a group-specific oracle) and the actual gains delivered by MixMax.
Limitations and Future Directions
While MixMax offers a robust mathematical foundation for group DRO, it has limitations. A primary technical challenge is the need to model "covariate shifts" (differences in input feature distributions between groups), which is notoriously difficult and data-hungry in high-dimensional spaces like raw images. Additionally, the current proof for concavity is limited to cross-entropy and MSE; extending this to other loss functions remains an open theoretical challenge.
Finally, the authors emphasize a critical ethical consideration: while DRO improves mathematical group robustness, it does not automatically eradicate societal biases. A "robust" model can still propagate unfairness if the underlying data or task definitions are inherently biased.
Summary updated