potentialpaper

The Geometric Inductive Bias of Grokking: Bypassing Phase Transitions via Architectural Topology

Alper YILDIRIM

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Prior work on grokking—delayed generalization after memorization—has sought to shorten this delay through data augmentation or optimizer design. We take an architectural approach: rather than analyzing trained networks post-hoc, we modify architectural topology before training to test whether specific degrees of freedom prolong the memorization phase. We identify two independent factors in standard Transformers—unbounded residual magnitude and data-dependent attention routing—and introduce targeted interventions for each. A fully bounded spherical topology, enforcing L2 normalization throughout the residual stream and bounding the output logits, accelerates generalization on modular addition and multiplication over Z_p. On addition, the model generalizes even without weight decay, and test accuracy begins to rise before training accuracy reaches 100%. Independently, replacing learned attention with uniform aggregation also advances generalization on addition, removing data-dependent routing while retaining positional information in the value pathway. However, on non-Abelian S_5 and A_5 permutation composition used as negative controls, the same spherical constraint shows no consistent acceleration over LayerNorm with matched heads in the tested settings and no generalization without weight decay. This contrast shows that the acceleration depends on the task and architectural configuration. These results suggest that geometric priors useful for cyclic arithmetic need not provide the same benefit across the heterogeneous structures present in general-purpose domains.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:48 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Summary of the paper

The paper studies whether architectural constraints can shorten the delay between memorization and generalization in grokking. It proposes two interventions.

The first projects the residual stream onto the unit sphere after every residual update and uses normalized unembedding weights with fixed-temperature cosine logits. This removes residual-magnitude information and bounds output logits. The second replaces learned attention scores with uniform attention, removing input-dependent routing.

On modular addition and multiplication modulo 113, both interventions lead to much earlier generalization than LayerNorm and RMSNorm baselines. Spectral analysis indicates that the successful models still learn Fourier-based solutions. As a negative control, the spherical model memorizes but fails to generalize on S5S_5 permutation composition. The authors interpret this as evidence that architectural constraints help only when they match the task’s symmetry.


Summary of the reviews

T9Xj finds the intervention-based hypothesis clear, the acceleration substantial, and the S5S_5 negative control useful. The main concerns are the narrow task set, the lack of component-level ablations, and speculative implications for language models. The reviewer also asks for a direct comparison with nGPT-style normalization. Rating: 4 (borderline accept).

Pafy considers the architectural framing original and the study generally sound. The reviewer notes that uniform attention introduces strong prior knowledge for commutative tasks and that the different architectures are not always compared under equally tuned optimization settings. The paper also lacks a clear method for choosing an architectural prior for a new task. Rating: 4 (borderline accept).

9yT1 values the large effect, Fourier-circuit analysis, and negative control. The reviewer asks the authors to soften the claim that the memorization phase is eliminated, since generalization still requires hundreds or thousands of epochs. The most important concern is that LayerNorm and RMSNorm models achieve nearly perfect S5S_5 accuracy with uniform attention, despite the claim that this intervention creates a permutation-invariant bag-of-tokens model. Rating: 3 (borderline reject).


Recommendations The reviewers agree that the experiments demonstrate a strong architecture-task interaction. They also agree that the current design does not identify which part of the spherical architecture causes the effect or establish the proposed mechanism directly.

The experiments show that architectural constraints can strongly accelerate generalization on modular arithmetic. However, the paper does not directly demonstrate that standard grokking is caused by changes in residual norms or attention routing. The spherical model also combines several architectural and optimization changes, making it difficult to identify the source of the improvement.

The paper is borderline and I recommend the following revisions:

  1. Measure the proposed mechanism during training. Track parameter, residual, unembedding, and logit norms before memorization, during the plateau, and at generalization. Also track attention entropy, distance from uniform attention, and Fourier structure. Show whether these quantities change consistently before test accuracy increases. The motivation for these interventions comes from some previous work for the normalization but for the attention it is not rooted in any motivation. Motivating the study by a phase transition on norms or distribution of attention, and how the grokking time depends on that is important.

  2. Separate the spherical components. Test residual projection, normalized unembedding, fixed temperature, weight decay, and Fourier initialization independently and in combination. Use the same optimizer and tuning budget for all models. This is needed to identify which change produces the acceleration.

  3. Clarify the uniform-attention result. Explain how models with uniform attention solve the noncommutative S5S_5 task. Test swapped inputs (a,b)(a,b) and (b,a)(b,a) and revise the bag-of-tokens interpretation if order is preserved elsewhere in the architecture.

  4. Define grokking quantitatively. Report the gap between training memorization and test generalization with uncertainty. Use "shortens" rather than "eliminates" unless the measured gap is zero.

  5. Strengthen the task boundary. Test additional non-commutative, non-Fourier, or higher-dimensional tasks, and determine whether the spherical model’s failure on S5S_5 comes from geometric mismatch, limited capacity, or optimization difficulty.

Final justification

Post rebuttal meta review

Summary of reviewers answers

Reviewer 9yT1 raised the rating from 3 to 4 and considered the modular addition result intact. ReviewerPafy also leaned toward acceptance, while noting the narrower significance and uncertain generalization. T9Xj did not respond to the AC and remained at 4.

final recommendation

Authors added in the rebuttal an ablation study that separates residual geometry from output geometry and isolates the role of weight decay. They also ran a learning rate sweep. At the best shared rate, the bounded spherical model reached 99% in 683 epochs, compared with 3,917 for LayerNorm. Finer traces show that test accuracy begins rising before full memorization.

Authors corrected two important issues with the paper: 1) the uniform attention interpretation: Position information remains in the value pathway, while removing positions produces the expected invariance. 2) two reporting errors in the paper: the revised spherical model solves S5 in 7 of 10 seeds and A5 in all five tested seeds with weight decay. It gives no acceleration over LayerNorm on either task. The authors therefore withdrew the expressivity claim for S5 and A5. The modular addition result remains strong under the new controls.

The paper had multiple issues that have been corrected during the rebuttal. The scope is limited to the task considered and not groking in general. The final recommendation is weak Accept with recommendation to narrow down the title and the scope of the abstract and to correct the paper in light of the reviewer comments and the new results.

Area Chair puW4 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Summary of the paper

The paper studies whether architectural constraints can shorten the delay between memorization and generalization in grokking. It proposes two interventions.

The first projects the residual stream onto the unit sphere after every residual update and uses normalized unembedding weights with fixed-temperature cosine logits. This removes residual-magnitude information and bounds output logits. The second replaces learned attention scores with uniform attention, removing input-dependent routing.

On modular addition and multiplication modulo 113, both interventions lead to much earlier generalization than LayerNorm and RMSNorm baselines. Spectral analysis indicates that the successful models still learn Fourier-based solutions. As a negative control, the spherical model memorizes but fails to generalize on S5S_5 permutation composition. The authors interpret this as evidence that architectural constraints help only when they match the task’s symmetry.


Summary of the reviews

T9Xj finds the intervention-based hypothesis clear, the acceleration substantial, and the S5S_5 negative control useful. The main concerns are the narrow task set, the lack of component-level ablations, and speculative implications for language models. The reviewer also asks for a direct comparison with nGPT-style normalization. Rating: 4 (borderline accept).

Pafy considers the architectural framing original and the study generally sound. The reviewer notes that uniform attention introduces strong prior knowledge for commutative tasks and that the different architectures are not always compared under equally tuned optimization settings. The paper also lacks a clear method for choosing an architectural prior for a new task. Rating: 4 (borderline accept).

9yT1 values the large effect, Fourier-circuit analysis, and negative control. The reviewer asks the authors to soften the claim that the memorization phase is eliminated, since generalization still requires hundreds or thousands of epochs. The most important concern is that LayerNorm and RMSNorm models achieve nearly perfect S5S_5 accuracy with uniform attention, despite the claim that this intervention creates a permutation-invariant bag-of-tokens model. Rating: 3 (borderline reject).


