atlas

Research map / Large language models / Language, safety and interpretability

AdaDecode: Accelerating LLM Decoding with Adaptive Layer Parallelism

ICML 2025 · Large language models › Language, safety and interpretability · approach: Parallel and early-exit 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 AdaDecode, which trains lightweight intermediate-layer LM heads (KL-distilled, frozen backbone) to adaptively emit tokens early and runs deferred upper-layer KV computations in parallel, with a rejection-sampling verification step that preserves output parity with autoregressive decoding.

Problem

Autoregressive LLM decoding is sequential and slow for long outputs; existing speedups either need an auxiliary drafter, alter architecture or training, or (layer skipping) break output consistency due to missing KV cache at skipped layers.

Approach

Train small per-layer LM heads (a learned d×d transformation applied on the frozen final LM head) via KL distillation to the final-layer distribution; when an intermediate head is confident (p > γ), emit the token early, defer the remaining layers' KV computation and batch them in parallel with later tokens, and verify with modified rejection sampling so outputs match vanilla decoding.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use AdaDecode instead of the strongest reported baselineLlama3.1-8B-Instruct · XSum, HumanEval, and GSM8Kspeedup: 1.07× -> 1.14×; 1.42× -> 1.51×; 1.37× -> 1.48×Helped
Use AdaDecode instead of the strongest reported baselineCodeLlama-13B-Instruct · XSum, HumanEval, and GSM8Kspeedup: 1.19× -> 1.37×; 1.49× -> 1.69×; 1.36× -> 1.57×Helped
Use AdaDecode instead of the strongest reported baselineCodeLlama-34B-Instruct · XSum, HumanEval, and GSM8Kspeedup: 1.24× -> 1.38×; 1.41× -> 1.73×; 1.41× -> 1.60×Helped
Remove verification (ablation)AdaDecode · HumanEvalspeedup: 1.51× -> 1.64×Helped
Remove verification (ablation)AdaDecode · HumanEvalconsistency ratio: 0.996 -> 0.652Hurt
Use fixed-layer instead of adaptive early prediction (ablation)AdaDecode · HumanEvalspeedup: 1.51× -> 1.37×Hurt
Replace trained lightweight LM heads with the original LM head (ablation)AdaDecode · HumanEvalspeedup: 1.51× -> 0.84×Hurt
Train LM heads on mixed-domain rather than in-domain data (ablation)AdaDecode · HumanEvalspeedup: 1.51× -> 1.29×Hurt
Replace lightweight heads with full-parameterized heads (ablation)AdaDecode · HumanEvalspeedup: 1.51× -> 1.49×Hurt

Surprising findings

Limitations

Experimental setup

Datasets: XSum MBPP GSM8K HumanEval

Benchmarks: XSum HumanEval GSM8K

Metrics: throughput (tokens/s) speedup vs vanilla decoding consistency ratio (string match) early prediction rate verification rejection rate

Baselines: SpecDecode LookAhead Self-SpecDecode SWIFT EESD LayerSkip Medusa EAGLE

Builds on: speculative decoding early exiting LayerSkip Medusa LookAhead decoding SWIFT

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