Weak-to-Strong Search: Align Large Language Models via Searching over Small Language Models
Abstract
Large language models are usually fine-tuned to align with human preferences. However, fine-tuning a large language model can be challenging. In this work, we introduce , framing the alignment of a large language model as a test-time greedy search to maximize the log-probability difference between small tuned and untuned models while sampling from the frozen large model. This method serves both as (1) a compute-efficient model up-scaling strategy that avoids directly tuning the large model and as (2) an instance of weak-to-strong generalization that enhances a strong model with weak test-time guidance. Empirically, we demonstrate the flexibility of weak-to-strong search across different tasks. In controlled-sentiment generation and summarization, we use tuned and untuned s to improve the alignment of large models without additional training. Crucially, in a more difficult instruction-following benchmark, AlpacaEval 2.0, we show that reusing off-the-shelf small models (e.g., and its untuned version) can improve the length-controlled win rates of both white-box and black-box large models against (e.g., for and for ), despite the small models' low win rates .
Cite
@article{arxiv.2405.19262,
title = {Weak-to-Strong Search: Align Large Language Models via Searching over Small Language Models},
author = {Zhanhui Zhou and Zhixuan Liu and Jie Liu and Zhichen Dong and Chao Yang and Yu Qiao},
journal= {arXiv preprint arXiv:2405.19262},
year = {2024}
}
Comments
NeurIPS 2024