Abstract
Deep Neural Networks (DNNs) often rely on spurious correlations, leading to high average accuracy but poor performance on minority groups. Existing mitigation strategies typically require privileged information (group labels) or extensive hyperparameter tuning. We introduce Targeted Augmentations for Bias Mitigation (TAB), a hyperparameter-free framework that identifies bias-conflicting samples by analyzing the training history of a helper model. TAB automatically rebalances the dataset to train a robust final model. Our evaluation across synthetic and real-world benchmarks shows that TAB significantly improves worst-group accuracy (WGA) and avoids the "Price of Unawareness" associated with model selection in the absence of group labels.
Introduction
A common failure mode in deep learning is the reliance on "shortcuts" or spurious correlations. For instance, a model trained to identify cows might learn to associate them with grassy backgrounds. While this strategy yields high accuracy on typical images, it fails on "worst-group" scenarios, such as a cow on a beach.
Mitigating this bias usually requires manual group labels (e.g., "background type") or exhaustive hyperparameter searches. The latter is particularly problematic because, without group labels to guide validation, practitioners often select models based on mean accuracy, which frequently reinforces the bias—a phenomenon termed the Price of Unawareness (PoU).
The TAB Framework
Targeted Augmentations for Bias Mitigation (TAB) addresses these challenges through a simple, two-pass pipeline that requires no manual group labels and no hyperparameter tuning.
The process consists of four primary steps:
- Loss History Embedding: A standard "helper" model is trained. The training loss for every sample is recorded at each epoch, creating a temporal "loss history" embedding.
- Loss-Aware Partitioning: For each class, $k$-means clustering ($k=2$) is applied to these loss histories. The intuition is that bias-aligned samples (easy shortcuts) exhibit different loss trajectories than bias-conflicting samples (hard examples). The smaller cluster is identified as the minority group.
- Group-Balanced Generation: The minority cluster is upsampled to match the size of the majority cluster, creating a balanced training set.
- Robust Training: A final model is trained from scratch using the rebalanced dataset.
Experimental Evaluation
The researchers evaluated TAB on several benchmarks, including synthetic tasks like Colour-MNIST and real-world datasets such as Waterbirds (birds vs. backgrounds), CelebA (hair color vs. gender), and BAR (action recognition with biased backgrounds). They also used CUB as a control to ensure the method does not degrade performance on unbiased data.
Key Results
- Worst-Group Accuracy (WGA): TAB significantly outperformed Empirical Risk Minimization (ERM). On the "Even-Odd" task, TAB achieved 81.85% WGA compared to ERM’s 55.98%.
- Efficiency and Safety: TAB was found to be up to 14.8x faster than baselines like JTT when accounting for model selection time. Furthermore, on the unbiased CUB dataset, TAB maintained high accuracy, demonstrating its safety for general use.
Insights: The Validation Trap
A critical insight of this work is the "validation trap." In biased datasets, mean validation accuracy often peaks when the model is most reliant on shortcuts.
TAB achieves a Price of Unawareness (PoU) of 1.0, meaning its performance remains consistent regardless of whether group labels are available for validation. This is a significant advantage over methods that require group-labeled validation sets to pick the best hyperparameters.
Conclusion and Future Work
TAB provides a robust, efficient, and hyperparameter-free approach to bias mitigation. By using the temporal signal of loss histories, it effectively identifies minority groups without human intervention. Future research may explore more sophisticated clustering techniques to capture complex loss dynamics or extend the method to handle multiple overlapping spurious correlations.
Summary updated