ARLoop: attention over depth for looped transformers — review and tests in the recurrent-proof regime

ARLoop: attention over depth for looped transformers — review and tests in the recurrent-proof regime#

Seminar notes for a 45-minute talk at the CCAI Agents seminar on Tuesday 2026-11-17, 14:00. Speaker: Bartosz Naskręcki. Audience: ML/AI researchers.

The talk reviews Yuekun Yao, Yupei Du, Dawei Zhu and Huan Sun, ARLoop: Fully-Open Pre-trained Looped Transformers with Attention Residuals, arXiv:2611.05234 [YDZS26], re-measures its claims on the released checkpoints, and tests the idea in the regime of our own latent programme: recurrent depth for checked proofs.

The result in three lines

  • In a looped transformer the residual stream is the only memory that carries information from one pass to the next, and PreNorm adds every update to it with weight 1. ARLoop replaces this fixed sum by softmax attention over depth (the Attention Residuals of [Kim26]) and finds that, for loops, a sliding window (the embedding and the 3 most recent residual blocks) is enough, as long as the model also has value residuals: a gated token embedding added to the attention values at alternating layers [ZWJ+25] (its App. A.1 and A.3). [paper]

  • Controlled 140M/370M runs: the lowest validation perplexity among six residual designs at every recurrence tried; at 0.6B (180B tokens, R = 3) it beats a matched PreNorm loop on 7 of 8 benchmarks (GSM8K [CKB+21] 40.9 vs 35.7); a 1.2B model (0.5T tokens) beats Huginn-3.5B on all 8. [paper]

  • It does not make loops extrapolate: performance rises up to the trained recurrence and not beyond, even with depth queries trained for the new depths. [paper]

Why this paper for this audience: in latent we retrofitted recurrence onto a pretrained Qwen model and found that extra passes rarely helped checked proofs and that learned stopping collapsed to a single pass (The latent programme in one page). ARLoop claims that the residual design affects how much later passes are used. That is a testable claim, and the released matched pair (ARLoop-0.6B and PreNormLoop-0.6B: same data, same backbone, only the residual path differs) lets us test it.

How to read these notes#

The paper itself, digested on one page, with every claim tagged and the findings register: ARLoop (Yao, Du, Zhu, Sun, arXiv:2611.05234) — a digest. The chapters below follow the five parts of the talk: I the idea, II the paper’s evidence, III the released checkpoints, IV checked proofs, V training more.

minutes

part

chapter

content

0–⁠3:05

I

this page and The latent programme in one page

the question of the talk: what decides whether an extra loop is used?

3:05–⁠7:15

I

Looped transformers and the residual stream

looped transformers; the residual stream is the loop’s only memory

7:15–⁠13:45

I

ARLoop’s mechanism: attention over depth

attention over depth, blocks, the sliding window, one routing query per sublayer, a worked example

13:45–⁠19:25

II

The paper’s evidence

the paper’s Tables 1–3, locality, extrapolation, cost

19:25–⁠28:55

III

E1: the released checkpoints, re-measured

the GSM8K gap of the pair, more loops than trained, where the routing reads

28:55–⁠35:20

IV

E2: the canary with attention over depth, E3: the matched pair, writing checked proofs

E2 and E3: the idea in the checked-proof regime

35:20–⁠37:50

IV

live demo (not in the notes)

one question, both models, several numbers of loops

37:50–⁠45

V

Stage 1: the same tests after more training, The latent programme in one page, Exercises

training more: Stage 1, then the confirmatory proof run (Stage 4) and continued training at depth (Stage 2), both pending until re-checked (Our tests); the research map, what next, questions

Every number on these pages is computed

The computational chapters are notebooks stored without outputs and executed every time the book is built. Hidden assert cells stop the build if a recomputed value ever disagrees with the sentence that states it. The paper’s tables are transcribed once, in the helper module listed in the appendix (Appendix: the helper module), and compared with the paper’s LaTeX at build time whenever the (git-ignored) source is present. Numbers about models are never typed: they are read from the run files under runs/ while the book is built, and a chapter whose files are missing says pending instead of guessing.

Provenance tags, as in the digest: [paper] taken from the paper, not re-checked; [code] read in the released code or configuration (file given); [exp] measured by us and read from the result files under runs/ or an experiment’s result directory; [num] a small computation in these notes.

Seminar page

The talk’s page, with the slides and these notes: https://bnaskrecki.faculty.wmi.amu.edu.pl/loop/ · slides (reveal.js; key S opens the speaker view).