Paper Overview
Research Area: NLP Authors: Guhao Feng, Shengjie Luo, Kai Hua Published: 2025-04-08 arXiv: 2504.06263
Introduction
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.
Key Idea
This work introduces 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 "plug-and-play" enhancement of existing LLMs without expensive retraining from scratch.
Method Highlights
- Uses the final projection matrices of MLP blocks as adaptable fast weights, requiring no architectural overhaul.
- Combines a theoretically grounded objective tailored to next-token prediction in autoregressive language modeling.
- Employs an efficient block-wise update mechanism.
- Produces a highly scalable algorithm compatible with context parallelism.
- Paper: https://arxiv.org/abs/2504.06263