Stem: Rethinking Causal Information Flow in Sparse Attention

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Niu, Lin, Luo, Xin, Xie, Linchuan, Sun, Yifu, Yu, Guanghua, Zhu, Jianchen, Zhou, S Kevin
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866918375673823232
author Niu, Lin
Luo, Xin
Xie, Linchuan
Sun, Yifu
Yu, Guanghua
Zhu, Jianchen
Zhou, S Kevin
author_facet Niu, Lin
Luo, Xin
Xie, Linchuan
Sun, Yifu
Yu, Guanghua
Zhu, Jianchen
Zhou, S Kevin
contents The quadratic computational complexity of self-attention remains a fundamental bottleneck for scaling Large Language Models (LLMs) to long contexts, particularly during the pre-filling phase. In this paper, we rethink the causal attention mechanism from the perspective of information flow. Due to causal constraints, tokens at initial positions participate in the aggregation of every subsequent token. However, existing sparse methods typically apply a uniform top-k selection across all token positions within a layer, ignoring the cumulative dependency of token information inherent in causal architectures. To address this, we propose Stem, a novel, plug-and-play sparsity module aligned with information flow. First, Stem employs the Token Position-Decay strategy, applying position-dependent top-k within each layer to retain initial tokens for recursive dependencies. Second, to preserve information-rich tokens, Stem utilizes the Output-Aware Metric. It prioritizes high-impact tokens based on approximate output magnitude. Extensive evaluations demonstrate that Stem achieves superior accuracy with reduced computation and pre-filling latency.
format Preprint
id arxiv_https___arxiv_org_abs_2603_06274
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Stem: Rethinking Causal Information Flow in Sparse Attention
Niu, Lin
Luo, Xin
Xie, Linchuan
Sun, Yifu
Yu, Guanghua
Zhu, Jianchen
Zhou, S Kevin
Machine Learning
Artificial Intelligence
The quadratic computational complexity of self-attention remains a fundamental bottleneck for scaling Large Language Models (LLMs) to long contexts, particularly during the pre-filling phase. In this paper, we rethink the causal attention mechanism from the perspective of information flow. Due to causal constraints, tokens at initial positions participate in the aggregation of every subsequent token. However, existing sparse methods typically apply a uniform top-k selection across all token positions within a layer, ignoring the cumulative dependency of token information inherent in causal architectures. To address this, we propose Stem, a novel, plug-and-play sparsity module aligned with information flow. First, Stem employs the Token Position-Decay strategy, applying position-dependent top-k within each layer to retain initial tokens for recursive dependencies. Second, to preserve information-rich tokens, Stem utilizes the Output-Aware Metric. It prioritizes high-impact tokens based on approximate output magnitude. Extensive evaluations demonstrate that Stem achieves superior accuracy with reduced computation and pre-filling latency.
title Stem: Rethinking Causal Information Flow in Sparse Attention
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2603.06274