Graph-Structured Speculative Decoding
On the map: Efficient LLM inference and serving → Speculative decoding
Abstract (arXiv)
Speculative decoding has emerged as a promising technique to accelerate the inference of Large Language Models (LLMs) by employing a small language model to draft a hypothesis sequence, which is then validated by the LLM. The effectiveness of this approach heavily relies on the balance between performance and efficiency of the draft model. In our research, we focus on enhancing the proportion of draft tokens that are accepted to the final output by generating multiple hypotheses instead of just one. This allows the LLM more options to choose from and select the longest sequence that meets its standards. Our analysis reveals that hypotheses produced by the draft model share many common token sequences, suggesting a potential for optimizing computation. Leveraging this observation, we introduce an innovative approach utilizing a directed acyclic graph (DAG) to manage the drafted hypotheses. This structure enables us to efficiently predict and merge recurring token sequences, vastly reducing the computational demands of the draft model. We term this approach Graph-structured Speculative Decoding (GSD). We apply GSD across a range of LLMs, including a 70-billion parameter LLaMA-2 model, and observe a remarkable speedup of 1.73× to 1.96×, significantly surpassing standard speculative decoding.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Speculative decoding, one of 12 directions in Efficient LLM inference and serving. Builds on 19 of its 28 references that are in the map. First posted on arXiv 23 Jul 2024.
Builds on
19 of 28 references.
Closest ancestors · 3
Same direction, newest first
- 2023Accelerating LLM Inference with Staged Speculative Decoding8 Aug
- 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb
- 2022Fast Inference from Transformers via Speculative Decoding30 Nov
Other references · 16
- 2017Attention Is All You Needcited by 59,932
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
- 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 318
4 more
- 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 240
- 2022Compression of Generative Pre-trained Language Models via Quantizationcited by 79
- 2020ALP-KD: Attention-Based Layer Projection for Knowledge Distillationcited by 65
- 2021Super Tickets in Pre-Trained Language Models: From Model Compression to Improving Generalizationcited by 56
Built on by
Citing papers per year: 2024: 1; 2025: 3.
4 papers.
- 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Modelscited by 27
- 2025Speculative Decoding and Beyond: An In-Depth Survey of Techniquescited by 22
- 2025Fast Large Language Model Collaborative Decoding via Speculationcited by 12
- 2024FIRP: Faster LLM inference via future intermediate representation predictioncited by 0
- 2025A Survey on Parallel Text Generation: From Parallel Decoding to Diffusion Language Models12 Aug 2025
- 2025Speculative Decoding and Beyond: An In-Depth Survey of Techniques27 Feb 2025
- 2025Fast Large Language Model Collaborative Decoding via Speculation1 Feb 2025
- 2024FIRP: Faster LLM inference via future intermediate representation prediction27 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2024Recursive Speculative Decoding: Accelerating LLM Inference via Sampling Without Replacement
- 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding
- 2024Decoding Speculative Decoding
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding
- 2025Speculative Decoding: Performance or Illusion?
- 2026Faster LLM Inference via Sequential Monte Carlo
- 2024A Theoretical Perspective for Speculative Decoding Algorithm
- 2025AdaSD: Adaptive Speculative Decoding for Efficient Language Model Inference