Recommendations The reviewers agree that the experiments demonstrate a strong architecture-task interaction. They also agree that the current design does not identify which part of the spherical architecture causes the effect or establish the proposed mechanism directly.

The experiments show that architectural constraints can strongly accelerate generalization on modular arithmetic. However, the paper does not directly demonstrate that standard grokking is caused by changes in residual norms or attention routing. The spherical model also combines several architectural and optimization changes, making it difficult to identify the source of the improvement.

The paper is borderline and I recommend the following revisions:

  1. Measure the proposed mechanism during training. Track parameter, residual, unembedding, and logit norms before memorization, during the plateau, and at generalization. Also track attention entropy, distance from uniform attention, and Fourier structure. Show whether these quantities change consistently before test accuracy increases. The motivation for these interventions comes from some previous work for the normalization but for the attention it is not rooted in any motivation. Motivating the study by a phase transition on norms or distribution of attention, and how the grokking time depends on that is important.

  2. Separate the spherical components. Test residual projection, normalized unembedding, fixed temperature, weight decay, and Fourier initialization independently and in combination. Use the same optimizer and tuning budget for all models. This is needed to identify which change produces the acceleration.

  3. Clarify the uniform-attention result. Explain how models with uniform attention solve the noncommutative S5S_5 task. Test swapped inputs (a,b)(a,b) and (b,a)(b,a) and revise the bag-of-tokens interpretation if order is preserved elsewhere in the architecture.

  4. Define grokking quantitatively. Report the gap between training memorization and test generalization with uncertainty. Use "shortens" rather than "eliminates" unless the measured gap is zero.

  5. Strengthen the task boundary. Test additional non-commutative, non-Fourier, or higher-dimensional tasks, and determine whether the spherical model’s failure on S5S_5 comes from geometric mismatch, limited capacity, or optimization difficulty.

Final justification

Post rebuttal meta review

Summary of reviewers answers

Reviewer 9yT1 raised the rating from 3 to 4 and considered the modular addition result intact. ReviewerPafy also leaned toward acceptance, while noting the narrower significance and uncertain generalization. T9Xj did not respond to the AC and remained at 4.

final recommendation

Authors added in the rebuttal an ablation study that separates residual geometry from output geometry and isolates the role of weight decay. They also ran a learning rate sweep. At the best shared rate, the bounded spherical model reached 99% in 683 epochs, compared with 3,917 for LayerNorm. Finer traces show that test accuracy begins rising before full memorization.

Authors corrected two important issues with the paper: 1) the uniform attention interpretation: Position information remains in the value pathway, while removing positions produces the expected invariance. 2) two reporting errors in the paper: the revised spherical model solves S5 in 7 of 10 seeds and A5 in all five tested seeds with weight decay. It gives no acceleration over LayerNorm on either task. The authors therefore withdrew the expressivity claim for S5 and A5. The modular addition result remains strong under the new controls.

The paper had multiple issues that have been corrected during the rebuttal. The scope is limited to the task considered and not groking in general. The final recommendation is weak Accept with recommendation to narrow down the title and the scope of the abstract and to correct the paper in light of the reviewer comments and the new results.

Reviewer 9yT1OpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper aims to understand grokking and why it exhibits a long memorization-before-generalization phase, and whether that phase can be bypassed by architectural choices rather than only by data augmentation or optimizer changes. The main finding is two architectural degrees of freedom in standard transformers. This first is the residual-stream magnitude. The second is learned attention routing i.e. enable memorization heavy pathways on modular arithmetic. The paper shows that removing either via a fully bounded spherical residual topology or uniform attention makes train and test accuracy rise together on modular addition. Furthermore, spherical topology also accelerates modular multiplication. And moreover, as a control case,, the paper shows the same spherical constraint fails on non-commutative S5 composition.

Strengths and weaknesses

Strengths:

  • Interesting interventional framing: Accelerating grokking with data and optimization is very thoroughly studied. I think this is interesting to propose. This studies whether known circuit-level structure can be used to design architectural interventions before training.
  • Clean hypotheses tested: The paper identifies two plausible sources of unnecessary flexibility, (1) residual-vector magnitude and (2) data-dependent attention routing.The spherical topology removes radial degrees of freedom via repeated L2 projection and bounded cosine logits, while the uniform-attention ablation removes learned query-key routing. These are clean interventions that make sense to me.
  • Strong empirical findings: The empirical effect is significant. Showing S5 composition is also great.
  • Controlled Study: The spectral analysis, including top-frequency logit ablation is really useful to show that accelerated models are using the expected Fourier-like solution rather than an unrelated shortcut.

Weaknesses:

  • (Minor) “Eliminates the memorization phase entirely”: The statement appears in the abstract. I’m not sure this is true from what I can tell. The tables report grokking onset epochs in the hundreds or thousands, not literally instantaneous generalization. I would recommend the authors tone this down.
  • Tuning: The higher learning rate reduces baseline grokking onset from about 54k epochs to about 8k epochs for LayerNorm, which shows that optimizer and hyperparameter choices can dramatically effect delay. Can the authors add a hyperparameter sweep? Without this, it is hard to know how much of the gain comes from topology versus favorable tuning of the new architecture.
  • Intervention B: Uniform-attention results appear to be reported only for modular addition, while multiplication is reported for the spherical topology. The paper should either add uniform-attention multiplication experiments or narrow the claim.
  • Appendix D: Taking a quick look at the appendix, this result is really surprising to me and should be discussed more. The paper claims uniform attention structurally enforces a bag-of-tokens representation, which should be aligned with commutative operations. But in Appendix D, LayerNorm and RMSNorm with uniform attention reach near-perfect peak accuracy on S5, a non-commutative task. Could the authors elaborate on this?
  • Interpreting the failure of S5: The S5 failure could also be due to logit scale, insufficient temperature, insufficient capacity, optimization issues, etc. The baseline fails on 2/10 seeds. This should be discussed more.
Questions
  • What exactly is the definition of grokking onset epoch? 100% test accuracy?
  • For the bounded sphere models, when does training accuracy reach 99% or 100% relative to test accuracy?
  • Does bounding only the unembedding, only the residual stream, or only the embedding layer reproduce any part of the effect?
Limitations
  • More needs to be said about the fact that the tasks and transformer studied are really small scale. These tasks are excellent for mechanistic study, but they do not establish that the same interventions will help larger models
  • I think having a dedicated limitations paragraph will help with this.
Final justification

The authors did a huge effort to address some of my concerns. In doing so, their S5 results change the interpretation of the paper and are difficult to address. I will keep my score at a four for now.

Formatting concerns

None

6 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for a precise and useful review. It motivated three new sets of experiments: a complete 2x2x2 component ablation on modular addition, a nine-configuration robustness sweep on S5 comprising 27 runs, and a swap-invariance control explaining the Appendix D result. These experiments sharpen the main claim. On modular addition, the fully bounded spherical configuration is the only tested configuration that generalizes without weight decay. On S5, the same constraint remains expressive but provides no detectable acceleration. We also correct one implementation mismatch in Table 4 and revise two over-broad descriptions.

W1. "Eliminates the memorization phase." The reviewer is correct that the ordering of memorization and generalization was not visible at the original 200-epoch resolution. We therefore ran six new bounded-model experiments evaluated every five epochs. We define test-rise onset as the first checkpoint above 10% test accuracy followed by a gain of at least five percentage points within 100 epochs, applying the same criterion to both architectures.

Bounded-model test-rise onset occurs at epochs 255-330, when training accuracy is 91.9-97.0%, 50-100 epochs before Train-99 and 115-215 epochs before Train-100. LayerNorm first reaches Train-99 at epochs 605-870, but its test-rise onset occurs 3,330-4,235 epochs later. Thus, the new higher-resolution runs show no positive post-memorization onset delay for the bounded model.

We hope this addresses the reviewer's concern. Our use of "bypass" refers to the absent post-memorization waiting phase, not instantaneous completion. If the reviewers prefer stricter terminology after this clarification, we will use "sharply shortens" instead.

