mlsanityData to 7 Oct 2026

FlexDraft: Flexible Speculative Decoding via Attention Tuning and Bonus-Guided Calibration

arXiv 2605.20022 ↗First posted 19 May 2026cs.CLcited by 2

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

Abstract (arXiv)

Speculative decoding accelerates memory-bound LLM inference without quality degradation by using a fast drafter to propose multiple candidate tokens and the target model to verify them in parallel. However, conventional sequential speculative decoding suffers from mutual waiting between drafting and verification, and repeated exchange of intermediate states further increases memory access overhead. Parallel speculative decoding addresses this limitation by performing drafting and verification within a single target forward pass, allowing future drafts to be prepared while current candidates are being verified. Although effective at small batch sizes, existing parallel speculative decoding methods either require costly continual pretraining with quality degradation or suffer from low acceptance rates. More importantly, this paradigm inherently suffers from uncertainty in both the bonus token and the accepted length, leading to draft verification mismatch and causing throughput gains to collapse at large batch sizes. To address these limitations, we introduce FlexDraft, a lossless speculative decoding framework that flexibly adapts to varying batch sizes through three key designs. (1) Attention Tuning enables block diffusion drafting by tuning only the attention projectors of the final few layers on mask tokens, while keeping the autoregressive path frozen to preserve the target distribution and produce high quality drafts with minimal trainable parameters. (2) Bonus-guided Calibration uses a lightweight MLP conditioned on the resolved bonus token to calibrate draft logits, mitigating draft verification mismatch caused by bonus token uncertainty. (3) Flex Decoding dynamically switches between parallel draft and verify at small batch sizes and sequential draft then verify at large batch sizes, and adjusts verification length based on draft confidence to eliminate redundant computation.

Key facts. Cited by 2 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 36 of its 36 references that are in the map. First posted on arXiv 19 May 2026.

Builds on

36 of 36 references.

Closest ancestors · 21

Same direction, newest first

  1. 2026DFlash: Block Diffusion for Flash Speculative Decoding5 Feb
  2. 2026DART: Diffusion-Inspired Speculative Decoding for Fast LLM Inference27 Jan
  3. 2025DiffuSpec: Unlocking Diffusion Language Models for Speculative Decoding28 Sep
  4. 2025SpecBranch: Speculative Decoding via Hybrid Drafting and Rollback-Aware Branch Parallelism16 May
  5. 2025PARD: Accelerating LLM Inference with Low-Cost PARallel Draft Model Adaptation23 Apr
  6. 2025RASD: Retrieval-Augmented Speculative Decoding5 Mar
  7. 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Test3 Mar
  8. 2025DReSD: Dense Retrieval for Speculative Decoding21 Feb
  9. 2024KOALA: Enhancing Speculative Decoding for LLM via Multi-Layer Draft Heads with Adversarial Learning15 Aug
  10. 2024PEARL: Parallel Speculative Decoding with Adaptive Draft Length13 Aug
  11. 2024Speculative Diffusion Decoding: Accelerating Language Generation through Diffusion10 Aug
  12. 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Trees24 Jun
9 more
  1. 2024Hydra: Sequentially-Dependent Draft Heads for Medusa Decoding7 Feb
  2. 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty26 Jan
  3. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads19 Jan
  4. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding15 Jan
  5. 2023REST: Retrieval-Based Speculative Decoding14 Nov
  6. 2023DistillSpec: Improving Speculative Decoding via Knowledge Distillation12 Oct
  7. 2023SpecInfer: Accelerating Generative Large Language Model Serving with Tree-based Speculative Inference and Verification16 May
  8. 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb
  9. 2022Fast Inference from Transformers via Speculative Decoding30 Nov

Other references · 15

  1. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  2. 2025OpenAI GPT-5 System Cardcited by 910
  3. 2025Large Language Diffusion Modelscited by 872
  4. 2025Fast-dLLM: Training-free Acceleration of Diffusion LLM by Enabling KV Cache and Parallel Decodingcited by 404
  5. 2025Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Modelscited by 385
  6. 2025dLLM-Cache: Accelerating Diffusion Large Language Models with Adaptive Cachingcited by 168
  7. 2025Fast-dLLM v2: Efficient Block-Diffusion LLMcited by 128
  8. 2025SDAR: A Synergistic Diffusion-AutoRegression Paradigm for Scalable Sequence Generationcited by 118
  9. 2025Your LLM Knows the Future: Uncovering Its Multi-Token Prediction Potentialcited by 46
  10. 2025Accelerating Diffusion Large Language Models with SlowFast Sampling: The Three Golden Principlescited by 43
  11. 2025TiDAR: Think in Diffusion, Talk in Autoregressioncited by 35
  12. 2025Mask Tokens as Prophet: Fine-Grained Cache Eviction for Efficient dLLM Inferencecited by 17
3 more
  1. 2026DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvascited by 16
  2. 2024BiTA: Bi-Directional Tuning for Lossless Acceleration in Large Language Modelscited by 13
  3. 2024Amphista: Bi-directional Multi-head Decoding for Accelerating LLM Inferencecited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025CARD: A Cache-Assisted Parallel Speculative Decoding Framework via Query-and-Correct Paradigm for Accelerating LLM Inference
  2. 2026ASPIRE: Asynchronous Batched Self-Speculative Decoding for Long-Context LLM Inference
  3. 2025Mirror Speculative Decoding: Breaking the Serial Barrier in LLM Inference
  4. 2024SWIFT: On-the-Fly Self-Speculative Decoding for LLM Inference Acceleration
  5. 2026BitNest: Bit-Nested Speculative Decoding for Memory-Efficient LLM Inference Acceleration
  6. 2026Margins, Not Windows: Training-Free Per-Step Lossy Speculative Decoding
  7. 2025Tutorial Proposal: Speculative Decoding for Efficient LLM Inference
  8. 2025Speculative Verification: Exploiting Information Gain to Refine Speculative Decoding