atlas

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

Optimized Multi-Token Joint Decoding With Auxiliary Model for LLM Inference

ICLR 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 multi-token joint decoding (MTJD) that samples multiple tokens from their joint distribution, and MTAD/tree-based variant that uses a small auxiliary model via beam sampling and joint-likelihood verification to accelerate it, with energy analysis.

Problem

Speculative decoding speeds up LLM inference but still generates each token from its single-token distribution, so output quality (perplexity) is not improved; sampling from the joint distribution of multiple tokens is exponentially expensive.

Approach

Generate multiple tokens from their joint distribution, approximated by beam sampling from a small draft model and verified by the target model's joint likelihood ratio with a threshold tau that accepts the longest passing prefix; a tree variant verifies all intermediate beams with tree attention and normalizes against the final beam's draft likelihood.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Generate multiple tokens from their joint distribution rather than sampling one token at a timeLlama-3 (8B, 1B) and Llama-3-Instruct (8B, 1B) · Spider, MTBench, and HumanEvalScore: 22.0 -> 52.5; 3.40 -> 3.77; 15.9 -> 36.6; 36.0 -> 60.5; 4.11 -> 4.40; 28.0 -> 49.4Helped
Approximate multi-token joint decoding using an auxiliary modelMTAD · Spider, MT-Bench, HumanEval, ChatGPT-Prompt, ChatAlpaca, CNNDailyMailPerplexityHelped
Verify all intermediate draft beams with tree attention rather than only the final draft sequenceMTAD · Spider, MT-Bench, HumanEvalDownstream performance: +42.7% over lossless decoding algorithmsHelped
Verify all intermediate draft beams with tree attention rather than only the final draft sequenceMTAD · Spider, MT-Bench, HumanEvaltokens/s: +21.1% vs. MCSSHelped
Verify all intermediate draft beams with tree attention rather than only the final draft sequenceMTAD · Spider, MT-Bench, HumanEvalEnergy consumption: 23.4% less energy than MCSSHelped
Increase draft sequence length gamma (ablation)Tree-MTAD · SpiderBlock efficiencyHelped
Increase draft sequence length gamma (ablation)Tree-MTAD · SpiderDecoding speedMixed
Vary draft sequence length gamma (ablation)Tree-MTAD · SpiderOutput perplexityNo clear effect
Increase draft beam width b (ablation)Tree-MTAD · SpiderBlock efficiencyHelped
Increase draft beam width b (ablation)Tree-MTAD · SpiderOutput perplexityHelped
Increase draft beam width b (ablation)Tree-MTAD · SpiderDecoding speedMixed
Increase acceptance threshold tau (ablation)Tree-MTAD · SpiderBlock efficiencyHurt

Surprising findings

Limitations

Experimental setup

Datasets: Spider MT-Bench HumanEval ChatGPT-Prompts ChatAlpaca CNN/DailyMail

Benchmarks: Spider MT-Bench HumanEval ChatGPT-Prompts ChatAlpaca CNN/DailyMail

Metrics: tokens/s J/token pass@1 execution accuracy MT-Bench score perplexity Rouge-L

Baselines: SpD Spectr SpecInfer MCSS BiLD typical decoding multinomial sampling

Builds on: speculative decoding SpecInfer Spectr BiLD

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