Metraipolis › archive › dc_23a73e3a4cfd
Attention Function as an Intrinsic Inductive Bias: How Models' Behavior Diverges in Novel Contexts — arXiv:2609.39188
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.39188
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T13:45:56.176Z
- SHA-256 of the archived text
3204d30f43118c3863d245c97c537fb5ad70c50369ebcf8804204e7e889d2a22- Stable URL of this page
https://metraipolis.com/documento/dc_23a73e3a4cfd
How to cite
Attention Function as an Intrinsic Inductive Bias: How Models' Behavior Diverges in Novel Contexts — arXiv:2609.39188 — arXiv (en), https://arxiv.org/abs/2609.39188 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_23a73e3a4cfd (Metraipolis archive dc_23a73e3a4cfd, sha256 3204d30f43118c3863d245c97c537fb5ad70c50369ebcf8804204e7e889d2a22)
BibTeX
@misc{dc23a73e3a4cfd,
title = {Attention Function as an Intrinsic Inductive Bias: How Models' Behavior Diverges in Novel Contexts — arXiv:2609.39188},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.39188},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_23a73e3a4cfd; sha256 3204d30f43118c3863d245c97c537fb5ad70c50369ebcf8804204e7e889d2a22},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.39188. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Developmental psychology holds that certain priors are given to infants prior to experience rather than induced from data, and that the influence of such priors is suppressed under strong, well-constrained conditions but reasserts itself under weak ones. We ask whether an analogous principle holds for the Transformer: can the activation function given to attention heads serve as an intrinsic inductive bias? We propose Mixture of Function Attention (MoFA), a parameter-free modification to multi-head attention that fixes a ratio of softmax and sigmoid heads before training. Across five ratios, a 124M-parameter GPT-2 model, and five seeds, we find that this given ratio has little effect in-distribution -- differences between ratios are statistically negligible for moderate mixtures and remain small even at the extremes -- but its influence re-emerges sharply under zero-shot distribution shift across 15 out-of-distribution domains. Perplexity gaps between ratios widen by more than an order of magnitude on several domains, and the best-performing ratio tracks a single axis of domain structure, separating short, informal text (softmax-favoring) from technical, long-form text (sigmoid-favoring), that explains 78.3% of the variance in domain response. This reorganization is visible at the head level: sigmoid heads show an accelerating drop in attention entropy as their ratio increases, while softmax heads respond more modestly, yielding a consistent division of labor between the two head types. Our results suggest that activation choice functions as a given prior whose influence is masked in-distribution and re-emerges out-of-distribution. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-10-01 in cs.LG). Categorie arXiv: Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2609.39188 — 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-07T13:18:10.334Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-10-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).