跳到正文
arXiv (AI + Vision + Imaging)· Xinrui Zhong, Fanjiang Ye, Yuke Wang·· 7 天前AI 评分22

RISA:面向块扩散语言模型的可恢复稀疏注意力

RISA: Recoverable Sparse Attention for Block-Diffusion Language Models

AI 导读

RISA 是一种面向块扩散语言模型的可恢复稀疏注意力方法,通过块内共享读取计划复用索引,将历史保留与重复读取分离。在 DreamReasoner-8B 上,32K 长度下注意力较稠密实现提速 2.67 倍,固定轨迹请求提速 1.36 倍,128K 时注意力提速达 5.53 倍。在三个模型的八种设置中,RISA 在匹配 KL 下解码速度快于所测试的 MAGE、QUEST 和 LoSA 预算。

正文 · 原文

arXiv:2611.22191v1 Announce Type: new Abstract: Block-wise diffusion language models (DLMs) refine multiple tokens in parallel, offering an alternative to token-by-token autoregressive decoding. Their long-context inference, however, remains bottlenecked by memory-bound attention: every denoising step repeatedly reads a growing historical key--value (KV) cache. Directly applying sparse attention does not fully solve this problem, because different queries can select different pages, inflating the block's collective read set, while repeated support construction adds overhead and permanent eviction can discard information needed later. We present RISA, a recoverable sparse-attention method with shared read plans for block-wise DLMs. RISA exploits the fact that historical KV remains fixed within a block while queries evolve across denoising steps. Newly generated history is organized into exact priority and recovery tiers; seed queries then build a protected, bounded read plan whose indices are reused across the block while attention is recomputed with fresh queries and current-block KV. This separates history preservation from repeated reading and amortizes sparse-support construction without changing the backbone or decoder. On DreamReasoner-8B, RISA retains comparable task performance. At 32K, the default configuration speeds up attention by $2.67\times$ and fixed-trajectory requests by $1.36\times$ over dense, and attention speedup reaches $5.53\times$ at 128K. Across eight settings on three models, RISA decodes faster than the tested MAGE, QUEST, and LoSA budgets at matched KL.

来源:arXiv (AI + Vision + Imaging) · arxiv.org