Lune

NeurIPS2024Top-tier venue

Transfer Q-star : Principled Decoding for LLM Alignment

Souradip Chakraborty, Soumya Suvra Ghosal, Ming Yin, Dinesh Manocha, Mengdi Wang, Amrit Singh Bedi, Furong Huang

2024Year
60Citations
23Top-tier citations

Abstract

Aligning foundation models is essential for their safe and trustworthy deployment. However, traditional fine-tuning methods are computationally intensive and require updating billions of model parameters. A promising alternative, alignment via decoding, adjusts the response distribution directly without model updates to maximize a target reward rr, thus providing a lightweight and adaptable framework for alignment. However, principled decoding methods rely on oracle access to an optimal Q-function (Q∗Q^*), which is often unavailable in practice. Hence, prior SoTA methods either approximate this Q∗Q^* using QπsftQ^{\pi_{\texttt{sft}}} (derived from the reference SFT\texttt{SFT} model) or rely on short-term rewards, resulting in sub-optimal decoding performance. In this work, we propose Transfer Q∗Q^*, which implicitly estimates the optimal value function for a target reward rr through a baseline model ρBL\rho_{\texttt{BL}} aligned with a baseline reward ρBL\rho_{\texttt{BL}} (which can be different from the target reward rr). Theoretical analyses of Transfer Q∗Q^* provide a rigorous characterization of its optimality, deriving an upper bound on the sub-optimality gap and identifying a hyperparameter to control the deviation from the pre-trained reference SFT\texttt{SFT} model based on user needs. Our approach significantly reduces the sub-optimality gap observed in prior SoTA methods and demonstrates superior empirical performance across key metrics such as coherence, diversity, and quality in extensive tests on several synthetic and real datasets.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext da4cb8a4-11ec-41be-a658-17eaf12ebc29

Cited by top-tier papers23

Ask how each one uses it

Builds on17

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines