HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

DePT: Decoupled Prompt Tuning

Ji Zhang Shihan Wu Lianli Gao Heng Tao Shen Jingkuan Song

DePT: Decoupled Prompt Tuning

Abstract

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.

Code Repositories

koorye/dept
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
prompt-engineering-on-caltech-101DePT
Harmonic mean: 96.28
prompt-engineering-on-dtdDePT
Harmonic mean: 71.09
prompt-engineering-on-eurosatDePT
Harmonic mean: 84.88
prompt-engineering-on-fgvc-aircraftDePT
Harmonic mean: 40.73
prompt-engineering-on-food-101DePT
Harmonic mean: 91.22
prompt-engineering-on-imagenetDePT
Harmonic mean: 74.02
prompt-engineering-on-oxford-102-flowerDePT
Harmonic mean: 86.46
prompt-engineering-on-oxford-iiit-pet-datasetDePT
Harmonic mean: 96.37
prompt-engineering-on-stanford-cars-1DePT
Harmonic mean: 77.79
prompt-engineering-on-sun397DePT
Harmonic mean: 81.06
prompt-engineering-on-ucf101DePT
Harmonic mean: 82.46

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp