atlas

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

Speculative Prefill: Turbocharging TTFT with Lightweight and Training-Free Token Importance Estimation

ICML 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 SpecPrefill, a training-free method where a small Llama-3.1-8B speculator scores prompt token importance via attention so only a selected subset is prefilled by a large Llama model, cutting TTFT and raising maximal QPS.

Problem

Time-to-first-token (TTFT) in LLM serving is compute-bound during prefill, with MLP cost dominating for large batches of short-to-medium prompts; existing prefill optimizations either need post-training or scale poorly.

Approach

Use a cheaper same-family model's attention (last-token attention aggregated over layers and heads, with look-ahead decoding, max-mean aggregation, and chunk-level selection) to pick important prompt tokens, then run the big model only on those tokens with their original position IDs preserved.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Keep only 10% of prompt tokens with SpecPrefillLlama-3.1-70B-Instruct · RULER aggregation tasksscoreHurt
Keep only 10% of prompt tokens with SpecPrefillLlama-3.1-70B-Instruct · RULER average w/o Aggregation at 8Kscore: 91.5 -> 91.7Helped
Keep only 10% of prompt tokens with SpecPrefillLlama-3.1-70B-Instruct · RULER average w/o Aggregation at 16Kscore: 90.6 -> 91.3Helped
Keep only 10% of prompt tokens with SpecPrefillLlama-3.1-70B-Instruct · RULER average w/o Aggregation at 32Kscore: 89.8 -> 90.8Helped
Keep only 10% of prompt tokens with SpecPrefillLlama-3.1-70B-Instruct · RULER average w/o Aggregation at 64Kscore: 87.9 -> 90.4Helped
Keep only 10% of prompt tokens with SpecPrefillLlama-3.1-70B-Instruct · RULER average w/o Aggregation at 128Kscore: 60.3 -> 65.6Helped
Use SpecPrefill at 10% keep rateLlama-3.1-70B-Instruct · LongBench Avgscore: 53.55 -> 52.74Hurt
Use SpecPrefill at 30% keep rateLlama-3.1-70B-Instruct · LongBench Avgscore: 53.55 -> 53.92Helped
Use SpecPrefill at 50% keep rateLlama-3.1-70B-Instruct · LongBench Avgscore: 53.55 -> 53.59Helped
Use SpecPrefill at 70% keep rateLlama-3.1-70B-Instruct · LongBench Avgscore: 53.55 -> 53.42No clear effect
Use SpecPrefill at 90% keep rateLlama-3.1-70B-Instruct · LongBench Avgscore: 53.55 -> 53.27No clear effect
Add look-ahead to the full SpecPrefill techniques (ablation)SpecPrefill · LongBenchqualityHelped

Surprising findings

Limitations

Experimental setup

Datasets: LongBench RULER MMLU IFEval GSM8K HumanEval MBPP ARC Challenge GPQA

Benchmarks: LongBench RULER Generative MMLU IFEval GSM8K 8-shot HumanEval MBPP ARC Challenge GPQA 8-shot

Metrics: task score TTFT speedup maximal QPS average query latency relative FLOPS overhead

Baselines: Llama-3.1-70B-Instruct Llama-3.1-405B-Instruct-FP8 RAG-Llama LLMLingua MInference

Builds on: speculative decoding vLLM GemFilter LLMLingua MInference

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