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

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

TL;DR

Introspective Self-play (ISP) is a simple "plug-in" for active learning that helps deep neural networks (DNNs) perform better on minority subgroups without sacrificing overall accuracy. By adding an auxiliary task where the model learns to predict its own potential bias, ISP prevents "feature collapse" and provides significantly more reliable uncertainty estimates for sampling underrepresented data.

Conceptual illustration of pushing the accuracy-group robustness frontier by acquiring more balanced data.

What Problem Does This Paper Address?

Standard machine learning training (Empirical Risk Minimization, or ERM) is essentially a "majority rules" system. It optimizes for average accuracy, which often leads to excellent performance on common data types but poor performance on "tail" groups (e.g., minority demographics or rare scenarios).

While Active Learning (AL)—the practice of having a model choose which data points to label next—should theoretically solve this by picking "hard" or rare examples, it often fails in practice. This is due to feature collapse: under dataset bias, a DNN focuses so intently on features that predict the majority labels that it completely ignores the subtle features that distinguish minority groups.

Predictive variance under standard ERM training, illustrating how uncertainty estimates can degrade and fail to highlight minority groups.

Consequently, the model becomes "overconfident" in its errors, and its uncertainty estimates (the signal used for AL) become useless for finding the very groups it is failing.

Methods

The authors introduce Introspective Self-play (ISP), which consists of two main components:

  1. Introspective Training: Instead of just predicting a label ($y$), the model is given an auxiliary "introspection" head. This head is trained to predict whether a data point belongs to an underrepresented group ($b$). Because both heads share the same underlying "representation" (the internal features the model learns), the model is forced to retain features that distinguish minority groups from the majority, even if those features aren't strictly necessary for the main task.
  2. Cross-validated Self-play: What if you don't know which groups are underrepresented? The authors propose a "self-play" mechanism. They use a bootstrap ensemble to estimate the generalization gap (the difference between how the model performs on data it has seen vs. data it hasn't). Points with a high gap are flagged as "hard" or "biased," and these flags serve as proxy labels for the introspection task.

The authors provide a theoretical proof showing that this multi-task approach prevents the model from discarding minority-group features, effectively "stretching" the representation space to make minority groups easier to identify and sample.

Datasets

The researchers evaluated ISP on two real-world benchmarks known for significant group imbalances:

  • Census Income (Adult): A tabular dataset where the task is to predict if an individual earns >$50k. The "tail groups" are female or non-white individuals with high incomes.
  • Toxicity Detection (CivilComments): A natural language dataset for identifying toxic comments. The tail groups consist of specific demographic identities (e.g., LGBTQ, Muslim, Black) that are frequently misclassified due to biases in the training data.

Key Insights and Ideas

  • The "Aha" Moment on Feature Collapse: The paper visualizes how standard models "collapse" the representation of minority groups into the majority, making them invisible to uncertainty-based sampling. ISP acts as a "magnifying glass" for these groups.
  • Uncertainty is Representation: The quality of a model's "I don't know" is entirely dependent on the quality of its internal features. By improving the features (via introspection), you automatically get better active learning signals.
  • Fairness without Labels: The "Self-play" variant is particularly powerful because it allows the model to discover its own weaknesses and improve its fairness properties even when explicit demographic labels are unavailable during the initial stages.

Key Results

The authors measured the "Accuracy-Group Robustness Frontier"—the trade-off between being accurate on average and being accurate on the worst-performing group.

  • Higher Sampling Rates: On the Census dataset, ISP-Identity (using group labels) achieved a tail-group sampling rate of 0.907, compared to just 0.475 for random sampling and 0.755 for state-of-the-art baselines like Group DRO.
  • Dominating the Frontier: The ISP-Gap method (which doesn't use group labels) almost entirely dominated the "Random" baseline that did have access to group labels.
  • Plug-and-Play Success: ISP consistently improved the performance of various active learning strategies (like margin sampling and variance-based sampling), proving it is a versatile enhancement rather than a standalone replacement.

Limitations and Future Work

  • Extreme Scarcity: The authors note that if a group is extraordinarily rare (e.g., only 2 examples in a massive dataset), the model may still struggle to distinguish it from random label noise.
  • Label Noise Sensitivity: If the initial "hard" examples identified by self-play are just mislabeled data (noise) rather than actual minority groups, the introspection task could potentially lead the model astray.
  • Future Directions: The authors suggest exploring how different training objectives (like focal loss) or varying batch sizes might further refine the learned representations under heavy bias. They also see potential in combining ISP with semi-supervised learning.

Summary updated

BibTeX
@inproceedings{liu2023pushing,
  author = {Jeremiah Zhe Liu and Krishnamurthy Dj Dvijotham and Jihyeon Lee and Quan Yuan 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},
}
Figure