mlsanityData to 14 Oct 2026

Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling

arXiv 2609.36529 ↗First posted 29 Sep 2026cs.LG cs.CLcited by 0

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

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