paper-with-me

홈 › Papers

LoSA: Locality Aware Sparse Attention for Block-Wise Diffusion Language Models

2026-04-13 · Haocheng Xi, Harman Singh, Yuezhou Hu, Coleman Hooper, Rishabh Tiwari, Aditya Tomar, Minjae Lee, Wonjun Kang, Michael Mahoney, Chenfeng Xu, Kurt Keutzer, Amir Gholami arxiv

Block-wise diffusion language models (DLMs) generate multiple tokens in any order, offering a promising alternative to the autoregressive decoding pipeline. However, they still remain bottlenecked by memory-bound attention in long-context scenarios. Naive sparse attention fails on DLMs due to a KV Inflation problem, where different queries select different prefix positions, making the union of accessed KV pages large. To address this, we observe that between consecutive denoising steps, only a small fraction of active tokens exhibit significant hidden-state changes, while the majority of stable tokens remain nearly constant. Based on this insight, we propose LOSA (Locality-aware Sparse Attention), which reuses cached prefix-attention results for stable tokens and applies sparse attention only to active tokens. This substantially shrinks the number of KV indices that must be loaded, yielding both higher speedup and higher accuracy. Across multiple block-wise DLMs and benchmarks, LOSA preserves near-dense accuracy while significantly improving efficiency, achieving up to +9 points in average accuracy at aggressive sparsity levels while maintaining 1.54x lower attention density. It also achieves up to 4.14x attention speedup on RTX A6000 GPUs, demonstrating the effectiveness of the proposed method.

📄 PDF Abstract BibTeX arXiv:2604.12056

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Bi-Directional Block Self-Attention for Fast and Memory-Efficient Sequence Modeling

2018-04-03 · ICLR 2018 1 · Tao Shen, Tianyi Zhou, Guodong Long, Jing Jiang 외

Recurrent neural networks (RNN), convolutional neural networks (CNN) and self-attention networks (SAN) are commonly used to produce context-aware representations. RNN can capture long-range dependency but is hard to para…

VSANet: View-aware Sparse Attention Network for Light Field Image Denoising

2026-06-23 · Gargi Panda, Soumitra Kundu, Saumik Bhattacharya, Aurobinda Routray arxiv

Light field (LF) image denoising is challenging due to the high-dimensional structure of LF data. While noise is independent across sub-aperture images, scene content exhibits strong cross-view correlations. We introduce…

Image Denoising

Locality Does Not Imply Reachability: Boundary Repair in Block-Sparse Causal Attention

2026-06-01 · Zhibo Yang arxiv

Sparse causal attention is usually described by sequence locality: nearby tokens should remain easy to access, while distant tokens may be dropped to reduce cost. This paper studies a mismatch between sequence locality a…

Dynamic Low-Rank Sparse Adaptation for Large Language Models

2025-02-20 · Weizhong Huang, Yuxin Zhang, Xiawu Zheng, Yang Liu 외

Despite the efficacy of network sparsity in alleviating the deployment strain of Large Language Models (LLMs), it endures significant performance degradation. Applying Low-Rank Adaptation (LoRA) to fine-tune the sparse L…

CPUGPU

AsyncTLS: Efficient Generative LLM Inference with Asynchronous Two-level Sparse Attention

2026-04-09 · Yuxuan Hu, Jianchao Tan, Jiaqi Zhang, Wen Zan 외 arxiv

Long-context inference in LLMs faces the dual challenges of quadratic attention complexity and prohibitive KV cache memory. While token-level sparse attention offers superior accuracy, its indexing overhead is costly; bl…