W2. Topology versus favorable tuning. We ran the full 2x2x2 grid over residual geometry, output-head geometry, and weight decay at a matched learning rate of 6e-4, with the same optimizer and budget. Chance is approximately 0.9%.

Residual Head lambda n Test-99 Delta_99 Reached 99
LayerNorm raw 0 3 fail, peak 1.8-5.4% - 0/3
LayerNorm bounded 0 3 fail, peak 5.4-16.3% - 0/3
Sphere raw 0 3 fail, peak 32-56% - 0/3
Sphere bounded 0 3 1,750 +/- 1,386 1,400 +/- 1,386 3/3
LayerNorm raw 1 3 7,233 +/- 1,097 6,967 +/- 1,103 3/3
LayerNorm bounded 1 10 6,205 +/- 1,043 5,490 +/- 968 10/10
Sphere raw 1 3 4,000 +/- 1,937 2,167 +/- 1,400 3/3
Sphere bounded 1 3 883 +/- 416 483 +/- 416 3/3

Weight decay is required for generalization in three of the four residual-head combinations. The fully bounded sphere is the sole exception in the one-layer setting, generalizing with and without weight decay. We therefore replace the claim that weight decay creates “optimization friction” with the more precise conclusion that the fully bounded topology removes dependence on weight decay in this setting. This independence is depth-sensitive. In the two-layer robustness experiment, the weight-decay-free model succeeds in 1/5 seeds, while restoring weight decay recovers generalization in 5/5 seeds (our response to Reviewer T9Xj, Section 2). Within the one-layer bounded sphere, λ=1 and λ=0 are not distinguishable at n=3.

All eight cells use the same rate. Table 1 additionally shows the architecture gap at both 1e-4 and 6e-4. Bounding the head under LayerNorm does not reproduce the acceleration. Bounding only the residual stream gives a partial improvement with weight decay but fails without it. The joint intervention is substantially faster than either single-component intervention.

W3. Intervention B only for addition. Correct. Uniform attention was tested on addition and S5, but not multiplication. We now scope all Intervention B claims to addition and list multiplication as remaining work.

W4. Appendix D: uniform-attention models solve S5. This was a valuable catch. Following the reviewer's observation, we traced how order information can survive uniform attention and found that our original "bag-of-tokens" interpretation was too strong. Uniform pre-softmax scores remove data-dependent QK routing, but they do not make the model permutation-invariant. token and position embeddings are combined before nonlinear per-position normalization.

LN(e_a + p_0) + LN(e_b + p_1) != LN(e_b + p_0) + LN(e_a + p_1)

Thus swapping inputs changes value representations even when all attention weights are 1/3.

We tested this by removing positional embeddings under uniform attention. On the leakage-free dual-held-out, swap-closed subset, restricted to non-commuting pairs:

Configuration Invariance Accuracy Reached 99
LayerNorm, learned attention 0.0001 99.9% 3/3
LayerNorm, uniform attention 0.024 97.3% 2/3
LayerNorm, uniform, no positions 1.000000 16.7% mean 0/3

The no-position model is exactly invariant in every seed. On a swap-closed non-commuting set, each unordered pair appears in both orders with different targets, so an invariant model can be correct on at most one and has a 50% ceiling. Its mean accuracy on this subset is 16.7%. Full per-seed non-commuting results will be reported in the revised appendix.

The Appendix D models solve S5 because positional embeddings preserve order through the value pathway, not because a bag-of-tokens representation suffices. Section 3.3 now describes Intervention B as removing data-dependent routing only.

W5. Interpreting the S5 result. The Table 4 correction changes the capacity interpretation, not the task-alignment result. The original lambda=1 row labeled "Bounded Sphere" used a raw unembedding. With the genuinely bounded head, sphere reaches 99% in 7/10 seeds, showing that it can solve S5.

At lambda=1:

Residual Head Reached 99 Test-99
LayerNorm raw 8/10 39,900 +/- 11,942
LayerNorm bounded 4/10 36,800 +/- 11,223
Sphere raw 0/10 -
Sphere bounded 7/10 52,857 +/- 27,670

Onsets use successful seeds only. Sphere/bounded solves S5 but is slower than LayerNorm/raw, while sphere/raw fails in 10/10 despite near-perfect training accuracy. At lambda=0, LayerNorm/raw fails in 3/3 with mean peak test accuracy 0.85%, near chance at 0.83%; all nine tested spherical configurations also fail, including 200k-epoch runs. Thus, S5 still serves its intended role as a negative control. Spherical geometry is not an expressivity barrier, but it provides no addition-like acceleration and does not remove weight-decay dependence.

Q1. Definition of onset. Onset is the first logged epoch at which test accuracy reaches the stated threshold. The original tables used 100% for addition, 95% for multiplication, and 99% for S5. The 99% threshold was used for S5 because several runs achieved stable near-complete generalization while retaining a small number of errors and therefore did not reliably reach exactly 100%. To ensure that our conclusions are not an artifact of this task-specific threshold, we now report matched 95% and 99% train/test onsets and gaps for all new addition and S5 runs.

Every revised caption will state both the threshold and the logging resolution. The original sweeps and new S5 runs evaluate accuracy every 200 epochs, whereas the new addition ablations evaluate every 50 epochs. We additionally report 100% gaps for the high-resolution addition runs where this threshold is reached. Runs that never reach a threshold are reported as failures rather than being assigned the final training epoch.

Q2. Train versus test timing. As detailed in W1, test rise precedes Train-99 in all six bounded-sphere runs, whereas LayerNorm shows a 3,330-4,235 epoch post-memorization delay.

Q3. Component isolation. On addition, bounding the head alone does not reproduce the acceleration, spherical residuals alone give only a partial benefit with weight decay, and only the fully bounded model generalizes without weight decay.

On S5 at lambda = 1, success rates are 8/10 for LayerNorm/raw, 4/10 for LayerNorm/bounded, 0/10 for Sphere/raw, and 7/10 for Sphere/bounded. Thus neither component alone reproduces the full model, which still does not accelerate S5 relative to LayerNorm/raw.

We did not separately bound the embedding matrix, and fixed temperature remains coupled to unembedding normalization.

Limitations. Reviewer T9Xj also mentioned this. We will add a paragraph such as:

All experiments use single-layer Transformers with d_model = 128 on synthetic algebraic tasks with known solution structure. They do not establish benefits for larger models or heterogeneous data. The S5 result shows that the benefit depends on task-architecture alignment even within algebraic domains, so we do not present these results as general language-model design guidance.

Brief Note: We reused nearly exact model classes to keep the code brief and fully consistent with the submitted paper code. We will make the new experiment codes public, if accepted.

Table 1. The 6e-4 λ=0 row was inadvertently aggregated from λ=1 logs using the first >95% checkpoint. The new matched runs supersede it; we retract the claim that removing weight decay accelerates the one-layer bounded model. Figure 1's legend is affected and will be corrected as well.

We thank the reviewer again for the careful feedback.

Authors · CommentOpenReview ↗

Follow-up on W2 learning-rate sweep

Our initial response did not fully address the tuning question. We therefore ran a matched sweep over learning rates 1e-4, 3e-4, 6e-4, and 1e-3 on addition, using three paired seeds per condition. Increasing the learning rate accelerated both configurations. However, sphere/bounded generalized earlier than LayerNorm/raw at every matched learning rate, with all runs reaching 99% test accuracy.

Learning rate LayerNorm/raw Rise onset LayerNorm/raw Test-99 Sphere/bounded Rise onset Sphere/bounded Test-99
1e-4 45,733 57,317 1,117 2,517
3e-4 12,867 15,033 567 1,433
6e-4 6,033 6,900 333 900
1e-3 3,200 3,917 183 683

