DePT: Decoupled Prompt Tuning

14 Sep 2023  ·  Ji Zhang, Shihan Wu, Lianli Gao, Heng Tao Shen, Jingkuan Song ·

This work breaks through the Base-New Tradeoff (BNT)dilemma in prompt tuning, i.e., the better the tuned model generalizes to the base (or target) task, the worse it generalizes to new tasks, and vice versa. Specifically, through an in-depth analysis of the learned features of the base and new tasks, we observe that the BNT stems from a channel bias issue, i.e., the vast majority of feature channels are occupied by base-specific knowledge, resulting in the collapse of taskshared knowledge important to new tasks. To address this, we propose the Decoupled Prompt Tuning (DePT) framework, which decouples base-specific knowledge from feature channels into an isolated feature space during prompt tuning, so as to maximally preserve task-shared knowledge in the original feature space for achieving better zero-shot generalization on new tasks. Importantly, our DePT is orthogonal to existing prompt tuning methods, hence it can improve all of them. Extensive experiments on 11 datasets show the strong flexibility and effectiveness of DePT. Our code and pretrained models are available at https://github.com/Koorye/DePT.

PDF Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Prompt Engineering Caltech-101 DePT Harmonic mean 96.28 # 5
Prompt Engineering DTD DePT Harmonic mean 71.09 # 6
Prompt Engineering EuroSAT DePT Harmonic mean 84.88 # 4
Prompt Engineering FGVC-Aircraft DePT Harmonic mean 40.73 # 2
Prompt Engineering Food-101 DePT Harmonic mean 91.22 # 6
Prompt Engineering <h2>oi</h2> DePT Harmonic mean 74.02 # 6
Prompt Engineering Oxford 102 Flower DePT Harmonic mean 86.46 # 4
Prompt Engineering Oxford-IIIT Pet Dataset DePT Harmonic mean 96.37 # 7
Prompt Engineering Stanford Cars DePT Harmonic mean 77.79 # 2
Prompt Engineering SUN397 DePT Harmonic mean 81.06 # 3
Prompt Engineering UCF101 DePT Harmonic mean 82.46 # 6

Methods