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

DPC: Dual-Prompt Collaboration for Tuning Vision-Language Models

About

The Base-New Trade-off (BNT) problem universally exists during the optimization of CLIP-based prompt tuning, where continuous fine-tuning on base (target) classes leads to a simultaneous decrease of generalization ability on new (unseen) classes. Existing approaches attempt to regulate the prompt tuning process to balance BNT by appending constraints. However, imposed on the same target prompt, these constraints fail to fully avert the mutual exclusivity between the optimization directions for base and new. As a novel solution to this challenge, we propose the plug-and-play Dual-Prompt Collaboration (DPC) framework, the first that decoupling the optimization processes of base and new tasks at the prompt level. Specifically, we clone a learnable parallel prompt based on the backbone prompt, and introduce a variable Weighting-Decoupling framework to independently control the optimization directions of dual prompts specific to base or new tasks, thus avoiding the conflict in generalization. Meanwhile, we propose a Dynamic Hard Negative Optimizer, utilizing dual prompts to construct a more challenging optimization task on base classes for enhancement. For interpretability, we prove the feature channel invariance of the prompt vector during the optimization process, providing theoretical support for the Weighting-Decoupling of DPC. Extensive experiments on multiple backbones demonstrate that DPC can significantly improve base performance without introducing any external knowledge beyond the base classes, while maintaining generalization to new classes. Code is available at: https://github.com/JREion/DPC.

Haoyang Li, Liang Wang, Chao Wang, Jing Jiang, Yan Peng, Guodong Long• 2025

Related benchmarks

TaskDatasetResultRank
Image ClassificationFlowers102--
558
Image ClassificationFood101--
457
Image ClassificationStanfordCars--
312
Image ClassificationFGVCAircraft--
261
Image ClassificationCaltech101
Base Accuracy98.9
148
Image ClassificationOxfordPets
Base Accuracy96.13
137
Image ClassificationSUN397
Accuracy (Base)83.63
131
Image ClassificationEuroSAT
Base Accuracy98.33
104
Image ClassificationUCF101
Base Classes Acc90.18
100
Image ClassificationDTD
Base Score87.73
96
Showing 10 of 28 rows

Other info

Code

Follow for update