Rethinking Expressivity and Efficiency in Test-Time Training
Zeyun Zhong, Joya Chen, Manuel Martin, Frederik Diederichs, Jürgen Gall, Jürgen Beyerer
NeurIPS page · Open on the map
Category: Efficient LLM Inference & Training › Efficient Attention Mechanisms · Type: new method · Keywords: test-time training, expressivity efficiency, chunk-level aggregation, long-context modeling, Needle in a Haystack
Areas: Memory › Model Memory Optimization › Memory-Efficient On-Device Inference; Long Context › Long-context mechanisms › Long-context memory; Model Architectures & Sequence Modeling › Language Model Architectures › Linearized Transformers
Summary
E2-TTT introduces a closed-form state transition that enables fully parallelized chunk-level test-time training while preserving the temporal structure of the update rule, balancing expressivity and efficiency.
Explained to a 5-year-old
Test-time training lets a computer keep learning while it's answering questions. Usually, it can either learn a lot but be slow, or be fast but forget important details. This paper finds a way to learn fast and remember details at the same time. It does this by using a special math formula that groups small learning steps together. This helps the computer work better on long stories and find hidden information quickly.
Explained to a 5-year-old, longer
When we ask a computer a question, it can look at a lot of information at once. Sometimes we want the computer to keep learning while it answers, and that is called test-time training. Learning while answering can make the computer smarter, but it also uses a lot of computer power. Other methods try to make it faster by only learning a little bit at a time, but they forget some important details. The new idea in this paper is to learn fast and still remember the details. It does this by finding a simple rule that tells how small learning steps should be combined. This rule works like a recipe that adds up many tiny changes without losing the order. Because of this, the computer can process long texts quickly, like reading a whole book. It also helps the computer find hidden pieces of information, like a needle in a haystack. The method keeps the computer’s speed high, so it can run on regular computers without needing huge clusters. In experiments, the new approach beats older methods on tasks like answering questions and searching for information. Overall, it makes test-time training more useful for everyday applications.
For a technical reader
The paper addresses the trade-off in Test-Time Training (TTT) between expressive per-token updates and efficient chunk-wise approximations. It derives a closed-form state transition that aggregates momentum and decay coefficients within each chunk, allowing parallel processing while preserving temporal dynamics. This enables fully parallel chunk-level training without the computational overhead of per-token updates, maintaining throughput comparable to existing efficient methods. Experiments on language modeling and retrieval show consistent gains over prior TTT and hybrid attention baselines, especially on long-context benchmarks like Needle in a Haystack. The result is a practical solution that scales to models up to 1.3 B parameters and can be integrated into existing inference pipelines.
Problem
Existing Test-Time Training methods struggle to balance the expressivity of per-token update dynamics with the hardware efficiency of chunk-wise approximations, leading to suboptimal performance and limited scalability.
Method
The approach derives a closed-form state transition that aggregates per-token momentum and decay coefficients within a chunk, enabling fully parallelized chunk-level training while preserving temporal dynamics, and maintains training throughput comparable to efficient chunk-wise methods.
Results
The approach consistently outperforms previous TTT and hybrid attention baselines in language modeling and retrieval, and achieves >90% accuracy on passkey retrieval at 8× the training context length while matching the training throughput of efficient chunk-wise methods.
Contributions
It provides a closed-form aggregation that reconciles expressivity with efficiency, enabling parallel chunk-level training without losing temporal dynamics, and demonstrates superior extrapolation on long-context benchmarks.
Practical relevance
It enables efficient long-context processing on existing hardware, making test-time training more practical for real-world applications requiring large context windows.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction