Our new X account is live! Follow @wizwand_team for updates
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--
478
Image ClassificationFood101--
309
Image ClassificationStanfordCars--
266
Image ClassificationFGVCAircraft--
225
Image ClassificationSUN397
Accuracy (Base)83.63
131
Image ClassificationOxfordPets
Base Accuracy96.13
117
Image ClassificationCaltech101
Base Accuracy98.9
106
Image Classification11 datasets base-to-new average
Base Average Score87.55
81
Image ClassificationDTD
Base Score87.73
79
Image ClassificationImageNet
Base Score80.25
79
Showing 10 of 28 rows

Other info

Code

Follow for update