Grokking Group Multiplication with Cosets
Dashiell Stander, Qinan Yu, Honglu Fan, Stella Biderman
Abstract
The complex and unpredictable nature of deep neural networks prevents their safe use in many high-stakes applications. There have been many techniques developed to interpret deep neural networks, but all have substantial limitations. Algorithmic tasks have proven to be a fruitful test ground for interpreting a neural network end-to-end. Building on previous work, we completely reverse engineer fully connected one-hidden layer networks that have ``grokked'' the arithmetic of the permutation groups and . The models discover the true subgroup structure of the full group and converge on neural circuits that decompose the group arithmetic using the permutation group's subgroups. We relate how we reverse engineered the model's mechanisms and confirmed our theory was a faithful description of the circuit's functionality. We also draw attention to current challenges in conducting interpretability research by comparing our work to Chughtai et al. [4] which alleges to find a different algorithm for this same problem.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- On The Geometry and Topology of Representations: the Manifolds of Modular Addition cites The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networks
- On The Geometry and Topology of Representations: the Manifolds of Modular Addition cites A Toy Model of Universality: Reverse Engineering how Networks Learn Group Operations
- On The Geometry and Topology of Representations: the Manifolds of Modular Addition cites Uncovering a Universal Abstract Algorithm for Modular Addition in Neural Networks
- Towards Automated Circuit Discovery for Mechanistic Interpretability cites Locating and Editing Factual Associations in GPT
- The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networks cites Towards Automated Circuit Discovery for Mechanistic Interpretability
- The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networks cites A Toy Model of Universality: Reverse Engineering how Networks Learn Group Operations
- Uncovering a Universal Abstract Algorithm for Modular Addition in Neural Networks cites The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networks
- Uncovering a Universal Abstract Algorithm for Modular Addition in Neural Networks cites A Toy Model of Universality: Reverse Engineering how Networks Learn Group Operations
- In-Context Algebra cites Locating and Editing Factual Associations in GPT
- In-Context Algebra cites The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networks
- Sequential Group Composition: A Window into the Mechanics of Deep Learning cites On The Geometry and Topology of Representations: the Manifolds of Modular Addition
- Sequential Group Composition: A Window into the Mechanics of Deep Learning cites The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networks
- Sequential Group Composition: A Window into the Mechanics of Deep Learning cites A Toy Model of Universality: Reverse Engineering how Networks Learn Group Operations
- Sequential Group Composition: A Window into the Mechanics of Deep Learning cites Uncovering a Universal Abstract Algorithm for Modular Addition in Neural Networks
- Hypothesis Testing the Circuit Hypothesis in LLMs cites Towards Automated Circuit Discovery for Mechanistic Interpretability
- Hypothesis Testing the Circuit Hypothesis in LLMs cites The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networks
- Hypothesis Testing the Circuit Hypothesis in LLMs cites Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Models
Cited by top-tier papers12
- Hypothesis Testing the Circuit Hypothesis in LLMsClaudia Shi, Nicolas Beltran-Velez, Achille Nazaret, Carolina Zheng et al.NeurIPS 2024 · 36 citations
- Uncovering a Universal Abstract Algorithm for Modular Addition in Neural NetworksGavin McCracken, Gabriela Moisescu-Pareja, Vincent Létourneau, Doina Precup et al.NeurIPS 2025 · 14 citations
- Sequential Group Composition: A Window into the Mechanics of Deep LearningGiovanni Luca Marchetti, Daniel Kunin, Adele Myers, Francisco Acosta et al.ICML 2026 · 8 citations
- On The Geometry and Topology of Representations: the Manifolds of Modular AdditionGabriela Moisescu-Pareja, Gavin McCracken, Harley Wiltzer, Colin Daniels et al.ICLR 2026 · 3 citations
- In-Context AlgebraEric Todd, Jannik Brinkmann, Rohit Gandikota, David BauICLR 2026 · 3 citations
Builds on16
- Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 citations
- Towards Automated Circuit Discovery for Mechanistic InterpretabilityArthur Conmy, Augustine N. Mavor-Parker, Aengus Lynch, Stefan Heimersheim et al.NeurIPS 2023 · 861 citations
- Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language ModelsPeter Hase, Mohit Bansal, Been Kim, Asma GhandehariounNeurIPS 2023 · 307 citations
- The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural NetworksZiqian Zhong, Ziming Liu, Max Tegmark, Jacob AndreasNeurIPS 2023 · 181 citations
- A Toy Model of Universality: Reverse Engineering how Networks Learn Group OperationsBilal Chughtai, Lawrence Chan, Neel NandaICML 2023 · 144 citations
Related papers
- Towards a Unified and Verified Understanding of Group-Operation NetworksWilson Wu, Louis Jaburi, Jacob Drori, Jason GrossICLR 2025
- Deep neural networks divide and conquer dihedral multiplicationSihui Wei, Gavin McCracken, Gabriela Moisescu-Pareja, Harley Wiltzer et al.ICML 2026
- Progress measures for grokking via mechanistic interpretabilityNeel Nanda, Lawrence Chan, Tom Lieberum, Jess Smith et al.ICLR 2023 · 54 citations
- Learning to Add, Multiply, and Execute Algorithmic Instructions Exactly with Neural NetworksArtur Back de Luca, George Giapitzakis, Kimon FountoulakisNeurIPS 2025 · 4 citations
- On the Symmetries of Deep Learning Models and their Internal RepresentationsCharles Godfrey, Davis Brown, Tegan Emerson, Henry KvingeNeurIPS 2022 · 78 citations
