# Attend at the Right Resolution: Head-Adaptive Sparse Attention via Query-Key Interaction Structure

DevFeed: [Attend at the Right Resolution: Head-Adaptive Sparse Attention via Query-Key Interaction Structure](<https://devfeed.tech/articles/attend-at-the-right-resolution-head-adaptive-sparse-attention-via-query-key-interaction-structure-124712.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.09700>)

Author: Wajih Hassan Raza, Ahsan Bilal, Yidan Shen, Renjie Hu, Xin Fu, Yu Wen

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Language models](<https://devfeed.tech/topics/language-models.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [attention](<https://devfeed.tech/tags/attention.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [dimension](<https://devfeed.tech/tags/dimension.md>), [feature](<https://devfeed.tech/tags/feature.md>), [framework](<https://devfeed.tech/tags/framework.md>), [interaction](<https://devfeed.tech/tags/interaction.md>), [key](<https://devfeed.tech/tags/key.md>), [language](<https://devfeed.tech/tags/language.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [query](<https://devfeed.tech/tags/query.md>), [sparse-attention](<https://devfeed.tech/tags/sparse-attention.md>), [structure](<https://devfeed.tech/tags/structure.md>)

## AI overview

HASA is a training-free sparse attention method that adapts selection resolution to each pretrained attention head. It uses the head's query-key operator to find an effective feature rank, then merges neighboring token regions when their responses are directionally coherent and keeps heterogeneous regions separate. It computes exact attention on selected regions using the original full-dimensional KV states. The abstract reports capturing 88.1% of dense-attention mass; versus UNIQUE, accuracy gains of up to 3.47 points on RULER and 2.57 on LongBench-Pro, with up to 1.32x faster self-attention. It also reports speedups of up to 14.07x over dense attention.

## Source excerpt

arXiv:2611.09700v1 Announce Type: new Abstract: Attention is a major scalability bottleneck in large language models (LLMs), with its computational cost and key-value (KV) memory traffic becoming increasingly prohibitive as context length grows. Sparse attention addresses this bottleneck by restricting each query to a subset of the context, but its effectiveness hinges on identifying relevant regions both cheaply and reliably. Existing training-free methods primarily rely on runtime relevance estimates, with selection dimensionality and granularity typically governed by fixed heuristics rather than the intrinsic interaction structure of pretrained attention heads. We take a different perspective: the query-key operator of each pretrained head defines a characteristic response structure that determines the resolution needed for sparse selection, both across feature directions and across context tokens. Building on this insight, we propose Head-Adaptive Sparse Attention (HASA), a training-free sparse attention framework that jointly adapts selection resolution along these two dimensions. Along the feature dimension, the singular spectrum of each head's query-key operator determines an effective rank, yielding a compact, head-specific response space. Along the sequence dimension, neighboring regions are progressively merged according to the directional coherence of their token responses in this same space, while heterogeneous regions remain separate. Exact attention is then computed using the original full-dimensional KV states of the selected regions. HASA captures 88.1% of dense-attention mass and, compared with UNIQUE, a strong recent sparse-attention baseline, improves accuracy by up to 3.47 and 2.57 points on RULER and LongBench-Pro, respectively, and accelerates self-attention by up to 1.32x, while achieving up to 14.07x speedup over dense attention.