Skip to main navigation Skip to search Skip to main content

Distribution-Aligned Decoding for Efficient LLM Task Adaptation

  • Senkang HU
  • , Xudong HAN
  • , Jinqi JIANG
  • , Yihang TAO
  • , Zihan FANG
  • , Yong DAI
  • , Sam Tak Wu KWONG
  • , Yuguang FANG*
  • *Corresponding author for this work

Research output: Book Chapters | Papers in Conference Proceedings › Conference paper (refereed) › Referred Conference Paper › peer-review

Abstract

Adapting billion-parameter language models to a downstream task is still costly, even with parameter-efficient fine-tuning (PEFT). We re-cast task adaptation as output-distribution alignment: the objective is to steer the output distribution toward the task distribution directly during decoding rather than indirectly through weight updates. Building on this view, we introduce Steering Vector Decoding (SVDecode), a lightweight, PEFT-compatible, and theoretically grounded method. We start with a short warm-start fine-tune and extract a task-aware steering vector from the Kullback-Leibler (KL) divergence gradient between the output distribution of the warm-started and pre-trained models. This steering vector is then used to guide the decoding process to steer the model's output distribution towards the task distribution. We theoretically prove that SVDecode is first-order equivalent to the gradient step of full fine-tuning and derive a globally optimal solution for the strength of the steering vector. Across three tasks and nine benchmarks, SVDecode paired with four standard PEFT methods improves multiple-choice accuracy by up to 5 percentage points and open-ended truthfulness by 2 percentage points, with similar gains (1-2 percentage points) on commonsense datasets without adding trainable parameters beyond the PEFT adapter. SVDecode thus offers a lightweight, theoretically grounded path to stronger task adaptation for large language models.

Original languageEnglish
Title of host publication39th Conference on Neural Information Processing Systems, NeurIPS 2025: Proceedings
PublisherNeural Information Processing Systems Foundation
Pages62537-62572
Number of pages36
ISBN (Electronic)9798331338275
DOIs
Publication statusPublished - Dec 2025
Event39th Conference on Neural Information Processing Systems, NeurIPS 2025 - San Diego, United States
Duration: 2 Dec 2025 → 7 Dec 2025

Publication series

NameAdvances in Neural Information Processing Systems
Volume38
ISSN (Print)1049-5258

Conference

Conference39th Conference on Neural Information Processing Systems, NeurIPS 2025
Country/TerritoryUnited States
CitySan Diego
Period2/12/25 → 7/12/25

Bibliographical note

Publisher Copyright:
© 2025 Neural information processing systems foundation. All rights reserved.

Funding

The research work described in this paper was conducted in the JC STEM Lab of Smart City funded by The Hong Kong Jockey Club Charities Trust under Contract 2023-0108. The work was supported in part by the Hong Kong SAR Government under the Global STEM Professorship and Research Talent Hub. The work of S. Hu was supported in part by the Hong Kong Innovation and Technology Commission under InnoHK Project CIMDA.

Fingerprint

Dive into the research topics of 'Distribution-Aligned Decoding for Efficient LLM Task Adaptation'. Together they form a unique fingerprint.

Cite this