Linear Alignment: A Closed-Form Solution for Aligning Human Preferences Without Tuning and Feedback

Abstract

The success of AI assistants based on Language Models (LLMs) hinges on Reinforcement Learning from Human Feedback (RLHF) to comprehend and align with user intentions. However, traditional alignment algorithms, such as PPO, are hampered by complex annotation and training requirements. This reliance limits the applicability of RLHF and hinders the development of professional assistants tailored to diverse human preferences. In this work, we introduce Linear Alignment, a novel algorithm that aligns language models with human preferences in one single inference step, eliminating the reliance on data annotation and model training. Linear alignment incorporates a new parameterization for policy optimization under divergence constraints, which enables the extraction of optimal policy in a closed-form manner and facilitates the direct estimation of the aligned response. Extensive experiments on both general and personalized preference datasets demonstrate that linear alignment significantly enhances the performance and efficiency of LLM alignment across diverse scenarios.

Cite

Text

Gao et al. "Linear Alignment: A Closed-Form Solution for Aligning Human Preferences Without Tuning and Feedback." International Conference on Machine Learning, 2024.

Markdown

[Gao et al. "Linear Alignment: A Closed-Form Solution for Aligning Human Preferences Without Tuning and Feedback." International Conference on Machine Learning, 2024.](https://mlanthology.org/icml/2024/gao2024icml-linear/)

BibTeX

@inproceedings{gao2024icml-linear,
  title     = {{Linear Alignment: A Closed-Form Solution for Aligning Human Preferences Without Tuning and Feedback}},
  author    = {Gao, Songyang and Ge, Qiming and Shen, Wei and Dou, Shihan and Ye, Junjie and Wang, Xiao and Zheng, Rui and Zou, Yicheng and Chen, Zhi and Yan, Hang and Zhang, Qi and Lin, Dahua},
  booktitle = {International Conference on Machine Learning},
  year      = {2024},
  pages     = {14702-14722},
  volume    = {235},
  url       = {https://mlanthology.org/icml/2024/gao2024icml-linear/}
}