ARGS: Alignment as Reward-Guided Search

Maxim Khanov, Jirayu Burapacheep, Yixuan Li
1/23/2024
cs.CLcs.AIcs.LG

Official code: deeplearning-wisc/args (48 stars, last commit 2024-02-08).

Abstract

Aligning large language models with human objectives is paramount, yet common approaches including RLHF suffer from unstable and resource-intensive training. In response to this challenge, we introduce ARGS, Alignment as Reward-Guided Search, a novel framework that integrates alignment into the decoding process, eliminating the need for expensive RL training. By adjusting the model's probabilistic predictions using a reward signal, ARGS generates texts with semantic diversity while being aligned with human preferences, offering a promising and flexible solution for aligning language models. Notably, ARGS demonstrates consistent enhancements in average reward compared to baselines across diverse alignment tasks and various model dimensions. For example, under the same greedy-based decoding strategy, our method improves the average reward by 19.56% relative to the baseline and secures a preference or tie score of 64.33% in GPT-4 evaluation. We believe that our framework, emphasizing decoding-time alignment, paves the way for more responsive language models in the future. Code is publicly available at: \url{https://github.com/deeplearning-wisc/args}.

View on arXivView PDF

Code Implementations(1)

484PythonJun 8, 20232 years ago

Similar Papers

Cite this paper

@article{khanov2024args,
  title  = {ARGS: Alignment as Reward-Guided Search},
  author = {Maxim Khanov and Jirayu Burapacheep and Yixuan Li},
  year   = {2024},
  eprint = {2402.01694},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.01694v1},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.01694.svg)](https://codeofpaper.com/paper/2402.01694)

Discussion