Boosting Continual Learning of Vision-Language Models via Mixture-of-Experts Adapters
About
Continual learning can empower vision-language models to continuously acquire new knowledge, without the need for access to the entire historical dataset. However, mitigating the performance degradation in large-scale models is non-trivial due to (i) parameter shifts throughout lifelong learning and (ii) significant computational burdens associated with full-model tuning. In this work, we present a parameter-efficient continual learning framework to alleviate long-term forgetting in incremental learning with vision-language models. Our approach involves the dynamic expansion of a pre-trained CLIP model, through the integration of Mixture-of-Experts (MoE) adapters in response to new tasks. To preserve the zero-shot recognition capability of vision-language models, we further introduce a Distribution Discriminative Auto-Selector (DDAS) that automatically routes in-distribution and out-of-distribution inputs to the MoE Adapter and the original CLIP, respectively. Through extensive experiments across various settings, our proposed method consistently outperforms previous state-of-the-art approaches while concurrently reducing parameter training burdens by 60%. Our code locates at https://github.com/JiazuoYu/MoE-Adapters4CL
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | Food101 | Accuracy82.9 | 457 | |
| Image Classification | CIFAR100 | Accuracy68.24 | 301 | |
| Class-incremental learning | CIFAR-100 | Averaged Incremental Accuracy85.21 | 281 | |
| Object Detection | MS-COCO | AP5052.3 | 208 | |
| Class-incremental learning | CIFAR-100 | Average Accuracy85.27 | 150 | |
| Multi-Task Incremental Learning | MTIL Order II | Average Acc84.1 | 76 | |
| Image Classification | ImageNet A | -- | 73 | |
| Image Classification | Places365 | -- | 67 | |
| Class-incremental learning | CIFAR100 10 Tasks | Accuracy84.75 | 66 | |
| Class-incremental learning | ImageNet-R 5-task | Avg Accuracy (A_bar)83.61 | 64 |