Navigate Beyond Shortcuts: Debiased Learning through the Lens of Neural Collapse

Yining Wang, Junjie Sun, Chenyue Wang, Mi Zhang, Min Yang

Abstract

Deep neural networks are prone to "shortcut learning," where they rely on spurious correlations rather than intrinsic features, leading to poor generalization on biased datasets. This paper introduces ETF-Debias, a novel framework that addresses this challenge through the geometric lens of Neural Collapse (NC). By integrating fixed, non-learnable Simplex Equiangular Tight Frame (ETF) "primes" into the architecture, the framework satisfies the model's tendency to latch onto easy-to-learn biases, thereby forcing the learnable parameters to focus on robust, task-relevant features. Experimental results across synthetic and real-world benchmarks demonstrate that ETF-Debias consistently outperforms existing debiasing methods, achieving state-of-the-art performance and more robust feature representations.

Introduction

Deep learning models are notoriously "lazy." When trained on biased datasets, they often adopt the path of least resistance, identifying simple, spurious correlations—such as a green background for the class "frog"—rather than learning the complex morphological features of the object itself. This phenomenon, known as shortcut learning, results in high training accuracy but catastrophic failure when the model encounters "bias-conflicting" samples in the real world.

This research investigates shortcut learning through the lens of Neural Collapse (NC). In an ideal training scenario with balanced data, a model's last-layer features and classifier weights eventually converge into a symmetric geometric structure called a Simplex ETF. However, the authors observe that on biased datasets, models establish a biased, non-collapsed feature space very early in the training process. Once this biased structure is set, the model becomes "locked in," making it nearly impossible to unlearn the shortcut and discover intrinsic features. To combat this, the authors propose ETF-Debias, a method that "redirects" the model's attention by providing it with the very shortcuts it seeks.

The ETF-Debias Framework

The core philosophy of ETF-Debias is to "fight fire with fire." Instead of attempting to hide biases from the model, the framework provides a "perfect" version of the shortcut, effectively satisfying the model's hunger for easy correlations and preserving its learnable capacity for meaningful features.

1. Prime Construction

Before training begins, the authors construct a fixed, non-learnable Simplex ETF structure. Each vertex in this geometric structure represents a specific bias attribute (e.g., "background: forest" or "gender: male"). These fixed vectors are referred to as primes.

2. Prime Training and Regularization

During the training phase, the model’s learnable features—extracted by the backbone—are concatenated with these fixed prime features. Because the primes already provide a perfect representation of the bias attributes, the model has no incentive to use its own learnable parameters to capture those same shortcuts.

To ensure the model actually utilizes these primes for bias information, the authors introduce a Prime Reinforcement Regularization loss ($\mathcal{L}_{RE}$). This loss encourages the model to classify the bias attributes using only the prime features, effectively "quarantining" the bias within the non-learnable portion of the architecture.

3. Unbiased Classification

At test time, the primes are replaced with null vectors. Since the model was forced to learn intrinsic features to minimize the remaining classification loss during training—without the help of the shortcuts now sequestered in the primes—it can classify objects correctly based on their true attributes, even in the absence of bias.

Theoretical Insights: Gradient Re-weighting

Theoretically, the authors demonstrate that this priming mechanism implicitly performs gradient re-weighting. By providing the primes, the framework down-weights the influence of "bias-aligned" samples (which are easy for the model to solve) and up-weights "bias-conflicting" samples. This forces the model to work harder to identify the underlying patterns that persist across all samples, regardless of the presence of the shortcut.

Experimental Evaluation

The authors validated ETF-Debias on a variety of synthetic and real-world benchmarks designed to test robustness against spurious correlations:

  • Synthetic Benchmarks: In Colored MNIST (digits correlated with colors) and Corrupted CIFAR-10 (classes correlated with noise or blur), ETF-Debias showed superior resilience to high bias ratios.
  • Real-World Benchmarks:
    • Biased FFHQ (BFFHQ): In this face dataset where age is the target but gender acts as a strong bias, ETF-Debias achieved a 6.6% accuracy improvement over the strongest baseline.
  • Biased Action Recognition (BAR): The method successfully decoupled human actions (e.g., climbing) from their typical backgrounds (e.g., rock walls).

Key Findings

  • Diagnostic Power of NC: The paper confirms that Neural Collapse metrics (NC1-NC3) serve as effective early-warning signals for shortcut learning. A rapid decline in these metrics on biased data indicates the model is quickly building a feature space around easy shortcuts.
  • Visual Evidence: Class Activation Mapping (CAM) visualizations revealed a distinct shift in model attention. While vanilla models focused heavily on backgrounds, ETF-Debias models correctly localized the actual objects of interest.
  • Superior Convergence: Models trained with ETF-Debias achieved a more "collapsed" and robust feature space, mirroring the behavior of models trained on perfectly balanced datasets.

Conclusion and Future Work

ETF-Debias represents a significant step forward in debiased learning by leveraging the geometric properties of Neural Collapse. By providing fixed "primes" to capture shortcuts, the framework protects the model's learnable capacity from being polluted by spurious correlations.

While the current framework requires pre-defined and labeled bias attributes, it sets the stage for future research into unsupervised prime construction. The ultimate goal is to develop models that can automatically discover, isolate, and ignore potential shortcuts without explicit human intervention, leading to truly robust and generalizable artificial intelligence.

Summary updated

BibTeX
@inproceedings{wang2024navigate,
  author = {Yining Wang and Junjie Sun and Chenyue Wang and Mi Zhang and Min Yang},
  title = {{Navigate Beyond Shortcuts: Debiased Learning through the Lens of Neural Collapse}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure