Explore the research collection
1 entry · Follow this search
- Paper
Physics of Language Models: Part 4.1, Architecture Design and the Magic of Canon Layers
Zeyuan Allen-Zhu (arXiv 2512.17351, Dec 2025, v2 Jul 2026; license not confirmed from the arXiv record) argues architecture comparisons at academic scale (1.3B params, 100B tokens) are dominated by noise, so he builds CONTROLLED SYNTHETIC PRETRAINING TASKS that isolate core capabilities - and in that playground discovers CANON LAYERS: lightweight components, named after the musical canon, that promote HORIZONTAL information flow across neighboring tokens by computing weighted sums of nearby token representations. As implemented: a 1-d causal convolution with kernel size 4 plus an explicit residual (h'_t = h_t + conv1d([h_t, h_{t-1}, h_{t-2}, h_{t-3}])), a few lines of code via the causal_conv1d kernels, at minimal parameter cost, droppable into Transformers, linear attention, SSMs or any sequence architecture at several insertion points (Canon-A/B/C/D). Twelve key results are reported, including: reasoning DEPTH roughly doubles, with gains in reasoning breadth and knowledge manipulation; Canon lifts weak architectures - NoPE up to RoPE's level, linear attention up to rivaling Mamba2/GDN - validated on the synthetic tasks AND real academic-scale pretraining. The striking detail: even a FIXED, RANDOM-weight version - past-three-token aggregation as pure horizontal residual links - already notably enhances performance, which points at the residual/gradient-path structure itself, not learned filters, as much of the mechanism. Flags, as entered: single-author program-of-research paper; the synthetic-task methodology is the author's own bet (he further claims the playground may PREDICT future architecture behavior as pipelines improve - a strong claim, unproven); abstract-level record at cataloging time for the 12 results. Why it matters here: Canon is the academic mechanism paper behind the SConv line in the staged Marin 535B entry - Marin's short convs (k=4 on keys/attn-out/MLP-out) measured 1.19x compute efficiency at production scale, and the share that brought this paper in carried a second corroboration (Songlin Yang: Inkling's SConv ~19% compute-efficiency gain matches what he observed in their stack). Two independent production sightings plus a mechanism paper make short convs one of the best-evidenced cheap architecture additions in the catalog - and the random-weights result suggests a near-free variant to test first.