[Submitted on 17 Sep 2026 (v1), last revised 24 Nov 2026 (this version, v3)]
Abstract:Can the loop of a looped Transformer serve as a rollout, with one application of the shared block per step of a dynamical system? We started with two existing designs, one that carries only its residual stream and one, CoTFormer, that also caches every earlier state. On Rule 30, a chaotic cellular automaton, both lose the computation shortly after their trained depth. LSTM-UT, which adds an LSTM-style gated cell, does not, and it recalls earlier states better. Taking it apart shows that each ability has a simpler source. For rollouts it is decay: a fixed decay on the plain model’s stream is sufficient. For recall it is an input-dependent gate: at the longest horizon a gated stream with no cell recalls as well as LSTM-UT, and no fixed decay helps. The two do not simply add, since a gated stream with a fixed decay does neither reliably. Storing every earlier state hurts extrapolation, where CoTFormer fits and rolls out further with its cache cut to the most recent repeat; in recall, the stored copy is looked up at the shortest horizon and not at the next. LSTM-UT, whose forget gate makes the decay itself input-dependent, is the only model in the leading group on both. The forget gate was added to the LSTM so that a state carried at weight one could be reset instead of accumulating; we find the same need over depth. In language modelling LSTM-UT is competitive with CoTFormer at lower training cost. Code is available at this https URL
Submission history
From: Aras Kavuncu [view email]
[v1] Thu, 17 Sep 2026 00:17:39 UTC (1,213 KB)
[v2] Mon, 5 Oct 2026 00:13:43 UTC (388 KB)
[v3] Tue, 24 Nov 2026 23:12:51 UTC (413 KB)
