Research map / Large language models / Reasoning and chain of thought
Correctness Forensics for Batch Speculative Decoding: Diagnosing the Ragged Tensor Problem
Ranran Haoran Zhang, Soumik Dey, Ashirbad Mishra, Hansi Wu, Binbin Li, Rui Zhang
Pennsylvania State University · eBay Inc
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 (contiguous layout) · alignment overhead · OH% of total time: ~13% at BS=1 -> nearly 40% at BS=32 Hurt
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 |
|---|---|---|---|
| schedule same-length sequences into one batch (EXSpec vs EqSpec) (ablation) | EqSpec · overhead anatomy | throughput (tokens/s): 95.6 -> 156.4 | Improved |
| schedule same-length sequences (EXSpec vs EqSpec) (ablation) | EqSpec · overhead anatomy | alignment overhead OH%: 27.7 -> 14.6 | Improved |
| cross-batch grouping of same-length sequences (ablation) | EqSpec · simulated online serving, BS=2 | P99 latency (s): 19.06 -> 134.03 | Hurt |
| cross-batch grouping of same-length sequences (ablation) | EqSpec · simulated online serving, BS=1 | P99 latency (s): 16.53 -> 9.42 | Improved |
| cross-batch grouping of same-length sequences (ablation) | EqSpec · simulated online serving, BS 1-8 | throughput (tokens/s): +2-14% (appendix); 76.03 -> 77.54 at BS=8 | Improved |
| enforce synchronization invariants I1/I2 (EqSpec) instead of masking or faulty padding | DSD / BSP · SpecBench exact match, Vicuna BS 4 | exact match (%): DSD 0.0, BSP 0.2 -> EqSpec 92.1 | Improved |
| run non-speculative batched decoding at BS 4 instead of BS 1 | Vicuna-7B · SpecBench exact match | exact match (%): 53.8 (Non-Spec-Batch, Vicuna BS 4) | Hurt |
| enable batch-invariant kernels in vLLM v1 on A100 (ablation) | vLLM v1 non-spec BS>1 · MT-Bench 80 prompts, Qwen3-4B/0.6B | exact matches: 58/80 -> 62/80 | No clear effect |
| enable batch-invariant kernels in vLLM v1 on H100 (ablation) | vLLM v1 spec BS>1 · MT-Bench 80 prompts, Qwen3-4B/0.6B | exact matches: 62/80 -> 80/80 | Improved |
| enable deterministic mode in SGLang-EAGLE (ablation) | SGLang + EAGLE · SpecBench, Vicuna | exact match (%): 69.8 -> 85.0 | Improved |
| increase batch size (contiguous layout) | batch speculative decoding · alignment overhead | OH% of total time: ~13% at BS=1 -> nearly 40% at BS=32 | Hurt |
| random sampling vs identical-length (All-Mean) subset (ablation) | EXSpec · Multi30k grouping rate | grouping rate | Improved |
Open problems this paper states
- “Advantage is confined to moderate batch sizes because realignment overhead grows superlinearly.” → Gains shrink or vanish at larger batch sizes, and most tests use batch size 1. (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
- Overcoming Joint Intractability with Lossless Hierarchical Speculative Decoding (ICLR 2026 · similarity 0.88)
- Block Verification Accelerates Speculative Decoding (ICLR 2025 · similarity 0.88)
- A Theoretical Perspective for Speculative Decoding Algorithm (NeurIPS 2024 · similarity 0.88)
- Performance-Driven Policy Optimization for Speculative Decoding with Adaptive Windowing (NeurIPS 2026 · similarity 0.87)
- GRIFFIN: Effective Token Alignment for Faster Speculative Decoding (NeurIPS 2025 · similarity 0.87)
- SpecBranch: Speculative Decoding via Hybrid Drafting and Rollback-Aware Branch Parallelism (ICLR 2026 · similarity 0.87)
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.