NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Model Debiasing by Learnable Data Augmentation

Pietro Morerio, Ruggero Ragonesi, Vittorio Murino · DOI

Abstract

Deep learning models frequently exploit "shortcuts"—spurious correlations between non-essential attributes and class labels—leading to poor generalization in real-world scenarios. This paper presents an unsupervised two-stage pipeline for model debiasing. The first stage identifies biased samples by analyzing their "Prediction History" (PH), leveraging the observation that models learn biased features more rapidly than robust ones. The second stage employs a learnable, adversarial data augmentation strategy (l-mix) to force the model to learn unbiased representations. Evaluation on benchmarks such as Corrupted CIFAR-10, Waterbirds, and CelebA demonstrates that this method significantly outperforms existing state-of-the-art unsupervised debiasing techniques.

Introduction

A fundamental challenge in machine learning is dataset bias, where a specific attribute is strongly correlated with a class label but is not causal. For instance, a model might classify "duck" based on the presence of "water" rather than the bird's features. While supervised debiasing can mitigate this, it requires expensive manual labeling of biases. This paper addresses the more difficult task of unsupervised debiasing, where the nature of the bias is unknown a priori. The goal is to build a model that performs well on both "bias-aligned" (easy/common) and "bias-conflicting" (hard/rare) samples without explicit supervision.

Methodology: A Two-Stage Pipeline

1. Bias Identification via Prediction History

The authors observe that biased samples are "easier" for a network to learn and are fitted much faster than unbiased ones. They introduce Prediction History (PH), which tracks the correctness of each sample throughout training. Samples consistently classified correctly from early epochs are flagged as "biased," while those that remain difficult are considered "unbiased."

Conceptual overview of debiasing strategies and the training dynamics of biased vs. unbiased samples.

2. Learnable Data Augmentation (l-mix)

Following identification, the data is processed using a variation of Mixup. Unlike standard Mixup, which uses fixed linear interpolation, the proposed l-mix makes the mixing process learnable and adversarial. A small module predicts parameters for a Beta distribution to sample mixing coefficients, trained via a Gradient Reversal Layer (GRL). This creates an adversarial game where the augmentation module generates challenging mixed samples to confuse the classifier, forcing it to become invariant to the underlying bias.

Key Insights and Training Dynamics

The core intuition rests on the training dynamics of neural networks. Shortcuts represent the path of least resistance. By monitoring individual sample loss curves, the model can effectively "see" the bias without human intervention.

Evolution of training accuracy and the correlation (rho) between loss/correctness and sample bias during training.

As shown in the training dynamics, there is a strong correlation ($\rho$) between a sample's loss/correctness and its bias status, validating the use of Prediction History as a proxy for bias detection. By mixing a biased sample (e.g., a duck in water) with an unbiased one (e.g., a duck on land), the resulting "neutral" sample helps the model realize that the background is not a defining feature of the class.

Experimental Results

The l-mix method was evaluated on four major benchmarks, consistently outperforming state-of-the-art (SOTA) unsupervised methods:

  • Corrupted CIFAR-10 (95% bias): Achieved 64.7% accuracy, significantly higher than the standard Empirical Risk Minimization (ERM) at 45.2% and the previous SOTA (LfF) at 59.9%.
  • CelebA: On "bias-conflicting" (hard) test samples, the model reached 82.2% accuracy, nearly doubling the performance of standard ERM (47.2%).
  • BAR (Bias Action Recognition): Demonstrated robust performance in recognizing actions in novel environments, where the test set features actions in contexts different from the training set.

Notably, the method also showed benefits on "unbiased" datasets like standard CIFAR-10, suggesting it helps mitigate subtle, hidden spurious correlations present in most datasets.

Conclusion and Future Work

This work demonstrates that unsupervised debiasing is achievable by leveraging the inherent training dynamics of deep networks. By identifying "easy" biased samples and using them in an adversarial augmentation framework, models can be forced to learn more robust, causal features. Future research may focus on streamlining the two-stage process into a single-stage end-to-end pipeline and exploring the method's efficacy against more complex, multi-modal biases in large-scale foundation models.

Summary updated

BibTeX
@article{morerio2026model,
  author = {Pietro Morerio and Ruggero Ragonesi and Vittorio Murino},
  title = {{Model Debiasing by Learnable Data Augmentation}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2026},
}
Figure