NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Distributionally Robust Losses for Latent Covariate Mixtures

John C. Duchi, Tatsunori Hashimoto, Hongseok NamkoongOper. Res 2020 · DOI

TL;DR

This paper introduces "marginal distributionally robust optimization" (MDRO) to train machine learning models that perform well across all subpopulations of a dataset, not just on average. This is crucial for fairness and reliability in real-world applications where performance disparities across groups can have significant consequences.

What Problem Does This Paper Address?

Modern datasets often comprise diverse subpopulations (e.g., different demographic groups, text domains). Standard machine learning approaches optimize average performance, which can lead to models that perform poorly on minority or "harder" subpopulations. This is particularly problematic in sensitive domains like loan servicing or recidivism prediction, where fairness is paramount. Existing methods often require explicit knowledge of group identities, which is not always available due to privacy concerns. The paper addresses the challenge of achieving uniform performance across subpopulations without requiring explicit group labels, focusing on robustness to shifts in the marginal distribution of covariates.

Methods

The core contribution is the development of marginal distributionally robust optimization (MDRO). This approach formulates the problem as minimizing the worst-case loss over a set of potential "minority" subpopulations, defined by a lower bound on their proportion in the data. This is achieved through a novel convex optimization procedure that controls the worst-case performance. The authors derive a dual form of this problem, which leads to a tractable optimization objective. They also explore variational approximations and develop empirical estimators that provide finite-sample convergence guarantees. A key aspect is that their method does not rely on unrealistic parametric assumptions about the conditional risk.

Datasets

The paper evaluates their method on several tasks:

  • Simulated data: Used to assess theoretical guarantees and the effect of various parameters (dimension, sample size, robustness level).
  • Semantic similarity prediction: Utilizes the WS353 dataset with human annotations of word similarities.
  • Wine quality prediction: Uses the UCI wine dataset, focusing on a distribution shift from red to white wines.
  • Recidivism prediction: Employs the COMPAS recidivism dataset, a standard benchmark for fairness evaluation.

Key Insights and Ideas

  • Marginal vs. Joint DRO: The paper distinguishes between "marginal" DRO (focusing on covariate shifts) and "joint" DRO (considering shifts in the joint distribution of covariates and labels). They argue that marginal DRO is often more appropriate and less conservative, especially when dealing with subpopulations.
  • Worst-case over subpopulations: Instead of just considering the worst-case distribution, the method explicitly controls performance over subpopulations of a certain size, offering stronger fairness guarantees.
  • Tractability through variational approximations: The authors leverage variational representations and function spaces (like Hölder continuous functions) to derive computationally feasible estimators for the worst-case objective.
  • Trade-offs in robustness: The choice of parameters (like the exponent $p$ in the $L^p$ norm bound) influences the trade-off between approximation error and estimation error, impacting performance on minority groups.

Key Results

  • Improved performance on minority groups: Across various experiments (simulations, semantic similarity, recidivism prediction), MDRO consistently outperforms Empirical Risk Minimization (ERM) and Joint DRO on worst-off subpopulations, achieving significantly lower losses. For instance, in recidivism prediction, MDRO reduced classification errors by 1-3% on average across demographic splits.
  • Robustness to distribution shifts: The method demonstrates effectiveness in handling distribution shifts, such as the red-to-white wine prediction task, where it shows improvements over baselines.
  • Theoretical guarantees: The paper provides finite-sample convergence guarantees for their estimators, showing that they achieve near-optimal performance under certain conditions.
  • Dimension dependence: While theoretical bounds show exponential dependence on dimension, empirical results suggest that the proposed method remains effective even in moderately high dimensions.

Limitations and Future Work

  • Hyperparameter sensitivity: The performance of MDRO can be sensitive to hyperparameter choices, particularly the Lipschitz constant of the conditional risk. The authors suggest cross-validation as an effective strategy.
  • Computational overhead: MDRO incurs some computational overhead compared to ERM, primarily due to the need to optimize over additional parameters and potentially perform hyperparameter searches.
  • Unmeasured confounding: The paper extends the framework to handle unmeasured confounders, but acknowledges that this introduces further complexity and requires assumptions about the effect of confounding.
  • Future work: The authors suggest exploring faster convergence rates, identifying realistic restricted classes of conditional risks for faster statistical convergence, and further investigating the impact of problem-dependent constants.

Summary updated

BibTeX
@inproceedings{duchi2020distributionally,
  author = {John C. Duchi and Tatsunori Hashimoto and Hongseok Namkoong},
  title = {{Distributionally Robust Losses for Latent Covariate Mixtures}},
  booktitle = {Oper. Res},
  year = {2020},
  doi = {10.1287/opre.2022.2363},
}
Figure