Lune

ACL2023Top-tier venue

Decoder Tuning: Efficient Language Understanding as Decoding

Ganqu Cui, Wentao Li, Ning Ding, Longtao Huang, Zhiyuan Liu, Maosong Sun

Abstract

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 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering cites 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 cites Language Models are Few-Shot Learners
  • Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity cites Language Models are Few-Shot Learners
  • AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts cites Language Models are Few-Shot Learners
  • RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learning cites Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity
  • RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learning cites AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
  • RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learning cites Language Models are Few-Shot Learners
  • Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineering cites 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 cites AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
  • Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineering cites Language Models are Few-Shot Learners
  • Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineering cites RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. 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 citations
  2. Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt EngineeringHan Zhou, Xingchen Wan, Lev Proleev, Diana Mincu et al.ICLR 2024 · 90 citations
  3. CRaSh: Clustering, Removing, and Sharing Enhance Fine-tuning without Full Large Language ModelKaiyan Zhang, Ning Ding, Biqing Qi, Xuekai Zhu et al.EMNLP 2023 · 1 citation

Builds on12

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order SensitivityYao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel et al.ACL 2022 · 1,494 citations
  3. AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace et al.EMNLP 2020 · 1,162 citations
  4. Revisiting Few-sample BERT Fine-tuningTianyi Zhang, Felix Wu, Arzoo Katiyar, Kilian Q. Weinberger et al.ICLR 2021 · 172 citations
  5. RLPrompt: Optimizing Discrete Text Prompts with Reinforcement LearningMingkai Deng, Jianyu Wang, Cheng-Ping Hsieh, Yihan Wang et al.EMNLP 2022 · 141 citations

Related papers

  1. Multi-Prompting Decoder Helps Better Language UnderstandingZifeng Cheng, Zhaoling Chen, Zhiwei Jiang, Yafeng Yin et al.ACL Findings 2025 · 1 citation
  2. Black-Box Tuning for Language-Model-as-a-ServiceTianxiang Sun, Yunfan Shao, Hong Qian, Xuanjing Huang et al.ICML 2022 · 343 citations
  3. ADePT: Adaptive Decomposed Prompt Tuning for Parameter-Efficient Fine-tuningPengwei Tang, Xiaolin Hu, Yong LiuICLR 2025
  4. PrAd: Prompt Adaptive Tuning for Decoder-only Language ModelsYouneng Ma, Junyi He, Haojun FeiEMNLP Findings 2025
  5. Distribution-Aligned Decoding for Efficient LLM Task AdaptationSenkang Hu, Xudong Han, Jinqi Jiang, Yihang Tao et al.NeurIPS 2025 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines