Class-Incremental Learning with CLIP: Adaptive Representation Adjustment and Parameter Fusion

Linlan Huang, Xusheng Cao, Haori Lu, Xialei Liu
7/19/2024
cs.CVcs.LG

Official code: linlany/RAPF (51 stars, last commit 2025-04-05).

Abstract

Class-incremental learning is a challenging problem, where the goal is to train a model that can classify data from an increasing number of classes over time. With the advancement of vision-language pre-trained models such as CLIP, they demonstrate good generalization ability that allows them to excel in class-incremental learning with completely frozen parameters. However, further adaptation to downstream tasks by simply fine-tuning the model leads to severe forgetting. Most existing works with pre-trained models assume that the forgetting of old classes is uniform when the model acquires new knowledge. In this paper, we propose a method named Adaptive Representation Adjustment and Parameter Fusion (RAPF). During training for new data, we measure the influence of new classes on old ones and adjust the representations, using textual features. After training, we employ a decomposed parameter fusion to further mitigate forgetting during adapter module fine-tuning. Experiments on several conventional benchmarks show that our method achieves state-of-the-art results. Our code is available at \url{https://github.com/linlany/RAPF}.

View on arXivView PDF

Code Implementations(1)

linlany/RAPFOfficial100%
517Shell, PythonJul 8, 20241 years ago

Similar Papers

Cite this paper

@article{huang2024classincremental,
  title  = {Class-Incremental Learning with CLIP: Adaptive Representation Adjustment and Parameter Fusion},
  author = {Linlan Huang and Xusheng Cao and Haori Lu and Xialei Liu},
  year   = {2024},
  eprint = {2407.14143},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.14143v1},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.14143.svg)](https://codeofpaper.com/paper/2407.14143)

Discussion