atlas

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

Accelerating Blockwise Parallel Language Models with Draft Refinement

NeurIPS 2024 · 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.

Analyzes block drafts of blockwise parallel LMs and improves them by lattice rescoring of top-k head predictions with small neural LMs or n-gram LMs, yielding up to ~3x wall-clock speedup on Vicuna 7B/13B with Medusa heads.

Problem

Blockwise parallel decoding (BPD) drafts often contain unnatural consecutive repetitions and low-confidence predictions at later heads, limiting the mean accepted token length and inference speedup.

Approach

Treat the top-k predictions at each draft head as a sausage lattice and rescore it without changing base model weights: either greedy local rescoring with a small neural LM, or global rescoring with an n-gram LM via finite-state composition to produce p-best drafts for parallel verification.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
locally rescore candidate tokens with a 61M neural LMBPD · LAMBADAblock efficiency: 3.12 -> 3.08Hurt
rescore top-16 lattice with a 4-gram LM and verify 16 draftsBPD · SQuAD V1block efficiency: 2.08 -> 2.22Helped
locally rescore candidate tokens with a 61M neural LMBPD · CNN/DailyMailblock efficiency: 1.74 -> 1.73Hurt
locally rescore candidate tokens with a 61M neural LMBPD · SAMSumblock efficiency: 1.27 -> 1.39Helped
rescore top-16 lattice with a 4-gram LM and verify 16 draftsBPD · SAMSumblock efficiency: 1.27 -> 1.45Helped
locally rescore candidate tokens with a 61M neural LMBPD · MultiNewsblock efficiency: 1.10 -> 1.25Helped
rescore top-16 lattice with a 4-gram LM and verify 16 draftsBPD · XSUMblock efficiency: 1.13 -> 1.26Helped
locally rescore candidate tokens with a 61M neural LMBPD · NewsRoomblock efficiency: 1.08 -> 1.29Helped
locally rescore drafts with a neural LMVicuna 7B BPD · GSM8Kspeedup ratio: 1.696 -> 1.780Helped
locally rescore Medusa drafts with a neural LMVicuna 7B Medusa · GSM8Kspeedup ratio: 2.317 -> 2.357Helped
locally rescore drafts with a neural LMVicuna 13B BPD · GSM8Kspeedup ratio: 1.794 -> 1.819Helped
locally rescore Medusa drafts with a neural LMVicuna 13B Medusa · GSM8Kspeedup ratio: 2.507 -> 2.519Helped

Surprising findings

Limitations

Experimental setup

Datasets: C4 LAMBADA SQuAD V1 CNN/DailyMail SAMSum MultiNews XSUM NewsRoom ShareGPT

Benchmarks: MT-Bench CNN/DailyMail (S-Sum) SQuAD V1 (QA) GSM8K RAG LAMBADA SAMSum MultiNews XSUM NewsRoom

Metrics: block efficiency speedup ratio perplexity exact match ROUGE-L

Baselines: BPD Medusa Sps Lookahead PLD

Builds on: blockwise parallel decoding Medusa speculative decoding

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