Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Meta-attention for ViT-backed Continual Learning

About

Continual learning is a longstanding research topic due to its crucial role in tackling continually arriving tasks. Up to now, the study of continual learning in computer vision is mainly restricted to convolutional neural networks (CNNs). However, recently there is a tendency that the newly emerging vision transformers (ViTs) are gradually dominating the field of computer vision, which leaves CNN-based continual learning lagging behind as they can suffer from severe performance degradation if straightforwardly applied to ViTs. In this paper, we study ViT-backed continual learning to strive for higher performance riding on recent advances of ViTs. Inspired by mask-based continual learning methods in CNNs, where a mask is learned per task to adapt the pre-trained ViT to the new task, we propose MEta-ATtention (MEAT), i.e., attention to self-attention, to adapt a pre-trained ViT to new tasks without sacrificing performance on already learned tasks. Unlike prior mask-based methods like Piggyback, where all parameters are associated with corresponding masks, MEAT leverages the characteristics of ViTs and only masks a portion of its parameters. It renders MEAT more efficient and effective with less overhead and higher accuracy. Extensive experiments demonstrate that MEAT exhibits significant superiority to its state-of-the-art CNN counterparts, with 4.0~6.0% absolute boosts in accuracy. Our code has been released at https://github.com/zju-vipa/MEAT-TIL.

Mengqi Xue, Haofei Zhang, Jie Song, Mingli Song• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100
Accuracy85.93
691
ClassificationCars
Accuracy77.2
395
Image ClassificationCUB
Accuracy81.53
282
Image ClassificationFGVC
Accuracy65.69
68
Image ClassificationPlaces365
Top-1 Accuracy52.98
67
Image ClassificationWikiArt
Top-1 Accuracy73.43
34
Image ClassificationSketches
Accuracy76.68
23
Image ClassificationImageNet
Accuracy79.84
18
Showing 8 of 8 rows

Other info

Code

Follow for update