Reproduce “Inside the Loop: A Mechanistic Study of Looped Transformers on Permutation Traversal” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Magnus Sesodia, Juil Sock, Philip Torr, Christian Schroeder de Witt

The authors test whether a transformer that reuses layers learns computation by tracing shuffled directed-cycle paths, where intermediate nodes are known. On 16-node cycles, a 4×8 loop solved all hop lengths in five seeds at learning rate 10⁻³, while untied 32-layer models solved none. Probes and interventions support readable, used intermediate steps; evidence is limited to a synthetic task.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.