TileSparse: Arithmetic-Intensity-Aware Sparse Attention for Compute-Bound LLM Decoding

Chao Wang, Pengfei Zuo, Zhangyu Chen, Qihui Zhou, Tsung-Yi Ho, Ming-Chang YangICML 2026

TL;DR

Large Language Models (LLMs) are increasingly struggling with long contexts, and while sparse attention helps, traditional methods are inefficient for modern compute-bound architectures. TileSparse introduces an "arithmetic-intensity-aware" approach that intelligently prunes computations within attention heads, leading to significant speedups and accuracy improvements without sacrificing context.

What Problem Does This Paper Address?

LLMs are being pushed to handle increasingly long contexts, which is crucial for tasks like document analysis and complex reasoning. The attention mechanism, a core component of LLMs, scales quadratically with context length, creating a significant bottleneck. Sparse attention techniques aim to alleviate this by only attending to a subset of relevant tokens, reducing memory access.

However, recent architectural advancements in LLMs, such as Multi-head Latent Attention (MLA) and Multi-Token Prediction (MTP), have dramatically increased the computational intensity of attention. This shifts the bottleneck from memory access (how much data is fetched) to computation (how many operations are performed). Traditional sparse attention methods, designed for memory-bound scenarios, become inefficient because they still compute attention scores for all query heads against retrieved keys, even if many of these computations are redundant. This paper addresses this gap by proposing a sparse attention method specifically designed for these compute-bound LLM architectures.

Methods

TileSparse introduces several key innovations to tackle compute-bound attention:

  • Arithmetic-Intensity-Aware Cost Model: Instead of focusing on memory access (number of tokens fetched), TileSparse prioritizes the computational budget (compute tile size). This new metric better reflects the reality of modern LLM architectures.
  • QK 2D Sparsity: This is the core of TileSparse. It moves beyond traditional K-only sparsity (pruning entire keys) to prune unnecessary Q-head computations for specific keys. This allows the freed-up computational resources to be used for retrieving more semantically important tokens. The paper observes that within MLA, different query heads exhibit varying degrees of sparsity even when attending to the same key. QK 2D Sparsity exploits this by selectively pruning computations at the Q-head level within a group.
  • Tiered QK 2D Sparsity: Recognizing that different tokens have varying importance, this method applies tiered sparsity patterns. Critical tokens receive more computational density (more Q-heads), while less important "ambient" tokens are handled with more aggressive sparsity.
  • AutoTuner: To adapt to the dynamic nature of attention patterns across different layers and contexts, an online AutoTuner is introduced. It selects the most effective sparsity configuration at runtime to maximize accuracy without significant overhead.

Datasets

The paper evaluates TileSparse on the following benchmarks:

  • RULER-16K: A benchmark comprising four representative tasks: Needle In A Haystack (NIAH), Global Statistics (CWE/FWE), and Multi-hop State Tracking (VT).
  • LongBench: A comprehensive benchmark consisting of 21 datasets covering various real-world long-context tasks.

Key Insights and Ideas

  • The "Free Lunch" is Over: The assumption that attention computation is "free" once keys are retrieved is no longer valid for modern LLMs. Increased arithmetic intensity means that computation is now a critical bottleneck.
  • Q-Head Sparsity is Key: In compute-bound MLA architectures, there's significant redundancy in Q-head computations. Pruning these redundant computations is more effective than simply pruning entire keys.
  • Granularity Matters: Moving from group-level pruning to Q-head-level pruning within a group allows for much finer-grained control and better resource allocation, especially in compute-bound scenarios.
  • Dynamic Adaptation is Crucial: Attention patterns vary significantly across layers and contexts. A static sparsity approach is suboptimal; dynamic adaptation, as provided by the AutoTuner, is essential for maintaining high accuracy.

Key Results

  • Accuracy Improvement: Under tight budgets, TileSparse improves accuracy by up to 40% over state-of-the-art dynamic K-only sparse methods (like ArkVale).
  • Efficiency: TileSparse preserves 99% of full-attention accuracy while cutting attention compute by 40.8%.
  • Latency Reduction: TileSparse achieves significant speedups, with end-to-end attention operator speedups of 4.13x on RULER and 3.99x on LongBench compared to Full Attention.
  • Budget Efficiency: TileSparse requires approximately 18.3% less budget on RULER and 40.8% less budget on LongBench to achieve 99% of Full Attention accuracy compared to K-only sparsity.

Limitations and Future Work

  • Hardware Dependence: While TileSparse is designed to be arithmetic-intensity-aware, the optimal configuration and effectiveness can still be influenced by specific hardware characteristics (e.g., ridge point). The paper notes that on newer hardware like B200, the larger SM count can amplify kernel tail effects, suggesting the need for variable-size or work-stealing kernels for future optimization.
  • AutoTuner Overhead: While the AutoTuner's overhead is shown to be negligible in practice, it does introduce a small latency cost when triggered.
  • Future Work: The authors suggest exploring richer hierarchies for tiered sparsity and investigating variable-size or work-stealing kernels for improved performance on newer hardware.

Summary updated

BibTeX
@inproceedings{wang2026tilesparse,
  author = {Chao Wang and Pengfei Zuo and Zhangyu Chen and Qihui Zhou and Tsung-Yi Ho and Ming-Chang Yang},
  title = {{TileSparse: Arithmetic-Intensity-Aware Sparse Attention for Compute-Bound LLM Decoding}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=lK2AzLDJal},
}
Figure