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

Haoyang Li, Liang Wang, Chao Wang, Jing Jiang, Yan Peng +1 more
2/10/2026

No official code found. Best implementation: JREion/DPC (48 stars, Apache-2.0, last commit 2026-04-28).

Abstract

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-andplay 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.

View on arXivView PDF

Code Implementations(1)

JREion/DPCCommunity100%
Apache-2.0

[CVPR 2025] Official PyTorch Code for "DPC: Dual-Prompt Collaboration for Tuning Vision-Language Models"

486Shell, PythonFeb 27, 20255 months agoApache-2.0

Similar Papers

Cite this paper

@article{li2026dpc,
  title  = {DPC: Dual-Prompt Collaboration for Tuning Vision-Language Models},
  author = {Haoyang Li and Liang Wang and Chao Wang and Jing Jiang and Yan Peng and Guodong Long},
  year   = {2026},
  eprint = {2503.13443},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.13443},
  journal = {CVPR 2025 2025}
}

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

Discussion