Structured sparse attention for accelerating long-context diffusion language models.

IF 6.7 Q2 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Frontiers in Artificial Intelligence Pub Date : 2026-11-18 eCollection Date: 2026-01-01 DOI:10.3389/frai.2026.1993541
Pengyi Chen, Feng Hong, Haoyun Jiang, Xu Chen, Yicheng Fu, Ziyi Tang, Xinmu Ge, Xiaofeng Cao, Xiangtao Li, Bo Han, Jiangchao Yao
{"title":"Structured sparse attention for accelerating long-context diffusion language models.","authors":"Pengyi Chen, Feng Hong, Haoyun Jiang, Xu Chen, Yicheng Fu, Ziyi Tang, Xinmu Ge, Xiaofeng Cao, Xiangtao Li, Bo Han, Jiangchao Yao","doi":"10.3389/frai.2026.1993541","DOIUrl":null,"url":null,"abstract":"<p><strong>Introduction: </strong>Diffusion Large Language Models (DLLMs) have emerged as a compelling parallel decoding paradigm. However, the inherent full bidirectional attention at every denoising step incurs quadratic complexity, imposing severe latency bottlenecks in long-context scenarios.</p><p><strong>Methods: </strong>We investigate attention dynamics in DLLMs and propose Structured Sparse Attention (SSA), which uses a fast structure-wise algorithm to select and reuse geometric patterns for inference acceleration. SSA combines cached structured patterns with protection of the active decoding region to balance inference efficiency and output quality.</p><p><strong>Results: </strong>Our investigation reveals a decrease in average adjacent-step attention changes later in denoising, together with vertical and diagonal geometric patterns that motivate sparse-pattern reuse; the trend varies across inputs, layers, and heads. Extensive experiments demonstrate that SSA delivers significant speedups while maintaining competitive quality against previous state-of-the-art methods on the LongBench and RULER benchmarks. At a 128K context length, SSA achieves an end-to-end inference speedup of approximately 2 × .</p><p><strong>Discussion: </strong>These findings support structured-pattern reuse combined with decoding-region protection as an efficient, training-free approach to accelerating long-context DLLM inference.</p>","PeriodicalId":33315,"journal":{"name":"Frontiers in Artificial Intelligence","volume":"9 ","pages":"1993541"},"PeriodicalIF":6.7000,"publicationDate":"2026-11-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13824240/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Frontiers in Artificial Intelligence","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3389/frai.2026.1993541","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/1 0:00:00","PubModel":"eCollection","JCR":"Q2","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

Introduction: Diffusion Large Language Models (DLLMs) have emerged as a compelling parallel decoding paradigm. However, the inherent full bidirectional attention at every denoising step incurs quadratic complexity, imposing severe latency bottlenecks in long-context scenarios.

Methods: We investigate attention dynamics in DLLMs and propose Structured Sparse Attention (SSA), which uses a fast structure-wise algorithm to select and reuse geometric patterns for inference acceleration. SSA combines cached structured patterns with protection of the active decoding region to balance inference efficiency and output quality.

Results: Our investigation reveals a decrease in average adjacent-step attention changes later in denoising, together with vertical and diagonal geometric patterns that motivate sparse-pattern reuse; the trend varies across inputs, layers, and heads. Extensive experiments demonstrate that SSA delivers significant speedups while maintaining competitive quality against previous state-of-the-art methods on the LongBench and RULER benchmarks. At a 128K context length, SSA achieves an end-to-end inference speedup of approximately 2 × .

Discussion: These findings support structured-pattern reuse combined with decoding-region protection as an efficient, training-free approach to accelerating long-context DLLM inference.

加速长上下文扩散语言模型的结构化稀疏注意。
扩散大语言模型(dllm)已经成为一种引人注目的并行解码范式。然而,在每个去噪步骤中固有的完全双向关注会导致二次复杂度,在长上下文场景中造成严重的延迟瓶颈。方法:我们研究了dllm中的注意动力学,并提出了结构化稀疏注意(SSA),它使用快速的结构智能算法来选择和重用用于推理加速的几何模式。SSA将缓存的结构化模式与主动解码区域的保护相结合,以平衡推理效率和输出质量。结果:在去噪后期,平均邻接步注意变化减少,同时垂直和对角几何图案激发稀疏图案的重复使用;不同的输入、层次和头部的趋势不同。大量的实验表明,在LongBench和RULER基准测试中,SSA提供了显著的加速,同时保持了与以前最先进的方法相比具有竞争力的质量。在128K上下文长度下,SSA实现了大约2倍的端到端推理加速。讨论:这些发现支持将结构化模式重用与解码区域保护相结合,作为一种有效的、无需训练的方法来加速长上下文DLLM推理。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
6.10
自引率
2.50%
发文量
272
审稿时长
13 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书