HiSA sparsifies RoPE attention in the hidden dimension

Paper / preprint arXiv cs.CL · Reported findings, not independently verified by us.

A new method called Hidden Sparse Attention (HiSA) computes only part of the query-key dot product used in language-model attention. The researchers report that, when training from scratch, it improves performance over the complete calculation while using only about a third of the query-key products. They also report faster decoding and a smaller memory footprint during inference.

Many sparse-attention methods limit which tokens a model attends to. HiSA instead sparsifies the hidden, or feature, dimension: query and key projections remain intact, while a fixed, parameter-free rule uses token positions to select which parts of the dot product to calculate. The approach draws on the structure of rotary position embeddings (RoPE).

The researchers decompose queries and keys into components, some of which can be omitted during attention computation. They say they trained language models from scratch with HiSA and also integrated it into FlashAttention-3 kernels for training and inference. To motivate the method, they show that dense attention learns to suppress the score components that HiSA drops.

The available description does not give model sizes, specific benchmark values, hardware conditions, or quantitative speed gains. The paper provides further detail on the method and its evaluation, and code is available. Source: arXiv

🇬🇧 https://arxiv.org/abs/2611.26363v1

Leave a Comment

The weekly brief: selected developments, projects and videos