Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 57 of its 70 references that are in the map. First posted on arXiv 29 Sep 2026.
Builds on
57 of 70 references.
References · 57
- 2017Attention Is All You Needcited by 60,361
- 2025Qwen3 Technical Reportcited by 8,820
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
38 more
- 2020GLU Variants Improve Transformercited by 1,804
- 2020Rethinking Attention with Performerscited by 1,601
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2017Crowdsourcing Multiple Choice Science Questionscited by 765
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 694
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2020Hopfield Networks is All You Needcited by 475
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
- 2021Random Feature Attentioncited by 354
- 2024Titans: Learning to Memorize at Test Timecited by 328
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2024xLSTM: Extended Long Short-Term Memorycited by 327
- 2016Dense Associative Memory for Pattern Recognitioncited by 236
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 216
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
- 2022Transformer Quality in Linear Timecited by 191
- 2024Flex Attention: A Programming Model for Generating Optimized Attention Kernelscited by 185
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
- 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
- 2025Test-Time Training Done Rightcited by 130
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 127
- 2019Large Memory Layers with Product Keyscited by 124
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 76
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 75
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 66
- 2025End-to-End Test-Time Training for Long Contextcited by 62
- 2025MoM: Linear Sequence Modeling with Mixture-of-Memoriescited by 47
- 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 47
50 most cited of 57 All 57 (JSON)
Built on by
Not cited yet.