paper-with-me

Papers

SAS: Simple Attention Sparsification via End-to-End Optimization of Context Ranking

2026-09-11 · Zhiwei Li, Lei Zhu, Hao Gu, Xiang Hu, Yan Wang, Haitao Mi, Sirui Han, Leo Liang, Zhijiang Guo hf

Post-training attention sparsification reduces the quadratic cumulative attention cost of pretrained Transformers by selecting a small set of context units (tokens or blocks) for each query. Existing trainable methods usually use a lightweight selector to score context units, followed by hard Top-K selection that blocks gradients from the language modeling loss. Consequently, these methods commonly distill layer-wise dense attention distributions. Although this encourages the selector to rank context units by dense attention weights in the original model, the ranking is not directly aligned with their impact on predictions under a fixed attention budget (i.e., the number of attended context units per query), potentially wasting the limited budget on less useful units. To address this misalignment, we propose Simple Attention Sparsification (SAS), a gated sparse attention mechanism that optimizes context ranking end-to-end with the language modeling loss. The key idea is to inject the selector's continuous scores into attention logits during training, allowing the loss to update the selector through standard backpropagation. We identify several choices crucial for this simple design to work well in practice: placing the gate inside the attention softmax in log form, using normalized softmax gates to calibrate historical context against the always-retained current block, and preserving continuous selector scores so the model learns relative priorities rather than only hard selections. To support long-sequence training, we implement a memory-efficient Triton kernel that integrates SAS into FlashAttention-style computation. Across reasoning, long-context understanding, and agentic tasks, SAS consistently outperforms trainable sparse attention baselines across attention budgets, with especially large gains under tight budgets, demonstrating more effective context ranking for downstream tasks.

📄 PDF Abstract BibTeX arXiv:2609.13141

Code (0)

등록된 구현이 없습니다.

Tasks

Long-Context Understanding

Similar Papers 제목 키워드 기반

Gradient Sparsification for Communication-Efficient Distributed Optimization

2017-10-26 · NeurIPS 2018 12 · Jianqiao Wangni, Jialei Wang, Ji Liu, Tong Zhang

Modern large scale machine learning applications require stochastic optimization algorithms to be implemented on distributed computational architectures. A key bottleneck is the communication overhead for exchanging info…

BIG-bench Machine LearningDistributed OptimizationregressionStochastic Optimization

Reducing Communication for Split Learning by Randomized Top-k Sparsification

2023-05-29 · Fei Zheng, Chaochao Chen, Lingjuan Lyu, Binhui Yao

Split learning is a simple solution for Vertical Federated Learning (VFL), which has drawn substantial attention in both research and application due to its simplicity and efficiency. However, communication efficiency is…

Federated LearningQuantizationVertical Federated Learning

Characterize and Transfer Attention in Graph Neural Networks

2019-09-25 · Mufei Li, Hao Zhang, Xingjian Shi, Minjie Wang 외

Does attention matter and, if so, when and how? Our study on both inductive and transductive learning suggests that datasets have a strong influence on the effects of attention in graph neural networks. Independent of le…

Transductive Learning

USV: Unified Sparsification for Accelerating Video Diffusion Models

2025-12-05 · Xinjian Wu, Hongmei Wang, Yuan Zhou, Qinglin Lu arxiv

The scalability of high-fidelity video diffusion models (VDMs) is constrained by two key sources of redundancy: the quadratic complexity of global spatio-temporal attention and the computational overhead of long iterativ…

Video Generation

Token Sparse Attention: Efficient Long-Context Inference with Interleaved Token Selection

2026-02-03 · Dongwon Jo, Beomseok Kang, Jiwon Song, Jae-Joon Kim arxiv

The quadratic complexity of attention remains the central bottleneck in long-context inference for large language models. Prior acceleration methods either sparsify the attention map with structured patterns or permanent…