GradLev: Token-Parallel Test-Time Training Via Costate Prediction
Abstract
Test-time training (TTT) allows a model to improve its predictions at inference time by updating weights after every observed token. However, sequential gra- dient writes make parallel training difficult. We observe that, given layer inputs and activation gradients (costates), online gradient descent admits exact parallel scans for both forward evaluation and reverse backpropagation. GradLev lever- ages this duality: a causal auxiliary network predicts costates across all tokens in parallel; associative scans compute the adapted weights and forward activations and propagate gradients backward; and the resulting gradient targets supervise the predictor via a consistency loss. Exact consistency guarantees exact recovery of the sequential online learner. At deployment, the auxiliary predictor is discarded, and the model updates natively via token-by-token forward and backward passes.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- Test-Time Training; Language Modeling
Related papers
Provable Test-Time Scaling for Beam Search in LLM Reasoning
Shared title terminologycs.LGQijia He, Yu Huang, Yuan Cheng et al.
Hermes: Learning Contextual Reasoning Unlocks Test-Time Scaling
Shared title terminologycs.LGXinyu Li, Mononito Goswami, Hao Liu et al.
Predicting End-to-End Fine-Tuning Time for Generative Language Models
Shared title terminologycs.LGBreno Beleza, Felipe Lima, Isis Carvalho et al.
BlockDTW: Efficient, Parallel and Differentiable Time-Series Alignment for Neural Learning Systems
Shared title terminologycs.LGAlberto Zancanaro, Leonardo Badia, Giulia Cisotto
Grokking Is a High-Overlap, High-Capacity Regime of Ordinary Training
Shared title terminologycs.LGMian Wang
Predicting falls and near falls with wearable IMU and ECG in parkinson
Shared title terminologycs.LGMuqing Jian, Wenbo Ding, Xusheng Zhu et al.