Invariant Learning with Partial Group Labels

Vishnu Suresh Lokhande, Kihyuk Sohn, Jinsung Yoon, Madeleine Udell, Chen-Yu Lee, Tomas Pfister

TL;DR

This paper introduces "Worst-off DRO," a novel method for training machine learning models that are robust to spurious correlations affecting minority groups. It tackles the practical challenge of having only partial group labels during training, outperforming existing methods by improving minority group accuracy while maintaining overall performance.

What Problem Does This Paper Address?

Machine learning models often learn spurious correlations between input features and target labels. These correlations can lead to biased predictions, particularly for minority groups, where performance might be significantly worse than for majority groups, even if overall accuracy appears high. Addressing this bias typically requires knowing the group membership for every training sample. However, obtaining such complete group labels is often impractical due to the cost of labeling, privacy concerns, or the discovery of hidden subgroups. Existing methods either assume full group label availability or operate in a fully unsupervised setting (no group labels at all). This paper bridges this gap by addressing the more realistic scenario where only a partial set of group labels is available during training.

Methods

The core of the proposed solution lies in a framework called Worst-off Distributionally Robust Optimization (DRO). Building upon existing DRO techniques that optimize for the worst-case training loss across groups, this method adapts to partial group labels.

Here's a breakdown of the key ideas:

  • Constraint Set Construction: The authors construct a constraint set that, with high probability, encompasses the true group assignments for the unlabeled data. This is achieved by incorporating a marginal distribution constraint, which ensures that the estimated group distribution from the data is close to the true marginal distribution.
  • Worst-off Soft Group Assignment: Instead of relying on hard group assignments (which are unavailable for most samples), the method optimizes for a "worst-off soft group assignment." This means assigning probabilities to group memberships for each sample, allowing the model to consider a range of plausible group assignments for the unlabeled data.
  • Optimization Objective: The algorithm optimizes a worst-off DRO objective that acts as an upper bound to the standard Group DRO objective (which assumes full group labels). This theoretical guarantee ensures that by optimizing their objective, they are also optimizing the ideal scenario with high probability.
  • Algorithm: The optimization is performed iteratively, alternating between updating the model weights (using gradient descent), the group weights (using exponential ascent), and the soft group assignments (using a CVXPY solver).

Datasets

The proposed method was evaluated on four datasets:

  • Waterbirds: An image dataset with land/water backgrounds, where minority groups are "landbirds" on water and "waterbirds" on land.
  • Colored MNIST (CMNIST): A digit recognition dataset where images are colored, and specific color-label correlations define groups, with one group being a minority.
  • Adult Dataset: A semi-synthetic tabular dataset using race and sex as demographic groups, with exaggerated spurious correlations.
  • CelebA Dataset: A celebrity face dataset used to predict "Blond Hair," which is spuriously correlated with gender, with "blond, male" forming a minority group.

The paper notes that for these datasets, group labels are missing completely at random (MCAR) at a fixed rate during training.

Key Insights and Ideas

  • Bridging the Labeling Gap: The most significant insight is the development of a method that effectively leverages partial group labels. This moves beyond the unrealistic assumptions of fully supervised or fully unsupervised group label settings, making robust learning more accessible in practice.
  • Theoretical Guarantees with Partial Labels: The construction of a constraint set that probabilistically contains the true group assignments provides a theoretical foundation for why their method should work. It ensures their optimization objective is an upper bound to the ideal Group DRO objective.
  • Soft Assignments for Uncertainty: Using soft group assignments for unlabeled data is a clever way to handle the inherent uncertainty when group labels are missing. It allows the model to consider a distribution of possibilities rather than making a single, potentially incorrect, hard assignment.
  • Balancing Minority and Overall Accuracy: The method demonstrates an ability to improve minority group performance without sacrificing overall accuracy, a common trade-off in fairness-aware learning.

Key Results

The paper reports significant improvements across the board:

  • Minority Group Accuracy Boost: Worst-off DRO consistently improves minority group accuracy compared to baselines like ERM (Empirical Risk Minimization) and Group DRO (Partial). For instance, on the Waterbirds dataset, minority group accuracy increased by 21% compared to ERM.
  • Competitive Overall Accuracy: While focusing on minority groups, the method maintains competitive overall accuracy, often matching or slightly exceeding baselines.
  • Outperforming Baselines: Worst-off DRO outperforms ERM, Unsup DRO (which doesn't use group labels), and Group DRO (Partial) (which only uses fully labeled samples). It also shows promise compared to Group DRO (Oracle), the fully supervised version.
  • Ablation Studies: Experiments show that increasing the number of labeled samples generally improves minority group accuracy for both Worst-off DRO and Group DRO (Partial), with Worst-off DRO often achieving higher gains. The study also highlights the importance of the $\epsilon$ parameter in the marginal constraint, showing that performance degrades when this constraint is too relaxed.

Limitations and Future Work

  • Marginal Distribution Assumption: The current method relies on the availability of marginal distribution information. The authors suggest future work to relax this assumption and explore more realistic modeling of missing group labels, such as Missing At Random (MAR).
  • Constraint Set Size: While the method aims for a tighter bound, further work could focus on designing an even more reduced constraint set that still guarantees containing the true group assignment, potentially closing the performance gap with Group DRO (Oracle).
  • Hyperparameter Sensitivity: While the paper uses a robust model selection procedure (NVP), the performance of DRO methods can sometimes be sensitive to hyperparameter choices, which is a general challenge in this area.

Summary updated

BibTeX
@inproceedings{lokhande2022invariant,
  author = {Vishnu Suresh Lokhande and Kihyuk Sohn and Jinsung Yoon and Madeleine Udell and Chen-Yu Lee and Tomas Pfister},
  title = {{Invariant Learning with Partial Group Labels}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=sWbXSWzHPa},
}
Figure