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

IAP: Improving Continual Learning of Vision-Language Models via Instance-Aware Prompting

About

Recent pre-trained vision-language models (PT-VLMs) often face a Multi-Domain Task Incremental Learning (MTIL) scenario in practice, where several classes and domains of multi-modal tasks are incrementally arrived. Without access to previously seen tasks and unseen tasks, memory-constrained MTIL suffers from forward and backward forgetting. To alleviate the above challenges, parameter-efficient fine-tuning techniques (PEFT), such as prompt tuning, are employed to adapt the PT-VLM to the diverse incrementally learned tasks. To achieve effective new task adaptation, existing methods only consider the effect of PEFT strategy selection, but neglect the influence of PEFT parameter setting (e.g., prompting). In this paper, we tackle the challenge of optimizing prompt designs for diverse tasks in MTIL and propose an Instance-Aware Prompting (IAP) framework. Specifically, our Instance-Aware Gated Prompting (IA-GP) strategy enhances adaptation to new tasks while mitigating forgetting by adaptively assigning prompts across transformer layers at the instance level. Our Instance-Aware Class-Distribution-Driven Prompting (IA-CDDP) improves the task adaptation process by determining an accurate task-label-related confidence score for each instance. Experimental evaluations across 11 datasets, using three performance metrics, demonstrate the effectiveness of our proposed method. The source codes are available at https://github.com/FerdinandZJU/IAP.

Hao Fu, Hanbin Zhao, Jiahua Dong, Henghui Ding, Chao Zhang, Hui Qian• 2025

Related benchmarks

TaskDatasetResultRank
Multi-Task Incremental LearningMTIL Order II
Average Acc75.1
92
Image ClassificationMTIL task-agnostic (test)
Aircraft Accuracy45.9
36
Image ClassificationMTIL Transfer (test)
Caltech10193
17
Multi-Domain Task-Incremental Learning (Transfer)Multi-Domain Task-Incremental Learning Sequence (Aircraft, Caltech101, CIFAR100, DTD, Flowers, Food, StanfordCars, SUN397) 16-shot (test)
Caltech101 Accuracy95.8
16
Image ClassificationCars MTIL order-II
Average Score (%)82.5
16
Image ClassificationMTIL Last (test)
Accuracy (Aircraft)46.8
16
Image ClassificationAircraft MDCII Order-II
Transfer Accuracy94
15
Image ClassificationEuroSAT MDCII Order-II
Transfer Accuracy68.6
15
Image ClassificationCIFAR100 MDCII Order-II
Average Accuracy70.2
15
Image ClassificationOxfordPet MDCII Order-II
Transfer Score71.3
15
Showing 10 of 31 rows

Other info

Follow for update