At the best tested shared learning rate, 1e-3, sphere/bounded reached Test-99 in 683 epochs versus 3,917 epochs for LayerNorm/raw, a 5.7-fold reduction. Thus, learning-rate tuning changes the absolute delay but does not explain the difference between the two configurations. The component ablations reported above separately examine the contributions of spherical normalization and the bounded head.

Reviewer 9yT1 · CommentOpenReview ↗

I thank the authors for their thoughtful response. I do think many components of my initial review are essentially resolved.

a complete 2x2x2 component ablation on modular addition,

Thank you. I really appreciate this. The 2×2×2 experiment separates residual, head, and weight decay. It's great to see that neither bounding the head alone nor spherical residuals alone reproduces the full result. I feel much better about this result.

Bounded-model test-rise onset occurs at epochs 255-330, when training accuracy is 91.9-97.0%,

I appreciate the onset analysis. This resolves my concerns.

Given these, I do feel more confident giving this paper a 4. However, I do have some concerns remaining.

With the genuinely bounded head, sphere reaches 99% in 7/10 seeds, showing that it can solve S5.

I am glad the authors ran this experiment, but if I understand correctly, it supports a different conclusion than the submitted paper. The paper currently says that the spherical constraint “fails completely,” prevents generalization on every seed, and hinders the higher-dimensional circuits needed for S5. The corrected results tells us that the fully bounded model remains expressive enough to solve S5, therefore the acceleration is task-dependent rather than a universal optimization benefit.

I worry now that the paper needs to reinterpreted. I don't mind increasing my score to a 4 but to make me feel confident about the validity of the work, I would like more discussion on this point.

Thank you.

Reviewer PafyOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The work identifies architectural changes in the transformer architecture capable of bypassing the grokking phenomenon (on tasks that previously exhibited such problems). For this purpose, the authors adjust either the normalization algorithm to bound the residual stream to a spherical topology or the attention to serve as a bag-of-words aggregator. The authors show that the interventions need to be designed with the learning task in mind, which is supported by the negative results of the provided control experiments.

Strengths and weaknesses

Strengths:

Quality

The experiments are thorough, and the work follows a sound methodological approach, offering alternative solutions, potential counterarguments, and a control experiment. For reservations to the experimental setting, see W1, W2, and W3.

Clarity

The paper is generally well written, the experiments can be followed, and sufficient information is provided for their reproducibility.

Significance

The relationship between architectural interventions and grokking that was studied is an important contribution to the field of mechanistic interpretability. For my reservations, see W4.

Originality

Architectural interventions constitute an original and useful way to frame solutions related to generalization issues, such as grokking. Some limits on originality are discussed in W5.

Weaknesses:

W1. A potential concern is that the presented interventions encode some task knowledge, so eliminating grokking could reflect helping the model solve the task rather than the general idea of removing the “excessive degrees of freedom”. This is likely more relevant for Path B, where the bag-of-tokens technique helps the model to solve set-based tasks (in the spirit of, e.g., the Deep Sets architecture [1]).

W2. The accelerated generalization could be attributed to the choice to remove the normalization layer (and replace it with the bounded spherical topology). The cleaner comparison would be between (a) standard architecture and (b) bounded topology on top of Layer/RMSNorm. Also, it would be best to distinguish the impacts of individual components of Path A, i.e., 1. sphere projection, 2. normalized unembedding, and 3. fixed temperature.

W3. Some hyperparameter choices (and their impacts on results) should be better justified. One case is the lambda = 0 decay, chosen as the best hyperparameter for bounded-sphere experiments, while the baseline uses lambda = 1. Another case is the choice of different learning rates for the addition and S5 tasks: although it is discussed, it still creates a potentially unfair comparison.

W4. While the authors acknowledge that the presented structural prior is not a general cure for grokking, they provide no guidance on adapting the structural interventions to other domains. In particular, the bag-of-tokens solution is applicable only in very special domains (in other domains, e.g., control, it might even prevent the model from converging).

W5. The originality is partially limited by the fact that both Path A and B interventions are based on methods previously applied to Transformers (authors acknowledge that, e.g., in relation to the nGPT architecture). As such, the novelty lies mostly in framing their use to tackle grokking. On the other hand, the idea of constraining inductive biases to boost generalization is not novel and has been studied in the field of geometric deep learning [2] (which is not acknowledged in the paper at all).

[1] Zaheer, Manzil, et al. "Deep sets." Advances in neural information processing systems 30 (2017).

[2] Bronstein, Michael M., et al. "Geometric deep learning: Grids, groups, graphs, geodesics, and gauges." arXiv preprint arXiv:2104.13478 (2021).

Questions

Q1. Can you propose a (possibly abstract) blueprint for adapting structural interventions to other tasks, or provide examples of domains and the corresponding changes in intervention design?

Q2. Have you experimented with architectures containing both the proposed architectural interventions and the normalization layers?

Q3. Can you think of geometric-DL-inspired extensions of your work?

Q4. The issue with grokking is that there could be interesting behavior even long after training has converged. Is it possible that the model trained on the S5 task would eventually grok and was just stopped too early?

Criterion for Rating Improvement

I will consider increasing my rating if I receive a satisfactory answer to either question 1 or 3 (both address the generalizability issue).

Limitations

Yes.

Final justification

Many of my questions and concerns have been addressed; however, I am still not fully convinced that this technique will generalize well to other domains (my criterion for increasing the score). The coupling of the selected removal of excessive degrees of freedom with the task only adds to that.

My own evaluation falls between scores 4 and 5 (with most of the additional results provided during rebuttal contributing towards 5), but closer to 4. I am keeping my rating at 4, borderline accept.

Formatting concerns

No issues.

6 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the detailed and constructive feedback. Several points overlap with concerns raised by other reviewers. We agree that the original paper did not sufficiently separate the components, justify some hyperparameter choices, or position the work relative to geometric deep learning.

W1. Task knowledge and Path B

Choosing which degrees of freedom to remove necessarily uses task knowledge. In Path A, projecting the residual stream onto a sphere is precisely the geometric removal of the radial degree of freedom. Our claim is not that arbitrary capacity reduction helps, but that task-aligned structural constraints can shorten delayed generalization.

Our original “bag-of-tokens” description of Path B was too strong. Uniform attention removes data-dependent QK routing, but positional information remains in the value pathway. We tested this on a leakage-free, swap-closed subset of non-commuting S₅ pairs.

Configuration Invariance Accuracy Reached 99%
LayerNorm, learned attention 0.0001 99.9% 3/3
LayerNorm, uniform attention 0.024 97.3% 2/3
LayerNorm, uniform, no positions 1.000000 16.7% 0/3

Removing positions makes the model exactly swap-invariant in every seed. Since (a,b) and (b,a) occur with different targets, an invariant model has a 50% ceiling. The Appendix D models therefore solve S₅ because positions preserve order through the value pathway, not because a Deep Sets-style representation suffices. We will revise Path B as removing data-dependent routing only.

The S₅ boundary result also shows that reduced flexibility alone is insufficient. The spherical model remains expressive on S₅ but provides no comparable acceleration, supporting a task-architecture alignment interpretation rather than a task-agnostic cure.

W2, W3 and Q2. Components, normalization, and tuning

We ran a matched 2×2×2 ablation on modular addition using the same optimizer, LR=6e-4, budget, split, and evaluation protocol.

Residual Head λ n Test ≥99% epoch Δ₉₉ Reached 99%
LayerNorm raw 0 3 fail, peak 1.8–5.4% NA 0/3
LayerNorm bounded 0 3 fail, peak 5.4–16.3% NA 0/3
Sphere raw 0 3 fail, peak 32–56% NA 0/3
Sphere bounded 0 3 1,750 ± 1,386 1,400 ± 1,386 3/3
LayerNorm raw 1 3 7,233 ± 1,097 6,967 ± 1,103 3/3
LayerNorm bounded 1 10 6,205 ± 1,043 5,490 ± 968 10/10
Sphere raw 1 3 4,000 ± 1,937 2,167 ± 1,400 3/3
Sphere bounded 1 3 883 ± 416 483 ± 416 3/3

