Metraipolis › archive › dc_322057757b82
When Can Attention Heads Be Statically Defined? — arXiv:2609.34650
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.34650
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T21:54:15.238Z
- SHA-256 of the archived text
717dc82a0ed3962f1ab1e37e7f1789ee7d7f0534a3d2752a817233a4e8b7036b- Stable URL of this page
https://metraipolis.com/documento/dc_322057757b82
How to cite
When Can Attention Heads Be Statically Defined? — arXiv:2609.34650 — arXiv (en), https://arxiv.org/abs/2609.34650 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_322057757b82 (Metraipolis archive dc_322057757b82, sha256 717dc82a0ed3962f1ab1e37e7f1789ee7d7f0534a3d2752a817233a4e8b7036b)
BibTeX
@misc{dc322057757b82,
title = {When Can Attention Heads Be Statically Defined? — arXiv:2609.34650},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.34650},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_322057757b82; sha256 717dc82a0ed3962f1ab1e37e7f1789ee7d7f0534a3d2752a817233a4e8b7036b},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.34650. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Some attention heads learn similar patterns across inputs. Reusing these patterns could reduce training cost by avoiding repeated query-key score computation and softmax. Through controlled pretraining comparisons, we identify Selective Attention Freezing (SAF), which selects heads with low attention-pattern variance and replaces their attention weights with fitted post-softmax means halfway through training. We represent these fixed patterns with absolute-position and relative-distance preferences, reducing storage from quadratic to linear in sequence length. A fused kernel reconstructs the patterns and executes ordinary-attention and replaced heads together. At matched training-token budgets, replacing 25% of attention heads gives 1.056x faster post-replacement optimiser updates at 124M parameters and 4K context, with a 0.77% perplexity increase. At 1B and 8K context, post-replacement updates are 1.068x faster on four GPUs including communication, with a 0.51% perplexity increase. The resulting models also accelerate long-input finetuning and causal prefill. After associative-recall adaptation, the 124M model with 25% replacement generalises to more key-value pairs at a fixed length better than ordinary attention and two pruning controls. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.CL). Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL). Pagina del lavoro: https://arxiv.org/abs/2609.34650 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T21:27:08.825Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).