Reproduce “SimSD: Simple Speculative Decoding in Diffusion Language Models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Junxia Cui, Haotian Ye, Runchu Tian, Hongcan Guo, Jinya Jiang, Haoru Li, Chaojie Ren, Yiming Huang and 4 more
SimSD introduces a training-free method to enable token-level speculative decoding in diffusion language models (dLLMs) by designing a novel temporal causal attention mask and RoPE alignment. This approach significantly accelerates dLLM inference throughput by up to 7.46x while maintaining or slightly improving generation quality across various benchmarks.
Key insights
- A temporal causal mask, combined with specific input layout and RoPE alignment, can effectively adapt dLLMs for AR-style token-level speculative decoding without modifying model parameters.
- The inherent approximation from simultaneously computing higher-order hidden state interactions with the temporal causal mask does not degrade generation quality and can sometimes offer slight improvements.
- Precise positional encoding alignment is crucial for the correctness of verification, as misaligned RoPE leads to severe performance degradation.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.