跳到正文
arXiv (AI + Vision + Imaging)· Fabio Valerio Massoli, Arnau Padr\'es Masdemont, Jordi Ros Giralt, Arash Behboodi·· 1 天前AI 评分20

循环Transformer中存储事实何时可被读取:深度分辨的可读信息研究

When do stored facts become available in looped transformers?

AI 导读

研究用合成事实召回与多跳推理测量循环Transformer各深度的可读信息量,发现最终循环监督下单跳事实逐步可读,记忆负载越重检索越延迟。等展开深度的非权重共享基线将检索集中在网络末端,循环模型则更早暴露事实;若在每个循环都加监督与深度专属读出,首个循环后即可读取接近末端的信息。

正文 · 原文

arXiv:2611.28808v1 Announce Type: new 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.

来源:arXiv (AI + Vision + Imaging) · arxiv.org