Work

Session-Persistent Test-Time Training for Language Models: Transfer and Interference of a Carried Fast Weigh

Year: 2026
Type: preprint
Abstract: 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.
Language: English
Open Access status: green
OpenAlex ID: W7241998720
Cites:
Cited by:
Related to: