Towards Data Science By Ehssan Khan

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

Read the original on Towards Data Science →

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.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Towards Data Science.

arXiv AI
Oct 31

Only Accepted Tokens Count: An Energy Accounting of Speculative Decoding Under Latency Targets

The paper investigates how speculative decoding—where a draft model proposes multiple future tokens that are then verified by the target model—affects energy consumption in large language model serving under latency constraints. It finds that energy savings depend heavily on the acceptance rate of drafted tokens, which varies by model architecture, drafting scheme, and the type of text (e.g., conversation vs. code, English vs. Romansh). The study shows that while speculation can reduce energy per token at small batch sizes, at larger batches the verification cost dominates, potentially turning speculation into an energy loss, especially when acceptance rates are low.

By Bole Ma, Ayesha Afzal, Jan Eitzinger, Harald Koestler, Gerhard Wellein
arXiv AI
Oct 12

Adaptive DHiSparse: Speculative Decoding over a Load-Adaptive KV Hierarchy

Adaptive DHiSparse extends the HiSparse framework by enabling speculative decoding over a hierarchical sparse key‑value (KV) store and dynamically adapting memory residency to load. It protects the essential working set, retains extra history when GPU memory is available, and retrieves the remainder via exact fused retrieval, integrating draft‑model techniques such as DSpark and DFlash2. In benchmarks, it achieves up to 1.85× higher output rates than resident serving while reducing host fetches dramatically under low load.

By Naji Alazhar, Wassel Alazhar
arXiv Machine Learning
5d ago

NarrowSpec: Draft Hidden Width Need Not Match the Target in Speculative Decoding

The paper investigates speculative decoding in large language models, focusing on draft models that read the target’s hidden states. It demonstrates that the draft’s residual stream can operate at half or a quarter of the target’s hidden width while maintaining high acceptance rates, and that this narrowing yields measurable speedups (up to 1.21×) across different GPUs and batch sizes.

By Alagappan Valliappan, Ankit More, Dheevatsa Mudigere, Jatin Mitra