atlas

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

Mixture of Attentions For Speculative Decoding

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 a Mixture of Attentions drafter for speculative decoding (Layer Self-Attention, Self/Cross-Attention, Target Layer Inference) that improves EAGLE-2 speedups on a single device and enables a client-server setting that keeps generating during disconnection.

Problem

Self-drafting speculative decoding models that reuse LLM activations suffer from partial observability and lack of on-policyness during training, which degrade draft quality; also, serving LLMs from small client devices needs fast decoding and useful output when the server connection drops.

Approach

A drafter that compresses the LLM's per-layer KV cache via Layer Self-Attention (addressing partial observability), uses a causal Self-Attention plus a masked Cross-Attention over LLM activations so it can draft multiple tokens in one pass during training (more on-policy), and a Target Layer Inference knob that reuses the last N frozen LLM decoder layers to trade speed for accuracy.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Mixture of Attentions with TLI=1 instead of EAGLE-2Llama3-8B-Instruct drafter · SpecBench meanspeedup: 1.78 -> 1.95Helped
Use Mixture of Attentions with TLI=3 instead of EAGLE-2Llama3-8B-Instruct drafter · SpecBench meanacceptance length: 3.60 -> 4.79Helped
Use Mixture of Attentions (TLI=0) instead of EAGLE-2Llama3-8B-Instruct drafter · HumanEval, 5Gtokens per second: 24.3 -> 34.1Helped
Use Mixture of Attentions (TLI=0) instead of EAGLE-2Llama3-8B-Instruct drafter · HumanEval, 4Gtokens per second: 13.6 -> 25.1Helped
Use Mixture of Attentions (TLI=3) instead of EAGLE-2Llama3-8B-Instruct drafter · HumanEval, disconnection after 10 tokenspass@1: 8.07 % -> 11.18 %Helped
Add LSA to the TLI=1 drafter (ablation)Mixture of Attentions · HumanEval, chain draftingtokens per second: 21 -> 39Helped
Add LSA to the TLI=1 drafter (ablation)Mixture of Attentions · HumanEval, chain draftingacceptance length: 1.28 -> 2.25Helped
Add the CA-based on-policy and T-step-bounded components versus EAGLE (ablation)Mixture of Attentions without LSA, TLI=0 · HumanEval, chain draftingtokens per second: 30 -> 38Helped
Add the CA-based on-policy and T-step-bounded components versus EAGLE (ablation)Mixture of Attentions without LSA, TLI=0 · HumanEval, chain draftingacceptance length: 1.45 -> 1.93Helped
Increase TLI from 0 to 3 (ablation)Mixture of Attentions · HumanEval, chain draftingacceptance length: 2.14 -> 2.54Helped
Increase TLI from 0 to 3 (ablation)Mixture of Attentions · HumanEval, chain draftingtokens per second: 40 -> 39Mixed
Use TLI=1 instead of vanilla decodingLlama3-8B-Instruct · HumanEvalpass@1: 62.5% -> 62.5%No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: UltraChat SpecBench MT-Bench HumanEval GSM8K Alpaca CNN/Daily Mail Natural Questions

Benchmarks: SpecBench HumanEval GSM8K CNN/DM MT-Bench Alpaca Natural Questions

Metrics: speedup ratio tokens per second acceptance length number of LLM calls pass@1 accuracy ROUGE-L

Baselines: EAGLE-2 EAGLE-2 off. Independent 1.3B Independent 1.7B Glide Ouroboros Vanilla decoding

Builds on: EAGLE-2 EAGLE Medusa Tandem Transformers

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