Lune

NeurIPS2025顶会

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

Zeyuan Allen-Zhu

摘要

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.

  • Following theory community tradition, we defer the full and future editions of this paper to our project page physics.allen-zhu.com and ssrn.com/abstract=5240330.

The full V1.1 paper underwent NeurIPS 2025 review; due to result density, we recommend consulting the full version for readability. Synthetic GatedDeltaNet (GDN) experiments were added in V2.0; results on 1-8B Canon-layer-pretrained models with real-world data appear in the follow-up Part 4.2 [2]; these were not included in the original NeurIPS 2025 submission, and we reserve the right to submit them elsewhere.

We provide a 3-video tutorial on YouTube: Part 4.1a (methodology & synthetic playground design), Part 4.1b (architecture principles from the playground), and Part 4.2 (when the playground reshapes real-life pretraining).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Memory Caching: RNNs with Growing Memory 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Memory Caching: RNNs with Growing Memory 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Memory Caching: RNNs with Growing Memory 引用了 Language Models are Few-Shot Learners
  • PIQA: Reasoning about Physical Commonsense in Natural Language 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Language Models are Few-Shot Learners 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • ATLAS: Learning to Optimally Memorize the Context at Test Time 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • ATLAS: Learning to Optimally Memorize the Context at Test Time 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality 引用了 Language Models are Few-Shot Learners
  • Mamba-3: Improved Sequence Modeling using State Space Principles 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
  • Mamba-3: Improved Sequence Modeling using State Space Principles 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
  • Mamba-3: Improved Sequence Modeling using State Space Principles 引用了 Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. Mamba-3: Improved Sequence Modeling using State Space PrinciplesAakash Sunil Lahoti, Kevin Y. Li, Berlin Chen, Caitlin Wang 等ICLR 2026 · 96 次引用
  2. ATLAS: Learning to Optimally Memorize the Context at Test TimeAli Behrouz, Zeman Li, Praneeth Kacham, Majid Daliri 等ICML 2026 · 57 次引用
  3. Transformers Provably Learn Chain-of-Thought Reasoning with Length GeneralizationYu Huang, Zixin Wen, Aarti Singh, Yuejie Chi 等NeurIPS 2025 · 22 次引用
  4. Towards Execution-Grounded Automated AI ResearchChenglei Si, Zitong Yang, Yejin Choi, Emmanuel J Candes 等ICML 2026 · 12 次引用
  5. Memory Caching: RNNs with Growing MemoryAli Behrouz, Zeman Li, Yuan Deng, Peilin Zhong 等ICML 2026 · 10 次引用

它引用的 Paper24

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用
  3. PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用
  4. CvT: Introducing Convolutions to Vision TransformersHaiping Wu, Bin Xiao, Noel Codella, Mengchen Liu 等ICCV 2021 · 2,397 次引用
  5. Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space DualityTri Dao, Albert GuICML 2024 · 1,407 次引用

相关 Paper

  1. Mechanistic Design and Scaling of Hybrid ArchitecturesMichael Poli, Armin W. Thomas, Eric Nguyen, Pragaash Ponnusamy 等ICML 2024 · 57 次引用
  2. BERTAC: Enhancing Transformer-based Language Models with Adversarially Pretrained Convolutional Neural NetworksJong-Hoon Oh, Ryu Iida, Julien Kloetzer, Kentaro TorisawaACL 2021
  3. On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language ModelsCharlie Zhang, Graham Neubig, Xiang YueICML 2026 · 58 次引用
  4. Mastering Symbolic Operations: Augmenting Language Models with Compiled Neural NetworksYixuan Weng, Minjun Zhu, Fei Xia, Bin Li 等ICLR 2024 · 14 次引用
  5. Distributional Associations vs In-Context Reasoning: A Study of Feed-forward and Attention LayersLei Chen, Joan Bruna, Alberto BiettiICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