A creative, carefully engineered architecture with exactly causal routing and verified synthetic-task data. However, the released code shows that several headline runs use components and baseline settings the paper does not describe (truncated backprop, recurrent input injection, a MoE baseline with halved experts and different windowed depths, '360M' models that are 82M or 553M). The 'competitive with dense' claim also rests on a single 1B seed.
Soundness
2/4
Presentation
3/4
Contribution
3/4
Confidence
4/5
✓ 9 confirmed✕ 5 discrepancy○ 1 not checkable
Summary
The paper proposes Library of Layers (LoL). A transformer has a full-attention prelude and coda. Between them sits a routed core of depth D. At each core depth, a causal top-1 router picks one block from a shared library of L blocks, separately for each window of tokens. The block's output is mixed into the residual stream as s←s+α(E(s)−. Attention in the core uses strided windows whose offset shifts with depth. The router of window sees only the first token and the means of completed earlier windows, so the model stays autoregressive. The authors argue that varying moves LoL from looped models () through dense () to sparse MoE-like models ().
Dense baselines. At ~1B parameters on math data, LoL is within 2 standard errors of dense full, sliding-window and strided-window baselines at ~90 EF (Table 1).
Looped baselines. At 360M, LoL is slightly better than Huginn-style looped models with the same number of unique core blocks (Fig. 5).
MoE baseline. LoL trails a 3:2 MoE by ~0.05 in loss (Fig. 6).
Routing paths are interpretable. They cluster by language and script. A ridge probe on them separates safe from unsafe text (AUROC 0.92 per window, 0.95 per sequence). On sudoku and mazes, forcing a strategy's mode path makes the model execute that strategy almost every time (Fig. 3).
Strengths
Window-level routing that is exactly causal
Sec. 3.2, Alg. 1 (main.tex:L189-222, L547-577); model/routers.py:35-93
The router for window k sees only the first token, a depth query and the means of completed earlier windows of the same document. This makes token-wise routing compatible with autoregressive decoding, which is a non-trivial design point. We built tiny models from the released code and perturbed one token at a time. Logits before the perturbed position changed by exactly 0.0, while logits at or after it changed by 6–12 (check 03). The router features match a naive reimplementation of Alg. 1 to 1.2×10−7. The strided-window formula and the worked example in Sec. 3.2.1 agree with the code at every depth and setting we tested (check 04).
Complete, auditable code release with consistent compute accounting
Sec. 4.2 (L328-330), Sec. 4.3.2, App. A (L585-589); shells/*.sh, utils/flop_counter.py
Every experiment has an exact shell recipe, so a paper-to-code audit is possible. The repo's own FLOP counter, integrated over the growing schedule, reproduces the stated budgets:
91.17 EF and 20.00B tokens for the tied LoL math run ('~90 EF, ~20B tokens', check 02).
17.30 EF and 10.00B tokens for the MoE comparison (check 06c).
The 1−sqrt growing schedule runs over exactly 75% of steps (check 13). Loss-free load balancing selects argmax(a+b) and weights by the unbiased aρ, as App. A says (check 12).
Carefully constructed and verifiable synthetic tasks
App. Sudoku/Maze, main.tex:L681-843
The sudoku example (36 givens, unique solution) and all five strategy traces replay legally, with 0 invalid steps (check 08). All five maze traces (BFS, DFS, A*, bidirectional BFS, dead-end filling) are reproduced by independent implementations (check 09). The repo's reference tracers regenerate both examples token for token. The dataset sizes (4M puzzles / 20M sequences; 7.2M mazes / 36M sequences) and the ~10B-token budgets are consistent with data/build.py (check 10).
Interventional, not merely correlational, interpretability
Sec. 4.1.3-4.1.4, Fig. 3 (L244-253, L278-322)
Forcing the mode routing path of a strategy and measuring which algorithm the model then executes is a causal test of whether layer order carries algorithmic meaning. This goes beyond the usual correlational routing analyses. The Fig. 3 percentages are exact k/N for the evaluation sizes in the shells: sudoku 199/200 = 99.5%; maze 19995, 20000, 19980, 19958 and 19987 out of 20000 (check 14).
Internally consistent statistics and transparent reporting
Table 1/5, Fig. 5, Fig. 6, Table 3
All 25 standard errors in Tables 1 and 5 equal the binomial SE for the benchmark sizes, and every accuracy is attainable as k/n (check 01). The Huginn comparison uses 3 seeds and shows min/max error bars. The paper openly reports that LoL loses to the MoE baseline (L414) instead of omitting that comparison. The safety probe includes label-shuffle controls and several probe variants (Table 3).
Weaknesses
Headline runs use undisclosed architectural and training components
major · Sec. 3 (L220), Sec. 4 (L240), Sec. 4.2, App. A (L585-597); shells/math.sh, shells/lol_vs_moe.sh
Auditing all 16 LoL runs in shells/*.sh (checks 02, 07, 12) shows that the method in Sec. 3 is not the one trained in several key experiments:
Truncated backprop. The headline 1B tied LoL math run (Table 1) backpropagates through only 4 of 8 routed depths, with first_window_full_backprop. Sec. 4.2 does not say this. The only appendix ablation (final-8 BPTT) covers 8 of 16 depths, a different setting. Together with growing, this is why LoL sees 23–29% more tokens than the vanilla runs at equal FLOPs.
Recurrent input injection. 6 LoL runs (math, MoE comparison, backprop ablation) use diagonal recurrent input injection, which is described nowhere.
FiLM. FiLM is presented as part of 'our LoL models' (L220, L591-597) but is enabled in only 4 of 16 runs.
Layout. The '4 prelude / 16 core / 4 coda' layout (L240) holds for only 9 of 16 runs. The multilingual, safety and ablation runs use 1/22/1 with L=22 or 33.
Load balancing. All 23 loss-free runs also add a sequence-level auxiliary loss (coefficient 1e-4; 0.01 for the Huginn comparison). The bias update is mean-centred, clamped to ±16 and frozen at 96.6% of training. None of this is in App. A.
Why it matters. Readers cannot tell which ingredients the reported performance depends on, and the method cannot be reproduced from the paper alone. Fix: document every component per experiment in a configuration table, and ablate injection and truncated backprop on the 1B math setting.
MoE baseline is configured differently from its description
major · Sec. 4.3.2, main.tex:L408-414, Fig. 6; shells/lol_vs_moe.sh
Sec. 4.3.2 makes two claims about the MoE baseline that the code does not support (check 06):
Expert size. The text says the experts' expansion factor is increased relative to the 360M model (L410). In the code the expert hidden size is 1408 (expansion 1.375), half the dense 2816 and below the repo's own top-2 default of 1536. Active FFN width does match (2×1408 = 2816), and active parameters per token are equal at 308.4M (check 05). The sentence is wrong, but parameter matching holds.
Windowed depths. The text says the MoE uses 'strided attention at the same depths as LoL' (L411). In the code the MoE windows 22 of 24 layers (only layers 0 and 23 use full attention). LoL windows only its 16 core depths and has 8 full-attention layers. The two models therefore differ in a component that strongly affects LM loss.
Effect on the conclusion. The mismatch probably handicaps the MoE, which still wins (2.75 vs 2.8). So the qualitative conclusion that LoL trails MoE survives, and if anything understates the gap. Fix: correct the text, and rerun with the same full-attention layers so the gap is measured cleanly.
'Competitive with dense' rests on one seed, and the 2-SE statement is overstated
major · Sec. 4.2, Table 1 (L332-347), L353, L362; Table 5 (L856-874)
Table 1 compares single-seed 1B models on five benchmarks, using binomial SEs that ignore seed variance. Yet Fig. 5 shows that LoL's final loss is noticeably seed-sensitive.
The 2-SE sentence (L362) is false as worded (check 01):
PIQA vanilla 56.6±1.2 vs LoL 59.7±1.1 differ by 3.1 > 2×1.2.
In Table 5, GSM8K vanilla 29.7 vs strided 25.9 differ by 3.8, which exceeds even 2SE12+SE.
Reported model sizes do not match the trained models
major · Fig. 3 caption (L250-251), Sec. 4.1.1 (L257); shells/sudoku.sh, shells/maze.sh, shells/multilingual.sh
Counting parameters with the released model code (check 05):
Sudoku and maze. These models (n_embd 512, 8 heads, vocab 256) have 82.0M parameters, not the '360M' in the Fig. 3 caption (L251).
Multilingual. This model (L=33, D=22, vocab 100352) has 552.5M total and 449.7M non-embedding parameters. Only its per-token effective count (308.3M) is close to '360M' (L257).
The FineWeb (360.0–361.1M) and math (925–930M) sizes are correct. The synthetic-task results are not invalidated, but anyone scaling or reproducing them would be misled. Fix: report total, non-embedding and effective parameters per experiment.
Safety-probe result is not reproducible from the release and lacks a non-routing baseline
major · Sec. 4.1.2 (L264-276), App. Table 3 (L652-680); evaluation/safety_paper.py
The release does not regenerate the headline safety numbers (check 11):
evaluation/safety_paper.py stores the window AUROC as an archived constant (0.9196…) labelled 'historical … separate from this evaluation'.
No archived result exists for the sequence-level 0.95.
The frozen document partition and the checkpoint are not released.
No code was found for the Table 3 readouts or the 99-permutation control.
There is also no comparison with a probe on bag-of-words features or the model's hidden states. Without one, the result could reflect topic or vocabulary that any representation exposes, rather than anything specific to routing. The labels themselves come from a classifier (L662). Fix: release the partition and the probe code, and add lexical and hidden-state baselines.
Unifying framing is overstated
major · Abstract (L77-78), Sec. 5 (L430)
The abstract says LoL has 'a single hyperparameter' and 'generalizes' dense, looped and MoE models (L77-78, L430). Both claims go too far:
Hyperparameters. The experiments also tune window size W, stride S, depth D, prelude/coda size, the growing schedule, router noise, the auxiliary-loss coefficient, FiLM, injection and backprop depth.
Generalization. With L=D, LoL is not a dense transformer: the core uses strided windowed attention, -scaled residual updates and a learned router. The 1B 'vanilla (strided window)' baseline exists precisely because of this gap.
Strategy-forcing experiment has a weak control
minor · Sec. 4.1.3-4.1.4, Fig. 3; App. L719-735, L812-818
In every sudoku strategy pair, the reasoning traces differ from the first token onward (check 08). The forced path therefore only needs to steer the first few tokens, after which next-token prediction on that syntax may finish the job. This weakens the reading that distinct layer orderings implement distinct algorithms.
There are further caveats:
'Close to 100%' refers to strategy identity only. Sudoku trace legality and rule-faithfulness drop to 98.5% and 96.5% for S2 (check 14).
The maze evaluation reports different metrics from the sudoku one, despite L818.
Fix: switch paths mid-trace, or force path A on a prompt that requests strategy B, and report whether the computation follows the path or the prompt.
Huginn comparison: token claim and baseline parity
minor · Sec. 4.3.1 (L386-400), Fig. 5; shells/lol_vs_huginn.sh
Huginn runs train 9.48/9.68/9.79B tokens, not the stated 10B (L392). They are FLOP-matched at 23.16 EF, which is a fair choice but should be stated (check 07). LoL additionally uses FiLM, an untied router and a sequence-level auxiliary loss with coefficient 0.01 (100× the value in the other LoL runs). The Huginn baseline has none of these. The LoL advantage (~0.01–0.03 nats) is of the same order as the seed spread shown in Fig. 5, so 'competitive' is the right word, not 'better'.
Short windowed receptive field in the 1B core
minor · Sec. 4.2; model/config.py (window_stride)
With W=128, S=64, n=1024 and D=8, windowed attention in the core lets the last token reach back only to position 512 (check 04). This violates the code's own recommendation S (model/config.py). Long-range information then has to pass through the prelude, the coda or the router means. This may affect GSM8K-style tasks and deserves a sentence or an ablation.
Missing limitations and reproducibility statements; small presentation issues
minor · main.tex:L444-445, L518; Fig. 2; App. L776-795
The limitations paragraph is commented out (L444-445). So is the reproducibility statement (L518), although the code is public. Smaller issues:
Fig. 2 numbers tokens from 1 while the text numbers them from 0.
The maze traces depend on an unstated N,E,S,W tie-breaking order; only 3 of 24 orders reproduce them (check 09).
The S5 'backtracking' tracer also uses forward-checking pruning that the strategy table omits (check 08).
The 'strategy description' seen by the router is a fixed six-token string, not natural language.
The prefix mean is computed by a batch-wide float32 cumsum, which makes outputs depend on batch composition at the 10−5 level (check 03).
Bibliography errors and missing related work
minor · Related work (L131-150); refs.bib
The MoEUT entry cites arXiv:2305.13245, which is the GQA paper; MoEUT is 2405.16039. The UniPool description at L147 ('all layers can select any expert') matches only the superseded v1 (check 15). Closely related work is missing: Routing Networks (Rosenbaum et al.), which routes among a shared module library per input; Transformer Layers as Painters, which reorders and skips layers; and Sparse Universal Transformer.
Questions for the authors
How does the 1B tied LoL model perform with full backprop and without diagonal recurrent input injection? Do the Table 1 conclusions depend on these undisclosed components?
Why does vanilla full attention score 40.8 on ARC-E when all other models score 48.5–50.3? Was this run checked for a training or evaluation fault, and what are the WinoGrande results that shells/math.sh evaluates?
Does the LoL-vs-MoE gap change when the MoE uses full attention in the same 8 prelude/coda layers as LoL, rather than in only 2 of 24 layers?
If you force the routing path of strategy A while the prompt requests strategy B, or switch paths mid-trace, which algorithm does the model execute?
How does the safety probe on router probabilities compare with a bag-of-words probe and with a probe on mean-pooled hidden states of the same model?
Were the learning-rate sweeps mentioned at L371 also run for the Huginn and MoE baselines, and did they include the FiLM and auxiliary-loss settings used for LoL?
What fraction of the library is actually used at convergence in the L>D settings, and how stable are the routing paths across seeds for the 1B model?
Verification
We ran 15 scripted checks, all listed below with their scripts. No GPU was available and no checkpoints are released, so the training runs were not repeated. Instead, every experiment's exact Hydra configuration was composed from shells/*.sh, and the released model, router, curriculum and FLOP-counter code was instantiated on CPU or on the meta device.
Confirmed (9 checks):
Exact causality of the router and attention, and agreement of the strided-window formula with the code.
The ~90 EF / ~20B-token and ~17 EF / ~10B-token budgets.
The growing schedule and loss-free load balancing.
The sudoku and maze worked examples and token budgets.
Exact attainability of the Fig. 3 percentages.
Discrepancies (5 checks):
Undisclosed components and layouts in the run configurations.
The MoE baseline's expert size and windowed depths.
Misreported model sizes for the synthetic and multilingual experiments.
An overstated 'within 2 SE' sentence.
A wrong arXiv ID for MoEUT.
Not checkable (1 check): the safety AUROCs, because the probe data, checkpoint and Table 3 code are not released.
None of the discrepancies shows a reported number to be fabricated or miscomputed. They concern how faithfully the paper describes what was run.
9Confirmed
5Discrepancy
1Not checkable
✕Table 1/5 SEs are lm-eval binomial SEs and all models 'remain within 2 standard errors of each other on all benchmarks', the only exception being vanilla on ARC-EDiscrepancySection 4.2, Table 1 (main.tex:L332-347), L362-363; Table 5 (L856-874)
All 25 reported SEs match the binomial SE within 0.05 points, and every percentage is attainable as k/n. But the 'within 2 SE' statement is not true as worded under the per-cell reading: in Table 1, PIQA Vanilla 56.6±1.2 vs LoL 59.7±1.1 differ by 3.1 > 2×1.2 = 2.4 (in LoL's favour). Under the difference-SE reading (2·sqrt(1.2²+1.1²) = 3.26) that pair passes, so Table 1 holds apart from vanilla ARC-E. In Table 5, GSM8K Vanilla 29.7 vs Vanilla (strided) 25.9 (diff 3.8) fails under both readings (> 3.54). PIQA LoL 59.7 vs LoL (untied) 57.1 (diff 2.6 > 2.4) fails under the per-cell reading. Minor: the conclusion of rough parity stands, but the sentence overstates it. Single seed, so seed variance is not covered.
Recomputed SE = sqrt(p(1-p)/(n-1)) with n from plotting/math_eval_table.py; checked attainability of each percentage as k/n; tested all pairwise differences against 2max(SE) and 2sqrt(SE1^2+SE2^2)
✓1B math models trained for ~90 ExaFLOPs, ~20B tokens for the most efficient model; LoL grown with 1-sqrt schedule over 75% of trainingConfirmedSection 4.2, main.tex:L328-330; Fig. 4; shells/math.sh
Totals: LoL (tied) 91.17 EF over 19074 steps = 20.00B tokens (no budget flag, but it lands on the budget); vanilla full 91.17 EF / 15.74B tokens; sliding 91.18 EF / 16.25B; strided 91.17 EF / 15.50B; LoL untied stops at 18161 steps = 19.04B tokens. So '~90 EF' and '~20B tokens' are consistent with the code's FLOP accounting (tolerance 2%). Caveat: the tied LoL fits 20B tokens partly because the code uses truncated backprop (gradient depth capped at 4 of 8 routed depths, with first_window_full_backprop). The FLOP counter discounts this, but Section 4.2 does not mention it. At equal FLOPs, LoL sees 23–29% more tokens than the vanilla baselines.
Composed the exact Hydra configs of all five shells/math.sh runs and integrated the repo's own FLOP counter (utils/flop_counter.training_step_flops ×8 ranks) step by step over the repo's depth schedule (one_minus_sqrt, warmup_frac 0.75), stopping at the flop budget where enabled
✓LoL routing and strided-window attention are causal (first window routed from the first token plus a depth query, later windows from the mean of completed prior windows of the same document), so LoL is a valid autoregressive LMConfirmedSection 3.2, main.tex:L189-222; Algorithm 1 (L547-577); model/routers.py:35-93
With B=1, the logit change before t is exactly 0.0 in all variants, while the change at or after t is 6–12 (logit scale ~7.5). Router features match the naive Alg. 1 to 1.2e-7. Numerical side note: with B=2, perturbing row 0 changes the logits of the independent row 1 by up to 6.8e-5. This is because the prefix mean is computed as a float32 cumsum over all windows of the flattened batch minus the cumsum at the document start (routers.py:59-66). It is rounding noise, not information flow; it is harmless, but it makes outputs depend slightly on batch composition.
Built tiny LoLDynamicWindow models from the released code on CPU in eval mode: plain, with diagonal injection + FiLM, and with a pinned first window of 20; packed documents separated by EOT. Perturbed token t at 10 positions and measured the change in logits before t. Diagnosed float effects with B=1 and cross-row tests. Compared RouterInputEncoder features with a naive reimplementation of Alg. 1. CUDA-only torch._grouped_mm was replaced by an equivalent loop, and compiled flex_attention by the eager version.
✓Strided window definition delta_l=(l-1)S mod W, I_k={i: floor((i+delta_l)/W)=k}; worked example n=8, W=4, S=2 gives depth-1 {0..3},{4..7}, depth-2 {0,1},{2..5},{6,7}, depth-3 back to the first splitConfirmedSection 3.2.1, main.tex:L189-207; Alg. 1; Fig. 2; model/attention_strategies.py:_window_start_mask
The toy example matches the text and the code at all three depths. The paper and the code agree at every depth of every setting tested (0 mismatches). Side observation: with W=128, S=64, n=1024, the core's windowed attention lets the last token reach position 0 only for D ≥ 16. At D=8, as in the 1B math models, it reaches back only to position 512. Cross-window information is still available through the full-attention prelude/coda and the router prefix means. The code's own config comment (model/config.py window_stride) recommends S ≥ (n−W)/(D−1) = 128 for D=8, which this setting does not meet. Fig. 2 numbers tokens from 1 while the text numbers them from 0 (minor).
Enumerated windows from the paper formula and from the released code's _window_start_mask for the toy example and for (n,W,S,D) = (1024,128,64,{8,16,22}), (1024,64,32,16) and (37,5,3,9). Computed how far back the last token can see through windowed attention alone in the core.
✕Model sizes: '360M parameter' LoL models (L240), including the sudoku and maze models (Fig. 3 caption, L250-251) and the multilingual model (L257); 1B math models (L324); Fig. 5 non-embedding parameter axis; MoE vs LoL active parameters matched (L409-410)DiscrepancySection 4, main.tex:L240, L250-251, L257, L324, L409-410; Fig. 3; Fig. 5 (left); shells/*.sh
Consistent with the paper: the FineWeb LoL and vanilla models have 360.0–361.1M parameters. The math models have 925.4M (vanilla) and 929.7M (LoL), reasonably '1B'. Fig. 5 non-embedding counts are Huginn 130.6/156.3/207.7M vs LoL 128.6/154.3/205.8M (L=2/4/8), consistent with the plotted x positions (~130/155/205M). MoE and LoL-MoE have equal active parameters per token, 308.4M each (totals 463.9M vs 498.9M). Inconsistent with the paper: the sudoku and maze models (shells/sudoku.sh, maze.sh: n_embd 512, 8 heads, vocab 256) have 82.0M parameters, not '360M' (Fig. 3 caption). The multilingual model (L=33, D=22, OLMo3 vocab 100352) has 552.5M total and 449.7M non-embedding parameters (308.3M effective per token), so '360M' (L257) describes per-token compute, not its size.
Composed the Hydra config of every train.py line in shells/*.sh. Instantiated each distinct model on the meta device with the released model code and counted total, embedding, non-embedding and per-token effective parameters. Effective parameters count reused blocks once per application and 2 of 3 MoE experts.
✕MoE baseline: 'We increase the MoE experts' intermediate expansion factor relative to our standard 360M model to match active parameters per token'; 'the MoE baseline uses strided attention at the same depths as LoL'; ~17 EF, ~10B tokens for the most efficient modelDiscrepancySection 4.3.2, main.tex:L408-413; shells/lol_vs_moe.sh; model/transformer.py:MoESwiGLU; model/attention_strategies.py:packed_depth
(a) The MoE expert hidden size is 1408, an expansion of 1.375, versus the dense 360M SwiGLU hidden size of 2816 (expansion 2.75). The per-expert expansion factor is therefore halved, not increased. It is also below the repo's own default top-2 expert size of 1536. Active FFN width does match: 2 × 1408 = 2816. Only the reading 'increased relative to a 3-way split (939)' makes the sentence true. (b) The MoE model windows layers 1–22 (22 of 24 layers, with full attention only in layers 0 and 23). LoL windows only its 16 routed positions (layers 4–19, with 4 full-attention prelude and 4 coda layers). So the attention patterns are not 'at the same depths': the MoE baseline has 6 more windowed layers and 6 fewer full-attention layers than LoL. This may handicap the baseline, yet it still wins (2.75 vs 2.8). (c) Both runs end at 17.30 EF. LoL reaches 10.00B tokens and MoE 7.74B, consistent with '~17 EF, ~10B tokens for the most efficient model'.
Composed the shells/lol_vs_moe.sh configs and applied the released code's hidden-size rules. Enumerated strided-window layers via packed_depth for the MoE model and via prelude/core/coda for LoL. Integrated the repo FLOP counter over the growing schedule up to the 1.73e19 budget.
✕Setup as described: 360M LoL models use 4 prelude, 4 coda and routed depth 16 (L240); LoL uses depth-dependent FiLM after each norm (L220, L591-597); Huginn and LoL trained for 10B FineWeb tokens (L392); multilingual 10B tokens (L257)Discrepancymain.tex:L220, L240, L257, L391-392, L591-597; shells/*.sh
Of 16 LoL runs, only 9 use the 4/16/4 layout of L240. The multilingual, safety, load-balancing and router-sharing runs use 1 prelude, 22 routed depths and 1 coda (L=22 or 33). The 1B math runs use 4/8/4, as stated at L325. FiLM, described as part of 'our LoL models' (L591), is enabled in only 4 of 16 runs: the three Huginn-comparison LoL models and the MoE-comparison LoL. Diagonal (Mamba-style) recurrent input injection is used in 6 LoL runs (math, MoE comparison, backprop ablation) and is not described anywhere in the paper. Truncated backprop (backprop_depth 4 or 8 with first_window_full_backprop) is used in the headline math LoL run. Section 4.2 does not mention it; it appears only in the legend of the appendix backprop-depth ablation figure (Fig. app-fig:arch-abl-lol-backprop, 'final-8 BPTT'), which tests 8 of 16 depths, not 4 of 8. Huginn runs train 9.48/9.68/9.79B tokens versus 10.00B for LoL. The runs are matched at 23.16 EF each, a fair choice, but '10B tokens' (L392) does not hold for Huginn. In the Huginn comparison, LoL uses lr 4e-3 with FiLM and an untied router, while Huginn uses 6e-4. The paper does not say whether learning rates were tuned per architecture. The multilingual run trains 10.00B tokens, as stated.
Composed every seed-42 train.py command in shells/*.sh. Tabulated layout, FiLM, recurrent input injection, backprop depth, router tying, growing, lr, steps and tokens (steps × batch × accum × block × 8 ranks), and total FLOPs from the repo's FLOP counter.
✓Sudoku data: puzzles have 30-36 givens with unique solutions, and the five strategy traces in the worked example are legal and reach the solved grid.ConfirmedApp. Sudoku, main.tex:L681-765 (example L739-765); data/reference_tracers.py
Example has 36 givens (within 30-36) and exactly 1 solution; the answer grid is a valid completed sudoku. All 45/45/45/45/145 steps of S1-S5 replay with 0 invalid steps and end at the stated answer. The repo's reference tracers regenerate all five paper sequences token-for-token (441/396/396/615/737 tokens, matching the frozen EXAMPLE in reference_tracers.py), and generate_puzzle(random.Random(1)) reproduces the puzzle. The reasoning sections differ from the first token for every strategy pair, so the requested strategy is identifiable immediately. Minor undisclosed detail: the S5 'backtracking' tracer also applies forward-checking pruning (24 'x' rejections in the example), which the table's 'first empty cell, digits ascending' description omits; the dig step guarantees solvability by naked/hidden/box singles (code), consistent with 'solvable by all strategies'.
Parsed all five example sequences from main.tex; counted givens; counted solutions with an independent backtracking solver; replayed every step with an independent checker (naked single = unique candidate; hidden single/crosshatch = unique spot in the named unit; propagation = forced cell plus listed peers forced; backtracking = first empty cell each step); regenerated each sequence with the repo's reference tracers (data/reference_tracers.py) and generate_puzzle(Random(1)).
✓Maze data: 8x8 perfect mazes; solution paths >=12 cells; DFS traces backtrack at least once; BFS expands >=3 off-path cells; the worked example (start r3c6, goal r8c2) traces for BFS, DFS, A*, bidirectional BFS and dead-end filling are correct.ConfirmedApp. Maze, main.tex:L766-843 (example L820-843); data/maze_reference.py
The example is a perfect maze (63 passages, connected, symmetric walls); start r3c6, goal r8c2; the unique path has 14 cells and equals the answer in all five sequences. The independent implementations reproduce all five paper traces (BFS 33 cells, DFS walk 58, A* 17, bidirectional 28, dead-end filling 50) with N,E,S,W neighbour order; dead-end filling leaves exactly the path unfilled. Filters hold: path 14 >= 12, DFS backtracks (58 > 14), BFS expands 19 off-path cells (>= 3), all traces pairwise distinct; repo rejection() returns None and the repo oracle regenerates every sequence exactly. Minor: the N,E,S,W tie-breaking that makes BFS/DFS/bidirectional traces unique (only 3/24 orders reproduce them) is not stated in the paper, and the router-visible 'strategy description' is a fixed six-cell token string (Table, L776-795) rather than natural language.
Parsed the maze, start/goal, traces and answers of all five example sequences from main.tex; checked wall symmetry, passage count and connectivity; recomputed the unique path; reimplemented all five strategies independently from the paper's one-line descriptions and tried all 24 neighbour orders for tie-breaking; applied the stated filters; compared with the repo oracle (maze_reference.py).
data/build.py builds 4,000,000 puzzles (x5 = 20M sequences) and 7,200,000 mazes (x5 = 36M sequences), matching the paper. Mean sequence length: sudoku 567.5 tokens (per strategy 463.6/415.7/415.7/663.1/879.4) -> ~11.35B content tokens; maze 277.9 tokens -> ~10.01B content tokens. Training consumes 9537 x 1,048,576 = 10.000B (sudoku) and 9800 x 1,048,576 = 10.276B (maze) tokens including padding, i.e. ~0.81 and ~0.95 passes over the train content at the code's stated ~90.6% packing occupancy. Both are consistent with 'approximately 10B'; the sudoku content figure is ~13% above 10B, and the paper's '10B training tokens' for sudoku corresponds to tokens processed (incl. padding), not to the dataset size.
Read build commands in data/build.py; sampled 160 sudoku puzzles and 4000 mazes with the repo's reference generators (reference_tracers.generate_puzzle, maze_reference.generate_maze), built all five sequences each (sudoku +5 tokens for the 6-token router description substituted at packing), and multiplied mean lengths by sequence counts; compared with training steps x 16x4x8x2048 tokens/step.
○Safety probing: a ridge probe on window router probabilities achieves held-out test AUROC 0.92 (sequence-level 0.95), well above shuffled-label controls (0.5014 mean, 0.5231 max over 99 permutations; Table 3).Not checkableSection 4.1.2, main.tex:L264-276; App. L652-680 (Table 3); evaluation/safety_paper.py, evaluation/safety_extract.py, shells/safety_probes.sh
The code matches the description: 726 = 22 depths x 33 experts router-probability features, window 0 excluded, fixed alpha=1 standardized ridge fitted on development only, 25M-token safe + 25M-token unsafe pinned validation corpora (50M total), and 9390 x 26 x 5 x 8 x 1024 = 10.000B training tokens. However, safety_paper.py does not reproduce 0.92 itself: it stores an archived window AUROC 0.9196043828001167 (rounds to 0.92) as 'historical ... separate from this evaluation', and there is no archived sequence-level result for 0.95. The frozen document partition (evaluation/assets/safety_probe_documents.npz) and the checkpoint are not released, and no code for the Table 3 readouts or the 99-permutation control was found. The null simulation shows that mean 0.5014 / max 0.5231 implies an SD of about 0.009, i.e. about 4.4k effective independent documents. With ~312k development windows this is plausible only if windows cluster strongly within documents, so it cannot be judged without the data.
Static audit of the released probe and extraction code; checked whether the inputs (checkpoint, frozen document partition) and code for Table 3 are released; computed the training-token count from the shell; simulated the shuffled-label null AUROC (max over 99 permutations) for different numbers of independent documents.
✓Loss-free load balancing selects rho=argmax_m(a_{k,m}+b_m) while weighting with the unbiased probability alpha=a_{k,rho}, keeping a differentiable path through alpha; update s <- s + alpha(E(s) - s).ConfirmedApp. A, main.tex:L585-589; Sec. 3 L216; Algorithm 1 L571; model/routers.py:6-15; model/lol_window.py:339-349; router.py:785-817
Selection equals argmax(a+b) (bias changed 38/50 synthetic choices; in the tiny model a +3 bias sent 100% of windows to the biased expert), returned weights equal the unbiased softmax probability a[rho] (in (0,1), not straight-through), the residual update is exactly s + alpha(E(s)-s), and the LM loss gives nonzero gradient (1.6) on the router projection. The bias update moves each expert's bias in the same direction as Wang et al.'s b_i += u*sign(mean_load - load_i) (u = 0.001), with two undisclosed additions: the update is mean-centred and clamped to +-16, and updates stop at 96.6% of training; one bias vector is shared across all depths. 23 of the 24 LoL runs use loss_free; the exception is the aux-loss ablation. All 23 also add a sequence-level auxiliary loss, coefficient 1e-4 (0.01 in the nine LoL-vs-Huginn runs). That loss is not mentioned in App. A, though L216 cites DeepSeek-V3 (liu2024deepseek), which uses one.
Unit-tested _biased_topk and _combine_expert_output; built a tiny LoL model in train mode with a strong bias on one expert, hooked the selection to compare indices/weights with argmax(a+b)/a, and backpropagated the LM loss; ran router.finish_aux_step on a synthetic load to compare the bias update with Wang et al.'s sign rule; composed the Hydra config of every LoL run in shells/*.sh to read the load-balancing settings.
✓Growing: depth is increased with a 1-sqrt schedule for 75% of training, following mcleish2025teaching.Confirmedmain.tex:L223-232, L329, L412, L608; model/recurrence_curriculum.py; router.py:277-330; shells/*.sh
Where the paper says growing is used, it is: math (L329) math_lol/math_lol_untied grow from 1 to 8 over growth_steps 14305/19074 = 75.0%. LoL-vs-MoE (L412) lol_moe x3 and the growing ablation grow from 1 to 16 over 7044/9393 = 75.0%. The schedule is start + (target-start)(1-sqrt(1-t/G)), ceiling-quantized. Because of the ceiling, full depth is reached slightly early, at 73.5% (math) and 74.7% (FineWeb) of training. Mean executed depth is 4.89/8 (math) and 8.88/16, and full depth is used for only 26.5%/25.3% of steps. Growing is disabled in the multilingual, safety, sudoku, maze, LoL-vs-Huginn and load-balancing/router-sharing runs, which the paper does not claim otherwise. math_lol additionally truncates backprop to depth 4 (see check 02).
Composed the Hydra config of every LoL/Huginn run in shells/*.sh, read the recurrence curriculum exactly as router.build_runtime does (growth_steps defaults to warmup_frac x max_steps), and evaluated one_minus_sqrt_curriculum_mean at every step to get the growth fraction, the step where full depth is reached and the share of steps at each depth.
Fig. 3 values are exactly as quoted. Every row sums to 100 (e.g. maze S4 99.790 + 0.210), and every value is attainable: sudoku 199/200 = 99.5%; maze 19995, 20000, 19980, 19958, 19987 out of 20000. The appendix 'strategy as requested' bars equal the Fig. 3 diagonal. All sudoku bars are k/200, and rule-faithful <= legal for every strategy. Heatmap rows sum to 98-100 (Fig. 4, 8 rows), 97-100 (Fig. 6, 16 rows), 99-101 (lol_routing_seeds, 144 panel rows) and 97-101 (lol_vs_moe_routing_seeds, 48 rows), consistent with integer rounding; the Fig. 4 L0 row is 44,7,1,0,4,20,0,24. Minor issues: (1) the appendix says the maze evaluations are 'the same as those in the sudoku experiment' (L818), but the maze figure reports different metrics ('trace is a strategy', 'prefix of requested', the latter a mean fraction and not k/20000), not trace legality or rule-faithfulness; (2) 'close to 100%' in Fig. 3 refers only to strategy identity. Trace legality and rule-faithfulness for sudoku are lower, down to 98.5% and 96.5% for S2.
Extracted the printed values from the vector source PDFs (inputs/source/figs) with pymupdf; checked Fig. 3 rows sum to 100 and that values are k/N for the evaluation sizes in shells (--n-puzzles 200 sudoku, 20000 maze); cross-checked against the appendix bar charts; summed every heatmap row in Fig. 4, Fig. 6 and both appendix seed figures (240 rows in total).
✕Bibliography entries exist and are correctly cited, including related-work characterisations of gong2024mixture, csordas2024moeut, huang2026unipool, ternovtsii2026mixture, wang2024auxiliary.DiscrepancyRelated work main.tex:L131-150; refs.bib
All 64 references appear to exist. 47 resolve by title. The other 15 Crossref 'mismatches' (PaLM, Switch, Cormen, GPT-2, RMSNorm, Muon, etc.) are lookup noise for well-known works, not citation errors. One real error: csordas2024moeut cites arXiv:2305.13245, which resolves to 'GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints'; MoEUT is 2405.16039. huang2026unipool: arXiv 2605.06665 v2 is retitled 'UniPool: Learning Expert-to-Layer Ownership from Brief Global Access' and describes brief global access followed by layer-private locking, so the L147 phrase 'all layers can select any expert' fits only the older version. ternovtsii2026mixture (L149, 'route through multiple smaller transformer layers') matches its abstract ('K parallel thin blocks ... top-k block routing'). wang2024auxiliary resolves correctly and is cited appropriately. The gong2024mixture details at L142-143 (pretraining before reuse, averaging attention weights) are not stated in the MoM abstract and were not verified beyond it. Possibly missing related work, absent from the bib: Routing Networks (Rosenbaum et al. 2017, 1711.01239), Transformer Layers as Painters (2407.09298), Sparse Universal Transformer (2310.07096).
Ran tools/check_refs.py on work/references.json (64 refs; log 15_check_refs.log). 15_refs.py compares the cited titles with the arXiv and Crossref resolutions and fetches arXiv abstracts of the load-bearing references.
csordas2024moeut (Csordás et al., MoEUT: Mixture-of-Experts Universal Transformers)
The bib entry gives arXiv:2305.13245, which resolves to a different work: 'GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints'. The correct MoEUT ID is arXiv:2405.16039 (verified via the arXiv API in work/verify/15_refs.log). The paper exists; only the identifier is wrong.
huang2026unipool (Huang et al., UniPool: A Globally Shared Expert Pool for Mixture-of-Experts, arXiv:2605.06665)
arXiv:2605.06665 is now titled 'UniPool: Learning Expert-to-Layer Ownership from Brief Global Access' (v2). Its abstract describes only a brief global-access phase (~3.3% of training), after which each expert is locked to one layer. The related-work sentence at main.tex L147, 'share a global pool of experts so that all layers can select any expert', matches the cited (older) title but not the current version. This is a minor, version-related mischaracterisation.
Related work (main.tex:L131-150), missing entries
Closely related prior work on routing among reusable modules and on reordering layers is not cited: Routing Networks (Rosenbaum et al., arXiv:1711.01239), Transformer Layers as Painters (arXiv:2407.09298), and Sparse Universal Transformer (arXiv:2310.07096).
Suggestions
Add a per-experiment configuration table: prelude/core/coda, L, D, W, S, FiLM, recurrent input injection, backprop depth, router tying, auxiliary-loss coefficients, tokens and FLOPs, and total, non-embedding and effective parameters.
Ablate truncated backprop and diagonal input injection in the 1B math setting, and describe both in Sec. 3 if they are kept.
Rerun the 1B comparison (or at least the 360M dense comparison) with ≥3 seeds and report seed variance alongside the binomial SEs. Rephrase L362 accordingly.
Fix the MoE baseline text (L410-411), or rerun the MoE with full attention at the same 8 prelude/coda layers as LoL.
For safety probing, release the frozen document partition and the probe/permutation code, and add bag-of-words and hidden-state probe baselines.
Strengthen the strategy-forcing experiments with conflicting prompt/path pairs and mid-trace path switches, and report trace legality next to strategy identity in Fig. 3.
Replace 'single hyperparameter' and 'generalizes dense …' with precise statements about which regimes LoL recovers exactly.
Restore the limitations section, and fix the MoEUT arXiv ID, the UniPool description and the Fig. 2 indexing. Cite Routing Networks, Transformer Layers as Painters and Sparse Universal Transformer.
Scope of this review
No training run or benchmark evaluation was repeated: there was no GPU, and no checkpoints are released. So the Table 1/5 accuracies, the Fig. 4–6 loss curves, the Fig. 3 intervention rates and the multilingual PCA were checked only for internal consistency and against the configurations in the released shells, not regenerated. The safety-probe numbers could not be examined because the probe document partition, the checkpoint and the Table 3 code are not released. Statements about what was trained assume the released shells/*.sh correspond to the runs reported in the paper.
22
=
3.54
Unexplained gaps in the results:
The vanilla ARC-E score of 40.8, versus 48.5–50.3 for every other model, is a ~9-point outlier with no explanation. LoL's apparent ARC-E advantage exists only relative to this run.
shells/math.sh also evaluates WinoGrande, which is not reported.
At equal FLOPs, LoL trains on 20.0B tokens versus 15.5–16.3B for the baselines (check 02). This is a legitimate FLOP-matched design, but it should be stated, because it conflates architecture with data exposure.
Fix: use ≥3 seeds at 1B, or at least on the 360M dense comparison. Report WinoGrande, investigate the vanilla ARC-E run, and reword L362.
α
Fix: describe LoL as a family parameterized chiefly by L, and state which regimes it recovers exactly and which only approximately.