We define Δ₉₉ as the first test-99 epoch minus the first train-99 epoch. Values are mean ± standard deviation over successful seeds.

This removes the original weight-decay asymmetry. Every residual-head combination is evaluated at λ=0 and λ=1. The fully bounded sphere is the only tested configuration that generalizes reliably at λ=0, and it remains the fastest configuration at λ=1. The acceleration therefore cannot be explained only by assigning different decay values to the architectures.

The results also argue against attributing the effect solely to removing LayerNorm. Sphere with a raw head does not reproduce the full effect, while a bounded head on LayerNorm remains substantially slower. The strongest effect appears when spherical residual geometry and the bounded output head are combined.

The bounded head still couples normalized unembedding and fixed-temperature cosine logits. Fourier-oriented initialization also remains outside this factorial ablation. We will state these as remaining limitations rather than claiming complete component isolation.

The grid compares LayerNorm-only and sphere-only models, but does not place LayerNorm inside the spherical model. We are running the direct hybrid control requested in Q2. It adds LayerNorm to the sublayer inputs while retaining post-update sphere projection and holding the head, optimizer, LR, weight decay, split, and initialization fixed.

Configuration LayerNorm Sphere projection Test ≥99% epoch Δ₉₉ Reached 99%
LayerNorm only Yes No fail, peak 5.4–16.3% NA 0/3
Sphere only No Yes 1,750 ± 1,386 1,400 ± 1,386 3/3
LayerNorm + Sphere Yes Yes 3,033 ± 2,882 2,717 ± 2,901 3/3

LN+Sphere also succeeds at WD=0 (3/3), so removing LN is not the sole cause.

The addition and S₅ experiments use different task-level learning rates. Within each task, compared architectures use the same LR, so no architecture receives an LR advantage. We agree that absolute onset epochs should not be compared across tasks. The cross-task result concerns acceleration relative to a matched baseline within each task.

W4 and Q1. Adaptation beyond toy tasks

We agree that the paper does not yet provide a validated recipe for arbitrary domains, and other reviewers raised the same limitation. Structural constraints must preserve task-relevant information. In control or other sequential domains, blindly removing order-sensitive or data-dependent routing could prevent convergence.

We view this paper as Stage 1, controlled tasks where geometry, learning dynamics, and learned algorithms can be inspected directly. Addition is a positive case, while S₅ is a boundary case where the same prior remains expressive but does not transfer automatically.

For Stage 2, inspired by mHC, we propose a small language model with parallel unconstrained and spherical-constrained residual paths and input-dependent mixing, trained on arithmetic, cyclic concepts, matched controls, and general language (the references in our response to Reviewer T9Xj).

Evidence would require selective use of the constrained paths, causal pathway ablations, recovery of predicted geometric or spectral structure, improved systematic generalization or sample efficiency, and acceptable language-modeling performance. If this mechanistic study succeeds, Stage 3 would examine scaling with model size, data, task mixture, and compute, and test whether predictable scaling laws describe when heterogeneous geometric constraints help.

We will present this as a research direction, not as a validated general adaptation procedure.

W5 and Q3. Originality and geometric-DL extensions

We thank the reviewer for identifying the missing connection. We agree that spherical normalization, uniform aggregation, and the broader principle of symmetry-aligned inductive bias are not novel. We will add the suggested geometric deep learning references and revise the positioning and limitations.

Our narrower contribution lies at the intersection of geometric inductive bias and mechanistic studies of grokking. We use structural constraints as controlled interventions on the memorization-generalization delay, separate their interaction with output geometry and weight decay, inspect the learned solution, and include a non-Abelian boundary case. We will avoid implying novelty for the underlying techniques or the general geometric-DL principle.

A speculative extension of Stage 2 concerns interpretability. If cyclic or directional computations are selectively routed into a spherical path, manifold-aware sparse coding or topological analysis may recover them more cleanly than in a mixed residual stream. Recent work suggests that SAEs can fragment continuous concept manifolds across global subspaces and local feature tiles. A specialized path might reduce this dilution and make coherent circular structures easier to identify and causally test.

This is not guaranteed. A hyperspherical path does not imply disentanglement, and routing may introduce new superposition. We would test routing consistency, causal ablations, manifold recovery, feature dilution, topological persistence, and matched task performance.

Q4. Could S₅ grok after longer training?

We agree that one stopping time is insufficient. We extended the weight-decay-free bounded sphere to 200k epochs and varied LR, temperature, width, and depth. All runs below use learned attention and positional embeddings. Unless noted, they use d_model=128, one layer, LR=1e-3, and 100k epochs.

Configuration λ Horizon n Test ≥99% epoch Reached 99%
LayerNorm, raw 1 100k 10 39,900 ± 11,942 8/10
LayerNorm, bounded 1 100k 10 36,800 ± 11,223 4/10
Sphere, bounded 1 100k 10 52,857 ± 27,670 7/10
Sphere, bounded 0 100k 3 fail, peak 1.36–1.46% 0/3
Sphere, raw 1 100k 10 fail, peak 1.15–1.61% 0/10
Sphere, bounded, long 0 200k 3 fail, peak 1.36–1.46% 0/3
Sphere, bounded, LR=3e-4 0 100k 3 fail, peak 1.38–1.53% 0/3
Sphere, bounded, LR=3e-3 0 100k 3 fail, peak 0.85–1.09% 0/3
Sphere, bounded, τ=5 0 100k 3 fail, peak 1.38–1.74% 0/3
Sphere, bounded, τ=20 0 100k 3 fail, peak 0.78–1.21% 0/3
Sphere, bounded, width=256 0 100k 3 fail, peak 1.74–1.89% 0/3
Sphere, bounded, depth=2 0 100k 3 fail, peak 0.92–1.40% 0/3

The spherical model can solve S₅, so the earlier failure is not a representational-capacity limit. However, the matched λ=0 model remains at chance after 200k epochs and is not rescued by the tested LR, temperature, width, or depth changes. The raw-head sphere also fails in 0/10 seeds even with λ=1.

No finite run excludes an arbitrarily late transition. These results nevertheless rule out premature stopping as the sole explanation and show that S₅ success depends strongly on optimization and output-head geometry. Unlike modular addition, the spherical intervention provides no comparable acceleration on S₅.

We thank the reviewer again for the insightful and constructive feedback.

Reviewer Pafy · CommentOpenReview ↗

Further Questions

Thank you for your rebuttal. The newly run experiments, in my view, addressed W2, W3 and Q2, and Q4. I have a few additional questions:

W1 (Degrees of Freedom, Task Knowledge):
I appreciate the acknowledgment of the link between degrees of freedom and task knowledge. There are, however, different ways to remove degrees of freedom from a model, some of which are more or less coupled to the task—a straightforward approach independent of the task is, e.g., reducing the model capacity, i.e., the number of learnable parameters.

My question then remains: can we decouple the effects of removing “excessive degrees of freedom” from those of making the task easier to solve?

W4 & Q1 (Generalization to Other Tasks):
Thank you for the abstract outline of future research paths. However, it only partially addresses my concerns about your technique's generalization. While I do not expect new experiments on different domains, I believe some further details could be clarified or exemplified in a concrete domain. For example, looking at the case of your proposed Stage 2 (small LM with parallel residual paths)

  • Firstly, the combination of constrained and unconstrained residual paths seems to offload work from the researcher onto the optimizer—if I understand correctly, it can decide (during training) which path to use. This can again result in grokking if the unconstrained path is chosen.
  • Secondly, there is a large gap between tasks such as arithmetic/cyclic concepts and general language. The spherical constraints you suggest for one of the paths seem to be designed for the former, while there is no indication of what could potentially guide the latter.
Authors · CommentOpenReview ↗

Response to Follow-Up Questions

Thank you for the follow-up

W1. Capacity reduction versus geometric alignment

