TNT: Improving Chunkwise Training for Test-Time Memorization
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
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
- 2022Simplified State Space Layers for Sequence Modelingcited by 788
- 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
32 more
- 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
- 2024Titans: Learning to Memorize at Test Timecited by 328
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 283
- 2016Dense Associative Memory for Pattern Recognitioncited by 236
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
- 2022Transformer Quality in Linear Timecited by 191
- 2024The Illusion of State in State-Space Modelscited by 187
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
- 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
- 2022Liquid Structural State-Space Modelscited by 136
- 2025Test-Time Training Done Rightcited by 130
- 2021Going Beyond Linear Transformers with Recurrent Fast Weight Programmerscited by 89
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 76
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 74
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 66
- 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 64
- 2024Longhorn: State Space Models are Amortized Online Learnerscited by 59
- 2024Recurrent Neural Networks Learn to Store and Generate Sequences using Non-Linear Representationscited by 47
- 2023Parallelizing non-linear sequential models over the sequence lengthcited by 45
- 2019Metalearned Neural Memorycited by 44
- 2025Log-Linear Attentioncited by 40
- 2024Towards Scalable and Stable Parallelization of Nonlinear RNNscited by 38
- 2021ABC: Attention with Bounded-memory Controlcited by 36
- 2021Hierarchical Associative Memorycited by 34
- 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attentioncited by 31
- 2025Implicit Language Models are RNNs: Balancing Parallelization and Expressivitycited by 22
- 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19
- 2025Lattice: Learning to Efficiently Compress the Memorycited by 19
- 2024On the Resurgence of Recurrent Models for Long Sequences -- Survey and Research Opportunities in the Transformer Eracited by 17
- 2016Neural Semantic Encoderscited by 14
Built on by
Citing papers per year: 2026: 8.
8 papers.
- 2026In-Place Test-Time Trainingcited by 20
- 2026RoboTTT: Context Scaling for Robot Policiescited by 19
- 2026Fast-weight Product Key Memorycited by 13
- 2026Mem3R: Streaming 3D Reconstruction with Hybrid Memory via Test-Time Trainingcited by 6
- 2026Modular TTT: Rethinking Test-Time Training as Composable Modulescited by 3
- 2026Tapered Language Modelscited by 2
- 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modelingcited by 1
- 2026DeltaTTT: Layerwise Optimization for Nonlinear Recurrent Memorycited by 0
- 2026DeltaTTT: Layerwise Optimization for Nonlinear Recurrent Memory6 Oct 2026
- 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modeling17 Aug 2026
- 2026Modular TTT: Rethinking Test-Time Training as Composable Modules7 Aug 2026
- 2026RoboTTT: Context Scaling for Robot Policies16 Jul 2026
- 2026Tapered Language Models22 Jun 2026
- 2026Mem3R: Streaming 3D Reconstruction with Hybrid Memory via Test-Time Training8 Apr 2026
- 2026In-Place Test-Time Training7 Apr 2026
- 2026Fast-weight Product Key Memory2 Jan 2026