atlas

Research map / Architectures and efficiency / Attention and transformers

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

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Attention head mechanisms · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Uses controlled synthetic pretraining tasks (Depo, Brevo, Capo, Mano, Lano) to compare architectures and introduces Canon layers, lightweight causal conv1d residual mixing across neighboring tokens, which substantially improve Transformers, NoPE, GLA, and Mamba2 on reasoning and knowledge tasks.

Problem

Architectural comparisons at academic pretraining scale (1.3B params, 100B tokens) are dominated by noise, and standard perplexity fails to reveal reasoning differences between architectures.

Approach

Canon layers add learned, position-specific horizontal mixing over a short causal window (kernel size 4, with residual connection) at multiple sublayer positions (A/B/C/D) in any sequence architecture; evaluated via controlled synthetic pretraining tasks that isolate reasoning depth, breadth, knowledge capacity/manipulation, and hierarchical language structure.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add Canon-ABCDLlama(RoPE) · Deporeasoning depth: 2-4×Helped
Add Canon-ABCDLlama(RoPE) · Brevoreasoning breadth: 30%Helped
Add Canon-ABCDLlama(RoPE) · Capoknowledge capacity: 10--15%Helped
Add Canon-ABCDLlama(RoPE) · Manomanipulable length: 30%Helped
Add Canon layersGLA · Deporeasoning depth: from 1-hop to 4-hopHelped
Add Canon layersGLA · Brevoreasoning breadth: doublingHelped
Add Canon layersGLA · Manomanipulable length: more than doublingHelped
Apply Canon only in the first block (ablation)Llama(RoPE) · Deporeasoning depthHurt
Remove residual connections from Canon (ablation)Llama(RoPE) · Transformer ablationstraining stabilityHurt
Add SiLU after Canon (ablation)Llama(RoPE) · Transformer ablationsperformanceNo clear effect
Use Canon-ACD outside the attention mechanism (ablation)GLA · GLA ablationsperformanceHelped
Add the 1+elu(x) feature map (ablation)GLA+Canon · GLA ablationsperformanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: SlimPajama FineWeb-Edu cfg3f bioS(N)

Benchmarks: Depo Brevo Capo Mano Lano Babilong 1-hop-L 2-hop-L

Metrics: accuracy bits per parameter KL divergence

Baselines: Llama(RoPE) Llama(NoPE) GLA Mamba2 GDN ALiBi H-Alibi Primer

Builds on: Gated Linear Attention Mamba2 Gated DeltaNet H3 shift-SSM Primer

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy