Research map / Large language models / Reasoning and chain of thought
Semantic Retrieval Speculative Decoding with Intermediate Representations
Fangming Zhao, Xiaofei Yue, Fulun Ye, Yu Peng, Ziming Zhao, Lewei Jin, Wei Wu, Tianxiang Chen, Tingting Li, Jianwei Yin
Zhejiang University · Beijing Institute of Technology · Ant Group
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
This paper tried a common change: Larger batch size
increase batch size from 2 to 8 · code_edit batched throughput · speedup over AR: 1.899x -> 1.696x Mixed
What 943 accepted papers report for this change
- 539 improved
- 126 no clear effect
- 61 mixed
- 217 hurt
- Predicting the Emergence of Induction Heads in Language Model Pretraining ICML 2026 · increase batch size (fixed context 1024) · Natural data (CC100) · induction head emergence point (updates): rho=-1.0, p<0.001Improved
- When RL Meets Adaptive Speculative Training: A Unified Training-Serving System ICML 2026 · Increase batch size from 1 to 32 · MiniMax M2.1 FP8 · speedup: 1.57x -> 1.25xHurt
- Untied Ulysses: Memory-Efficient Context Parallelism via Headwise Chunking ICML 2026 · increase per-device batch size to 10 using freed memory · Llama 3-8B, 128K · throughput (TPS): 2464.10 (Ulysses) -> 2526.77 (UPipe)Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use semantic retrieval from hidden states instead of lexical span reuse (PLD) | Llama3.1-8B · greedy overall | speedup: 1.48x -> 1.73x | Improved |
| use semantic retrieval instead of PLD on translation | Qwen2.5-7B · Translation, greedy | speedup: 1.07x -> 1.20x | Improved |
| use SRSD instead of draft-model SD | Llama3.1-8B · Translation, greedy | speedup: 0.88x -> 1.46x | Improved |
| use SRSD under stochastic decoding instead of PLD | Llama3.1-8B · stochastic decoding T=0.8 | speedup: 1.37x -> 1.53x | Improved |
| increase batch size from 2 to 8 | SRSD · code_edit batched throughput | speedup over AR: 1.899x -> 1.696x | Mixed |
| add first-token alignment gate for retrieval (ablation) | SRSD · four tasks | throughput | Improved |
| add shallow branching to the primary trunk (ablation) | SRSD · four tasks | throughput | Improved |
| raise branching width R from 2 to 4 (ablation) | SRSD · Qwen2.5-7B | throughput: 94.8 -> 100.6 | Improved |
| raise branching width R from 4 to 8 (ablation) | SRSD · Qwen2.5-7B | throughput: 100.6 -> 98.6 | No clear effect |
| increase max draft length K beyond 16 (ablation) | SRSD · Llama3.1-8B / Qwen2.5-7B | accepted length | No clear effect |
| vary retrieval layer across a mid-to-late range (ablation) | SRSD · accepted length | accepted length: varies by less than 2% | No clear effect |
| use SRSD on long generation (SP40) instead of PLD | CodeLlama-7B · SP40 | speedup: 3.07x -> 5.42x | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 3 of 3 on most shared results.
- CopySpec — CopySpec: Accelerating LLMs with Speculative Copy-and-Paste (EMNLP 2025) · better on 2 of 2 shared results
- EAGLE-3 — EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test (NeurIPS 2025) · better on 1 of 1 shared result
- REST — REST: Retrieval-Based Speculative Decoding (NAACL 2024) · better on 1 of 1 shared result
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems this paper states
- “Gives smaller speedups in high-entropy generation such as open-ended writing or translation, where related contexts diverge lexically.” → Gains are small on open-ended generation and on outputs with little repetition. (an open problem in speculative decoding)
Open problems in speculative decoding
Which speculative decoding methods still speed up decoding at large batch, on other hardware and on bigger models?
- Thresholds and other hyperparameters are tuned by hand per task or model pair. · 20 papers state it
- Gains shrink or vanish at larger batch sizes, and most tests use batch size 1. · 17 papers state it
- Larger target models were never tried. · 12 papers state it
Closest papers by meaning
- RAPID: Long-Context Inference with Retrieval-Augmented Speculative Decoding (ICML 2025 · similarity 0.90)
- Accelerating LLM Inference with Lossless Speculative Decoding Algorithms for Heterogeneous Vocabularies (ICML 2025 · similarity 0.90)
- SPEED-Bench: A Unified and Diverse Benchmark for Speculative Decoding (ICML 2026 · similarity 0.89)
- Nearest Neighbor Speculative Decoding for LLM Generation and Attribution (NeurIPS 2024 · similarity 0.89)
- Scaling Up, Speeding Up: A Benchmark of Speculative Decoding for Efficient LLM Test-Time Scaling (ICLR 2026 · similarity 0.89)
- Online Speculative Decoding (ICML 2024 · similarity 0.89)
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.