Metraipolis › archive › dc_d5102645c5fc
Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling — arXiv:2609.36529
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.36529
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T16:57:27.047Z
- SHA-256 of the archived text
68e2e53e64359f4274258f26718693fbe55ce554bc47bc8af0b93a2f0fb255b1- Stable URL of this page
https://metraipolis.com/documento/dc_d5102645c5fc
How to cite
Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling — arXiv:2609.36529 — arXiv (en), https://arxiv.org/abs/2609.36529 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d5102645c5fc (Metraipolis archive dc_d5102645c5fc, sha256 68e2e53e64359f4274258f26718693fbe55ce554bc47bc8af0b93a2f0fb255b1)
BibTeX
@misc{dcd5102645c5fc,
title = {Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling — arXiv:2609.36529},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.36529},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d5102645c5fc; sha256 68e2e53e64359f4274258f26718693fbe55ce554bc47bc8af0b93a2f0fb255b1},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.36529. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Recurrent neural networks (RNNs) compress the historical context into a memory state of fixed size, thus allowing for constant-time inference. The memory state size is a crucial factor in their performance, as exemplified by the strong performance and resurgence of linear attention, which extends the vector-valued hidden states of ordinary RNNs to matrix-valued hidden states. Crucially, linear attention does so in a parameter-efficient way, in particular by using an outer product of the key and value vectors to write to the matrix-valued hidden state. We generalize this construction and propose triadic linear attention, which writes the triadic outer product of a key, a second key, and a value, into a third-order (i.e., 3D) tensor state, and reads from it by contracting both key axes with two queries. An $E$-dimensional second key thus yields an $E$-fold increase in state size while adding only two projections. Triadic linear attention is compatible with data-dependent forgetting, the delta rule, and chunkwise-parallel training. Applied to Gated DeltaNet and scalar-gated linear attention, triadic linear attention substantially improves long-context language modeling and recall, outperforming alternatives that enlarge the state. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-30 in cs.CL). Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL). Pagina del lavoro: https://arxiv.org/abs/2609.36529 — 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-07T16:27:03.402Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-30?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).