mlsanityData to 7 Oct 2026

Graph-Structured Speculative Decoding

arXiv 2407.16207 ↗First posted 23 Jul 2024cs.CLcited by 4

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

  1. 2023Accelerating LLM Inference with Staged Speculative Decoding8 Aug
  2. 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb
  3. 2022Fast Inference from Transformers via Speculative Decoding30 Nov

Other references · 16

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  6. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  7. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  8. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  9. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
  10. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  11. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
  12. 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 318
4 more
  1. 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 240
  2. 2022Compression of Generative Pre-trained Language Models via Quantizationcited by 79
  3. 2020ALP-KD: Attention-Based Layer Projection for Knowledge Distillationcited by 65
  4. 2021Super Tickets in Pre-Trained Language Models: From Model Compression to Improving Generalizationcited by 56

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 3.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Recursive Speculative Decoding: Accelerating LLM Inference via Sampling Without Replacement
  2. 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding
  3. 2024Decoding Speculative Decoding
  4. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding
  5. 2025Speculative Decoding: Performance or Illusion?
  6. 2026Faster LLM Inference via Sequential Monte Carlo
  7. 2024A Theoretical Perspective for Speculative Decoding Algorithm
  8. 2025AdaSD: Adaptive Speculative Decoding for Efficient Language Model Inference