In the rapidly evolving landscape of machine learning, "Responsible AI" (RAI) has become a bit of a catch-all term. Depending on who you ask, it might mean algorithmic fairness, adversarial robustness, or safety under distribution shift. Usually, researchers tackle these problems in isolation, but a recent paper from Carnegie Mellon University and Google Research, presented at NeurIPS 2023, suggests we should be looking at them through a single, unified lens: RAI Games.
TL;DR
The authors introduce RAI Games, a framework that unifies disparate goals like fairness and robustness into a single min-max optimization problem. By using randomized ensembles and boosting-inspired algorithms, they provide a "plug-and-play" method to build models that are resilient to worst-case scenarios across various sub-populations.
What Problem Does This Paper Address?
Currently, the field of Responsible AI is fragmented. If you want a fair model, you use one set of constraints; if you want a robust model, you use another (like Distributionally Robust Optimization, or DRO). The problem is that optimizing for one often inadvertently harms the other.
The authors identify a common mathematical thread: most RAI objectives involve a learner trying to minimize its worst-case loss over a set of predefined distributions, known as uncertainty sets. For example, in fairness, the uncertainty set might represent different demographic subgroups. In robustness, it might represent perturbations of the training data.
However, solving these min-max problems for a single predictor is often computationally intractable and doesn't guarantee a stable solution (a Nash Equilibrium). This paper seeks to bridge that gap with a framework that is both theoretically sound and practically flexible.
Methods
The core proposal is to treat RAI as a zero-sum game between two players:
- The Learner: Aims to find a model that performs well.
- The Adversary: Aims to find a distribution (within the uncertainty set) that makes the learner perform poorly.
To make this game solvable, the authors shift from finding a single "perfect" predictor to finding an ensemble. They focus on Randomized Ensembles, which linearize the game and guarantee the existence of a Nash Equilibrium.
They provide two main algorithmic paths:
- Game-play Algorithms: Based on "Follow-The-Regularized-Leader" (FTRL). The adversary updates its weights based on past performance, and the learner provides a "Best Response" (the best single model for those weights).
- Greedy/Boosting Algorithms: These are inspired by classical statistical literature like AdaBoost and Frank-Wolfe optimization. They iteratively add new models to the ensemble to minimize the overall RAI risk.
The "plug-and-play" beauty of this approach is that you can change your RAI objective (e.g., switching from group fairness to tail-risk sensitivity) simply by swapping the uncertainty set $W_n$ used by the adversary.
Datasets
The authors evaluated their framework on several benchmarks known for subpopulation shifts and fairness challenges:
- COMPAS: A recidivism prediction dataset used to test fairness across race and gender.
- CIFAR-10 & CIFAR-100: Standard image datasets, including an "imbalanced" version of CIFAR-10 to simulate real-world data skew.
- Synthetic Datasets: Custom-built distributions designed to highlight specific minority sub-populations and varying noise levels.
Key Insights and Ideas
- The Unifying Power of Uncertainty Sets: By defining RAI through uncertainty sets, the authors show that classical boosting is actually just a specific type of RAI game where the adversary is allowed to pick any distribution over the training samples.
- The Bayes Optimal Surprise: For binary classification, the authors prove that the optimal "responsible" predictor is often the same as the standard Bayes optimal predictor. This suggests that RAI constraints are most valuable in finite-sample settings where we don't have enough data to perfectly estimate the underlying distribution.
- Ensembles > Complex Models: The results suggest that an ensemble of a few "weak" learners (like simple linear models or small CNNs) can often achieve better worst-case performance than a single, massive, over-parameterized model.
Key Results
The proposed methods, RAI-FW (Frank-Wolfe) and RAI-GA (Generalized AdaBoost), showed significant improvements:
- Worst-Case Performance: On CIFAR-100, the RAI ensembles improved worst-case class accuracy by roughly 5% compared to standard Empirical Risk Minimization (ERM).
- Flexibility: In "Partially Domain-Aware" settings—where you know some subgroups but not others—the framework successfully optimized for both known groups (via Group DRO) and unknown groups (via $\chi^2$-DRO) simultaneously.
- Efficiency: The algorithms typically converged with just 3–5 base learners, making them computationally efficient compared to training massive single models.
Limitations and Future Work
While the framework is powerful, the authors note a few hurdles:
- Support Constraints: Currently, the framework only handles uncertainty sets supported on the training data. It doesn't yet support "Wasserstein" perturbations, which allow for shifts to data points not seen during training.
- Outlier Sensitivity: The presence of extreme outliers can destabilize the training of these ensembles, a common issue in min-max optimization.
- Generalization Bounds: While they provide theoretical bounds on how well the empirical RAI risk converges to the true population risk, they acknowledge these bounds aren't yet "tight" for all types of risks.
In short, this paper provides a much-needed "Swiss Army Knife" for Responsible AI, offering a principled way to balance the competing demands of fairness and robustness through the elegant math of game theory.
Summary updated