Physics of Language Models: Part 4.2, Canon Layers at Scale where Synthetic Pretraining Resonates in Reality
Zeyuan Allen-Zhu
cs.CL, cs.AI
2026-11-13
Across 64 from-scratch runs at 1.3-8B, Canon layers cut ~30% of pretraining tokens at equal MMLU and lift plain GLA5 to GDN2's level, yet no model beats chance on two-hop questions.
Architecture papers usually compare designs at academic scale, around 1.3B parameters and 100B tokens. With carefully tuned baselines, the differences there mostly vanish. Equal scores can mean the architectures are equal, or that the experiment cannot tell them apart. The author's earlier Part 4.1 used tiny synthetic pretraining tasks (under 100M parameters) to predict a set of architectural differences. This paper checks those predictions in real, large-scale pretraining.
A second question rides along: linear models (Mamba2, GLA, GDN, whose state does not grow with context length) often match or beat Transformers on standard benchmarks. How far can those scores be trusted?
The study runs 64 from-scratch pretraining jobs: Transformers (Llama) plus Mamba2, GLA and GDN, at 1.3B, 3B and 8B, on 1-2T tokens of Nemotron-CC-HQ. One 8B run costs about 4x10^4 H200 GPU-hours, roughly $100k.
Controls are heavy:
Canon layers are depthwise causal convolutions with kernel size 4. Each channel sees the current token and the previous three, added as a residual at up to four points per layer. They add 0.07-0.15% parameters. LlamaCanon also applies RoPE to only a quarter of each head's dimensions.
GLA5 and GDN2 replace the full-rank output gate, which can take a third of the recurrent layer's parameters, with a rank-16 gate. The freed parameters go to the rest of the layer. At 8B the gate shrinks from 1.07B to 6.55M parameters.
| Setting (8B/1T) | lm-eval (13-task avg) | MMLU |
| Llama | 66.9 | 60.6 |
| LlamaCanon | 67.7 | 62.4 |
| GLA5 + Canon | 68.0 | 63.0 |
| GDN2 + Canon | 68.2 | 64.0 |
| Mamba2 + Canon | 67.2 | 61.6 |
For pretraining teams, Canon is a cheap change. It is a short causal convolution that inference engines like vLLM already support, and the authors' fused kernels add only 2.1-3.3% step time for roughly 30% fewer tokens. The number was measured against tuned baselines, which matters: the paper notes that optimizer speedups of 29-50% shrank to at most 9% once baselines were re-tuned.
For architecture research, the message is sobering. On standard benchmarks, much of what GDN's delta rule and Mamba2's selective update add looks like neighbor-token mixing, which a 4-tap convolution supplies.
For anyone choosing linear models, benchmark averages hide a basic retrieval weakness. Hybrids may keep attention layers for exactly this reason.
The practical advice on data: put in-context reasoning examples (retrieval, multi-hop) into pretraining early, not only in mid-training or post-training.
Stated by the author: no repeated seeds, only learning-rate sweeps as a robustness check. Three sizes do not make a scaling law. The 1T versus 2T comparison mixes batch size and learning-rate grids and is only illustrative. The authors do not rule out that longer training (say 10T tokens) or better data would let linear models retrieve reliably. Linear-model weights are not released.
Other gaps: