Pushing the Accuracy-Group Robustness Frontier with Introspective Self-play

Jeremiah Zhe Liu, Krishnamurthy Dj Dvijotham, Jihyeon Lee, Quan Yuan, Martin Strobel, Balaji Lakshminarayanan, Deepak Ramachandran

Abstract

Standard empirical risk minimization (ERM) training can produce deep neural network (DNN) models that are accurate on average but under-perform in under-represented population subgroups, especially when there are imbalanced group distributions in the long-tailed training data. Therefore, approaches that improve the accuracy-group robustness trade-off frontier of a DNN model (i.e. improving worst-group accuracy without sacrificing average accuracy, or vice versa) is of crucial importance. Uncertainty-based active learning (AL) can potentially improve the frontier by preferentially sampling underrepresented subgroups to create a more balanced training dataset. However, the quality of uncertainty estimates from modern DNNs tend to degrade in the presence of spurious correlations and dataset bias, compromising the effectiveness of AL for sampling tail groups. In this work, we propose Introspective Self-play (ISP), a simple approach to improve the uncertainty estimation of a deep neural network under dataset bias, by adding an auxiliary introspection task requiring a model to predict the bias for each data point in addition to the label. We show that ISP provably improves the bias-awareness of the model representation and the resulting uncertainty estimates. On two real-world tabular and language tasks, ISP serves as a simple "plug-in" for AL model training, consistently improving both the tail-group sampling rate and the final accuracy-fairness trade-off frontier of popular AL methods.

Introduction

Modern deep neural networks (DNNs) are typically trained using Empirical Risk Minimization (ERM), which optimizes for average performance across a dataset. While effective for majority classes, ERM often fails on "tail" groups—minority subgroups that are underrepresented in long-tailed real-world data. This failure is often attributed to feature collapse: under dataset bias, a model focuses exclusively on features that distinguish majority classes, effectively ignoring the features that define minority subgroups.

Active Learning (AL) offers a theoretical solution by strategically sampling data to label, ideally prioritizing these underrepresented groups. However, in practice, AL often fails because the model's uncertainty estimates become unreliable in the presence of bias. If a model does not "know what it doesn't know" regarding tail groups, it cannot sample them effectively. This paper introduces Introspective Self-play (ISP), a multi-task "plug-in" designed to push the Accuracy-Group Robustness Frontier—the Pareto optimal balance between average accuracy and worst-group performance.

The Introspective Self-play (ISP) Framework

ISP improves uncertainty estimation by forcing the model to recognize its own biases through two primary mechanisms:

1. Introspective Training

Instead of a single classification head, ISP adds an auxiliary "introspection" task. The model must predict both the label ($y$) and whether a data point belongs to an underrepresented group ($b$). By utilizing a shared embedding for both tasks, the model is forced to retain "bias-aware" features. This prevents the representation space from collapsing, ensuring that minority groups remain distinguishable from the majority even if their specific features are not strictly necessary for the primary classification task.

2. Cross-validated Self-play

A significant challenge in group robustness is that group labels (e.g., race, gender, or specific demographics) are often unavailable at training time. ISP addresses this through a K-fold bootstrap ensemble to estimate a "generalization gap." By comparing in-sample predictions to out-of-sample predictions, the model distinguishes between irreducible noise (random error) and systematic bias (errors stemming from underrepresentation). This estimated gap serves as a proxy label for the introspection task, allowing the model to learn to identify bias without explicit group annotations.

Theoretical and Practical Insights

The Geometry of Bias

The authors provide mathematical proof (Proposition 1) demonstrating that introspective training "stretches" the representation space. Specifically, it ensures that the distance between minority and majority examples in the embedding space is lower-bounded by the log-odds of their group membership. This geometric shift directly counters the feature collapse observed in standard ERM.

Bias vs. Noise

Many bias-mitigation strategies inadvertently sample "hard" examples that are actually just mislabeled or ambiguous (noise). ISP’s self-play mechanism utilizes a noise-bias-variance decomposition to target the bias component specifically. This makes the sampling process significantly more efficient by ignoring data points that are difficult for the model due to inherent ambiguity rather than underrepresentation.

Experimental Results

The researchers evaluated ISP on two real-world benchmarks: Census Income (Adult), a tabular dataset where tail groups are defined by intersections of race and gender, and Toxicity Detection (CivilComments), an NLP dataset where demographic identities are often targets of spurious correlations.

  • Improved Tail Sampling: On the Census dataset, ISP achieved a tail-group sampling rate of 0.907, a massive improvement over random sampling (0.475) and standard Distributionally Robust Optimization (DRO) (0.755).
  • Frontier Dominance: ISP consistently outperformed state-of-the-art baselines in the accuracy-fairness trade-off. In Toxicity Detection, the "ISP-Gap" version (which uses estimated labels) achieved a worst-group accuracy of 0.597, compared to the ERM baseline of 0.539.
  • The Power of Proxies: Remarkably, ISP-Gap often performed as well as, or better than, versions of the model that had access to true group identities. This suggests that the model-driven "generalization gap" may be a more effective signal for training than human-defined categories, which can be incomplete or poorly annotated.

Conclusion

Introspective Self-play (ISP) provides a robust, architecture-agnostic "plug-in" for improving group robustness in deep learning. By treating bias detection as a secondary task and using self-play to estimate that bias, ISP prevents feature collapse and enables more effective active learning. While the initial computational cost is higher due to the K-fold ensemble requirement, the resulting improvements in the accuracy-group robustness frontier make it a powerful tool for developing fairer, more reliable AI systems.

Summary updated

BibTeX
@inproceedings{liu2023pushing,
  author = {Jeremiah Zhe Liu and Krishnamurthy Dj Dvijotham and Jihyeon Lee and Quan Yuan and Martin Strobel and Balaji Lakshminarayanan and Deepak Ramachandran},
  title = {{Pushing the Accuracy-Group Robustness Frontier with Introspective Self-play}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=MofT9KEF0kw},
}

Loading related content...

Figure