mlsanityData to 14 Oct 2026

FlowSpec: Continuous Pipelined Speculative Decoding for Efficient Distributed LLM Inference

arXiv 2507.02620 ↗First posted 3 Jul 2025cs.DC cs.AIcited by 1

On the map: Efficient LLM inference and serving → Speculative decoding

Abstract (arXiv)

Distributed inference serves as a promising approach to enabling the inference of large language models (LLMs) at the network edge. It distributes the inference process to multiple devices to ensure that the LLMs can fit into the device memory. Recent pipeline-based approaches have the potential to parallelize communication and computation, which helps reduce inference latency. However, the benefit diminishes when the inference request at the network edge is sparse, where pipeline is typically at low utilization. To enable efficient distributed LLM inference at the edge, we propose FlowSpec, a pipeline-parallel tree-based speculative decoding framework. FlowSpec incorporates three key mechanisms to improve decoding efficiency: 1) score-based step-wise verification prioritizes more important draft tokens to bring earlier accepted tokens; 2) efficient draft management to prune invalid tokens while maintaining correct causal relationship during verification; 3) dynamic draft expansion strategies to supply high-quality speculative inputs. These techniques work in concert to enhance both pipeline utilization and speculative efficiency. We evaluate FlowSpec on a real-world testbed with other baselines. Experimental results demonstrate that our proposed framework significantly improves inference speed across diverse models and configurations, achieving speedup ratios 1.37×-1.73× compared to baselines. Our code is publicly available at hrefhttps://github.com/Leosang-lx/FlowSpec#https://github.com/Leosang-lx/FlowSpec#.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Speculative decoding, one of 12 directions in Efficient LLM inference and serving. Builds on 26 of its 40 references that are in the map. First posted on arXiv 3 Jul 2025.

Builds on

26 of 40 references.

Closest ancestors · 9

Same direction, newest first

  1. 2024AMUSD: Asynchronous Multi-Device Speculative Decoding for LLM Acceleration22 Oct
  2. 2024PipeInfer: Accelerating LLM Inference using Asynchronous Pipelined Speculation16 Jul
  3. 2024OPT-Tree: Speculative Decoding with Adaptive Draft Tree Structure25 Jun
  4. 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees24 Jun
  5. 2024GliDe with a CaPE: A Low-Hassle Method to Accelerate Speculative Decoding3 Feb
  6. 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty26 Jan
  7. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads19 Jan
  8. 2023SpecInfer: Accelerating Generative Large Language Model Serving with Tree-based Speculative Inference and Verification16 May
  9. 2022Fast Inference from Transformers via Speculative Decoding30 Nov

Other references · 17

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  4. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  6. 2024Qwen2 Technical Reportcited by 2,120
  7. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  8. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
  9. 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 812
  10. 2024Large Language Models: A Surveycited by 525
  11. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 403
  12. 2023SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefillscited by 193
5 more
  1. 2021Sequence Parallelism: Long Sequence Training from System Perspectivecited by 126
  2. 2024LLM Inference Serving: Survey of Recent Advances and Opportunitiescited by 46
  3. 2024Galaxy: A Resource-Efficient Collaborative Edge AI System for In-situ Transformer Inferencecited by 25
  4. 2024Edge AI: A Taxonomy, Systematic Review and Future Directionscited by 21
  5. 2025Jupiter: Fast and Resource-Efficient Collaborative Inference of Generative LLMs on Edge Devicescited by 15

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025PipeSpec: Breaking Stage Dependencies in Hierarchical LLM Decoding
  2. 2025Speculative Decoding in Decentralized LLM Inference: Turning Communication Latency into Computation Throughput
  3. 2025SpecPipe: Accelerating Pipeline Parallelism-based LLM Inference with Speculative Decoding
  4. 2025Mirror Speculative Decoding: Breaking the Serial Barrier in LLM Inference
  5. 2025CARD: A Cache-Assisted Parallel Speculative Decoding Framework via Query-and-Correct Paradigm for Accelerating LLM Inference
  6. 2025HiSpec: Hierarchical Speculative Decoding for LLMs
  7. 2025Yggdrasil: Bridging Dynamic Speculation and Static Runtime for Latency-Optimal Tree-Based LLM Decoding
  8. 2024Speculative Streaming: Fast LLM Inference without Auxiliary Models