Abstract
Deep learning model effectiveness in classification tasks is often challenged by the quality and quantity of training data whenever they are affected by strong spurious correlations between specific attributes and target labels. This results in a form of bias affecting training data, which typically leads to unrecoverable weak generalization in prediction. This paper aims at facing this problem by leveraging bias amplification with generated synthetic data: we introduce Diffusing DeBias (DDB), a novel approach acting as a plug-in for common methods of unsupervised model debiasing exploiting the inherent bias-learning tendency of diffusion models in data generation. Specifically, our approach adopts conditional diffusion models to generate synthetic bias-aligned images, which replace the original training set for learning an effective bias amplifier model that we subsequently incorporate into an end-to-end and a two-step unsupervised debiasing approach. By tackling the fundamental issue of bias-conflicting training samples memorization in learning auxiliary models, typical of this type of techniques, our proposed method beats current state-of-the-art in multiple benchmark datasets, demonstrating its potential as a versatile and effective tool for tackling bias in deep learning models.
Introduction
Deep learning models are notorious "shortcut" learners. When a dataset contains strong spurious correlations—such as 95% of "Waterbird" images featuring a water background—models often learn to recognize the background rather than the primary object. This leads to poor generalization on "bias-conflicting" samples, such as a bird photographed on land.
In the field of unsupervised debiasing, a common strategy is to train an auxiliary model to be intentionally biased. This model identifies "easy" (biased) samples, allowing the main model to focus on "hard" (unbiased) ones. However, a significant challenge remains: auxiliary models often overfit and "memorize" rare unbiased samples during training, which pollutes the bias signal and hinders the main model's learning.
Methodology: Diffusing DeBias (DDB)
The proposed Diffusing DeBias (DDB) framework leverages the inherent bias-prone nature of Conditional Diffusion Probabilistic Models (CDPMs) to solve the memorization problem.
1. Bias Diffusion and Amplification
DDB first trains a CDPM on the original biased dataset. Because diffusion models naturally gravitate toward high-density regions of a distribution, they effectively filter out rare unbiased samples. The resulting synthetic images are often even more biased than the original set, providing a "cleaner" signal of the shortcut.
2. The Bias Amplifier (BA)
An auxiliary "Bias Amplifier" model is trained exclusively on these synthetic, bias-amplified images. Since the BA never encounters a real unbiased sample during its training phase, it is mathematically incapable of memorizing them. This ensures that when it is applied to real data, its failures are highly accurate indicators of unbiased samples.
3. Debiasing Recipes
The BA is integrated into two distinct debiasing workflows:
- Recipe I (Two-Step): The BA pseudo-labels the real training set. Samples misclassified by the BA are flagged as bias-conflicting and used to train the final model via robust optimizers like Group-DRO.
- Recipe II (End-to-End): The frozen BA provides a "difficulty score" for each real sample. The main model is trained to prioritize samples that the BA finds most difficult, effectively re-weighting the loss to focus on unbiased data.
Experimental Evaluation
DDB was evaluated across several benchmarks representing various types of spurious correlations, including Waterbirds (background bias), BFFHQ (attribute bias like age/gender), and UrbanCars (multiple co-occurring shortcuts).
Key Results
DDB consistently outperformed existing unsupervised debiasing methods and rivaled supervised baselines. On the Waterbirds dataset, DDB achieved a Worst-Group Accuracy (WGA) of 91.56%, surpassing the supervised Group-DRO baseline (91.40%).
As shown in the BFFHQ results, DDB-I reached 74.67% conflicting accuracy, a significant improvement over previous methods like ETF-Debias (73.60%). In complex multi-bias environments like UrbanCars, DDB provided the most balanced performance across all minority groups, significantly reducing the accuracy gap compared to standard models.
Conclusion
Diffusing DeBias demonstrates that generative bias, often viewed as a flaw, can be repurposed as a powerful tool for model diagnostics. By using synthetic data to insulate auxiliary models from unbiased samples, DDB provides a robust and versatile solution for unsupervised debiasing. While the computational cost of training diffusion models is a factor, the significant gains in generalization performance make it a compelling approach for robust deep learning.
Summary updated