Scaling Parameter and Context in Attention: Native Sparse Attention from Mixture-of-Head

Zizhuo Fu, Runsheng Wang, Meng Li
9/30/2026
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Scaling attention parameters can improve language model quality, but retaining full token histories makes additional heads costly at long contexts. Furthermore, since attention retrieves and combines contextual information, parameter scaling should also support longer contexts. We therefore ask whether attention parameter scaling can directly enable efficient and effective context scaling. We introduce NAMOH, an architecture-native sparse attention mechanism that activates $K$ of $H$ heads per token. Each head retains only its assigned tokens and performs causal attention within this subsequence. Head selection thus jointly determines active parameters and available context without scanning the full history. Under balanced assignments, increasing $H$ at fixed $K$ shortens head histories and reduces per-token key-value (KV) access without increasing total KV storage. We further support head-relative rotary position embeddings to shorten positional spans within routed subsequences, aiming to mitigate position-induced attention noise. Experiments show that NAMOH can outperform fully activated models with the same total parameters, while enabling more efficient long-context inference than smaller dense models with matched active parameter counts. It remains compatible with GQA and existing sparse attention mechanisms. We hope this work offers a new path for scaling attention, with parameter scaling directly enabling context scaling.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fu2026scaling,
  title  = {Scaling Parameter and Context in Attention: Native Sparse Attention from Mixture-of-Head},
  author = {Zizhuo Fu and Runsheng Wang and Meng Li},
  year   = {2026},
  eprint = {2609.38832},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.38832v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.38832.svg)](https://codeofpaper.com/paper/2609.38832)

Discussion