Decoder Tuning: Efficient Language Understanding as Decoding
Ganqu Cui, Wentao Li, Ning Ding, Longtao Huang, Zhiyuan Liu, Maosong Sun
摘要
With the evergrowing sizes of pre-trained models (PTMs), it has been an emerging practice to only provide the inference APIs for users, namely model-as-a-service (MaaS) setting. To adapt PTMs with model parameters frozen, most current approaches focus on the input side, seeking for powerful prompts to stimulate models for correct answers. However, we argue that input-side adaptation could be arduous due to the lack of gradient signals and they usually require thousands of API queries, resulting in high computation and time costs. In light of this, we present Decoder Tuning (DecT), which in contrast optimizes task-specific decoder networks on the output side. Specifically, DecT first extracts prompt-stimulated output scores for initial predictions. On top of that, we train an additional decoder network on the output representations to incorporate posterior data knowledge. By gradientbased optimization, DecT can be trained within several seconds and requires only one PTM query per sample. Empirically, we conduct extensive natural language understanding experiments and show that DecT significantly outperforms state-of-the-art algorithms with a 200× speed-up. Our codes are available at https://github.com/thunlp/DecT .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering 引用了 Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity
- In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering 引用了 Language Models are Few-Shot Learners
- Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity 引用了 Language Models are Few-Shot Learners
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts 引用了 Language Models are Few-Shot Learners
- RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learning 引用了 Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity
- RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learning 引用了 AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
- RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learning 引用了 Language Models are Few-Shot Learners
- Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineering 引用了 Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity
- Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineering 引用了 AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
- Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineering 引用了 Language Models are Few-Shot Learners
- Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineering 引用了 RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learning
引用它的顶会 Paper3
- In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space SteeringSheng Liu, Haotian Ye, Lei Xing, James Y. ZouICML 2024 · 244 次引用
- Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt EngineeringHan Zhou, Xingchen Wan, Lev Proleev, Diana Mincu 等ICLR 2024 · 90 次引用
- CRaSh: Clustering, Removing, and Sharing Enhance Fine-tuning without Full Large Language ModelKaiyan Zhang, Ning Ding, Biqing Qi, Xuekai Zhu 等EMNLP 2023 · 1 次引用
它引用的 Paper12
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order SensitivityYao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel 等ACL 2022 · 1,494 次引用
- AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace 等EMNLP 2020 · 1,162 次引用
- Revisiting Few-sample BERT Fine-tuningTianyi Zhang, Felix Wu, Arzoo Katiyar, Kilian Q. Weinberger 等ICLR 2021 · 172 次引用
- RLPrompt: Optimizing Discrete Text Prompts with Reinforcement LearningMingkai Deng, Jianyu Wang, Cheng-Ping Hsieh, Yihan Wang 等EMNLP 2022 · 141 次引用
相关 Paper
- Multi-Prompting Decoder Helps Better Language UnderstandingZifeng Cheng, Zhaoling Chen, Zhiwei Jiang, Yafeng Yin 等ACL Findings 2025 · 1 次引用
- Black-Box Tuning for Language-Model-as-a-ServiceTianxiang Sun, Yunfan Shao, Hong Qian, Xuanjing Huang 等ICML 2022 · 343 次引用
- ADePT: Adaptive Decomposed Prompt Tuning for Parameter-Efficient Fine-tuningPengwei Tang, Xiaolin Hu, Yong LiuICLR 2025
- PrAd: Prompt Adaptive Tuning for Decoder-only Language ModelsYouneng Ma, Junyi He, Haojun FeiEMNLP Findings 2025
- Distribution-Aligned Decoding for Efficient LLM Task AdaptationSenkang Hu, Xudong Han, Jinqi Jiang, Yihang Tao 等NeurIPS 2025 · 9 次引用
