Select-TTT: Query-Conditioned Selective Fast Weight Updates for In-Place Test-Time Training
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 32 of its 49 references that are in the map. Submitted 27 Oct 2026.
Builds on
32 of 49 references.
References · 32
- 2017Attention Is All You Needcited by 62,125
- 2020Language Models are Few-Shot Learnerscited by 33,113
- 2023GPT-4 Technical Reportcited by 19,416
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,133
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 5,111
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
- 2020Longformer: The Long-Document Transformercited by 3,606
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,611
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,180
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,130
20 more
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,932
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2019Generating Long Sequences with Sparse Transformerscited by 1,641
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,480
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 915
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 835
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 798
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 701
- 2014Neural Turing Machinescited by 693
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 455
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 447
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 415
- 2024Titans: Learning to Memorize at Test Timecited by 383
- 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 278
- 2016Using Fast Weights to Attend to the Recent Pastcited by 179
- 2024LongCite: Enabling LLMs to Generate Fine-grained Citations in Long-context QAcited by 89
- 2025Lattice: Learning to Efficiently Compress the Memorycited by 23
- 2025Sequential-Parallel Duality in Prefix Scannable Modelscited by 11
- 2025Fast weight programming and linear transformers: from machine learning to neurobiologycited by 9
Built on by
Not cited yet.