Physics of Language Models: Part 4.2, Canon Layers at Scale where Synthetic Pretraining Resonates in Reality
Zeyuan Allen-Zhu
Abstract
Do standard benchmarks see the architectural differences that matter? We study it with 64 from-scratch pretraining runs of Transformers and three linear-model families at 1.3-8B parameters on 1-2T Nemotron-CC tokens, at a cost of roughly 100k USD per 8B run. In academic-scale pretraining (1.3B parameters, 100B tokens), architectural differences can all but disappear when the models are carefully tuned. Instead, at 1-2T tokens they become measurable: Canon layers, which add local token mixing, consistently improve Transformers, saving about 30% of pretraining tokens for the same MMLU accuracy at 8B. We also introduce GLA5 and GDN2, which improve gated linear attention and Gated DeltaNet with low-rank output gates. Surprisingly, with Canon, the simplest linear model, gated linear attention, matches Gated DeltaNet and outperforms Mamba2 even at 8B/1T. Therefore, the extra machinery of Gated DeltaNet and Mamba2 may do little more than mix neighboring tokens. Even at 8B/1T, however, high scores on standard benchmarks can hide weaknesses in basic in-context skills. In particular, linear models that match or beat Transformers on these benchmarks cannot, in fact, reliably retrieve information from a short 500-token context. Moreover, no model, Transformer or linear, reliably beats random guessing on arguably the simplest two-hop question, stated in a few short sentences, even at this scale. These findings challenge traditional architecture research based primarily on standard benchmark scores. In contrast, small synthetic playgrounds, which predicted the architectural differences above at <100M parameters, can reveal what these benchmarks miss. For practitioners, one lesson is to include in-context reasoning examples in pretraining data from an early stage, rather than reserve them for later mid-training, let alone post-training.
Create a lesson
Related papers
Alignment without Transfer: Tokenization Impacts Cross-lingual Representations during Multilingual Language Model Pretraining
Shared title terminology · Jonathan von Rad, Pontus Stenetorp, Yao Lu
Partially canonical axes in large language model representations
Shared title terminology · Andrea Gregor de Varda, Ferdinando D'Elia, Greta Tuckute et al.
Non-Expanding Gated Continued Fraction Architecture for Feedforward Layers in Language Models
Shared title terminology · Amit Dhurandhar, Vijil Chenthamarakshan, Karthikeyan Natesan Ramamurthy et al.
Search From the Start: Search-Native Pretraining for Language Models
Shared title terminology · Kaustubh Ponkshe, Gyung Hyun Je, Stefan Taga et al.
Augmenting Pretrained Language Models with N-gram Embeddings through Incremental Training
Shared title terminology · Shaohua Hu, Xusheng Gu, Haofei Yang et al.
Bioformer-RetroMAE: retrieval-oriented pretraining of a compact biomedical language model for literature search
Shared title terminology · Jialu Li, Li Fang