We acknowledge that "excessive degrees of freedom" is ambiguous. We mean the geometry of the hypothesis space, specifically the radial degree of freedom that allows encoding information in vector magnitude rather than direction. We will clarify this in the camera-ready version.

With this in mind, the most direct evidence is that the spherical and LayerNorm models have identical parameter counts and per-step FLOPs. The L2 projection is parameter-free and changes the feasible representational geometry without reducing parameter count or per-step compute. Several observations reinforce this.

(1) At width 64, the spherical model succeeds in 5/5 seeds while the matched LayerNorm control fails in all five. Reducing parameter count alone does not reproduce the effect.

(2) In the 2×2×2 ablation, sphere/raw and sphere/bounded have the same radial constraint and parameter budget, yet sphere/raw fails at λ=0 in 3/3 seeds while sphere/bounded succeeds in 3/3. This shows that the radial constraint alone is insufficient and that output geometry matters.

(3) The two-layer bounded model generalizes unreliably without weight decay (1/5 seeds) but succeeds in 5/5 with weight decay at a median of 1,000 epochs. Capacity is identical; the geometry-optimization interaction determines the outcome.

(4) The same constraint provides no acceleration on S5. This shows that the benefit is task-dependent,

We agree that this is the program of geometric deep learning. Our contribution is more focused: applying this principle as a controlled intervention on the memorization-to-generalization transition. We will position this with proper GDL acknowledgment.

W4/Q1. Stage 2 concerns

Concern a. On toy tasks with a single target operation, the reviewer is most likely right that the optimizer would collapse onto one path. This is why Stage 2 targets larger-scale settings with heterogeneous mixtures, where this becomes an architectural intervention. The goal at scale is not to reproduce grokking but to test whether geometric specialization aids cyclic-subtask interpretability and learning. The number of paths, which constraints each carries, and the routing mechanism are architectural decisions. The optimizer learns routing weights within this structure, as in MoE architectures where load-balancing losses can mitigate single-expert collapse.

A clarification about mHC [2]: it constrains the residual routing matrices to be doubly stochastic for training stability, but the individual hidden vectors remain unconstrained to any representational manifold. Our proposal is different in kind. We would constrain the representational geometry of specific paths (e.g. spherical topology on selected streams), making this an architectural intervention toward Fourier-like representations. mHC shows that expanded residual streams with input-dependent mixing can be trained stably at scale. Our extension would impose different geometric constraints on different paths. Whether the model learns to selectively route cyclic subtasks to the constrained path is itself a risk and a key success criterion. If the optimizer does not route cyclic subtasks to the spherical path, that is informative negative evidence.

Concern (b). The gap between arithmetic and general language is narrower than it appears. Kantamneni and Tegmark [3] and Zhou et al. [4] show that pre-trained LLMs perform addition using Fourier mechanisms. Feucht et al. [5] show that Llama reuses base-10 addition circuits for cyclic concepts (days, months, hours). Engels et al. [6] find features on multi-dimensional circular manifolds. These results show that cyclic representations occur in pretrained language models beyond toy arithmetic.

The unconstrained paths need no separate geometric prior; they serve the role of standard residual streams. The research question is whether a geometrically specialized path helps capture cyclic computations that current unconstrained architectures may underrepresent or obscure, and if so, whether this motivates it as a permanent architectural choice. Stage 2 remains a research proposal, but these findings provide concrete motivation for the proposed test.

We thank the reviewer for helping us sharpen these points.

[1] Stander et al. "Grokking Group Multiplication with Cosets." ICML, 2024.

[2] Xie et al. "mHC: Manifold-Constrained Hyper-Connections." arXiv:2512.24880, 2025.

[3] Kantamneni and Tegmark. "Language Models Use Trigonometry to Do Addition." arXiv:2502.00873, 2025.

[4] Zhou et al. "Pre-trained Large Language Models Use Fourier Features to Compute Addition." NeurIPS, 2024.

[5] Feucht et al. "Arithmetic in the Wild: Llama Uses Base-10 Addition to Reason About Cyclic Concepts." arXiv:2605.01148, 2026.

[6] Engels et al. "Not All Language Model Features Are One-Dimensionally Linear." ICLR, 2025.

Reviewer T9XjOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies grokking through architectural constraints instead of optimizer or data changes. It shows that a bounded spherical residual stream and uniform attention can remove the memorization phase on modular arithmetic. The S5 negative control is useful because the same constraint fails on a non-commutative task. The result is interesting, but the evidence is still centered on small algorithmic settings.

Strengths and weaknesses

Strengths:

  • Clean hypothesis, strong intervention results, useful negative control, and a clear connection to Fourier/task-symmetry explanations.

Weakness:

  • Scope is narrow, mainly modular arithmetic and S5, so the broader lesson is still tentative.
  • The ablations do not fully isolate residual normalization, bounded logits, unembedding choices, weight decay, and initialization.
  • Claims about language-model implications feel speculative without more task diversity or direct comparisons to normalized Transformer variants.
Questions
  • The paper has useful intervention comparisons, but the component importance is still hard to isolate. How much of the effect comes from residual L2 projection, bounded unembedding, fixed temperature, Fourier initialization, and weight decay removal? A compact ablation table would sharpen the claim.
  • The results are reported over seeds, but robustness across model width, depth, modulus, train fraction, optimizer, and learning-rate schedule is less clear. My score would increase if the delay-removal effect is stable across these choices.
  • Appendix E discusses nGPT conceptually, but a direct matched experiment against nGPT-style normalization or other normalized Transformer variants would make the architectural claim stronger.
  • The S5 negative control is valuable, but one task is not enough to map the boundary of the symmetry-alignment story. More non-commutative, non-Fourier, or higher-dimensional tasks would clarify when the constraint helps or hurts.
  • The broader language-model implication should be framed carefully. What evidence would the authors expect before using this as guidance for general LM architecture design?
Limitations

The paper discusses task-specific alignment, but it should more directly state that the evidence is limited to small algorithmic tasks and should not yet be treated as guidance for broad language-model training.

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for highlighting the need for clearer component isolation and broader robustness tests. Similar concerns were raised by the Area Chair and other reviewers, so we prioritized these experiments during the response period.

1. Component importance

We performed a matched 2×2×2 ablation on modular addition at the same learning rate, crossing residual geometry, output head, and weight decay. We define Δ₉₉ as the difference between the first test and train epochs reaching 99% accuracy.

Residual Head λ n Test ≥99% epoch Δ₉₉ Reached 99%
LayerNorm raw 0 3 fail, peak 1.8–5.4% – 0/3
LayerNorm bounded 0 3 fail, peak 5.4–16.3% – 0/3
Sphere raw 0 3 fail, peak 32–56% – 0/3
Sphere bounded 0 3 1,750 ± 1,386 1,400 ± 1,386 3/3
LayerNorm raw 1 3 7,233 ± 1,097 6,967 ± 1,103 3/3
LayerNorm bounded 1 10 6,205 ± 1,043 5,490 ± 968 10/10
Sphere raw 1 3 4,000 ± 1,937 2,167 ± 1,400 3/3
Sphere bounded 1 3 883 ± 416 483 ± 416 3/3

Neither spherical residual projection nor the bounded output head alone reproduces the full effect. The fully bounded spherical model is the only tested configuration that generalizes without weight decay, and it is also the fastest configuration with weight decay. Spherical residuals alone provide a partial benefit under weight decay, whereas bounding only the LayerNorm head produces a substantially smaller improvement.

Here, “bounded head” jointly denotes normalized unembedding and fixed-temperature cosine logits, so these two contributions remain coupled. Embedding normalization and Fourier-oriented initialization also remain unablated; we therefore do not present this as a complete factorial decomposition.

2. Robustness

For every setting, we compared the fully bounded spherical model and a matched LayerNorm-plus-bounded-head control, both trained without weight decay, over five seeds.

