Lune

NeurIPS2024Top-tier venue

Weak-to-Strong Search: Align Large Language Models via Searching over Small Language Models

Zhanhui Zhou, Zhixuan Liu, Jie Liu, Zhichen Dong, Chao Yang, Yu Qiao

2024Year
50Citations
19Top-tier citations

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 weak-to-strong search\textit{weak-to-strong search}, 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 gpt2\texttt{gpt2}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., zephyr-7b-beta\texttt{zephyr-7b-beta} and its untuned version) can improve the length-controlled win rates of both white-box and black-box large models against gpt-4-turbo\texttt{gpt-4-turbo} (e.g., 34.4%→37.9%34.4\% \rightarrow 37.9\% for Llama-3-70B-Instruct\texttt{Llama-3-70B-Instruct} and 16.0%→20.1%16.0\% \rightarrow 20.1\% for gpt-3.5-turbo-instruct\texttt{gpt-3.5-turbo-instruct}), despite the small models' low win rates ≈10.0%\approx 10.0\%.

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 094092a1-81ef-463e-aa76-ffd4704936d1

Cited by top-tier papers19

Ask how each one uses it

Builds on17

Related papers

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