Introduction
In the pursuit of machine learning fairness and robustness, researchers often turn to Distributionally Robust Optimization (DRO). While theoretically sound for protecting minority subpopulations against distribution shifts, DRO is notoriously difficult to train in practice. At ICML 2021, researchers introduced DORO (Distributional and Outlier Robust Optimization), a framework designed to stabilize robust optimization by accounting for the presence of outliers.
The Problem: The DRO Paradox
Machine learning models often suffer from subpopulation shift, where a model trained on a general population fails to perform adequately on specific minority groups. Standard Empirical Risk Minimization (ERM) tends to ignore these groups because they contribute little to the average loss.
DRO attempts to solve this by minimizing the loss on the "worst-case" distribution, effectively forcing the model to prioritize high-loss instances. However, this creates a paradox: in real-world datasets, the highest-loss instances are often not minority group members, but outliers—such as mislabeled data or corrupted inputs. By focusing on the tail of the loss distribution, DRO accidentally overfits to noise, leading to extreme training instability and poor generalization.
Methods: Filtering the Tail
The authors propose DORO to decouple subpopulation robustness from outlier sensitivity. The core insight is to focus on "hard-but-not-too-hard" instances.
DORO assumes that a small fraction ($\epsilon$) of the training data consists of outliers. Instead of minimizing the worst-case risk over the entire dataset, DORO minimizes it over the "easiest" $(1-\epsilon)$ portion of the data. In practice, this means that during each training batch, the algorithm computes losses, sorts them, and discards the top $\epsilon$ fraction before performing a robust update (using variants like CVaR or $\chi^2$-DRO).
Experimental Evaluation
The researchers evaluated DORO across three diverse domains:
- COMPAS: A tabular dataset for recidivism prediction, used to study algorithmic fairness across race and sex.
- CelebA: A large-scale vision dataset used to test robustness against confounding variables like age and hair style across 16 domains.
- CivilComments-Wilds: A massive language dataset for toxicity identification, focusing on maintaining accuracy across different demographic groups.
Key Results and Stability
DORO consistently outperformed both standard ERM and traditional DRO. For instance, on the CelebA dataset, CVaR-DORO achieved a worst-case accuracy of 72.17%, a significant jump from standard CVaR's 66.44%.
Beyond accuracy, the most striking result was the improvement in training stability. Standard DRO training often exhibits a "heart monitor" pattern, where accuracy fluctuates wildly as the model oscillates between fitting different high-loss outliers. As shown in the training curves, DORO flattens these fluctuations, providing a much more reliable optimization process.
Theoretical and Practical Insights
- Stability as a Signal: The wild fluctuations in DRO are not merely optimization failures but a direct consequence of data contamination. DORO proves that removing the top-loss tail restores the stability seen in standard ERM.
- Theoretical Grounding: The paper provides a robust analogue to standard DRO guarantees, proving that the DORO minimizer achieves a risk on the clean distribution close to the theoretical optimum, even under contamination.
- Addressing Open Challenges: This work successfully addresses the challenge of designing algorithms that are simultaneously fair to unknown subpopulations and robust to outliers.
Limitations and Future Work
While DORO offers a significant step forward, it introduces hyperparameters like the assumed outlier fraction ($\epsilon$). Selecting these values currently requires some prior knowledge or a validation set with group labels. Future research may focus on developing "domain-oblivious" model selection strategies that do not require explicit group information during validation.
Conclusion
DORO provides a practical and theoretically grounded solution to the instability of distributionally robust optimization. By acknowledging that the "worst-case" is often just noise, DORO allows models to focus on the genuine challenges of subpopulation shift, leading to more fair and robust machine learning systems.
Summary updated