Summary
The paper describes Transformer circuits in terms of writers (head outputs) and readers (Q/K/V inputs) joined by a per-token wiring matrix . It argues that a pre-LN Transformer is only node-gated: per token it can switch whole heads on or off, so the wiring has rank (Prop. 2.3). Within that model, emulating arbitrary per-token rewiring needs heads per reader, a cover-free-family number that is at practical sizes (Thm. 2.4).
Strengths
Principled framework that motivates the architecture
Sec. 2, Theorem 2.4, App. A.2–A.3
The writer/reader wiring matrix (Eq. 1), the node-gating view of pre-LN Transformers (Prop. 2.3) and the cover-free lower bound (Thm. 2.4) give a concrete reason to want per-token rewiring, rather than a justification added after the fact. We simulated the operational model of App. A.2 by brute force: realizability agreed with the -cover-free criterion on 700/700 instances. Exact for equals the Sperner value, and the threshold has no counterexamples (check 09).
Weaknesses
Undisclosed QK-norm makes the Pythia-12B comparison not like-for-like
major · Sec. 5.2 Settings and Results; Table 2; Figure 2; jax/configs/loompythia_2p8b.yml; pytorch/loompythia/modeling_loompythia.py
Sec. 5.2 states that, apart from serial sub-layers, LoomPythia and mHC-Pythia 'use the same architecture choices and training hyperparameters as Pythia'. Training hyperparameters do match exactly. However, the released config sets
use_qk_norm: True, and the HF modeling code of both LoomPythia and mHC-Pythia containsq_norm/k_norm(the MaxText run name isPythia2p8BSerialQKNormMHC300B). Pythia has no QK-norm, and 'QK-norm' appears nowhere in the paper (check 05). The models were also trained in bf16 with MaxText rather than fp16 with GPT-NeoX.As a result, the headline claims 'matches (0-shot) or surpasses (5-shot) Pythia-12B', 'Pile ppl 6.02 vs 6.01' and '~4.9× compute' (Fig. 2, check 11) compare against public checkpoints that differ in QK-norm, sub-layer order and training stack, not only in loom attention. The 1.6× gain ratio over mHC-Pythia remains a like-for-like comparison, since both share QK-norm and serial blocks. Even so, part of mHC-Pythia's own +2.5 gain over Pythia, and hence the denominator of the ratio, may come from QK-norm. Fix: disclose QK-norm (and any other deviations). Train a serial QK-norm Transformer baseline at 2.8B/300B in the same pipeline, or at least at a smaller scale, so the gains over Pythia can be attributed. Reword the abstract's Pythia-12B claim accordingly.
XL scaling headline confounded by a different FFN activation
major · Sec. 5.1 Results; App. D.1; Table 6; jax/configs/loomformer_xl_situ.yml
App. D.1 states that LoomFormer-XL replaces SwiGLU in with Kimi K3's SiTU-GLU 'to improve training stability'. Table 6 and Sec. 5.1 describe all baselines as SwiGLU. The XL result highlighted in Sec. 5.1 (, , 1.8× MUDDFormer's 0.068) therefore mixes architecture and activation. A SwiGLU ships in the repo, but no result for it is reported. We could not separate the two effects (check 17, not checkable). The Medium/Large multipliers are unaffected because they interpolate between baseline-only points (check 03). report the SwiGLU LoomFormer-XL run (or its instability), or rerun the baselines with SiTU-GLU, and state the confound in the main text.
Questions for the authors
Was QK-norm used in all scaling-law runs (Transformer++, DHC, mHC, AttnRes, MUDDFormer, LoomFormer), or only at 2.8B? How much of the +3.6/+4.3 gain over Pythia-2.8B remains against a serial QK-norm Transformer trained in your MaxText pipeline?
What is LoomFormer-XL's loss with SwiGLU (the shipped
loomformer_xl.yml)? Did that run diverge? If so, did any baseline at XL show similar instability?What is the seed-to-seed standard deviation of final loss at the Medium scale, and which ablation conclusions in Table 4 survive it?
Which lm-eval-harness version and metric (acc vs acc_norm) were used for LoomPythia/mHC-Pythia? Do the conclusions of Table 2 hold when the public Pythia checkpoints are re-evaluated with the same setup?
How large is the FLAN subset, and how was it sampled? Was any FLAN-style data present in the Pile training mix?
Does freezing ports in layers 17–32 (and only there) remove the 5-shot and FLAN advantage, as the causal claim in Sec. 5.3 implies?
Verification
We ran 17 checks with 16 scripts. 15 were confirmed, 1 found a discrepancy, and 1 was not checkable. Table 2 averages and deltas, Fig. 4 multipliers (from vector-extracted markers), ablation-table consistency, FLOP formulas, throughput ratios, parameter counts, configs, the naive-cost formula, Prop. 3.1 and Thm. 2.4 (within the paper's model) all recompute correctly. The released LoomPythia-2.8B checkpoint, run on CPU, reproduces and a -nat Pile-loss advantage over Pythia-2.8B, and coarsely reproduces the head-on gap. The discrepancy concerns the fidelity of the setup, not a number: LoomPythia and mHC-Pythia use QK-norm, which the paper does not disclose and Pythia lacks. The XL activation confound cannot be resolved without unreleased runs. We could not rerun training (no accelerator, no baseline code or logs). The mHC-Pythia head-on metric and the BoolQ/HellaSwag/RACE Pythia numbers were not checked.
References
63 references checked
- Elhage2021mathematical (Elhage, N., Neel, N., Olsson, C., et al. A mathematical framework for transformer circuits. Transformer Circuits Thread, 2020)
Bibliographic errors: the work was published in 2021 (the entry's own URL is transformer-circuits.pub/2021/...), and the second author is listed as 'Neel, N.' (Neel Nanda). The work exists and does support the virtual-weight / residual-stream concepts it is cited for.
- dyachkov1982bounds (D'yachkov & Rykov, Bounds on the length of disjunctive codes, Probl. Peredachi Inf. 18(3), 1982)
Not indexed in Crossref/arXiv, so existence could not be confirmed automatically. It is cited both for the Omega(t^2 log w / log t) lower bound and for 'Bassalygo's bound' N(w,t) >= min{C(t+2,2), w}; whether this 1982 paper states the Bassalygo bound (often attributed to an unpublished result reported in later surveys) could not be verified. The bound itself held in all brute-force cases (check 09).
- xiao2024improving (Xiao et al., Improving transformers with dynamically composable multi-head attention, 2024)
Entry gives no venue (arXiv 2405.08553; published at ICML 2024). It is used as the source of the FLOP-counting convention in App E.
- ye2024differential (Ye et al., Differential transformer, 2024)
Entry gives no venue or arXiv ID (arXiv 2410.05258 resolves correctly).
- mak2025residual (Mak & Flanigan, Residual Matrix Transformers, ICML 2025)
Exists (arXiv 2506.22696). It is the closest prior architecture (a matrix residual stream), but it is discussed only in the appendix related work and is absent from the main-text design-space comparison (Table 1) and from the experimental baselines.
Suggestions
State explicitly in Sec. 5.2 that LoomPythia and mHC-Pythia use QK-norm, bf16 and MaxText. Add a serial QK-norm Transformer baseline trained in the same pipeline, at 2.8B if possible.
Report LoomFormer-XL with SwiGLU, or the baselines with SiTU-GLU, and move the activation change from App. D.1 into Sec. 5.1.
Add seeds (at least for the Medium-scale ablations and Fig. 4 at Medium) and bootstrap confidence intervals for the Table 2 averages.
Re-evaluate the public Pythia checkpoints with the same harness version and settings as LoomPythia. Release the evaluation scripts and the FLAN subset.
Document
read_key_scale,c_qk/c_vo, the 1.1/0.99 gate rescaling,embed_write_divisorand the actual write-gate initialization in App. D.1.Add RMT (static matrix residual stream) to Table 1, and compare it with the static read+write ablation.
Report compute multipliers adjusted for measured throughput alongside the FLOP-based ones.
Fix the '3.3×' → '3.2×' ratio, the mHC gain (2.51), the Elhage et al. year and author, and pin a working transformers version in requirements.txt.
Scope of this review
We could not re-run any training (no accelerator; TPU v5p/A800 throughput not re-measured). Baseline code, configs, training logs and evaluation scripts are not released for Transformer++, DHC, mHC, AttnRes or MUDDFormer, so Fig. 4 and Table 4/9 were checked only for internal consistency against values extracted from the figures. Downstream accuracies of LoomPythia/mHC-Pythia were not re-evaluated (CPU only). The Pile-loss check used 64 documents × 1024 tokens rather than the full validation set. The head-on metric was reproduced on a small sample, without mHC-Pythia. The Pythia rows were compared only for the six tasks present in EleutherAI's published files.