atlas

Research map / Large language models / Alignment and preferences

Fast Best-of-N Decoding via Speculative Rejection

NeurIPS 2024 · Large language models › Alignment and preferences · approach: Steering and correcting LLM behavior · 0 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.

Proposes Speculative Rejection, an inference-time alignment decoding method that starts Best-of-N with a very large batch and iteratively halts low-reward partial generations using a reward model, matching Best-of-N quality at 16-32x lower compute.

Problem

Best-of-N is a strong inference-time alignment method, but generating N full responses is computationally expensive and requires many GPUs for large N.

Approach

Begin with a very large batch that would OOM, then repeatedly score partial generations with a reward model and reject the lowest-scoring fraction alpha each time GPU memory nears its limit, so batch size shrinks dynamically while the best full response is still selected among survivors.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Speculative Rejection (α=0.5) instead of Bo3840AlpacaFarm-Eval generation; average over Mistral-7B, Llama-3-8B, and Llama-3-8B-Instruct · AlpacaFarm-EvalWR: 62.89 -> 66.17Helped
Use Speculative Rejection (α=0.5) instead of Bo3840AlpacaFarm-Eval generation; average over Mistral-7B, Llama-3-8B, and Llama-3-8B-Instruct · AlpacaFarm-EvalLC-WR: 63.04 -> 70.01Helped
Use Speculative Rejection (α=0.5) instead of Bo3840AlpacaFarm-Eval generation; average over Mistral-7B, Llama-3-8B, and Llama-3-8B-Instruct · AlpacaFarm-EvalPPL: 1.698 -> 1.554Helped
Use Speculative Rejection (α=0.5) instead of Bo3840AlpacaFarm-Eval generation; average over Mistral-7B, Llama-3-8B, and Llama-3-8B-Instruct · AlpacaFarm-EvalSpeedup: 1.0× -> 39.9×Helped

Surprising findings

Limitations

Experimental setup

Datasets: AlpacaFarm-Eval

Benchmarks: AlpacaFarm-Eval

Metrics: relative GPU compute speedup improvement score win-rate length-controlled win-rate perplexity

Baselines: Best-of-N

Builds on: Best-of-N speculative decoding PagedAttention/vLLM

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