Hugging Face Blog

Faster Assisted Generation with Dynamic Speculation

Towards Data Science
Aug 24

Speculative Decoding on CPUs: Nearly 4x Faster Token Generation with DFlash

Speculative decoding leverages idle CPU resources to accelerate token generation without altering model outputs. In vLLM benchmarks, DFlash achieved a 3.92× increase in autoregressive throughput using Qwen3.5‑9B on an Intel Xeon 6 at a concurrency of 1. The article details the origins of this speedup, discusses acceptance metrics, and outlines factors that influence when speculation is beneficial.

By Ehssan Khan
Hugging Face Trending Papers
Jul 27

DraftExpert: Expansion-Aware Self-Speculative Decoding for End-Device MoE Inference

Large Mixture-of-Experts (MoE) language models are attractive for end-device deployment because only a small subset of experts is active per token, but their routed expert weights often exceed accelerator memory. We target latency-critical single-user settings where routed experts are staged on demand from CPU memory to a GPU or from Flash to a mobile NPU.

arXiv Computation and Language
Oct 15

JetSpec++: Foresight Parallel Drafting with Self Refinements

arXiv:2610.19792v1 Announce Type: new Abstract: Speculative decoding's effectiveness is governed by two quantities: the acceptance rate of drafted tokens and the cost of producing them. We show the t...

By Zhaoxiang Feng (UC San Diego), Lanxiang Hu (UC San Diego), Haoran Yuan (UIUC), Yu-Yang Qian (Nanjing University), Jihui Yang (Meta), Peng Zhao (Nanjing University), Yibo Zhu (StepFun), Tajana Rosing (UC San Diego), Hao Zhang (UC San Diego)
arXiv AI
1d ago

Speculative Decoding Is Less Speculative Than You Think

Speculative decoding speeds up language‑model inference by generating candidate continuations ahead of the target model. The paper introduces DICE (Draw‑Informed Candidate Selection), which pre‑samples and synchronizes randomness between drafting and verification, allowing computation to focus on continuations most likely to be used. DICE achieves state‑of‑the‑art decoding throughput, delivering up to 24.6 percentage‑point speedups without retraining the drafter or altering the target sampling distribution.

By Guanning Zeng, Andrea Zanette
arXiv Computation and Language
Sep 24

When Parallel Drafter Meets Parallel Speculative Decoding

The paper introduces DPara, a parallel speculative decoding framework that builds on DSpark-style parallel drafters. DPara eliminates the need for probabilistic guesses by precomputing draft representations for every acceptance boundary and using a lightweight autoregressive head to combine verification outcomes with these representations, enabling full parallelization of the backbone forward pass. Experiments on Qwen3-8B and Qwen3-14B across multiple benchmarks demonstrate average speedups of 3.21× and 3.52× over autoregressive decoding, outperforming existing serial and parallel speculative decoding methods.

By Fuliang Liu, Xue Li, Kun Qian, Zhibin Wang, Wanchun Dou, Wenyuan Yu, Chen Tian
arXiv Computation and Language
Nov 9

ChainFlow: Few-Step Latent Flow Matching for Speculative Decoding

ChainFlow introduces a new speculative decoding paradigm that uses a flow-matching drafter conditioned on the target model’s hidden states, enabling drafting as a short transport over hidden states with only one or two flow steps. By compressing hidden states with a variational autoencoder and adding lightweight feedback heads, ChainFlow preserves inter-token dependencies while keeping drafting cost low. Experiments on Qwen3.5 models show ChainFlow outperforms existing drafters such as EAGLE-3 and DFlash by 39% and 11% respectively, with further gains when adapting to new languages.

By Selim Aktas, Yusuf Erdem Erdem, Ahmed Zeer, Himmet Toprak Kesgin, Muzaffer Kaan Yuce, Mehmet Fatih Amasyali