CP-Prompt: Composition-Based Cross-modal Prompting for Domain-Incremental Continual Learning

Yu Feng, Zhen Tian, Yifan Zhu, Zongfu Han, Haoran Luo +2 more
7/22/2024
cs.CLcs.AIcs.LG

Official code: dannis97500/CP_Prompt (11 stars, last commit 2024-04-08).

Abstract

The key challenge of cross-modal domain-incremental learning (DIL) is to enable the learning model to continuously learn from novel data with different feature distributions under the same task without forgetting old ones. However, existing top-performing methods still cause high forgetting rates, by lacking intra-domain knowledge extraction and inter-domain common prompting strategy. In this paper, we propose a simple yet effective framework, CP-Prompt, by training limited parameters to instruct a pre-trained model to learn new domains and avoid forgetting existing feature distributions. CP-Prompt captures intra-domain knowledge by compositionally inserting personalized prompts on multi-head self-attention layers and then learns the inter-domain knowledge with a common prompting strategy. CP-Prompt shows superiority compared with state-of-the-art baselines among three widely evaluated DIL tasks. The source code is available at https://github.com/dannis97500/CP_Prompt.

View on arXivView PDF

Code Implementations(1)

112Shell, PythonJan 5, 20242 years ago

Similar Papers

Cite this paper

@article{feng2024cpprompt,
  title  = {CP-Prompt: Composition-Based Cross-modal Prompting for Domain-Incremental Continual Learning},
  author = {Yu Feng and Zhen Tian and Yifan Zhu and Zongfu Han and Haoran Luo and Guangwei Zhang and Meina Song},
  year   = {2024},
  eprint = {2407.21043},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.21043v2}
}

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.21043.svg)](https://codeofpaper.com/paper/2407.21043)

Discussion