Feature emergence via margin maximization: case studies in algebraic tasks
Not on the map. Why?
Abstract (arXiv)
Understanding the internal representations learned by neural networks is a cornerstone challenge in the science of machine learning. While there have been significant recent strides in some cases towards understanding how neural networks implement specific target functions, this paper explores a complementary question -- why do networks arrive at particular computational strategies? Our inquiry focuses on the algebraic learning tasks of modular addition, sparse parities, and finite group operations. Our primary theoretical findings analytically characterize the features learned by stylized neural networks for these algebraic tasks. Notably, our main technique demonstrates how the principle of margin maximization alone can be used to fully specify the features learned by the network. Specifically, we prove that the trained networks utilize Fourier features to perform modular addition and employ features corresponding to irreducible group-theoretic representations to perform compositions in general groups, aligning closely with the empirical observations of Nanda et al. and Chughtai et al. More generally, we hope our techniques can help to foster a deeper understanding of why neural networks adopt specific computational strategies.
Key facts. Cited by 33 papers in the map (data through 14 Oct 2026). Builds on 29 of its 37 references that are in the map. First posted on arXiv 13 Nov 2023.
Builds on
29 of 37 references.
References · 29
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2021Convex optimizationcited by 2,515
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,392
- 2022Toy Models of Superpositioncited by 971
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2017The Implicit Bias of Gradient Descent on Separable Datacited by 655
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 335
- 2019Gradient Descent Maximizes the Margin of Homogeneous Neural Networkscited by 320
- 2020Implicit Bias of Gradient Descent for Wide Two-layer Neural Networks Trained with the Logistic Losscited by 268
- 2018Implicit Bias of Gradient Descent on Linear Convolutional Networkscited by 251
- 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 230
17 more
- 2022Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limitcited by 187
- 2020Directional convergence and alignment in deep learningcited by 178
- 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 156
- 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 146
- 2023A Toy Model of Universality: Reverse Engineering How Networks Learn Group Operationscited by 144
- 2018Regularization Matters: Generalization and Optimization of Neural Nets v.s. their Induced Kernelcited by 131
- 2022On the Implicit Bias in Deep-Learning Algorithmscited by 86
- 2021Gradient Descent on Two-layer Nets: Margin Maximization and Simplicity Biascited by 83
- 2023Grokking modular arithmeticcited by 83
- 2020Learning Parities with Neural Networkscited by 78
- 2022A Theoretical Analysis on Feature Learning in Neural Networks: Emergence from Inputs and Advantage over Fixed Featurescited by 49
- 2022Implicit Bias in Leaky ReLU Networks Trained on High-Dimensional Datacited by 46
- 2022Random Feature Amplification: Feature Learning and Generalization in Neural Networkscited by 35
- 2021On Margin Maximization in Linear and ReLU Networkscited by 34
- 2023Benign Overfitting in Linear Classifiers and Leaky ReLU Networks from KKT Conditions for Margin Maximizationcited by 29
- 2023Simplicity Bias in 1-Hidden Layer Neural Networkscited by 26
- 2023Pareto Frontiers in Neural Feature Learning: Data, Compute, Width, and Luckcited by 13
Built on by
Citing papers per year: 2023: 2; 2024: 9; 2025: 9; 2026: 13.
33 papers.
Sort:
By area:
- 2024Not All Language Model Features Are One-Dimensionally Linearcited by 212
- 2023Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokkingcited by 80
- 2026When Models Manipulate Manifolds: The Geometry of a Counting Taskcited by 46
- 2024Pre-trained Large Language Models Use Fourier Features to Compute Additioncited by 39
- 2024Why Do You Grok? A Theoretical Analysis of Grokking Modular Additioncited by 36
- 2026There Will Be a Scientific Theory of Deep Learningcited by 29
- 2024Emergence in non-neural models: grokking modular arithmetic via average gradient outer productcited by 28
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 26
- 2023Grokking Group Multiplication with Cosetscited by 24
- 2024Progressive distillation induces an implicit curriculumcited by 15
- 2025Provable Scaling Laws of Feature Emergence from Learning Dynamics of Grokkingcited by 15
- 2024Towards Empirical Interpretation of Internal Circuits and Properties in Grokked Transformers on Modular Polynomialscited by 14
21 more
- 2025Alternating Gradient Flows: A Theory of Feature Learning in Two-layer Neural Networkscited by 14
- 2025Let Me Grok for You: Accelerating Grokking via Embedding Transfer from a Weaker Modelcited by 13
- 2024Towards a unified and verified understanding of group-operation networkscited by 10
- 2026Sequential Group Composition: A Window into the Mechanics of Deep Learningcited by 10
- 2026Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retentioncited by 10
- 2024Composing Global Solutions to Reasoning Tasks via Algebraic Objects in Neural Netscited by 6
- 2025In-Context Algebracited by 5
- 2026The Geometric Inductive Bias of Grokking: Bypassing Phase Transitions via Architectural Topologycited by 5
- 2025On the geometry and topology of representations: the manifolds of modular additioncited by 3
- 2025Learning richness modulates equality reasoning in neural networkscited by 2
- 2025The Features at Convergence Theorem: a first-principles alternative to the Neural Feature Ansatz for how networks learn representationscited by 2
- 2025Adam or Gauss-Newton? A Comparative Study In Terms of Basis Alignment and SGD Noisecited by 2
- 2026Gradient Flow Through Diagram Expansions: Learning Regimes and Explicit Solutionscited by 1
- 2026Boule or Baguette? A Study on Task Topology, Length Generalization, and the Benefit of Reasoning Tracescited by 1
- 2026Breaking Data Symmetry is Needed For Generalization in Feature Learning Kernelscited by 1
- 2026Unveiling Memorization-Generalization Coexistence: A Case Study on Arithmetic Tasks with Label Noisecited by 1
- 2024Do Mice Grok? Glimpses of Hidden Progress During Overtraining in Sensory Cortexcited by 0
- 2025Low Rank and Sparse Fourier Structure in Recurrent Networks Trained on Modular Additioncited by 0
- 2026Assign and Add: A Mechanistic Study of Compositional Arithmeticcited by 0
- 2026A Counterexample to Fourier Alignment in Single-Neuron Modular Additioncited by 0
- 2026Symmetry without a manifold: intrinsic dimension on orbitscited by 0
- 2026Symmetry without a manifold: intrinsic dimension on orbits15 Sep 2026
- 2026A Counterexample to Fourier Alignment in Single-Neuron Modular Addition5 Aug 2026
- 2026Assign and Add: A Mechanistic Study of Compositional Arithmetic29 May 2026
- 2026Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retention28 May 2026
- 2026Unveiling Memorization-Generalization Coexistence: A Case Study on Arithmetic Tasks with Label Noise18 May 2026
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behavior6 May 2026
- 2026There Will Be a Scientific Theory of Deep Learning23 Apr 2026
- 2026Breaking Data Symmetry is Needed For Generalization in Feature Learning Kernels31 Mar 2026
- 2026The Geometric Inductive Bias of Grokking: Bypassing Phase Transitions via Architectural Topology5 Mar 2026
- 2026Boule or Baguette? A Study on Task Topology, Length Generalization, and the Benefit of Reasoning Traces16 Feb 2026
- 2026Gradient Flow Through Diagram Expansions: Learning Regimes and Explicit Solutions4 Feb 2026
- 2026Sequential Group Composition: A Window into the Mechanics of Deep Learning3 Feb 2026
21 more
- 2026When Models Manipulate Manifolds: The Geometry of a Counting Task8 Jan 2026
- 2025On the geometry and topology of representations: the manifolds of modular addition31 Dec 2025
- 2025In-Context Algebra18 Dec 2025
- 2025Adam or Gauss-Newton? A Comparative Study In Terms of Basis Alignment and SGD Noise15 Oct 2025
- 2025Provable Scaling Laws of Feature Emergence from Learning Dynamics of Grokking25 Sep 2025
- 2025The Features at Convergence Theorem: a first-principles alternative to the Neural Feature Ansatz for how networks learn representations8 Jul 2025
- 2025Alternating Gradient Flows: A Theory of Feature Learning in Two-layer Neural Networks6 Jun 2025
- 2025Let Me Grok for You: Accelerating Grokking via Embedding Transfer from a Weaker Model17 Apr 2025
- 2025Low Rank and Sparse Fourier Structure in Recurrent Networks Trained on Modular Addition28 Mar 2025
- 2025Learning richness modulates equality reasoning in neural networks12 Mar 2025
- 2024Do Mice Grok? Glimpses of Hidden Progress During Overtraining in Sensory Cortex5 Nov 2024
- 2024Towards a unified and verified understanding of group-operation networks9 Oct 2024
- 2024Progressive distillation induces an implicit curriculum7 Oct 2024
- 2024Composing Global Solutions to Reasoning Tasks via Algebraic Objects in Neural Nets2 Oct 2024
- 2024Emergence in non-neural models: grokking modular arithmetic via average gradient outer product29 Jul 2024
- 2024Why Do You Grok? A Theoretical Analysis of Grokking Modular Addition17 Jul 2024
- 2024Pre-trained Large Language Models Use Fourier Features to Compute Addition5 Jun 2024
- 2024Not All Language Model Features Are One-Dimensionally Linear23 May 2024
- 2024Towards Empirical Interpretation of Internal Circuits and Properties in Grokked Transformers on Modular Polynomials26 Feb 2024
- 2023Grokking Group Multiplication with Cosets11 Dec 2023
- 2023Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking30 Nov 2023
- 2024Not All Language Model Features Are One-Dimensionally Linearcited by 212
- 2023Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokkingcited by 80
- 2026When Models Manipulate Manifolds: The Geometry of a Counting Taskcited by 46
- 2024Why Do You Grok? A Theoretical Analysis of Grokking Modular Additioncited by 36
- 2026There Will Be a Scientific Theory of Deep Learningcited by 29
- 2024Emergence in non-neural models: grokking modular arithmetic via average gradient outer productcited by 28
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 26
- 2023Grokking Group Multiplication with Cosetscited by 24
- 2024Progressive distillation induces an implicit curriculumcited by 15
- 2025Provable Scaling Laws of Feature Emergence from Learning Dynamics of Grokkingcited by 15
- 2024Towards Empirical Interpretation of Internal Circuits and Properties in Grokked Transformers on Modular Polynomialscited by 14
- 2025Alternating Gradient Flows: A Theory of Feature Learning in Two-layer Neural Networkscited by 14
12 most cited of 29 All 29 (JSON)
- 2026Symmetry without a manifold: intrinsic dimension on orbits15 Sep 2026
- 2026A Counterexample to Fourier Alignment in Single-Neuron Modular Addition5 Aug 2026
- 2026Assign and Add: A Mechanistic Study of Compositional Arithmetic29 May 2026
- 2026Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retention28 May 2026
- 2026Unveiling Memorization-Generalization Coexistence: A Case Study on Arithmetic Tasks with Label Noise18 May 2026
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behavior6 May 2026
- 2026There Will Be a Scientific Theory of Deep Learning23 Apr 2026
- 2026Breaking Data Symmetry is Needed For Generalization in Feature Learning Kernels31 Mar 2026
- 2026Gradient Flow Through Diagram Expansions: Learning Regimes and Explicit Solutions4 Feb 2026
- 2026Sequential Group Composition: A Window into the Mechanics of Deep Learning3 Feb 2026
- 2026When Models Manipulate Manifolds: The Geometry of a Counting Task8 Jan 2026
- 2025On the geometry and topology of representations: the manifolds of modular addition31 Dec 2025
12 newest of 29 All 29 (JSON)