atlas

Research map / Architectures and efficiency / RNNs and normalization

Grokking Group Multiplication with Cosets

ICML 2024 · Architectures and efficiency › RNNs and normalization · approach: Neural-symbolic reasoning · 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.

Reverse engineers one-hidden-layer MLPs that grokked multiplication in S5 and S6, finding they implement coset circuits based on conjugate subgroups rather than the GCR irrep algorithm claimed by prior work.

Problem

How do small one-hidden-layer networks that grok permutation group multiplication (S5, S6) internally implement the task, and do prior mechanistic interpretations of the same models hold up?

Approach

Shows that neurons' pre-activations are nearly constant on cosets of subgroups (measured by a coset-concentration statistic C_H), and that the model implements group multiplication by picking out shared cosets of conjugate subgroups; validates this with ablations and causal interventions and argues against the GCR explanation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
swap the left and right embeddings (ablation)One-hidden-layer fully connected network · S5Mean Accuracy: 99.99% -> 1%Hurt
switch the signs of both left and right embeddings (ablation)One-hidden-layer fully connected network · S5Mean Accuracy: 99.99% -> 100%No clear effect
switch the sign of the left embedding only (ablation)One-hidden-layer fully connected network · S5Mean Accuracy: 99.99% -> 0%Hurt
switch the sign of the right embedding only (ablation)One-hidden-layer fully connected network · S5Mean Accuracy: 99.99% -> 0%Hurt
add noise from N(0, 0.1) (ablation)One-hidden-layer fully connected network · S5Mean Accuracy: 99.99% -> 99.99%No clear effect
add noise from N(0, 1) (ablation)One-hidden-layer fully connected network · S5Mean Accuracy: 99.99% -> 97.8%Hurt
replace ReLU with absolute value (ablation)One-hidden-layer fully connected network · S5Mean Loss: 1.97e-6 -> 3.69e-13Helped
add noise from N(1, 1) (ablation)One-hidden-layer fully connected network · S5Mean Accuracy: 99.99% -> 88%Hurt
add noise from N(-1, 1) (ablation)One-hidden-layer fully connected network · S5Mean Accuracy: 99.99% -> 98%Hurt
remove neurons with coset concentration min C_H(N_i) >= 1 (ablation)S5 coset circuit models · S5Accuracy: 126 models saw no change; two decreased to 99% and 98%No clear effect
remove neurons with coset concentration min C_H(N_i) >= 10^-5 (ablation)S5 coset circuit models · S5Accuracy: 50th and 25th percentile accuracy is still 100%No clear effect
remove neurons with coset concentration min C_H(N_i) >= 10^-7 (ablation)S5 coset circuit models · S5Accuracy: median accuracy is still 100%Mixed

Surprising findings

Limitations

Experimental setup

Datasets: S5 group multiplication table (40% train split) S6 group multiplication table (40% train split)

Benchmarks: S5 multiplication accuracy S6 multiplication accuracy

Metrics: accuracy validation loss coset concentration C_H causal intervention accuracy and loss

Baselines: Group Composition via Representations (GCR) algorithm

Builds on: A Toy Model of Universality Grokking Group Composition via Representations

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