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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

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

Roshan Yapa, Suchitra Malimbada
Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
preprint

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

Roshan Yapa, Suchitra Malimbada
preprint en

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.

Zenodo (CERN European Organization for Nuclear Research)
University of Peradeniya (LK), Coventry University (GB)
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon