TL;DR
In-Place Test-Time Training (In-Place TTT) enables large language models to adapt dynamically during inference by updating their final projection matrices with a tailored objective, improving performance on long-context tasks.
Contribution
The paper introduces a scalable, in-place TTT framework that adapts LLMs during inference without retraining, using a theoretically grounded objective aligned with language modeling.
Findings
Enables a 4B-parameter model to perform well on 128k context tasks.
Outperforms existing TTT approaches when trained from scratch.
Provides insights through ablation studies on design choices.
Abstract
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.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
