Inference-Time Language Model Alignment via Integrated Value Guidance
Zhixuan Liu, Zhanhui Zhou, Yuanfu Wang, Chao Yang, Yu Qiao
TL;DR
The paper tackles the resource-intensive problem of aligning large language models with human preferences by proposing Integrated Value Guidance (IVG), an inference-time approach that uses a small implicit value function at the token level and a small explicit value function at the chunk level to steer decoding without fine-tuning. IVG combines token-wise sampling and chunk-level beam search, trained via Direct Preference Optimization and FUDGE, respectively, to outperform baselines across sentiment, summarization, and instruction-following tasks. Key findings show that explicit chunk-level guidance excels for larger models while implicit token-level guidance benefits finer-grained control, and their integration yields the strongest overall alignment. The work demonstrates practical, scalable, and flexible alignment possible entirely during decoding, reducing retraining needs and enabling per-task or per-user preference customization.
Abstract
Large language models are typically fine-tuned to align with human preferences, but tuning large models is computationally intensive and complex. In this work, we introduce $\textit{Integrated Value Guidance}$ (IVG), a method that uses implicit and explicit value functions to guide language model decoding at token and chunk-level respectively, efficiently aligning large language models purely at inference time. This approach circumvents the complexities of direct fine-tuning and outperforms traditional methods. Empirically, we demonstrate the versatility of IVG across various tasks. In controlled sentiment generation and summarization tasks, our method significantly improves the alignment of large models using inference-time guidance from $\texttt{gpt2}$-based value functions. Moreover, in a more challenging instruction-following benchmark AlpacaEval 2.0, we show that both specifically tuned and off-the-shelf value functions greatly improve the length-controlled win rates of large models against $\texttt{gpt-4-turbo}$ (e.g., $19.51\% \rightarrow 26.51\%$ for $\texttt{Mistral-7B-Instruct-v0.2}$ and $25.58\% \rightarrow 33.75\%$ for $\texttt{Mixtral-8x7B-Instruct-v0.1}$ with Tulu guidance).
