In-Place Test-Time Training
Not on the map. Why?
Abstract (arXiv)
The static ``train then deploy" paradigm fundamentally limits Large Language Models (LLMs) from dynamically adapting their weights in response to continuous streams of new information inherent in real-world tasks. Test-Time Training (TTT) offers a compelling alternative by updating a subset of model parameters (fast weights) at inference time, yet its potential in the current LLM ecosystem is hindered by critical barriers including architectural incompatibility, computational inefficiency and misaligned fast weight objectives for language modeling. In this work, we introduce In-Place Test-Time Training (In-Place TTT), a framework that seamlessly endows LLMs with Test-Time Training ability. In-Place TTT treats the final projection matrix of the ubiquitous MLP blocks as its adaptable fast weights, enabling a ``drop-in" enhancement for LLMs without costly retraining from scratch. Furthermore, we replace TTT's generic reconstruction objective with a tailored, theoretically-grounded objective explicitly aligned with the Next-Token-Prediction task governing autoregressive language modeling. This principled objective, combined with an efficient chunk-wise update mechanism, results in a highly scalable algorithm compatible with context parallelism. Extensive experiments validate our framework's effectiveness: as an in-place enhancement, it enables a 4B-parameter model to achieve superior performance on tasks with contexts up to 128k, and when pretrained from scratch, it consistently outperforms competitive TTT-related approaches. Ablation study results further provide deeper insights on our design choices. Collectively, our results establish In-Place TTT as a promising step towards a paradigm of continual learning in LLMs.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 50 of its 61 references that are in the map. First posted on arXiv 7 Apr 2026.
Builds on
50 of 61 references.
References · 50
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2025Qwen3 Technical Reportcited by 8,195
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2020Longformer: The Long-Document Transformercited by 3,362
38 more
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,096
- 2022In-context Learning and Induction Headscited by 930
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2020Aligning AI With Shared Human Valuescited by 706
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
- 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 429
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 286
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 235
- 2016Using Fast Weights to Attend to the Recent Pastcited by 161
- 2025Test-Time Training Done Rightcited by 121
- 2025One-Minute Video Generation with Test-Time Trainingcited by 100
- 2024MEMORYLLM: Towards Self-Updatable Large Language Modelscited by 89
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 63
- 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 60
- 2025Test-Time Learning for Large Language Modelscited by 46
- 2025Lattice: Learning to Efficiently Compress the Memorycited by 18
- 2025Sequential-Parallel Duality in Prefix Scannable Modelscited by 8
- 2025TNT: Improving Chunkwise Training for Test-Time Memorizationcited by 7
- 2025Fast weight programming and linear transformers: from machine learning to neurobiologycited by 6
Built on by
Citing papers per year: 2026: 15.
15 papers.
Sort:
By area:
- 2026Metis: Memory Foundation Modelcited by 5
- 2026When Does Continual Learning Require Learningcited by 4
- 2026Test-Time Training with Next-Token Predictioncited by 2
- 2026Memory for Large Language Modelscited by 2
- 2026AgentStream: How Well Do Self-Evolving LLM Agents Perform Under Streaming Tasks?cited by 2
- 2026Absorber LLM: Harnessing Causal Synchronization for Test-Time Trainingcited by 1
- 2026Query-Conditioned Test-Time Self-Training for Large Language Modelscited by 1
- 2026No Time Like the Present: Agentic Test-Time Training for LLM Agentscited by 1
- 2026Beyond Perplexity: A Behavioral Evaluation Framework for Deployment-Memory Claims in LLM Test-Time Trainingcited by 0
- 2026Self-Guided Test-Time Training for Long-Context LLMscited by 0
- 2026Learning What to Remember: Test-Time Training via Context Distillationcited by 0
- 2026Atria Dawn: The Dawn of Agentic Superintelligencecited by 0
- 2026From a Prompt to Repertoires: Evolving Functional REpertoires Enable LLM Continual Learning8 Oct 2026
- 2026Using Context Is Not Enough: Test-Time Training for Personalized Reward Modeling28 Sep 2026
- 2026GradLev: Token-Parallel Test-Time Training Via Costate Prediction28 Sep 2026
- 2026Atria Dawn: The Dawn of Agentic Superintelligence14 Sep 2026
- 2026Learning What to Remember: Test-Time Training via Context Distillation3 Aug 2026
- 2026AgentStream: How Well Do Self-Evolving LLM Agents Perform Under Streaming Tasks?31 Jul 2026
- 2026Metis: Memory Foundation Model29 Jul 2026
- 2026Memory for Large Language Models28 Jul 2026
- 2026Self-Guided Test-Time Training for Long-Context LLMs10 Jul 2026
- 2026When Does Continual Learning Require Learning8 Jul 2026
- 2026No Time Like the Present: Agentic Test-Time Training for LLM Agents3 Jul 2026
- 2026Beyond Perplexity: A Behavioral Evaluation Framework for Deployment-Memory Claims in LLM Test-Time Training1 Jul 2026
3 more
- 2026When Does Continual Learning Require Learningcited by 4
- 2026When Does Continual Learning Require Learning8 Jul 2026
- 2026Metis: Memory Foundation Modelcited by 5
- 2026Metis: Memory Foundation Model29 Jul 2026
- 2026Test-Time Training with Next-Token Predictioncited by 2
- 2026Memory for Large Language Modelscited by 2
- 2026Absorber LLM: Harnessing Causal Synchronization for Test-Time Trainingcited by 1
- 2026Beyond Perplexity: A Behavioral Evaluation Framework for Deployment-Memory Claims in LLM Test-Time Trainingcited by 0
- 2026Self-Guided Test-Time Training for Long-Context LLMscited by 0
- 2026Learning What to Remember: Test-Time Training via Context Distillationcited by 0
- 2026GradLev: Token-Parallel Test-Time Training Via Costate Predictioncited by 0
- 2026From a Prompt to Repertoires: Evolving Functional REpertoires Enable LLM Continual Learningcited by 0
- 2026From a Prompt to Repertoires: Evolving Functional REpertoires Enable LLM Continual Learning8 Oct 2026
- 2026GradLev: Token-Parallel Test-Time Training Via Costate Prediction28 Sep 2026
- 2026Learning What to Remember: Test-Time Training via Context Distillation3 Aug 2026
- 2026Memory for Large Language Models28 Jul 2026
- 2026Self-Guided Test-Time Training for Long-Context LLMs10 Jul 2026
- 2026Beyond Perplexity: A Behavioral Evaluation Framework for Deployment-Memory Claims in LLM Test-Time Training1 Jul 2026
- 2026Test-Time Training with Next-Token Prediction19 Jun 2026
- 2026Absorber LLM: Harnessing Causal Synchronization for Test-Time Training22 Apr 2026