arXiv cs.CL· Siyuan Yan, Shen Gu, Xiaoxing Ma, Chun Cao, Jingwei Xu·· 11 小时前AI 评分31
Duet:面向块扩散语言模型的双稀疏推理框架
DUET: Dual-Sparse Inference for Block Diffusion Language Models
AI 导读
Duet 是一个免训练的双稀疏推理框架,通过前缀 KV 稀疏与早期 query 稀疏降低块扩散语言模型的推理开销。在 32K 上下文下,Duet 于 LLaDA2.1-mini 上实现 1.34×/2.83× 的端到端/单步加速,于 SDAR-8B-Chat-b32 上实现 2.41×/4.72× 加速,并保持有竞争力的准确率。
正文 · 原文
Abstract:Diffusion language models (DLMs) enable parallel token generation through iterative denoising, yet their inference remains costly due to repeated attention over a growing historical prefix and repeated processing of the entire current generation block. Historical attention becomes increasingly expensive as generation progresses, while all current-block positions are propagated through the Transformer at every denoising step even though only a small fraction are typically resolved at that step. In this paper, we introduce Duet, a training-free dual-sparse inference framework that addresses these challenges through prefix Key-Value (KV) sparsity and early query sparsity, respectively. Specifically, Duet exploits the concentration and cross-step stability of historical attention within each generation block to construct a compact historical KV subset that is reused across denoising steps. For query sparsity, Duet predicts update positions from shallow representations and propagates only the corresponding queries through the suffix Transformer layers, avoiding deep computation at positions unlikely to be updated in the current step. Experiments show that Duet maintains competitive accuracy while achieving 1.34$\times$/2.83$\times$ end-to-end/per-step speedups on LLaDA2.1-mini and 2.41$\times$/4.72$\times$ on SDAR-8B-Chat-b32 at a 32K context length.
| Subjects: | Computation and Language (cs.CL) |
| Cite as: | arXiv:2611.09239 [cs.CL] |
| (or arXiv:2611.09239v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2611.09239 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Siyuan Yan [view email]
[v1]
Fri, 6 Nov 2026 09:59:42 UTC (220 KB)
来源:arXiv cs.CL · arxiv.org