When Catastrophic Inheritance Meets Forgetting in Continual Adaptation of Foundation Models

Quanyu Zhang, Zhongyi Han, Zhenxue Chen, Xiaolong Yin, Henggui Zhang, Shuo LiNeurIPS 2026

TL;DR

Foundation models trained on messy web-scale data inherit subtle flaws, and when we adapt them to a stream of new tasks over time, they also tend to forget old ones. You might hope that feeding a model clean, sequential downstream data would eventually wash away its noisy upbringing—but this paper reveals that pretraining noise acts like a permanent handicap that squishes decision boundaries and persists across every new task. Fortunately, the authors show we can repair these "squished" regions on the fly during downstream training, without ever needing to touch the massive pretraining pipeline.

What Problem Does This Paper Address?

Modern machine learning relies on two facts of life: pretraining datasets are messy, and real-world environments change constantly.

When a foundation model internalizes annotation errors or mismatched image-text pairs during pretraining, it passes those defects down to downstream tasks—a phenomenon called catastrophic inheritance. Meanwhile, when we update that model sequentially on new tasks or domains over time, new updates overwrite old knowledge, leading to catastrophic forgetting.

Until now, researchers studied these two headaches in isolation. What happens when they collide? If a noisy pretrained model is continually adapted to clean downstream tasks one after another, does clean supervision eventually overwrite the inherited defects, or do those early flaws haunt the model forever?

Figure 1: Illustration of the impact of pretraining noise on con- tinual adaptation. The performance gap between clean and noisy pretraining on the current task reflects the persistent degradation in new-task learning caused by pretraining noise. The decline in previously learned tasks during subsequent adaptation reflects catastrophic forgetting, while the extent to which pretraining noise further increases this forgetting varies across settings.

Methods

First, to run controlled diagnostics, the authors simulate realistic pretraining defects by injecting asymmetric label noise into ImageNet-1K using the WordNet semantic hierarchy. Instead of random label flips, "ferret" gets mislabeled as "mink" rather than "chair," mimicking human annotation errors. They pretrain Vision Transformers (ViT-B/16) at noise levels from 0% to 30%, then continually adapt them using standard Full Fine-Tuning (FFT) or parameter-efficient LoRA.

To fix the persistent degradation they uncover, the authors propose Ambiguous Boundary Correction (ABC). Standard hard-sample mining simply cranks up the loss weight on uncertain data points. ABC is cleverer:

  1. Find Anchors: Within a training mini-batch, it flags predictions whose maximum class probability falls below a threshold $\tau$ as "anchors." These mark regions where the model's decision space is overly compressed.
  2. Map the Neighborhood: Using normalized penultimate-layer features, it finds the top-$K$ nearest neighbors (via cosine similarity) around each anchor and filters for cross-class neighbors—samples nearby in feature space that belong to different ground-truth classes.
  3. Normalized Reweighting: Rather than just up-weighting the uncertain anchors themselves, ABC boosts the cross-entropy loss weight specifically on those cross-class boundary neighbors, normalized by how many were selected so supervision strength stays stable. This forces the optimizer to pry apart tangled class boundaries without needing access to pretraining data.

Datasets

  • Controlled Pretraining: ImageNet-1K corrupted with semantic asymmetric label noise (0%, 5%, 10%, 20%, and 30%). Real-world noisy pretraining is evaluated using web-scale pretrained CLIP models (ViT-L/14 and ViT-B/16).
  • Domain-Shift Benchmarks (same classes, shifting visual styles): DomainNet (4 domains), OfficeHome (4 domains), TerraIncognita (4 camera locations), and CDDB (5 deepfake detection domains).
  • Class-Shift Benchmarks (expanding label space, no task ID at test time): CUB-200-2011 (200 fine-grained bird species), split into 5 tasks of 40 classes (CUB-40) or 10 tasks of 20 classes (CUB-20).

(No new datasets were introduced, though the authors define a unified evaluation score $B$ combining final accuracy, historical accuracy, current-task learning, and non-forgetting).

Key Insights and Ideas

  • Downstream supervision doesn't wash away pretraining sins: Clean continual adaptation never heals noisy pretraining. The accuracy penalty on newly arriving tasks remains remarkably constant from the first task to the last, showing zero signs of saturation or recovery.
  • Noise can accelerate forgetting: Depending on the setup, noisy pretraining also makes models more forgetful. Under full fine-tuning on OfficeHome, raising pretraining noise from 0% to 30% increases the forgetting rate by 5.81 percentage points.
  • The culprit is "Inherited Output Contraction": Why does the damage linger? Noisy labels in local semantic neighborhoods force the pretraining model to hedge its bets, compressing the logit gap (the margin between the true class score and the runner-up). This leaves the model stuck in a low-confidence, low-margin state right along tricky cross-class boundaries—leaving new tasks harder to separate and old tasks dangerously close to flipping during future updates.
Figure 2: Comparison of FFT and LoRA under increasing noise levels on DomainNet (first row) and OfficeHome (second row) across five metrics: AT , A, F, AT T , B. Higher noise levels generally correspond to lower accuracy-related metrics and higher forgetting rates.

Key Results

  • Severe baseline degradation: Under LoRA adaptation on OfficeHome, 30% pretraining noise drops average new-task learning accuracy ($A_{TT}$) by 7.25 points compared to clean pretraining.
  • Synthetic noise resilience: ABC flattens the degradation curve. As pretraining noise climbs from 0% to 30% on DomainNet, standard LoRA's comprehensive score ($B$) drops from 71.29% to 66.54%, whereas ABC holds steady from 75.56% to 71.98%.
  • Real-world web noise (CLIP/ViT-L/14): Across domain shifts, ABC outperforms LoRA and specialized noisy-transfer baselines (NML, SKD), lifting comprehensive score $B$ on CDDB from 72.00% (LoRA) to 75.25%, and on OfficeHome from 90.57% to 93.13%.
  • Class shifts & plug-and-play: On fine-grained bird classification (CUB-40), ABC jumps $B$ from 69.64% (LoRA) to 83.02%. Furthermore, plugging ABC into existing continual learning methods like TUNA boosts OfficeHome $B$ from 89.37% to 91.26%.

Limitations and Future Work

Not discussed in the paper. (Note: The provided 10-page main text concludes without a dedicated limitations or future work section).

Summary updated

Abstract

Pretraining noise in foundation models has been shown to significantly impair the generalization performance of downstream tasks, leading to catastrophic inheritance. However, when downstream tasks arrive sequentially, how pretraining noise affects continual adaptation, which involves the forgetting of previously learned knowledge, remains underexplored. This paper is the first to study this problem. Using asymmetric label noise as a realistic setting, we find that pretraining noise persistently degrades performance on new tasks during continual adaptation and may further increase forgetting of previously adapted tasks in some settings. Further analysis shows that the persistent effect of pretraining noise mainly manifests as inherited output contraction, where the logit gap between the true class and competing classes is compressed. To mitigate this issue, we propose Ambiguous Boundary Correction (ABC), a method that performs anchor-guided neighborhood reweighting to correct ambiguous regions induced by inherited output contraction. Experiments on synthetic and real-world noisy pretrained models show that ABC improves robustness to pretraining noise under both domain shifts and class shifts.
BibTeX
@inproceedings{zhang2026when,
  author = {Quanyu Zhang and Zhongyi Han and Zhenxue Chen and Xiaolong Yin and Henggui Zhang and Shuo Li},
  title = {{When Catastrophic Inheritance Meets Forgetting in Continual Adaptation of Foundation Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=htPvCPtGAl},
}
Figure