When do stored facts become available in looped transformers?
Fabio Valerio Massoli, Arnau Padrés Masdemont, Jordi Ros Giralt, Arash Behboodi
Abstract
Looped transformers do not acquire new knowledge during a forward pass. Prior work shows that they store as many bits in their weights as non-looped models. It remains unclear how recurrence makes this knowledge available during inference. We study this question using synthetic factual recall and multi-hop reasoning, measuring depth-resolved readable information in bits with native readouts and tuned lenses. Under final-loop supervision, single-hop facts become readable progressively: heavier memorization loads delay retrieval despite comparable final readable information. Untied baselines of equal unrolled depth concentrate retrieval near the end of their stacks, whereas looped models expose facts earlier. This delay is not intrinsic to the tested recall tasks: training with supervision and depth-specific readouts at every loop makes near-final information readable after the first loop in all tested configurations. Representational analysis shows value-related structure emerging within states organized by the query key. We then study multi-hop chains whose facts are stored in the weights rather than given in the prompt. Intermediate entities become decodable in chain order, and aligned transitions show next-entity structure developing while current-entity structure remains dominant. Interventions in a released six-recurrence model establish a causal role for these representations. Counterfactual replacements of a probe-defined entity component at a single prompt position redirect downstream bridge entities and the final answer. Conversely, replacements from queries that reach the same entity through different preceding relations, preserving the remaining relation suffix, retain the original answer in over 99.5\% of tested cases. These results distinguish a training-dependent schedule for factual recall from the causal role of retrieved-entity representations in subsequent composition.
Create a lesson
Related papers
Specialized Large Language Models for Markovian Reasoning: Structural Cache Compression, Transition Pretraining, and Dual-Loop Transformers
Shared title terminology · Haibin Tong, Liangliang Xin, Yamei Zhu et al.
STEdgeFormer: MCU and NPU Deployable Transformer Architecture
Shared title terminology · Sudhakar Sah
Human-in-the-Loop Runbook Improvement with Agentic Support Automation
Shared title terminology · Rocker D'Antonio, Harry Xie
Same Facts, Different Decision: Fact-Invariant Manipulation and Provenance-Based Defense in Typed Decision Models
Shared title terminology · Yujie Wang, Haotian Chi, Shunrong Jiang