mlsanityData to 7 Oct 2026

Attention Retention for Continual Learning with Vision Transformers

arXiv 2602.05454 ↗First posted 5 Feb 2026cs.CV cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Continual learning (CL) empowers AI systems to progressively acquire knowledge from non-stationary data streams. However, catastrophic forgetting remains a critical challenge. In this work, we identify attention drift in Vision Transformers as a primary source of catastrophic forgetting, where the attention to previously learned visual concepts shifts significantly after learning new tasks. Inspired by neuroscientific insights into the selective attention in the human visual system, we propose a novel attention-retaining framework to mitigate forgetting in CL. Our method constrains attention drift by explicitly modifying gradients during backpropagation through a two-step process: 1) extracting attention maps of the previous task using a layer-wise rollout mechanism and generating instance-adaptive binary masks, and 2) when learning a new task, applying these masks to zero out gradients associated with previous attention regions, thereby preventing disruption of learned visual concepts. For compatibility with modern optimizers, the gradient masking process is further enhanced by scaling parameter updates proportionally to maintain their relative magnitudes. Experiments and visualizations demonstrate the effectiveness of our method in mitigating catastrophic forgetting and preserving visual concepts. It achieves state-of-the-art performance and exhibits robust generalizability across diverse CL scenarios.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 13 of its 23 references that are in the map. First posted on arXiv 5 Feb 2026.

Builds on

13 of 23 references.

References · 13

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  3. 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
  4. 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,313
  5. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  6. 2021Gradient Projection Memory for Continual Learningcited by 338
  7. 2024InfLoRA: Interference-Free Low-Rank Adaptation for Continual Learningcited by 189
  8. 2018Continual Learning of Context-dependent Processing in Neural Networkscited by 178
  9. 2021Training Networks in Null Space of Feature Covariance for Continual Learningcited by 139
  10. 2024Consistent Prompting for Rehearsal-Free Continual Learningcited by 52
  11. 2022Isolation and Impartial Aggregation: A Paradigm of Incremental Learning without Interferencecited by 44
  12. 2024Visual Prompt Tuning in Null Space for Continual Learningcited by 30
1 more
  1. 2022Balancing Stability and Plasticity through Advanced Null Space in Continual Learningcited by 29

Built on by

Not cited yet.