Setting Sphere reached 99% LayerNorm reached 99% Sphere mean Test-99
Canonical 5/5 0/5 2,200
Width 64 5/5 0/5 2,200
Cosine schedule 5/5 0/5 2,120
RMSprop 4/5 0/5 4,450
Modulus 97 3/5 0/5 3,000
Two layers 1/5 0/5 4,000, successful seed only
20% training fraction 0/5 0/5 –

The weight-decay-free effect is robust to reduced width and cosine scheduling and largely persists under optimizer and modulus changes. At two layers it becomes unreliable, but weight decay restores generalization in all seeds, indicating a depth-sensitive architecture–optimization interaction. At a 20% training fraction, neither architecture generalizes, suggesting a data-limited regime.

The two-layer result was especially informative. The one-layer fully bounded spherical model generalizes reliably without weight decay, whereas its two-layer counterpart reaches 99% in only one of five seeds. We therefore ran targeted controls:

Two-layer spherical configuration Reached 99% Median Test-99 Median Δ₉₉
Bounded head, λ=0 1/5 4,000, successful seed only 3,600
Bounded head, λ=1 5/5 1,000 600
Raw head, λ=1 5/5 6,400 5,400

This rules out depth as a simple expressivity barrier. Instead, the weight-decay-free effect is depth-sensitive: restoring weight decay recovers generalization in all five seeds. Under the same depth, learning rate, optimizer, and weight decay, replacing the bounded head with a raw head increases median Test-99 from 1,000 to 6,400 epochs. We will describe this as a strong architecture–optimization interaction rather than uniform robustness.

3. nGPT-style comparison

We agree that a compute-matched nGPT-style baseline would strengthen the paper. Our present comparison is conceptual. nGPT normalizes a broader portion of the parameterization and introduces learned scaling or update mechanisms, whereas our intervention rigidly constrains the residual geometry and output logits. We began constructing a matched baseline but could not complete fair tuning during the short response period, and our code needs to be checked more carefully since we are not using our already existing model classes for this comparison. We prefer to state this limitation rather than report an under-tuned comparison.

4. Boundary beyond S₅

We agree that S₅ alone cannot map the boundary of the symmetry-alignment hypothesis. We selected S₅ because Stander et al. [1] identified subgroup- and coset-based circuits in grokked S₅ and S₆ networks, providing a mechanistically studied non-Abelian contrast to modular addition. We have begun S₆ experiments, but have not yet identified a sufficiently reliable Transformer grokking regime. We will present S₆ and further non-Abelian tasks as ongoing boundary tests rather than treat S₅ as sufficient evidence.

5. Evidence required for language-model guidance

Our current results do not justify replacing residual streams in general-purpose language models. A credible scaling test should show selective benefit on heterogeneous data, not only improved arithmetic accuracy or aggregate perplexity.

One concrete experiment is a 50–60M-parameter model with parallel residual paths, inspired by Hyper-Connections and mHC [2]. Some paths would be spherical and bounded, while others remain unconstrained; input-dependent mixing would allow the model to select the appropriate geometry. This is a proposed extension of mHC, not a description of the existing architecture.

The training mixture should include arithmetic, cyclic concepts such as weekdays and months, matched non-algebraic controls, and broad natural language. This direction is motivated by evidence that language models use geometric/Fourier mechanisms for addition [3,4], reuse base-10 addition circuits for cyclic concepts [5], and may represent features through multidimensional rather than single linear geometries [6].

Evidence for scaling would require improved sample efficiency on symmetry-aligned tasks, selective use of constrained paths, causal behavioral effects from path ablation, predicted geometric or spectral structure, and acceptable perplexity under matched parameter count, compute, and tuning. Selective routing of arithmetic or cyclic examples to spherical paths, while other examples use unconstrained paths, would support the hypothesis. Aggregate perplexity gains alone would not.

We will therefore frame the present work as evidence for an architecture–task interaction in controlled settings, not as general language-model design guidance.

References

[1] D. Stander, Q. Yu, H. Fan, and S. Biderman. “Grokking Group Multiplication with Cosets.” ICML, 2024. arXiv:2312.06581.

[2] Z. Xie, Y. Wei, H. Cao, et al. “mHC: Manifold-Constrained Hyper-Connections.” arXiv:2512.24880, 2025.

[3] S. Kantamneni and M. Tegmark. “Language Models Use Trigonometry to Do Addition.” arXiv:2502.00873, 2025.

[4] T. Zhou, D. Fu, V. Sharan, and R. Jia. “Pre-trained Large Language Models Use Fourier Features to Compute Addition.” NeurIPS, 2024. arXiv:2406.03445.

[5] S. Feucht, T. Haklay, U. Bhalla, et al. “Arithmetic in the Wild: Llama Uses Base-10 Addition to Reason About Cyclic Concepts.” arXiv:2605.01148, 2026.

[6] J. Engels, E. J. Michaud, I. Liao, W. Gurnee, and M. Tegmark. “Not All Language Model Features Are One-Dimensionally Linear.” ICLR, 2025. arXiv:2405.14860.

Authors · CommentOpenReview ↗

Follow-up: second non-Abelian task (A5)

Dear Reviewer T9Xj,

In our rebuttal we left your fourth point open. We had begun S6 experiments but had not reached a reliable grokking regime within the response period. We have now closed that gap with A5 group composition, a second non-Abelian task.

Under the same output head, the spherical geometry provides no acceleration on A5 either, and without weight decay none of the runs generalized. The addition effect therefore does not transfer to either non-Abelian task, and the boundary now rests on two tasks rather than one. Those results are in our official comment (2/2), at the top of the thread.

Comments on the paper

3 comments
Authors · CommentOpenReview ↗

(1/2) Corrections, Additional Results, Clarifications and Response to Meta-Review

Dear Area Chair and Reviewers,

Our earlier official comment to the initial meta-review was posted under the AC thread and was not visible to reviewers. We therefore reproduce a condensed response here.

Table 1/Figure 1 correction. The 6e-4 row and curves labeled λ=0 inadvertently used λ=1 logs. The row used the first >95% checkpoint although the text described 100%. We will correct both. Fresh matched Test-99 runs give 1,750 ± 1,386 epochs for λ=0 and 883 ± 416 for λ=1 (n=3). We retract the claims that removing weight decay accelerates the one-layer bounded model and that weight decay creates optimization friction.

Table 4 correction. The original “Bounded Sphere, λ=1” row paired spherical residuals with a raw unembedding, whereas λ=0 used the bounded head. Corrected runs separate them: at λ=1, sphere/raw reaches 99% in 0/10 seeds, while sphere/bounded reaches it in 7/10. Thus, S5 is not a capacity failure. Bounded model can solve it but shows no addition-like acceleration. S5 therefore remains a valid negative control. Despite imposing the same strong hyperspherical constraint throughout the model, the dramatic acceleration observed on addition does not transfer to S5. This supports our central claim that the geometry provides a task-dependent inductive bias rather than a universal optimization advantage.

1. Training-time mechanism. In a matched three-seed analysis on addition, LayerNorm first memorizes with large pre-normalization residual scales, low-entropy attention, and weak Fourier structure. Before sustained generalization, attention/MLP residual norms fall from 6.97/5.61 at Train-99 to 0.99/0.75, while Fourier concentration rises from 0.280 to 0.890. Fourier concentration crosses 0.5 approximately 1,575–2,600 epochs before sustained test rise, and attention entropy crosses 0.5 approximately 250–575 epochs before it.

At the checkpoint where sphere reaches Test-99, its test accuracy is 99.2% versus 2.3% for LayerNorm, Fourier concentration is 0.918 versus 0.311, and attention entropy is 0.793 versus 0.229, despite nearly identical global parameter norms (79.4 versus 78.8). Global norm reduction alone therefore does not explain the acceleration, and temporal association does not establish causation.

2. Component separation. A matched 2×2×2 ablation crosses residual geometry, raw/bounded head, and weight decay under the same optimizer, LR=6e-4, budget, and split. Without weight decay, LayerNorm/raw, LayerNorm/bounded, and sphere/raw fail in 3/3 seeds; sphere/bounded succeeds in 3/3. With weight decay, sphere/bounded is faster than either single intervention. A LayerNorm-plus-sphere hybrid succeeds without weight decay in 3/3, so removing LayerNorm is unnecessary.

