cs.LGOct 27, 2026

Select-TTT: Query-Conditioned Selective Fast Weight Updates for In-Place Test-Time Training

Authors: Yue Wu, Yang Zhang, Weinan Gan, Chongming Gao, Xinsen Guo, Xiaoyuan Li, Fuli Feng

Organizations: University of Science and Technology of China China · National University of Singapore Singapore · Huawei Noah’s Ark Lab China

Abstract

Test-time training (TTT) enables a deployed language model to internalize incoming context on-the-fly into a small set of fast-weight parameters, rather than merely treating it as transient context for attention. In-Place TTT recently made this idea practical for large language models by repurposing the down-projection of standard MLP blocks as fast weights. However, we find that its benefit largely disappears on realistic web long-context question answering. We attribute this to In-Place TTT's uniform write schedule: every chunk is written with equal strength, so irrelevant content dilutes query-relevant information in fast-weight memory. Building on this insight, we propose Select-TTT, a model-agnostic, query-conditioned rule for In-Place TTT that scales each chunk's write strength by its relevance to the user query. This relevance signal requires no supervision and no new parameters: it is read directly from the model's frozen output head, as the probability mass that a chunk's hidden states assign to the query tokens. A temperature-scaled softmax turns these scores into learning-rate multipliers, leaving the chunk-wise, context-parallel computation of In-Place TTT intact. Select-TTT consistently improves long-context question answering on two benchmarks and two backbones. These findings highlight the value of query-conditioned fast weight writes for practical test-time training on long-context question answering, which is also potentially promising for long-horizon agent tasks involving multiple user queries over evolving contexts.

Figures & tables

Appendix figures & tables13 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. EASE-TTT: Evidence-Aligned Selective Test-Time Training for Long-Context Question Answering

    Jun 5, 2026Xiaopeng Yuan, Zebin Wang, Suwen Wang +3Long-Context RetrievalLong-Context QA

  2. Test-Time Training with Next-Token Prediction

    Jun 19, 2026Xuan Ouyang, Zefan Cai, Junjie HuLong-Context Language ModelingNext-Token Prediction

  3. In-Place Test-Time Training

    Apr 7, 2026Guhao Feng, Shengjie Luo, Kai Hua +4Test-Time TrainingContinual Learning for LLMs