Reproduce “Learning to (Learn at Test Time)” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yu Sun, Xinhao Li, Karan Dalal, Chloe Hsu, Sanmi Koyejo, Carlos Guestrin, Xiaolong Wang, Tatsunori Hashimoto and 1 more
This research proposes Meta-Test-Time Training (MTTT), a framework that learns a self-supervised task to adapt models on individual test instances, demonstrating that widely used attention mechanisms can be reinterpreted as specific forms of this explicit per-instance learning. An inner-loop neural network learner, particularly with stochastic gradient descent, shows improved performance and enables processing of high-dimensional inputs where standard self-attention is computationally prohibitive.
Key insights
- Linear attention and self-attention can be reinterpreted as specific instantiations of an explicit inner-loop learning process within the Meta-Test-Time Training (MTTT) framework.
- A more expressive inner-loop learner, such as a Multi-Layer Perceptron (MLP), yields performance improvements over linear or kernel-based inner loops (which correspond to existing attention mechanisms).
- Applying Stochastic Gradient Descent (SGD) within the inner loop of MTTT-MLP significantly improves performance for high-dimensional inputs without increasing computational FLOPs.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.