atlas

Research map / Large language models / Alignment and preferences

BoNBoN Alignment for Large Language Models and the Sweetness of Best-of-n Sampling

NeurIPS 2024 · Large language models › Alignment and preferences · approach: Steering and correcting LLM behavior · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows best-of-n is essentially win-rate-vs-KL optimal among reward-tilted policies, and proposes BoNBoN alignment, a loss combining SFT and IPO on best/worst-of-n pairs to distill best-of-n into a single model without inference-time sampling.

Problem

Best-of-n sampling is effective for LLM alignment but costs n samples per inference, and it is unclear how it compares to RLHF/contrastive alignment methods in win-rate versus KL trade-off and off-target drift.

Approach

Embeds best-of-n and RLHF/DPO policies in a common class of reward-tilted distributions, showing best-of-n nearly attains the optimal win-rate-vs-KL frontier; then trains a single LLM to mimic the best-of-n distribution via a combined SFT loss on best-of-n samples and an IPO-style loss on best-vs-worst pairs with an analytically derived beta, with no KL regularization toward the reference.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use best-of-n sampling instead of an arbitrary reward-tilted alignment policyAlignment policy · Win rate versus KL frontierwin rate: less than 1 percentage pointHelped
Combine SFT-BoN and IPO-BoN objectivesBoNBoN · Anthropic HH and OpenAI TL;DRwin rateHelped
Train on best-of-n samples only, without the IPO-BoN term (ablation)BoNBoN · Anthropic HH and OpenAI TL;DRwin rateHurt
Use IPO-BoN alone, without the SFT-BoN term (ablation)BoNBoN · Anthropic HH and OpenAI TL;DRresponse lengthHurt
Train on best-of-n data rather than original preference completionsAlignment methods · Anthropic HH and OpenAI TL;DRwin rateHelped
Add an SFT term to the contrastive objectiveContrastive alignment methods · Anthropic HH and OpenAI TL;DRresponse lengthHelped
Use the analytically derived IPO-BoN β instead of alternative β values (ablation)IPO-BoN · Anthropic HH and OpenAI TL;DRwin rate versus response lengthMixed
Vary the BoNBoN α from the default 0.005 (ablation)BoNBoN · Anthropic HH and OpenAI TL;DRwin rate versus response lengthMixed
Vary β from the analytically derived β* (ablation)BoNBoN · Anthropic HH and OpenAI TL;DRwin rate versus response lengthMixed
Train DPO or IPO on best-and-worst-of-8 samples rather than original preference dataDPO and IPO · Anthropic HH and OpenAI TL;DRwin rate versus off-target deviationHelped

Surprising findings

Limitations

Experimental setup

Datasets: Anthropic HH OpenAI TL;DR

Benchmarks: Anthropic HH OpenAI TL;DR

Metrics: win rate vs reference (by ground-truth reward model) estimated KL divergence average response length

Baselines: DPO IPO SFT-BoN IPO-BoN best-of-8 sampling

Builds on: RLHF DPO IPO

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy