mlsanityData to 14 Oct 2026

TNT: Improving Chunkwise Training for Test-Time Memorization

arXiv 2511.07343 ↗First posted 10 Nov 2025cs.LG cs.AIcited by 8

Not on the map. Why?

Abstract (arXiv)

Recurrent neural networks (RNNs) with deep test-time memorization modules, such as Titans and TTT, represent a promising, linearly-scaling paradigm distinct from Transformers. While these expressive models do not yet match the peak performance of state-of-the-art Transformers, their potential has been largely untapped due to prohibitively slow training and low hardware utilization. Existing parallelization methods force a fundamental conflict governed by the chunksize hyperparameter: large chunks boost speed but degrade performance, necessitating a fixed, suboptimal compromise. To solve this challenge, we introduce TNT, a novel training paradigm that decouples training efficiency from inference performance through a two-stage process. Stage one is an efficiency-focused pre-training phase utilizing a hierarchical memory. A global module processes large, hardware-friendly chunks for long-range context, while multiple parallel local modules handle fine-grained details. Crucially, by periodically resetting local memory states, we break sequential dependencies to enable massive context parallelization. Stage two is a brief fine-tuning phase where only the local memory modules are adapted to a smaller, high-resolution chunksize, maximizing accuracy with minimal overhead. Evaluated on Titans and TTT models, TNT achieves a substantial acceleration in training speed-up to 17 times faster than the most accurate baseline configuration - while simultaneously improving model accuracy. This improvement removes a critical scalability barrier, establishing a practical foundation for developing expressive RNNs and facilitating future work to close the performance gap with Transformers.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 44 of its 57 references that are in the map. First posted on arXiv 10 Nov 2025.

Builds on

44 of 57 references.

References · 44

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  5. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  6. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  7. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  8. 2022Simplified State Space Layers for Sequence Modelingcited by 788
  9. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  10. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
  11. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  12. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
32 more
  1. 2020Hopfield Networks is All You Needcited by 475
  2. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  3. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
  4. 2024Titans: Learning to Memorize at Test Timecited by 328
  5. 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 283
  6. 2016Dense Associative Memory for Pattern Recognitioncited by 236
  7. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
  8. 2022Transformer Quality in Linear Timecited by 191
  9. 2024The Illusion of State in State-Space Modelscited by 187
  10. 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
  11. 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
  12. 2022Liquid Structural State-Space Modelscited by 136
  13. 2025Test-Time Training Done Rightcited by 130
  14. 2021Going Beyond Linear Transformers with Recurrent Fast Weight Programmerscited by 89
  15. 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 76
  16. 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 74
  17. 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 66
  18. 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 64
  19. 2024Longhorn: State Space Models are Amortized Online Learnerscited by 59
  20. 2024Recurrent Neural Networks Learn to Store and Generate Sequences using Non-Linear Representationscited by 47
  21. 2023Parallelizing non-linear sequential models over the sequence lengthcited by 45
  22. 2019Metalearned Neural Memorycited by 44
  23. 2025Log-Linear Attentioncited by 40
  24. 2024Towards Scalable and Stable Parallelization of Nonlinear RNNscited by 38
  25. 2021ABC: Attention with Bounded-memory Controlcited by 36
  26. 2021Hierarchical Associative Memorycited by 34
  27. 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attentioncited by 31
  28. 2025Implicit Language Models are RNNs: Balancing Parallelization and Expressivitycited by 22
  29. 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19
  30. 2025Lattice: Learning to Efficiently Compress the Memorycited by 19
  31. 2024On the Resurgence of Recurrent Models for Long Sequences -- Survey and Research Opportunities in the Transformer Eracited by 17
  32. 2016Neural Semantic Encoderscited by 14

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 8.

8 papers.