paper-with-me

Papers

Preserving Locality in Vision Transformers for Class Incremental Learning

2023-04-14 · Bowen Zheng, Da-Wei Zhou, Han-Jia Ye, De-Chuan Zhan

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 \emph{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.

📄 PDF Abstract BibTeX arXiv:2304.06971

Code (1)

bwnzheng/lpa_icme2023 공식 구현 pytorch

Tasks

class-incremental learningClass Incremental LearningIncremental Learning

Similar Papers 제목 키워드 기반

LocalViT: Bringing Locality to Vision Transformers

2021-04-12 · Yawei Li, Kai Zhang, JieZhang Cao, Radu Timofte 외

We study how to introduce locality mechanisms into vision transformers. The transformer network originates from machine translation and is particularly good at modelling long-range dependencies within a long sequence. Al…

Image Classification

Locality-Attending Vision Transformer

2026-03-05 · Sina Hajimiri, Farzad Beizaee, Fereshteh Shakeri, Christian Desrosiers 외 arxiv

Vision transformers have demonstrated remarkable success in classification by leveraging global self-attention to capture long-range dependencies. However, this same mechanism can obscure fine-grained spatial details cru…

Robust Transformer with Locality Inductive Bias and Feature Normalization

2023-01-27 · Omid Nejati Manzari, Hossein Kashiani, Hojat Asgarian Dehkordi, Shahriar Baradaran Shokouhi

Vision transformers have been demonstrated to yield state-of-the-art results on a variety of computer vision tasks using attention-based networks. However, research works in transformers mostly do not investigate robustn…

Inductive BiasTraffic Sign Recognition

MaiT: integrating spatial locality into image transformers with attention masks

2021-09-29 · Ling Li, Ali Shafiee, Joseph H Hassoun

Though image transformers have shown competitive results with convolutional neural networks in computer vision tasks, lacking inductive biases such as locality still poses problems in terms of model efficiency especially…

Parameter Efficient Continual Learning for Sparse Event-Based Transformers

2026-08-27 · Vaishnavi Nagabhushana, Kartikay Agrawal, Ayon Borthakur arxiv

Robotic and edge intelligence systems operate in dynamic environments where data arrives continuously, requiring models to adapt while preserving previously learned knowledge under strict memory and energy constraints. W…

parameter-efficient fine-tuningclass-incremental learningContinual LearningEvent-based vision