{"id": "http://arxiv.org/abs/2606.02544v1", "title": "SimSD: Simple Speculative Decoding in Diffusion Language Models", "abstract": "Diffusion large language models (dLLMs) have recently emerged as a promising alternative to autoregressive (AR) LLMs, offering faster inference through parallel or blockwise decoding. However, their masked language modeling formulation remains incompatible with standard token-level speculative decoding, one of the most effective acceleration techniques for AR models. In AR decoding, the causal mask preserves temporally valid token-level contexts, enabling a target model to verify multiple drafted tokens in a single forward pass. In contrast, dLLMs rely on mask tokens and bidirectional attention, causing the effective context to change across denoising steps and preventing direct token-level speculative verification. To bridge this gap, we propose a simple but effective speculative decoding algorithm for diffusion language models, named SimSD, which mainly adopts a plug-and-play masking strategy that equips dLLMs with temporally valid token-level contexts for speculative decoding. Our method explicitly introduces reference tokens from draft-model predictions and designs an attention mask that regulates their interaction with current-step tokens, allowing dLLMs to compute valid logits for drafted tokens in a single forward pass. This restores the key verification ability provided by causal masking in AR models while preserving the parallel decoding advantages of dLLMs. The proposed method is training-free and can be flexibly integrated with other acceleration techniques such as KV cache and blockwise decoding. Experiments on SDAR-family dLLMs across four benchmarks show that our method achieves up to 7.46x higher decoding throughput while maintaining and even improving average generation quality.", "published_at": "2026-06-01T17:46:46+00:00", "source_updated_at": null, "source_url": "https://arxiv.org/abs/2606.02544v1", "source_hash": "406c9ed09ca0ce052588b4feccef384278010f15e4e23b09fce73f18a808c607", "source_version": "v1", "full_text_available": true, "evidence_kind": "full_text_excerpt", "analysis_scope": "full_text_excerpt", "scope": "core", "topics": ["discrete-diffusion", "inference-acceleration"], "code_url": "https://github.com/airevo2/SimSD-release", "has_code": true, "indexable": true, "authors": [], "related_ids": ["http://arxiv.org/abs/2609.04531v1", "http://arxiv.org/abs/2609.04010v1", "http://arxiv.org/abs/2609.00495v1"], "related_work": {"version": "related-work-v1", "status": "not_assessed", "reason": "missing_context", "items": []}, "review": null, "explanations": {}, "full_article_summary": {"format": "research_guide_v14", "analysis_scope": "full_article_map_reduce", "source_hash": "406c9ed09ca0ce052588b4feccef384278010f15e4e23b09fce73f18a808c607", "source_url": "https://arxiv.org/abs/2606.02544v1", "source_version": "v1", "revision_id": "e6c2fa79cdc721523cb9e12bec397c9c2c6b683aea5e9c32244f8a793ba7bcc4", "canonical_text_hash": "20af7ea502e1c2e26fa661296a20405b6278bde683729f503a5e30db3d698fbb", "prompt_version": "full-article-research-guide-v14", "sections": {"verdict": {"ru": "SimSD — убедительный, практически применимый способ вернуть токеновый speculative decoding в диффузионные языковые модели без дообучения. На SDAR он заметно ускоряет декодирование и не ухудшает, а в заявленных условиях слегка улучшает среднее качество; ключевой риск — критическая зависимость от корректного выравнивания RoPE.", "en": "SimSD is a convincing, practically deployable way to restore token-level speculative decoding for diffusion language models without retraining. On SDAR models it substantially accelerates decoding and, under the reported conditions, slightly improves average quality; the key risk is its critical dependence on correct RoPE alignment."}, "main_idea": {"ru": "Метод добавляет к черновым токенам парные reference-токены и masked prediction-токены, а также специальную временную маску внимания. Это создает для target-модели валидные причинные контексты, позволяя проверить несколько токенов одного черновика за один forward pass даже при произвольном порядке диффузионного декодирования.", "en": "The method adds paired reference and masked prediction tokens around the draft tokens and applies a temporal attention mask. This creates valid causal contexts for the target model, allowing several draft tokens to be verified in one forward pass even under arbitrary diffusion decoding orders."}, "claims": {"ru": "Авторы утверждают, что SimSD совместим с KV-cache и blockwise decoding, требует только изменения маски и копирования небольшого числа hidden states, а на SDAR дает до 7,46× ускорения против Vanilla и прирост среднего качества на 1,7%. При B=4 и B=8 заявлены ускорения 7,46× и 5,40× соответственно.", "en": "The authors claim that SimSD is compatible with KV caching and blockwise decoding, requiring only mask changes and copying a small number of hidden states, while delivering up to 7.46× speedup over Vanilla on SDAR and a 1.7% average quality gain. At B=4 and B=8, the reported speedups are 7.46× and 5.40×, respectively."}, "mechanism": {"ru": "Состояние и представление: каждый блок дублируется в reference data-токены и masked prediction-токены; для каждой пары копируются RoPE-индексы. Черновая dLLM выдает упорядоченных кандидатов длины γ. Архитектура и порядок работы: (1) строится permutation-based temporal step map; (2) маска открывает masked-позиции только для более ранних data-токенов, сохраняя будущие и текущие позиции как placeholders; (3) logits вычисляются только в masked prediction-позициях; (4) target-модель проверяет весь блок одним forward pass; (5) кандидаты принимаются стандартным prefix rejection sampling. Обучение, целевые значения и conditioning не меняются: метод training-free и использует существующие draft-target пары. Эффективность обеспечивается одной target-проверкой блока, KV-cache и blockwise decoding; конкретная реализация cache-индексации не раскрыта. Для воспроизведения: подготовить SDAR draft-target пару; продублировать каждый блок в data/mask позиции; назначить temporal mask и скопировать RoPE-индексы; выполнить один target pass для γ кандидатов; применить prefix rejection sampling и сравнить с Vanilla при B=4 и B=8. Детали формирования точного permutation map и cache-копирования, кроме описанного принципа, не приведены.", "en": "State and representation: each block is duplicated into reference data tokens and masked prediction tokens, with RoPE indices copied within each pair. A draft dLLM proposes ordered candidates of length γ. Architecture and operation order: (1) construct a permutation-based temporal step map; (2) expose masked positions only to earlier data tokens while keeping future and current positions as placeholders; (3) compute logits only at masked prediction positions; (4) verify the whole block in one target forward pass; (5) apply standard prefix rejection sampling. Training, targets, and conditioning are unchanged: the method is training-free and uses existing draft-target pairs. Efficiency comes from one target verification per block, KV caching, and blockwise decoding; the exact cache-indexing implementation is unspecified. Reproduction plan: prepare an SDAR draft-target pair; duplicate each block into data/mask positions; assign the temporal mask and copy RoPE indices; run one target pass for γ candidates; apply prefix rejection sampling and compare with Vanilla at B=4 and B=8. Exact permutation-map construction and cache-copy details beyond the stated principle are not provided."}, "evidence": {"ru": "Наблюдаемые результаты получены на GSM8K, MBPP, TriviaQA и MMLU с SDAR draft-target парами и длинами блока 4 и 8. Средняя пропускная способность составила 71,6 и 81,8 токена/с против базового Vanilla TP-2; средний балл изменился с 0,696 до 0,713 при B=4 и с 0,681 до 0,698 при B=8. KL-дивергенция между моделями по шагам выросла с 0,1528 до 0,5010, но top-1 agreement оставался не ниже 0,9400. Ablation показывает, что без выровненных RoPE точность GSM8K падает с 84,0% до 0,0%, а KL достигает 7,12. Это подтверждает работоспособность механизма в указанных условиях, но не устанавливает превосходство на других моделях, порядках декодирования или аппаратных конфигурациях.", "en": "Observed results come from GSM8K, MBPP, TriviaQA, and MMLU using SDAR draft-target pairs with block lengths 4 and 8. Mean throughput was reported as 71.6 and 81.8 tokens/s versus Vanilla TP-2; average score rose from 0.696 to 0.713 at B=4 and from 0.681 to 0.698 at B=8. Cross-model KL divergence across steps increased from 0.1528 to 0.5010, while top-1 agreement remained at least 0.9400. An ablation shows that removing aligned RoPE reduces GSM8K accuracy from 84.0% to 0.0% and raises KL to 7.12. This supports the mechanism under the stated conditions, but does not establish superiority on other models, decoding orders, or hardware configurations."}, "applicability": {"ru": "Метод наиболее полезен для inference-систем на базе SDAR, где уже есть draft-target модели, KV-cache и blockwise decoding, а стоимость target forward pass доминирует. Его можно рассматривать как низкозатратную замену Vanilla-декодированию для задач рассуждения, генерации кода, вопросов-ответов и общего знания, представленных в этих бенчмарках.", "en": "The method is most useful for SDAR-based inference systems that already have draft-target models, KV caching, and blockwise decoding, especially when target forward passes dominate cost. It is a low-overhead alternative to Vanilla decoding for reasoning, code generation, question answering, and general-knowledge workloads represented by the reported benchmarks."}, "limitations": {"ru": "Корректность сильно зависит от точного выравнивания RoPE; его отсутствие полностью разрушает один из измеренных режимов. Approximation error растет по шагам, хотя top-1 agreement остается высоким. Источник не показывает результаты для иных семейств диффузионных моделей, γ, размеров блоков за пределами 4 и 8, hardware-конфигураций или затрат памяти. Не доказано, что улучшение качества сохраняется вне указанных SDAR-бенчмарков; детали permutation-mask и KV-cache реализации также недостаточно специфицированы.", "en": "Correctness depends critically on exact RoPE alignment; removing it completely destroys one measured setting. Approximation error grows across steps even though top-1 agreement remains high. The source does not report other diffusion-model families, γ values, block sizes beyond 4 and 8, hardware configurations, or memory costs. Quality gains are not established outside the reported SDAR benchmarks, and the permutation-mask and KV-cache implementation details are not fully specified."}, "next_action": {"ru": "Воспроизвести SimSD на одной SDAR draft-target паре и проверить, сохраняются ли ускорение и качество при изменении γ. План: (1) реализовать paired data/mask layout и temporal mask; (2) проверить копирование RoPE на малом наборе GSM8K; (3) сравнить B=4 и B=8 с Vanilla по tokens/s, acceptance rate и качеству; (4) повторить с несколькими γ и отдельно измерить память KV-cache; (5) провести ablation без RoPE alignment.", "en": "Reproduce SimSD on one SDAR draft-target pair and test whether speed and quality persist as γ changes. Plan: (1) implement the paired data/mask layout and temporal mask; (2) validate RoPE copying on a small GSM8K subset; (3) compare B=4 and B=8 with Vanilla using tokens/s, acceptance rate, and quality; (4) repeat for several γ values and measure KV-cache memory separately; (5) run an ablation without RoPE alignment."}}, "source_coverage": {"canonical_text_hash": "20af7ea502e1c2e26fa661296a20405b6278bde683729f503a5e30db3d698fbb", "covered_chunks": 5, "map_input_digest": "5eccfcba3226fda134b7c49fa3bcca3059f4a8149ef4cb76d8713e94f4e6c594", "prompt_version": "full-article-research-guide-v14", "revision_id": "e6c2fa79cdc721523cb9e12bec397c9c2c6b683aea5e9c32244f8a793ba7bcc4", "total_chunks": 5}}, "resources": {"version": "paper-resources-v1", "source_hash": "406c9ed09ca0ce052588b4feccef384278010f15e4e23b09fce73f18a808c607", "evidence_kind": "full_text_excerpt", "availability": "not_checked", "limited": false, "items": [{"origin": "source_excerpt", "evidence": "to promising parallelism and lower inference latency.\n\nRecent commercial dLLMs [5, 19, 26] have substantially narrowed the performance gap with state-\nof-the-art AR models, while demonstrating much faster inference speed with parallel or blockwise\n\n∗Equal contribution.\nCode is publicly available at https://github.com/airevo2/SimSD-release.\n\nPreprint.\n\n### arXiv:2606.02544v1 [cs.CL] 1 Jun 2026\n\n## Page 2\n\nFigure 1: SimSD restores token-level speculative decoding for diffusion language models. Vanilla\ndLLMs cannot directly support speculative decoding because bidirectional attention breaks temporal\ntoken-level contexts. SimSD adopts a", "url": "https://github.com/airevo2/SimSD-release", "kind": "code", "span": [2827, 3467], "evidence_hash": "b8addd67a7186852d259dd7de7ad845cc69617bf6b7ea24a1abcfa79b6117a76"}, {"origin": "source_excerpt", "evidence": "hang, Evan Rosen, et al. Gemini 2.5: Pushing the\nfrontier with advanced reasoning, multimodality, long context, and next generation agentic\ncapabilities, 2025. URL https://arxiv.org/abs/2507.06261.\n\n[14] OpenCompass Contributors. Opencompass: A universal evaluation platform for foundation\nmodels. https://github.com/open-compass/opencompass, 2023.\n\n[15] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training\nof deep bidirectional transformers for language understanding. In Proceedings of the 2019\nConference of the North American Chapter of the Association for Computational Linguistics:\nHuman Language Tech", "url": "https://github.com/open-compass/opencompass", "kind": "code", "span": [39261, 39901], "evidence_hash": "54ef2d92bbb99b31ba697c3c876d7715f1d27062dc5151086e664b68e7a2490d"}]}, "slug": "2606.02544-simsd-simple-speculative-decoding-in-diffusion-language-models"}