atlas

Research map / Large language models / Reasoning and chain of thought

Judge Decoding: Faster Speculative Sampling Requires Going Beyond Model Alignment

ICLR 2025 · Large language models › Reasoning and chain of thought · approach: Speculative decoding · 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 judge decoding, which adds a linear judge head on frozen target-model embeddings so speculative decoding accepts correct but non-aligned draft tokens, yielding large speedups on Llama-3.1 models.

Problem

Standard speculative decoding verifies draft tokens by alignment with target probabilities, so many high-quality draft tokens are rejected, limiting the number of drafted tokens and speedup.

Approach

Replace or augment alignment-based verification with a learned linear judge head on the target's last-layer token embeddings, trained to predict token correctness (LLM-as-a-judge style), and OR its accept mask with standard SD's mask.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use judge verification instead of standard speculative verificationLlama-3.1-8B draft / Llama-3.1-70B target · Llama-3.1-70B decodingaverage acceptance length: 6.4 -> 18.8Helped
Use judge verification instead of standard speculative verificationLlama-3.1-8B draft / Llama-3.1-70B target · Llama-3.1-70B decodingspeedup (gpt-fast): 1.7× -> 3×Helped
Use judge verification instead of standard speculative verificationLlama-3.1-8B draft / Llama-3.1-405B target · Llama-3.1-405B decodingaverage acceptance length: 6.3 -> 19.7Helped
Use judge verification instead of standard speculative verificationLlama-3.1-8B draft / Llama-3.1-405B target · Llama-3.1-405B decodingspeedup (HuggingFace): 5.3× -> 9.7×Helped
Use judge verification instead of standard speculative verificationLlama-3.1-8B draft / Llama-3.1-405B target · Llama-3.1-405B decodingtokens/s: 58.7 -> 129.3Helped
Remove coding examples from judge training data (ablation)Llama-3.1-405B judge decoding · HumanEvalaccuracy: 86.6 to 80.4%Hurt
Use judge decoding instead of the vanilla draft modelLlama-3.1-405B judge decoding · HumanEvalaccuracy: 71.3% -> 80.4%Helped
Use the simple top-K verification heuristic rather than the learned judge headLlama-3.1-70B and Llama-3.1-405B decoding · GSM8K, HumanEval, MT-Bench, ARC, MMLUaccuracyHurt
Use embeddings from shallow layers rather than deeper layers (ablation)Judge head · Judge correctness classificationaccuracyHurt
Replace the linear judge head with MLPs or shallow Transformer networks (ablation)Judge head · Judge correctness classificationperformanceHurt
Use standard alignment-based verification on high-quality draft responsesLlama-3.1-405B target with GPT-4o draft · MT-Bench, GSM8K, HumanEvalaverage acceptance length: roughly twoNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Alpaca ARC wikipedia-summaries GSM8K HumanEval MT-Bench MMLU

Benchmarks: GSM8K HumanEval MT-Bench ARC MMLU

Metrics: average acceptance length speedup factor tokens/s accuracy

Baselines: standard speculative decoding top-K verification Medusa EAGLE-2 Llama-3.1-405B

Builds on: speculative decoding LLM-as-a-judge gpt-fast Medusa EAGLE-2

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