Session-Persistent Test-Time Training for Language Models: Transfer and Interference of a Carried Fast Weigh
Test-time training (TTT) in the context of large language models adapts a set of fast weights during inference, but most existing methods discard them at the document boundary. In this paper we study what happens when the fast weights are carried into the next document, using SlimPajama-6B and English Wikipedia. Building on In-Place TTT in Qwen3-0.6B, we introduce a gated carry, in which the state of previous text is carried through a separate, zero-initialised gated path trained by backpropagation across slice boundaries. Compared with resetting the state, the gated carry lowers perplexity on the continuation of a document by about 1% when the earlier text is no longer in the attention context. Across documents, its effect depends on how related the earlier text is. It raises perplexity after text from another source and, in one of our two tests across documents, later in training also after earlier documents from the same source. Most of the gain is a generic effect of the source, but a related article still outperforms a carry averaged over 200 articles. In the relatedness suite, training across document boundaries removes the harm after text from another source and also this advantage of related text, and on held-out documents it lowers the gain between slices of a document.
Authors
- Roshan Yapa (ORCID: https://orcid.org/0009-0006-2068-1992)
- Suchitra Malimbada (ORCID: https://orcid.org/0009-0004-7741-1315)
Institutions
- University of Peradeniya (LK)
- Coventry University (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24722720
- Primary Topic
- Topic Modeling
- Type
- preprint