mlsanityData to 7 Oct 2026

Composing Global Solutions to Reasoning Tasks via Algebraic Objects in Neural Nets

arXiv 2410.01779 ↗First posted 2 Oct 2024cs.LG cs.AI cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

We prove rich algebraic structures of the solution space for 2-layer neural networks with quadratic activation and L2 loss, trained on reasoning tasks in Abelian group (e.g., modular addition). Such a rich structure enables analytical construction of global optimal solutions from partial solutions that only satisfy part of the loss, despite its high nonlinearity. We coin the framework as CoGS (emphunderlineComposing underlineGlobal underlineSolutions). Specifically, we show that the weight space over different numbers of hidden nodes of the 2-layer network is equipped with a semi-ring algebraic structure, and the loss function to be optimized consists of sum potentials, which are ring homomorphisms, allowing partial solutions to be composed into global ones by ring addition and multiplication. Our experiments show that around 95% of the solutions obtained by gradient descent match exactly our theoretical constructions. Although the global solutions constructed only required a small number of hidden nodes, our analysis on gradient dynamics shows that overparameterization asymptotically decouples training dynamics and is beneficial. We further show that training dynamics favors simpler solutions under weight decay, and thus high-order global solutions such as perfect memorization are unfavorable. The code is open sourced at https://github.com/facebookresearch/luckmatters/tree/yuandong3/ssl/real-dataset.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 32 of its 40 references that are in the map. First posted on arXiv 2 Oct 2024.

Builds on

32 of 40 references.

References · 32

  1. 2022Emergent Abilities of Large Language Modelscited by 2,483
  2. 2020GLU Variants Improve Transformercited by 1,724
  3. 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,131
  4. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  5. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
  6. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  7. 2017Lifelong Learning with Dynamically Expandable Networkscited by 689
  8. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
  9. 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 496
  10. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
  11. 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 385
  12. 2018Slimmable Neural Networkscited by 301
20 more
  1. 2022Transformers Learn Shortcuts to Automatacited by 260
  2. 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 256
  3. 2021Primer: Searching for Efficient Transformers for Language Modelingcited by 162
  4. 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 153
  5. 2024Physics of Language Models: Part 2.1, Grade-School Math and the Hidden Reasoning Processcited by 107
  6. 2023Explaining grokking through circuit efficiencycited by 105
  7. 2018On the Power of Over-parametrization in Neural Networks with Quadratic Activationcited by 102
  8. 2023Grokking modular arithmeticcited by 77
  9. 2024Learning and Leveraging World Models in Visual Representation Learningcited by 71
  10. 2024Alice in Wonderland: Simple Tasks Showing Complete Reasoning Breakdown in State-Of-the-Art Large Language Modelscited by 67
  11. 2024ReLU2 Wins: Discovering Efficient Activation Functions for Sparse LLMscited by 66
  12. 2019Splitting Steepest Descent for Growing Neural Architecturescited by 52
  13. 2024Pre-trained Large Language Models Use Fourier Features to Compute Additioncited by 38
  14. 2023Feature emergence via margin maximization: case studies in algebraic taskscited by 33
  15. 2023Emergence of Maps in the Memories of Blind Navigation Agentscited by 31
  16. 2023Emergent Representations of Program Semantics in Language Models Trained on Programscited by 28
  17. 2024Unified View of Grokking, Double Descent and Emergent Abilities: A Perspective from Circuits Competitioncited by 23
  18. 2024When Can Transformers Count to n?cited by 22
  19. 2020Backward Feature Correction: How Deep Learning Performs Deep (Hierarchical) Learningcited by 18
  20. 2023Counting and Algorithmic Generalization with Transformerscited by 11

Built on by

Cited by year (2026 to 7 Oct)

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

5 papers.