[Paper Review] Improving Vision Transformers for Incremental Learning
This paper proposes ViTIL, a method that enhances Vision Transformers for class incremental learning by addressing three key issues: slow convergence, bias toward new classes, and underfitted classifier layers. By combining a convolutional stem, class-balanced fine-tuning, and a large learning rate for the classifier, ViTIL achieves new state-of-the-art performance on CIFAR-100 and ImageNet-1000 across all three incremental learning setups, outperforming prior methods by clear margins.
This paper proposes a working recipe of using Vision Transformer (ViT) in class incremental learning. Although this recipe only combines existing techniques, developing the combination is not trivial. Firstly, naive application of ViT to replace convolutional neural networks (CNNs) in incremental learning results in serious performance degradation. Secondly, we nail down three issues of naively using ViT: (a) ViT has very slow convergence when the number of classes is small, (b) more bias towards new classes is observed in ViT than CNN-based architectures, and (c) the conventional learning rate of ViT is too low to learn a good classifier layer. Finally, our solution, named ViTIL (ViT for Incremental Learning) achieves new state-of-the-art on both CIFAR and ImageNet datasets for all three class incremental learning setups by a clear margin. We believe this advances the knowledge of transformer in the incremental learning community. Code will be publicly released.
Motivation & Objective
- To investigate the challenges of applying Vision Transformers (ViT) directly to class incremental learning (CIL), where performance degrades significantly compared to CNNs.
- To identify and diagnose three key issues hindering ViT performance in CIL: slow convergence with few classes, increased bias toward new classes, and underfitting in the classifier layer.
- To develop a practical, effective solution using existing techniques to resolve these issues without architectural innovation.
- To establish a new state-of-the-art baseline for ViT-based CIL on both CIFAR-100 and ImageNet-1000 across multiple CIL protocols.
Proposed method
- Replaces the standard patchify stem in ViT with a convolutional stem to improve initial optimization and accelerate convergence, especially in early incremental steps with few classes.
- Applies class-balanced fine-tuning (CBF) to correct the inherent bias toward new classes in ViT, which is compatible with data augmentation techniques like MixUp and CutMix.
- Uses a significantly larger learning rate for the classifier head compared to the feature extractor, which increases the softmax temperature and mitigates underfitting in the classifier.
- Combines all three components—convolutional stem, CBF, and large classifier learning rate—into a unified training recipe named ViTIL, optimized for incremental learning.
- Employs standard CIL evaluation protocols including B50, B0, and T20K settings, with consistent hyperparameters across ablation studies.
Experimental results
Research questions
- RQ1Why does naive application of Vision Transformers to class incremental learning result in significant performance degradation compared to CNNs?
- RQ2What are the root causes of performance drop in ViT-based models during incremental learning, particularly in early stages with few classes?
- RQ3How can existing techniques be combined effectively to address convergence speed, class bias, and classifier underfitting in ViT for CIL?
- RQ4Can a simple combination of established methods outperform complex state-of-the-art CIL models on both CIFAR-100 and ImageNet-1000 benchmarks?
Key findings
- ViTIL achieves 69.20% top-1 accuracy on ImageNet-1000 under the CIL setup with 500 initial classes and 100 new classes per step, outperforming LUCIR+DDE by 1.69%.
- On the 10-step CIL setup with 100 new classes per step and 20 exemplars per old class, ViTIL achieves 65.13% average incremental accuracy, surpassing PODNet by 7.27%.
- In the total exemplar constraint setting (T20K), ViTIL achieves 68.75% accuracy, outperforming BiC by 6.28%.
- The ablation study confirms that each component—convolutional stem, CBF, and large classifier learning rate—contributes independently and consistently to performance gains across all CIL protocols.
- ViTIL achieves significantly lower average incremental forgetting than LUCIR, demonstrating improved stability without compromising plasticity.
- Even without a convolutional stem, ViTIL with bias correction and large classifier learning rate outperforms LUCIR by 3.66% in average incremental accuracy on the B50 C10 R20 setting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.