cs.AINov 21, 2026

When do stored facts become available in looped transformers?

Authors: Fabio Valerio Massoli, Arnau Padrés Masdemont, Jordi Ros Giralt, Arash Behboodi

Organizations: Qualcomm AI Research

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.

Figures & tables

Appendix figures & tables15 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Fine-Tuning Dynamics of In-Context Factual Recall in Transformers

    May 26, 2026Ruomin Huang, Eshaan Nichani, Jason D. Lee +1Supervised Fine-TuningTransformer Attention

  2. Learning to Compute Is Not Learning to Retain or Reuse in Looped Transformers

    Oct 14, 2026Peilong Zhou, Hongtao Zhang, Yulong Huang +3Recurrent TransformersNeural Algorithmic Reasoning

  3. Beyond the Training Horizon: Mechanisms and Limits of Length Generalization in Looped Transformers

    Sep 27, 2026Jia Liang, Xi Jin, Liangming PanLength GeneralizationRecurrent Transformers