Jiaju Wu

PROJECT NOTE

Looped Transformer Mechanisms

Shared Weights, Selected Computations. Jiaju Wu, Yi Hu, and Muhan Zhang, 2026.

Shared Weights, Selected Computations

How Looped Transformers Route What Each Loop Does

Jiaju Wu, Yi Hu, Muhan Zhang · 2026 · arXiv preprint · Submitted to ICLR 2027

Paper · Code and reproduction materials

We study whether successive loops with shared weights perform the same computation. In graph-walk experiments, modifying the state entering a frozen loop selects different transitions. Attention interventions test how these steering effects are routed.

Overview of loop progress, state steering, and attention interventions

The public repository links results to source code, archived evidence, and plotting commands. Its CPU reproduction path recomputes figures and statistics from saved predictions; it does not repeat all model training. The evidence is specific to the studied tasks and models.

Back to Study ↗