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

Continual Learning in the Presence of Spurious Correlations: Analyses and a Simple Baseline

Donggyu Lee, Sangwon Jung, Taesup Moon

In the world of machine learning, we often talk about the stability-plasticity dilemma: the struggle to help a model remember old tasks (stability) while remaining flexible enough to learn new ones (plasticity). But what if the model isn't just remembering "knowledge," but also "prejudice"?

A new paper presented at ICLR 2024, “Continual Learning in the Presence of Spurious Correlations: Analyses and a Simple Baseline,” reveals a hidden danger in how we train AI sequentially. It turns out that standard continual learning (CL) algorithms don't just transfer skills—they transfer and accumulate "shortcuts" or spurious correlations across tasks.

TL;DR

Standard continual learning methods inadvertently transfer dataset biases both forward to future tasks and backward to past ones. This "bias transfer" is exacerbated by the very mechanisms used to prevent forgetting, but can be mitigated by a simple, group-aware sampling strategy called BGS.

What Problem Does This Paper Address?

Deep neural networks are notorious "shortcut learners." If a dataset for a "Young vs. Old" classification task happens to have mostly female "Young" faces and male "Old" faces, the model might simply learn to detect gender instead of age. This is a spurious correlation.

Conceptual diagram of forward and backward bias transfer in continual learning.

In a Continual Learning (CL) setting, tasks arrive one after another. Until now, the community has focused almost entirely on preventing "catastrophic forgetting." The authors of this paper ask a more nuanced question: If Task 1 is biased, does that bias "infect" Task 2? Conversely, can learning a biased Task 2 ruin the model’s unbiased performance on Task 1?

The researchers found that bias is not isolated; it flows through the model’s lifespan, creating a "bias transfer" effect that standard CL methods are currently blind to.

Methods and Metrics

The authors conducted a systematic empirical study using several key metrics and a new baseline:

  1. Bias Metrics: They used BMR (Bias-flipped Mis-classification Rate), which measures how often a model changes its prediction when a spurious feature (like background color) is flipped, and DCA (Difference of Classwise Accuracy) to measure the performance gap between different demographic groups.
  2. Stability-Plasticity Analysis: They mapped how different CL strategies (Regularization, Rehearsal, and Parameter Isolation) affect bias transfer.
  3. BGS (group-class Balanced Greedy Sampling): The authors propose a simple "plug-in" for rehearsal-based methods. Instead of just keeping a balanced number of samples per class in memory, BGS ensures the memory is balanced across both classes and groups (e.g., ensuring an equal number of "Young/Male" and "Young/Female" samples).

Datasets

The study utilized three main benchmarks modified to control bias levels:

  • Split CIFAR-100S: Injected with "color bias" (where certain classes are predominantly grayscale or color).
  • CelebA: A real-world dataset of facial attributes used to study "gender" and "age" biases.
  • Split ImageNet-100C: Injected with "noise bias" (Gaussian noise correlated with specific classes).
  • Realistic Scenarios: The authors also validated their findings on satellite imagery (FMoW-WILDS) and Natural Language Processing tasks (MultiNLI/WanLI).

Key Insights and Ideas

Trade-off between plasticity/stability and bias transfer across different CL methods.
  • Forward Bias Transfer: When a model is designed for high stability (to avoid forgetting Task 1), it "locks in" the spurious correlations from that task. These shortcuts then interfere with its ability to learn Task 2 cleanly, even if Task 2 is perfectly unbiased.
  • Backward Bias Transfer: If a model has high plasticity, learning a new, biased task can "infect" the model’s logic for previous tasks. The model starts applying the new task's shortcuts to old data it previously understood correctly.
  • The Accumulation Effect: In longer sequences (e.g., 10 tasks), bias doesn't just stay level; it accumulates. If multiple tasks share the same type of bias, the model’s reliance on that shortcut grows stronger over time, making it increasingly difficult to debias later.
  • Internal Representation Shift: Using Centered Kernel Alignment (CKA), the authors showed that the bias isn't just in the final "decision" layer—the internal feature representations themselves become fundamentally skewed toward the spurious features.

Key Results

  • Standard CL Fails: Popular methods like LWF, EWC, and ER all showed significant bias transfer. For example, in CIFAR-100S, focusing on stability increased the forward transfer of bias significantly compared to simple fine-tuning.
  • BGS Effectiveness: The proposed BGS method consistently outperformed standard baselines. In the Split ImageNet-100C task, adding BGS to the iCaRL algorithm improved average accuracy from 30.15% to 34.79% while slashing the bias (BMR) from 38.30% to 14.84%.
  • Accuracy Bonus: Interestingly, reducing bias often improved overall accuracy. By forcing the model to ignore shortcuts, it was forced to learn more robust, generalizable features.

Limitations and Future Work

While BGS is a strong baseline, the authors acknowledge it isn't a "silver bullet." * Last-Layer Focus: BGS primarily works by re-training the last layer of the network. While this fixes the final prediction, the underlying "backbone" of the model may still retain biased feature representations. * Known Groups: BGS requires knowing the "group labels" (the source of the bias) during training, which isn't always possible in the wild. * Complex Biases: The method is currently tested on discrete, well-defined biases. Future work is needed to handle continuous or overlapping spurious correlations.

This paper serves as a wake-up call for the CL community: as we build AI that learns forever, we must ensure it isn't just getting better at taking the wrong path.

Summary updated

BibTeX
@inproceedings{lee2024continual,
  author = {Donggyu Lee and Sangwon Jung and Taesup Moon},
  title = {{Continual Learning in the Presence of Spurious Correlations: Analyses and a Simple Baseline}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=3Y7r6xueJJ},
}
Figure