Physics of Language Models: Part 4.1, Architecture Design and the Magic of Canon Layers
Not on the map. Why?
Abstract (arXiv)
Understanding architectural differences in language models is challenging, especially at academic-scale pretraining (e.g., 1.3B parameters, 100B tokens), where results are often dominated by noise and randomness. To overcome this, we introduce controlled synthetic pretraining tasks that isolate and evaluate core model capabilities. Within this framework, we discover CANON LAYERS: lightweight architectural components -- named after the musical term "canon" -- that promote horizontal information flow across neighboring tokens. Canon layers compute weighted sums of nearby token representations and integrate seamlessly into Transformers, linear attention, state-space models, or any sequence architecture. We present 12 key results. This includes how Canon layers enhance reasoning depth (e.g., by 2×), reasoning breadth, knowledge manipulation, etc. They lift weak architectures like NoPE to match RoPE, and linear attention to rival SOTA linear models like Mamba2/GDN -- validated both through synthetic tasks and real-world academic-scale pretraining. This synthetic playground offers an economical, principled path to isolate core model capabilities often obscured at academic scales. Equipped with infinite high-quality data, it may even PREDICT how future architectures will behave as training pipelines improve -- e.g., through better data curation or RL-based post-training -- unlocking deeper reasoning and hierarchical inference.
Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 68 of its 79 references that are in the map. First posted on arXiv 19 Dec 2025.
Builds on
68 of 79 references.
References · 68
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
38 more
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2023Mistral 7Bcited by 3,065
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
- 2020GLU Variants Improve Transformercited by 1,724
- 2020Rethinking Attention with Performerscited by 1,584
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2022Simplified State Space Layers for Sequence Modelingcited by 776
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
- 2024Phi-4 Technical Reportcited by 675
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2015Towards AI-Complete Question Answering: A Set of Prerequisite Toy Taskscited by 309
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
- 2022Tutel: Adaptive Mixture-of-Experts at Scalecited by 199
50 most cited of 68 All 68 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 31.
32 papers.
Sort:
By area:
- 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Modelscited by 78
- 2026Mamba-3: Improved Sequence Modeling using State Space Principlescited by 76
- 2026Towards Execution-Grounded Automated AI Researchcited by 19
- 2026Memory Caching: RNNs with Growing Memorycited by 12
- 2026Adaptive Depth in Looped Transformers: Diagnosing Learned Halting Gates and Trajectory Readoutscited by 7
- 2025From Shortcut to Induction Head: How Data Diversity Shapes Algorithm Selection in Transformerscited by 6
- 2026Understanding Dynamic Compute Allocation in Recurrent Transformerscited by 6
- 2026Learning from Synthetic Data Improves Multi-hop Reasoningcited by 6
- 2026Convergent Evolution: How Different Language Models Learn Similar Number Representationscited by 5
- 2026The Topological Trouble With Transformerscited by 3
- 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attentioncited by 3
- 2026Chimera: Designing and Chinchilla-Scaling Hybrid Visual Diffusion Transformerscited by 3
20 more
- 2026HyperMLP: An Integrated Perspective for Sequence Modelingcited by 2
- 2026Residual Stream Duality in Modern Transformer Architecturescited by 2
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Taskscited by 2
- 2026ATMA: Long-Context Language Modeling via Polar Attention and Gated-Delta Compression Memorycited by 1
- 2026Smooth Scaling Laws Hide Stepwise Token Learningcited by 1
- 2026The Key to Going Linear: Analysis-Driven Transformer Linearizationcited by 1
- 2026CHASE: Cache-Hole-Adapted Skip Exit for Looped State-Space Language Modelscited by 1
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Taskscited by 1
- 2026Reasoning as State Transition: A Representational Analysis of Reasoning Evolution in Large Language Modelscited by 0
- 2026No Generation without Representation: Efficient Causal Protein Language Models Enable Zero-Shot Fitness Estimationcited by 0
- 2026ByteFlow: Language Modeling through Adaptive Byte Compression without a Tokenizercited by 0
- 2026Efficient Approximation to Analytic and Lp functions by Height-Augmented ReLU Networkscited by 0
- 2026Beyond Similarity: Temporal Operator Attention for Time Series Analysiscited by 0
- 2026Do Language Models Need Sleep? Offline Recurrence for Improved Online Inferencecited by 0
- 2026Do Deep Networks Forget Initialization? A Forgetting-Time View of Practical Inductive Biascited by 0
- 2026Dynamic Short Convolutions Improve Transformerscited by 0
- 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attentioncited by 0
- 2026Lasting Effects of Abstract Pretraining Beyond Perplexitycited by 0
- 2026Why Do Conventional World Models Fail to Learn Cellular Automata?cited by 0
- 2026On-the-fly Weight Generation: A Hypernetwork Proof of Concept on ARC-1Dcited by 0
- 2026On-the-fly Weight Generation: A Hypernetwork Proof of Concept on ARC-1D30 Sep 2026
- 2026Why Do Conventional World Models Fail to Learn Cellular Automata?30 Sep 2026
- 2026Lasting Effects of Abstract Pretraining Beyond Perplexity30 Sep 2026
- 2026Chimera: Designing and Chinchilla-Scaling Hybrid Visual Diffusion Transformers30 Jul 2026
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Tasks20 Jul 2026
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Tasks13 Jul 2026
- 2026CHASE: Cache-Hole-Adapted Skip Exit for Looped State-Space Language Models11 Jul 2026
- 2026Adaptive Depth in Looped Transformers: Diagnosing Learned Halting Gates and Trajectory Readouts8 Jul 2026
- 2026The Key to Going Linear: Analysis-Driven Transformer Linearization8 Jul 2026
- 2026Smooth Scaling Laws Hide Stepwise Token Learning29 Jun 2026
- 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attention24 Jun 2026
- 2026ATMA: Long-Context Language Modeling via Polar Attention and Gated-Delta Compression Memory23 Jun 2026
20 more
- 2026Dynamic Short Convolutions Improve Transformers2 Jun 2026
- 2026Do Deep Networks Forget Initialization? A Forgetting-Time View of Practical Inductive Bias27 May 2026
- 2026Do Language Models Need Sleep? Offline Recurrence for Improved Online Inference25 May 2026
- 2026Beyond Similarity: Temporal Operator Attention for Time Series Analysis11 May 2026
- 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attention7 May 2026
- 2026Convergent Evolution: How Different Language Models Learn Similar Number Representations22 Apr 2026
- 2026The Topological Trouble With Transformers18 Apr 2026
- 2026Residual Stream Duality in Modern Transformer Architectures17 Mar 2026
- 2026Mamba-3: Improved Sequence Modeling using State Space Principles16 Mar 2026
- 2026Efficient Approximation to Analytic and Lp functions by Height-Augmented ReLU Networks11 Mar 2026
- 2026ByteFlow: Language Modeling through Adaptive Byte Compression without a Tokenizer3 Mar 2026
- 2026Learning from Synthetic Data Improves Multi-hop Reasoning2 Mar 2026
- 2026Memory Caching: RNNs with Growing Memory27 Feb 2026
- 2026HyperMLP: An Integrated Perspective for Sequence Modeling13 Feb 2026
- 2026Understanding Dynamic Compute Allocation in Recurrent Transformers9 Feb 2026
- 2026No Generation without Representation: Efficient Causal Protein Language Models Enable Zero-Shot Fitness Estimation2 Feb 2026
- 2026Reasoning as State Transition: A Representational Analysis of Reasoning Evolution in Large Language Models31 Jan 2026
- 2026Towards Execution-Grounded Automated AI Research20 Jan 2026
- 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models12 Jan 2026
- 2025From Shortcut to Induction Head: How Data Diversity Shapes Algorithm Selection in Transformers21 Dec 2025
- 2026Mamba-3: Improved Sequence Modeling using State Space Principlescited by 76
- 2026Learning from Synthetic Data Improves Multi-hop Reasoningcited by 6
- 2026CHASE: Cache-Hole-Adapted Skip Exit for Looped State-Space Language Modelscited by 1
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Taskscited by 1
- 2026Reasoning as State Transition: A Representational Analysis of Reasoning Evolution in Large Language Modelscited by 0
- 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Tasks13 Jul 2026
- 2026CHASE: Cache-Hole-Adapted Skip Exit for Looped State-Space Language Models11 Jul 2026
- 2026Mamba-3: Improved Sequence Modeling using State Space Principles16 Mar 2026
- 2026Learning from Synthetic Data Improves Multi-hop Reasoning2 Mar 2026
- 2026Reasoning as State Transition: A Representational Analysis of Reasoning Evolution in Large Language Models31 Jan 2026
- 2026Towards Execution-Grounded Automated AI Researchcited by 19
- 2026Memory Caching: RNNs with Growing Memorycited by 12
- 2026Adaptive Depth in Looped Transformers: Diagnosing Learned Halting Gates and Trajectory Readoutscited by 7
- 2025From Shortcut to Induction Head: How Data Diversity Shapes Algorithm Selection in Transformerscited by 6
- 2026Understanding Dynamic Compute Allocation in Recurrent Transformerscited by 6
- 2026Convergent Evolution: How Different Language Models Learn Similar Number Representationscited by 5
- 2026The Topological Trouble With Transformerscited by 3
- 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attentioncited by 3
- 2026HyperMLP: An Integrated Perspective for Sequence Modelingcited by 2
- 2026Residual Stream Duality in Modern Transformer Architecturescited by 2
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Taskscited by 2
- 2026ATMA: Long-Context Language Modeling via Polar Attention and Gated-Delta Compression Memorycited by 1
12 most cited of 24 All 24 (JSON)
- 2026On-the-fly Weight Generation: A Hypernetwork Proof of Concept on ARC-1D30 Sep 2026
- 2026Lasting Effects of Abstract Pretraining Beyond Perplexity30 Sep 2026
- 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Tasks20 Jul 2026
- 2026Adaptive Depth in Looped Transformers: Diagnosing Learned Halting Gates and Trajectory Readouts8 Jul 2026
- 2026The Key to Going Linear: Analysis-Driven Transformer Linearization8 Jul 2026
- 2026Smooth Scaling Laws Hide Stepwise Token Learning29 Jun 2026
- 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attention24 Jun 2026
- 2026ATMA: Long-Context Language Modeling via Polar Attention and Gated-Delta Compression Memory23 Jun 2026
- 2026Dynamic Short Convolutions Improve Transformers2 Jun 2026
- 2026Do Deep Networks Forget Initialization? A Forgetting-Time View of Practical Inductive Bias27 May 2026
- 2026Do Language Models Need Sleep? Offline Recurrence for Improved Online Inference25 May 2026
- 2026Beyond Similarity: Temporal Operator Attention for Time Series Analysis11 May 2026
12 newest of 24 All 24 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Hybrid Architectures for Language Models: Systematic Analysis and Design Insights
- 2026What do Language Models Learn and When? The Implicit Curriculum Hypothesis
- 2025Pretraining with hierarchical memories: separating long-tail and common knowledge
- 2024Does Representation Matter? Exploring Intermediate Layers in Large Language Models
- 2025Demystifying the Roles of LLM Layers in Retrieval, Knowledge, and Reasoning
- 2026Unveiling the Reasoning Process of Large Language Models
- 2025Transformers Pretrained on Procedural Data Contain Modular Structures for Algorithmic Reasoning
- 2026A Single-Layer Model Can Do Language Modeling