mlsanityData to 7 Oct 2026

Physics of Language Models: Part 4.1, Architecture Design and the Magic of Canon Layers

arXiv 2512.17351 ↗First posted 19 Dec 2025cs.CLcited by 32

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2017Proximal Policy Optimization Algorithmscited by 14,441
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  7. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  8. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  9. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  10. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  11. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  12. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
38 more
  1. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  2. 2023Mistral 7Bcited by 3,065
  3. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  4. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  5. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  6. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  7. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  8. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  9. 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,838
  10. 2020GLU Variants Improve Transformercited by 1,724
  11. 2020Rethinking Attention with Performerscited by 1,584
  12. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
  13. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  14. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  15. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  16. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  17. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  18. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  19. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  20. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
  21. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  22. 2022Simplified State Space Layers for Sequence Modelingcited by 776
  23. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  24. 2024Phi-4 Technical Reportcited by 675
  25. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
  26. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  27. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
  28. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  29. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
  30. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
  31. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
  32. 2015Towards AI-Complete Question Answering: A Set of Prerequisite Toy Taskscited by 309
  33. 2024Titans: Learning to Memorize at Test Timecited by 303
  34. 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 264
  35. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232
  36. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
  37. 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
  38. 2022Tutel: Adaptive Mixture-of-Experts at Scalecited by 199

50 most cited of 68 All 68 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 31.

32 papers.

Sort:

By area:

  1. 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Modelscited by 78
  2. 2026Mamba-3: Improved Sequence Modeling using State Space Principlescited by 76
  3. 2026Towards Execution-Grounded Automated AI Researchcited by 19
  4. 2026Memory Caching: RNNs with Growing Memorycited by 12
  5. 2026Adaptive Depth in Looped Transformers: Diagnosing Learned Halting Gates and Trajectory Readoutscited by 7
  6. 2025From Shortcut to Induction Head: How Data Diversity Shapes Algorithm Selection in Transformerscited by 6
  7. 2026Understanding Dynamic Compute Allocation in Recurrent Transformerscited by 6
  8. 2026Learning from Synthetic Data Improves Multi-hop Reasoningcited by 6
  9. 2026Convergent Evolution: How Different Language Models Learn Similar Number Representationscited by 5
  10. 2026The Topological Trouble With Transformerscited by 3
  11. 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attentioncited by 3
  12. 2026Chimera: Designing and Chinchilla-Scaling Hybrid Visual Diffusion Transformerscited by 3
20 more
  1. 2026HyperMLP: An Integrated Perspective for Sequence Modelingcited by 2
  2. 2026Residual Stream Duality in Modern Transformer Architecturescited by 2
  3. 2026Can Transformers Really Do It All? On the Compatibility of Inductive Biases Across Taskscited by 2
  4. 2026ATMA: Long-Context Language Modeling via Polar Attention and Gated-Delta Compression Memorycited by 1
  5. 2026Smooth Scaling Laws Hide Stepwise Token Learningcited by 1
  6. 2026The Key to Going Linear: Analysis-Driven Transformer Linearizationcited by 1
  7. 2026CHASE: Cache-Hole-Adapted Skip Exit for Looped State-Space Language Modelscited by 1
  8. 2026Invariant Learning Dynamics of Transformers in Inductive Reasoning Taskscited by 1
  9. 2026Reasoning as State Transition: A Representational Analysis of Reasoning Evolution in Large Language Modelscited by 0
  10. 2026No Generation without Representation: Efficient Causal Protein Language Models Enable Zero-Shot Fitness Estimationcited by 0
  11. 2026ByteFlow: Language Modeling through Adaptive Byte Compression without a Tokenizercited by 0
  12. 2026Efficient Approximation to Analytic and Lp functions by Height-Augmented ReLU Networkscited by 0
  13. 2026Beyond Similarity: Temporal Operator Attention for Time Series Analysiscited by 0
  14. 2026Do Language Models Need Sleep? Offline Recurrence for Improved Online Inferencecited by 0
  15. 2026Do Deep Networks Forget Initialization? A Forgetting-Time View of Practical Inductive Biascited by 0
  16. 2026Dynamic Short Convolutions Improve Transformerscited by 0
  17. 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attentioncited by 0
  18. 2026Lasting Effects of Abstract Pretraining Beyond Perplexitycited by 0
  19. 2026Why Do Conventional World Models Fail to Learn Cellular Automata?cited by 0
  20. 2026On-the-fly Weight Generation: A Hypernetwork Proof of Concept on ARC-1Dcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Hybrid Architectures for Language Models: Systematic Analysis and Design Insights
  2. 2026What do Language Models Learn and When? The Implicit Curriculum Hypothesis
  3. 2025Pretraining with hierarchical memories: separating long-tail and common knowledge
  4. 2024Does Representation Matter? Exploring Intermediate Layers in Large Language Models
  5. 2025Demystifying the Roles of LLM Layers in Retrieval, Knowledge, and Reasoning
  6. 2026Unveiling the Reasoning Process of Large Language Models
  7. 2025Transformers Pretrained on Procedural Data Contain Modular Structures for Algorithmic Reasoning
  8. 2026A Single-Layer Model Can Do Language Modeling