Introduction
Deep Neural Networks (DNNs) often act as "lazy" learners, prioritizing easy-to-learn "shortcuts" or non-class attributes over the actual target features. For instance, if a dataset predominantly features "dogs" on grass and "cats" on carpets, a model may learn to associate the background with the label rather than the animal itself. This phenomenon, known as dataset bias or feature-correlation bias, leads to significant performance degradation when the model encounters unbiased test data (e.g., a dog on a carpet).
While previous approaches to debiasing often relied on heuristics or specialized architectures, this work proposes a more rigorous statistical and causal foundation. The core idea is to reframe dataset bias as a correlation problem and mitigate it by weighting training samples based on the inverse of the bias-class correlation.
Statistical and Causal Framework
The authors define bias mathematically: it occurs when the conditional probability of a class attribute $u$ given a bias attribute $b$, $p(u|b)$, deviates significantly from the prior $p(u)$. To address this, they propose two strategies: Loss Weighting (LW) and Weighted Sampling (WS). Both aim to rebalance the training distribution by weighting samples by $1/p(u|b)$.
Causal Interpretation
The paper elegantly links this approach to causal inference by treating the bias attribute as a "confounder" in a causal graph.
By applying weights proportional to $1/p(u|b)$, the method performs a form of Inverse Probability Weighting (IPW). This allows the model to estimate the causal effect of the class attribute on the label, effectively performing a $do$-intervention to remove the influence of the confounding bias.
Methodology
In practice, $p(u|b)$ and the bias attribute $b$ itself are often unknown. To overcome this, the authors employ a "Biased Classifier" Trick. They first train a helper model using Generalized Cross-Entropy (GCE) loss, which is specifically designed to amplify easy-to-learn patterns (the bias). The prediction confidence of this biased model then serves as a proxy for $p(u|b)$. Samples where the biased model is highly confident are likely "bias-aligned" and are subsequently down-weighted.
To ensure training stability, the authors introduce Annealed Loss Weighting (ALW). This strategy gradually shifts from uniform weighting to the calculated debiasing weights, preventing early training instability.
Experimental Results
The proposed LW method was evaluated on several standard biased benchmarks, including Colored MNIST, Corrupted CIFAR10, Biased CelebA, and Biased Action Recognition (BAR).
As shown in the results, LW consistently outperforms or matches state-of-the-art (SOTA) methods like PGD and LfF. Notably, on the most challenging setting of Corrupted CIFAR10 (0.5% bias-conflicting ratio), LW achieved 45.76% accuracy, a significant improvement over the Vanilla model's 28.00%. On Biased CelebA, LW demonstrated a substantial performance leap, reaching approximately 87% accuracy across various bias ratios, while the BAR dataset reached a SOTA of 71.24%.
Key Insights and Limitations
A critical finding is that while LW and WS are statistically equivalent, Loss Weighting (LW) performs better in practice because it preserves data diversity within each training batch. Furthermore, ablation studies confirmed that the model performs best when the "debiasing ratio" derived from the weights matches the ground-truth ratio of the dataset, validating the biased-classifier proxy.
Despite its success, the method faces challenges regarding hyperparameter sensitivity. Choosing the optimal number of training epochs for the biased classifier ($T_{bias}$) and the weight clamping threshold ($\gamma$) currently requires some prior knowledge of the bias rate. Future work may explore automated ways to tune these parameters or directly adjust target distributions to further mitigate unknown biases.
Summary updated