Preserving Locality in Vision Transformers for Class Incremental Learning
Not on the map. Why?
Abstract (arXiv)
Learning new classes without forgetting is crucial for real-world applications for a classification model. Vision Transformers (ViT) recently achieve remarkable performance in Class Incremental Learning (CIL). Previous works mainly focus on block design and model expansion for ViTs. However, in this paper, we find that when the ViT is incrementally trained, the attention layers gradually lose concentration on local features. We call this interesting phenomenon as Locality Degradation in ViTs for CIL. Since the low-level local information is crucial to the transferability of the representation, it is beneficial to preserve the locality in attention layers. In this paper, we encourage the model to preserve more local information as the training procedure goes on and devise a Locality-Preserved Attention (LPA) layer to emphasize the importance of local features. Specifically, we incorporate the local information directly into the vanilla attention and control the initial gradients of the vanilla attention by weighting it with a small initial value. Extensive experiments show that the representations facilitated by LPA capture more low-level general information which is easier to transfer to follow-up tasks. The improved model gets consistently better performance on CIFAR100 and ImageNet100.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 27 of its 35 references that are in the map. First posted on arXiv 14 Apr 2023.
Builds on
27 of 35 references.
References · 27
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016Learning without Forgettingcited by 2,465
- 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,313
- 2022Visual Prompt Tuningcited by 1,674
- 2014How transferable are features in deep neural networks?cited by 1,216
- 2017Continual Learning with Deep Generative Replaycited by 1,152
- 2021Learning to Prompt for Continual Learningcited by 938
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2018Riemannian Walk for Incremental Learning: Understanding Forgetting and Intransigencecited by 734
- 2019Large Scale Incremental Learningcited by 727
15 more
- 2022DualPrompt: Complementary Prompting for Rehearsal-free Continual Learningcited by 635
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2021DER: Dynamically Expandable Representation for Class Incremental Learningcited by 355
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
- 2021DyTox: Transformers for Continual Learning with DYnamic TOken eXpansioncited by 291
- 2022S-Prompts Learning with Pre-trained Transformers: An Occam's Razor for Domain Incremental Learningcited by 246
- 2022FOSTER: Feature Boosting and Compression for Class-Incremental Learningcited by 228
- 2023Class-Incremental Learning: A Surveycited by 209
- 2023Revisiting Class-Incremental Learning with Pre-Trained Models: Generalizability and Adaptivity are All You Needcited by 183
- 2022A Model or 603 Exemplars: Towards Memory-Efficient Class-Incremental Learningcited by 152
- 2021GCR: Gradient Coreset Based Replay Buffer Selection For Continual Learningcited by 95
- 2022Few-Shot Class-Incremental Learning by Sampling Multi-Phase Taskscited by 87
- 2023RMM: Reinforced Memory Management for Class-Incremental Learningcited by 66
- 2021Essentials for Class Incremental Learningcited by 57
- 2021Mimicking the Oracle: An Initial Phase Decorrelation Approach for Class Incremental Learningcited by 49
Built on by
Citing papers per year: 2025: 2.
2 papers.