Thus, neither spherical residuals nor the bounded head alone reproduces the full effect. Their combination drives the acceleration. This effect is depth-sensitive. The two-layer bounded model reaches 99% in 1/5 seeds without weight decay and 5/5 with it.

3. Uniform attention on S5. Our “bag-of-tokens” interpretation was too strong. Uniform scores remove data-dependent QK routing but retain positional information in the value pathway. On a leakage-free, swap-closed non-commuting subset, uniform attention with positions reaches 97.3% mean accuracy. Removing positions makes the model exactly swap-invariant and reduces mean accuracy to 16.7%. We will revise the appendix.

4. Quantitative definition. We define test-rise onset as the first checkpoint above 10% followed by a five-point gain within 100 epochs. In runs evaluated every five epochs, bounded-model onset occurs at epochs 255–330 with 91.9–97.0% training accuracy: 50–100 epochs before Train-99 and 115–215 before Train-100. LayerNorm onset occurs 3,330–4,235 epochs after Train-99. Thus, “bypass” denotes the absence of a positive post-memorization waiting phase. Shortly, test accuracy starts rising before train accuracy hits 100%.

5. Task boundary. We did not add a new boundary task (Edit: Now we added A5, see general response 2/2). The corrected bounded model reaches Test-99 on S5 in 7/10 seeds, ruling out a strict expressivity barrier. Among successful seeds, it is slower than LayerNorm/raw (52,857 ± 27,670 versus 39,900 ± 11,942 epochs) and remains near chance without weight decay for up to 200k epochs across changes in LR, temperature, width, and depth. Thus, S5 performance depends strongly on optimization and head geometry, and the addition benefit does not transfer. Broader task coverage remains a limitation.

Correction: the reported grokking epoch used >95%, not 100%, as previously stated (9yT1)

We apologize for the confusion caused by two reporting errors in consolidating a large set of closely related configurations. We have now audited the results against their exact settings and corrected the affected claims.

Authors · CommentOpenReview ↗

(2/2) Additional non-Abelian boundary experiment: A5

Following the request for a broader task boundary, we tested A5 group composition, a non-Abelian task previously studied by Chughtai et al. (2023). We used 40% of its 3,600 multiplication pairs and crossed LayerNorm/spherical residuals with raw/bounded unembedding at WD=0 and WD=1, over five seeds and 250k epochs. Every successful A5 run showed the characteristic sequence of early memorization, a test-accuracy plateau, and a later sharp rise.

Residual Head WD Reached Test-99 Mean Test-99 Median Test-99 Mean Gap-99
LayerNorm raw 1 4/5 68.6k ± 64.9k 39.4k 68.4k ± 64.9k
LayerNorm bounded 1 5/5 23.9k ± 23.4k 12.2k 23.5k ± 23.4k
Sphere raw 1 0/5 — — —
Sphere bounded 1 5/5 52.5k ± 37.9k 45.6k 52.3k ± 37.9k
All four combinations — 0 0/20 — — —

Gap-99 is the first Test-99 epoch minus the first Train-99 epoch. Means are computed over successful seeds only.

All successful A5 runs memorized before generalizing; none showed the pre-memorization test-rise onset observed on addition. Sphere/raw memorized but remained near chance in all five seeds through 250k epochs. Without weight decay, none of the 20 runs generalized.

Cross-task comparison of the fully bounded sphere

Task WD=0 WD=1 Outcome
Addition, 1 layer 3/3; Test-99 1.75k ± 1.39k 3/3; Test-99 0.88k ± 0.42k Test rise begins before Train-99 and Train-100
Addition, 2 layers 1/5 5/5 WD-free effect is depth-sensitive
A5 composition 0/5 5/5; Test-99 52.5k ± 37.9k Generalizes only with WD and still groks
S5 composition 0/3; near chance through 200k 7/10; Test-99 52.9k ± 27.7k Slower than LayerNorm/raw

Component-level conclusions

  • Bounded head: rescues spherical models on both A5 and S5. Its effect on LayerNorm runs in opposite directions on the two tasks and is not resolvable at these seed counts. It does not enable LayerNorm to generalize without WD on addition.

  • Spherical residuals: sharply accelerate only addition. They provide no acceleration on A5 or S5.

  • Sphere + bounded head: is the only addition configuration that generalizes without WD and the only setting where test rise begins before full memorization. This effect weakens at two layers and disappears on both non-Abelian tasks.

Thus, the spherical topology is not a task-agnostic cure for grokking. Its ability to replace weight decay and eliminate the post-memorization delay is specific to modular addition, supporting a task-dependent architecture–optimization interaction.

Note on task choice. We had begun S6 experiments, but did not reach a reliable grokking regime within the response period. We therefore used A5, which is a subgroup of S5 but not simply an easier version of it. A5 has no non-trivial one-dimensional irreducible representation, whereas S5 has the sign representation, which is learned early but generalizes poorly. A5 is smaller but removes this one-dimensional shortcut.

Chughtai, B., Chan, L., and Nanda, N. “A Toy Model of Universality: Reverse Engineering How Networks Learn Group Operations.” ICML 2023, pp. 6243–6267.

Authors · CommentOpenReview ↗

Summary of the Author-Reviewer Discussion

Dear Area Chair and Reviewers,

We sincerely thank you for the time and care invested in this discussion. We recognize the substantial workload carried by the Area Chairs and reviewers, and we are grateful that your feedback helped us correct errors and sharpen the paper.

The initial scores were 4, 4, and 3. After the Author-Reviewer Discussion period, the final scores are 4, 4, and 4.

Reviewer T9Xj indicated that stronger evidence of robustness across experimental choices could increase their score. This motivated us to conduct the component ablation and robustness tests, which identified both stable settings and important depth and data limitations. Their feedback also motivated the A5 experiment and narrower language model framing. We received no follow-up after our responses, but would have welcomed the opportunity to address any remaining concerns.

Reviewer Pafy remained at 4 and stated that many concerns were addressed. They placed their evaluation between 4 and 5, but closer to 4. Their remaining concern is broader-domain generalization, which we will state as a limitation.

Reviewer 9yT1 increased the score from 3 to 4, stated that their current concerns were resolved, and placed their evaluation between 4 and 5. Their feedback led us to define bypass quantitatively, run matched learning rate comparisons, correct the uniform-attention interpretation, and revise the S5 conclusion.

The Area Chair requests are addressed as follows.

  1. Training-time mechanism is covered in Official Comment (1/2), Point 1.

  2. Component separation and the LayerNorm plus sphere control are covered in Official Comment (1/2), Point 2.

  3. The corrected uniform-attention interpretation and swap control are covered in Official Comment (1/2), Point 3.

  4. The quantitative definition of bypass is covered in Official Comment (1/2), Point 4.

  5. The corrected S5 analysis is covered in Official Comment (1/2), Point 5. The new A5 boundary experiment is reported in Official Comment (2/2).

The two reporting and configuration errors, and the claims withdrawn as a result, are also stated in Official Comment (1/2). The corrected S5 result rules out our original capacity interpretation. The spherical model can solve S5 and A5, but does not reproduce the acceleration observed on addition.

Most of the central claims remain unchanged, as Reviewer 9yT1 also noted. In particular, the main positive result on modular addition remains unchanged. Test accuracy begins rising before full memorization, and the fully bounded model reaches Test-99 earlier than LayerNorm at every matched learning rate. The revision narrows our interpretation of the non-Abelian controls. Architectural topology can bypass the post-memorization waiting phase when aligned with the task. However, the same topology provides no acceleration over LayerNorm on S5 or A5 in the tested settings.

We thank the Area Chair and reviewers again. Their feedback materially improved both the evidence and the precision of our conclusions.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…