Research map / Large language models / Reasoning and chain of thought
FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Sampling
Weilin Zhao, Tengyu Pan, Xu Han, Yudi Zhang, Ao Sun, Yuxiang Huang, Kaihuo Zhang, Weilun Zhao, Yuxuan Li, Jie Zhou, Hao Zhou, Jianyong Wang and 2 more
Tsinghua University · Harbin Institute of Technology · Beijing University of Posts and Telecommunications · OpenBMB · Tencent
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| restrict draft LM head to a 32k high-frequency vocabulary subset | EAGLE-2 (Llama-3-8B) · Spec-Bench + HumanEval (T=0) | decoding speed (token/s): 180.99 -> 201.87 | Improved |
| restrict draft LM head to a 32k vocabulary subset, sampling temperature 1 | EAGLE-2 (Llama-3-8B) · Spec-Bench + HumanEval (T=1) | decoding speed (token/s): 172.74 -> 195.17 | Improved |
| integrate FR-Spec 32k into Medusa | Medusa (Llama-3-8B) · Spec-Bench + HumanEval (T=0) | decoding speed (token/s): 145.36 -> 156.39 | Improved |
| restrict draft vocabulary to 16k (small model) | EAGLE-2 (Llama-3.2-1B) · Spec-Bench + HumanEval (T=0) | decoding speed (token/s): 323.51 -> 401.90 | Improved |
| shrink draft vocabulary from 128k to 64k (ablation) | EAGLE-2 (Llama-3-8B) · Spec-Bench + HumanEval | average accepted length: 3.89 -> 3.80 (SlimPajama) | Hurt |
| shrink draft vocabulary from 128k to 8k (ablation) | EAGLE-2 (Llama-3-8B) · Spec-Bench + HumanEval | average accepted length: 3.89 -> 3.13 (SlimPajama) | Hurt |
| shrink draft vocabulary from 32k to 8k (ablation) | EAGLE-2 (Llama-3-8B) · Spec-Bench + HumanEval (T=0) | decoding speed (token/s): 201.87 -> 185.98 | Hurt |
| use SlimPajama instead of ShareGPT token statistics to choose the subset (ablation) | EAGLE-2 + FR 32k (Llama-3-8B) · Spec-Bench + HumanEval | average accepted length: 3.57 -> 3.63 | Improved |
| FR-Spec implementation on HumanEval greedy | Llama-3-8B · HumanEval (T=0) | accuracy: 57.3 -> 58.5 | No clear effect |
| FR-Spec implementation on GSM8K greedy | Llama-3-8B · GSM8K (T=0) | accuracy: 76.3 -> 76.1 | No clear effect |
| reimplement EAGLE-2 in native C/CUDA instead of HuggingFace (ablation) | EAGLE-2 (Llama-3-8B) · Spec-Bench + HumanEval | decoding speed: 1.63× over HuggingFace, 1.28× over SGLang | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- EAGLE-2 — EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees (EMNLP 2024) · better on 3 of 3 shared results
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 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
- Accelerated Speculative Sampling Based on Tree Monte Carlo (ICML 2024 · similarity 0.90)
- Judge Decoding: Faster Speculative Sampling Requires Going Beyond Model Alignment (ICLR 2025 · similarity 0.89)
- Speculative Decoding with CTC-based Draft Model for LLM Inference Acceleration (NeurIPS 2024 · similarity 0.89)
- Accelerating LLM Inference with Lossless Speculative Decoding Algorithms for Heterogeneous Vocabularies (ICML 2025 · similarity 0.89)
- Learning Harmonized Representations for Speculative Sampling (ICLR 2025 · similarity 0.89)
- SPEED-Bench: A Unified and Diverse Benchmark for Speculative Decoding (ICML 2026 · similarity 0.88)
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.