acceptodds
Published as a conference paper at NeurIPS 2026

Where Reusable Computation Becomes Detectable: Solution-Frame Path Triage for Modular-Arithmetic Grokking

Ruian Lei, Ruoxi Jiang, Marley M Vellasco, M. Tanveer, Zenglin Xu

Abstract

Mechanistic studies of grokking often begin after an endpoint circuit has been identified. We study the preceding retrospective triage problem: given a solved final checkpoint and a long saved trajectory, which path and window should be inspected first? We propose solution-frame path triage. The final checkpoint fixes a solution frame; earlier checkpoints are then scored path by path. The Geometric Coherence Score (GCS) measures coherence in this procedure: it asks whether neighboring inputs in the final frame undergo similar local Jacobian transformations through the attention, MLP, or full block measurement maps. Centered Kernel Alignment (CKA) and distance to the final path state provide the complementary proximity scores. Across 104 modular arithmetic Transformer runs, GCS reveals a repeatable path schedule that simple norm and dimensionality summaries miss: attention coherence rises near grokking and often turns over, while MLP maps diversify and later reconverge. After selection, held-out checks show that the resulting windows are enriched for accuracy and algebraic changes, align with Fourier progress on modular addition, and identify attention-to-MLP interface states with high replacement cost. The method returns a short list of path/window hypotheses for endpoint analysis. It is retrospective by design: the final checkpoint is part of the procedure.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 4%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.67 over 3 reviews, above 4% of the others.
Reviewer_5tW8OpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes solution-frame path triage, a retrospective procedure to prioritize where to inspect a grokking training trajectory given a solved final checkpoint. The method fixes the final model as a solution frame, constructs a k-NN neighborhood graph over final block-output representations at the prediction position, and scores earlier checkpoints path-by-path (attention, MLP, full block) using a Geometric Coherence Score (GCS) based on Jacobian-vector products and a spectral entropy summary; complementary proximity scores (CKA, L2) measure approach to the final path state. Across 104 modular arithmetic Transformer runs, the authors show a repeatable, path-specific schedule (attention coherence peaking near grokking and then declining; MLP coherence showing a U-shape), and demonstrate that windows selected using these scores are enriched for large accuracy and commutativity changes, align with Fourier progress on addition, and identify attention-to-MLP interface states with high replacement cost via interventions.

Strengths and weaknesses

Strengths

Technical novelty and innovation

  • Introduces a clear and original retrospective triage framework anchored in a "solution frame" defined by the final checkpoint, which makes earlier checkpoints legible in the final model's coordinates.
  • Proposes a new cross-input geometric coherence measure (GCS) based on neighbor-local JVP alignment and a spectral-entropy mode count; path decomposition (attention vs. MLP vs. overall) adds interpretive specificity.
  • Separates coherence (shared local transformations across inputs) from proximity (state similarity to final), providing two complementary selectors that emphasize different stages of solution formation.

Experimental rigor and validation

  • Large, controlled suite: 104 grok-observed runs across tasks (add/sub/mul/div), activations, and depths, with consistent path-specific schedules replicated across depths.
  • Sensible held-out protocol: selector tuned on one seed and evaluated on held-out seeds; enrichment quantified as window percentiles and top-20% hit rates, with nulls and scalar controls (norms, PR).
  • Multiple, independent validations after selection: task algebra (swap equivariance), alignment with established addition Fourier-progress measures, and causal tests via activation and parameter patching.
  • Robustness and sanity checks are extensive (as described): reference and prompt-source ablations, SVD-ordering and basis controls, synthetic "shared rule vs. lookup" separation; artifact bundle provided.

Clarity of presentation

  • The motivation (retrospective triage before expensive endpoint analysis) is sharply defined and consistently followed.
  • Method is well-scoped and carefully caveated; equations and path definitions are clear, and figures convey the key scheduling effects.
  • Explicit limitations and scope are stated, reducing the risk of overclaiming.

Significance of contributions

  • Provides a practical tool to shrink the search space in grokking trajectories, potentially saving substantial analyst time before circuit reconstruction.
  • Reveals a robust, path-specific organizational schedule that is not captured by simple magnitude/dimensionality summaries, yielding new insight into attention–MLP interface dynamics during grokking.
  • The approach is likely reusable across other controlled algorithmic settings that admit a solved final model and saved trajectory.

Weaknesses

Technical limitations or concerns

  • Heavy dependence on the final checkpoint and its coordinate system: the k-NN graph and local probes are defined in final residual coordinates and at the final embedding basepoint, which could bias the analysis toward structures most legible in the endpoint geometry (e.g., answer-class organization), potentially missing precursor organization in other frames.
  • The coherence statistic aggregates edge-wise unsigned cosines of JVPs and then a spectral-entropy summary of a sparse graph; while intuitive, it may be brittle to analysis hyperparameters (N, k, d), graph connectivity, and eigenvalue normalization via absolute values.
  • The MLP "path" necessarily mixes attention via the chain rule; although the authors report controls, some readers may remain uncertain about path purity and interpretation in deeper stacks.

Experimental gaps or methodological issues

  • Generalization beyond small modular-arithmetic Transformers is not demonstrated; the depth extension is limited to last-block analyses in 2–3 layer models, and broader application to real-world LLMs remains open.
  • The held-out selection evaluation uses only two seeds for percentiles/hit rates; while the descriptive cohort is large, selection robustness could be further strengthened with more held-out seeds and additional architectures.
  • Choice of N=200, k=15, d=8 is motivated but somewhat ad hoc; although ablations are referenced, main-text sensitivity remains underemphasized.

Clarity or presentation issues

  • Some central validation details (e.g., "restricted Fourier progress" definition, precise smoothing/valley-peak selection heuristics) are deferred to appendices, making it harder to fully audit the selector behavior from the main text alone.
  • The relation between absolute GCS values and interpretable thresholds is deemphasized; interpretation relies largely on relative trajectory shapes.

Missing related work or comparisons

  • Broader context on Jacobian-based similarity/coherence diagnostics (e.g., NTK/Fisher alignment, tangent-space alignment across checkpoints) could be expanded to situate GCS among other geometry-of-gradients tools.
  • While GrokAlign is compared in an appendix, a concise main-text quantitative comparison would help anchor the claimed advantages of pathwise solution-frame coherence vs. whole-model centroid alignment.
Questions
  1. How sensitive are the GCS-based selections to the neighborhood graph and probe hyperparameters (N, k, d) beyond the ablations referenced? Could you summarize main-text robustness (e.g., variance of window percentiles across reasonable ranges)?
  2. To what extent does constructing neighborhoods in the final block-output space bias the method toward answer-class structure? Have you tried building the reference graph in earlier-layer residual spaces or using a hybrid reference that combines multiple layers?
  3. How does the method perform when the final model is imperfect (e.g., test accuracy 90–95%) or when grokking is incomplete? Is there a graceful degradation of selection quality?
  4. Can the path-triage framework be extended to select among multiple blocks/layers jointly (e.g., identifying which layer's attention path should be prioritized), and have you explored layerwise schedules beyond the last block?
  5. The MLP path necessarily includes attention via the chain rule. Could you provide a concise main-text summary of the "path purity" controls from Appendix P and their quantitative effect on the reported attention/MLP scheduling?
  6. How does GCS compare empirically to other Jacobian/tangent-based similarity measures (e.g., NTK/Fisher alignment, Jacobian angular similarity) on the same selection benchmark?
  7. What are the computational tradeoffs for scaling N and the number of checkpoints in larger models? Are there approximations (e.g., landmark graphs, random projections) that preserve selection quality while reducing cost?
Limitations

Yes

Paper formatting concerns

N/A

Reviewer_V9kTOpenReview ↗
Rating
3
Clarity
2
Confidence
3
Originality
3
Quality
3
Significance
2
Read review
Summary

This paper proposes solution-frame path triage for selecting checkpoint windows and model paths for later mechanistic analysis. GCS uses the final checkpoint as a reference geometry and measures whether neighboring inputs are transformed coherently by earlier attention, MLP, or overall paths. On modular arithmetic tasks, the authors find a repeatable path-specific schedule and show that selected windows often contain large accuracy and equivariance changes. They also connect the selected windows to Fourier progress and attention-to-MLP replacement cost. Overall, the method is presented as a task-agnostic surrogate locator for narrowing a long training trajectory before detailed circuit analysis.

Strengths and weaknesses

Strengths

  1. The proposed method does not need a hand-designed task-specific signal, such as operand-swap symmetry or a known Fourier circuit, to produce candidate path/window hypotheses. In this sense, GCS provides a useful non-task-specific surrogate locator for cross-input transformation changes during training.
  2. Experiments in the controlled setting are extensive. The paper evaluates the method across several modular arithmetic tasks, activation functions, random seeds, and model depths.

Weaknesses

  1. The meaning of an inspection-worthy window is still not fully justified. The paper evaluates an inspection window mainly by whether it contains a large increase in test accuracy or a large change in equivariance. More fundamentally, if these changes define a good window, why not use test accuracy or equivariance directly to select it when they are available? I understand that test accuracy does not provide path-level localization, while equivariance requires task-specific prior knowledge and is not available for every task. This gives GCS a possible role as a task-agnostic, path-specific surrogate locator. However, the current experiments mainly show that GCS can recover windows that are also highlighted by accuracy or task symmetry, while CKA and L2 are as strong as or stronger than GCS on several selection metrics. It would be helpful to demonstrate that the path-specific GCS window leads to a concrete mechanistic insight that would be missed by directly inspecting the attention and MLP paths around an accuracy-, equivariance-, or proximity-selected window.

  2. The full pipeline is quite complex, and its incremental value over simpler cross-input baselines is unclear. The method includes final-reference neighborhood construction, local SVD directions, pathwise JVPs, rank-wise cosine alignment, construction of the coherence matrix G, and spectral aggregation. To be fair, the paper contains many ablations and sanity checks for individual design choices, so I do not think the method is unjustified. Still, most of these checks ask whether the resulting GCS trajectory is robust after changing one component. They do not fully answer whether the complete pipeline is needed for window selection. A useful baseline would be to construct a cross-input graph (G) directly from pairwise per-example path-Jacobian or gradient similarities, and then evaluate it with exactly the same held-out window-selection protocol. This would help quantify how much is gained by the proposed solution-frame geometry construction.

  3. It is unclear which discoveries are uniquely enabled by GCS. I would like the paper to state more clearly which new mechanistic finding was specifically enabled by GCS, rather than by the symmetry, Fourier, or intervention analyses performed after the window had been selected.

  4. The paper is difficult to follow because the terminology and experimental story are quite dense. Terms such as “solution-frame path triage,” “endpoint consolidation,” “shared-transformation reorganization,” “diversify and then unify,” and “attention-to-MLP interface state” are meaningful within the paper, but they are often introduced in compressed form and only become clear after reading later sections or appendices.

Questions

Please refer to the weaknesses above.

Limitations

yes

Paper formatting concerns

N/A

Reviewer_wM8wOpenReview ↗
Rating
4
Clarity
3
Confidence
2
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper introduces solution-frame path triage, a retrospective method for identifying which model component and training interval should be examined first in grokking studies. Using the final solved checkpoint as a reference geometry, it evaluates earlier attention, MLP, and full-block computations with the Geometric Coherence Score (GCS), which measures whether related inputs undergo similar local Jacobian transformations. Across 104 modular-arithmetic Transformer runs, attention coherence typically peaks near grokking and then declines, while MLP coherence first diversifies and later reconverges. The selected windows align with accuracy gains, algebraic structure, Fourier progress, and fragile attention-to-MLP interface states. The method is intended as a post hoc diagnostic tool rather than a predictive theory of grokking.

Strengths and weaknesses

Strengths

  1. Clear and practically relevant problem formulation. The paper targets a genuine bottleneck in mechanistic grokking research: deciding which checkpoint and computational path to inspect before performing expensive circuit reconstruction. The distinction between coherence-based localization through GCS and final-state proximity through CKA/L2 is conceptually clean and leads to a useful triage workflow.

  2. Systematic and extensive empirical evaluation. The main conclusions are supported by 104 grok-observed Transformer runs spanning four arithmetic tasks, three activation functions, and depths from one to three layers. The paper also separates selector development from held-out evaluation and includes substantial hyperparameter, reference-frame, and path-definition robustness checks.

  3. Strong triangulation with independent mechanistic evidence. The selected windows are validated using test-accuracy changes, algebraic symmetry acquisition, Fourier progress, checkpoint surgery, and activation patching. Importantly, the authors interpret the intervention results cautiously as evidence for a fragile attention-to-MLP interface rather than claiming that attention alone is sufficient for the learned algorithm.

Weaknesses

  1. The method is inherently retrospective and reference-dependent. It requires a successfully solved final checkpoint to define the solution frame, so it cannot directly predict grokking or guide training online. Moreover, the precise attention-peak trajectory is sensitive to the chosen reference checkpoint and is substantially less stable under cross-seed references than the broader MLP pattern.

  2. The empirical scope remains narrow. Most evidence comes from small, shallow Transformers trained on synthetic modular-arithmetic tasks. Although the finite-group experiments provide a useful scope extension, they mainly replicate the broad timing pattern and do not establish that the method will remain informative for realistic language models, natural data, or substantially deeper architectures.

  3. The incremental advantage of GCS over simpler baselines is not fully convincing. Final-state L2 and CKA are often as strong as, or stronger than, GCS for selecting useful windows, while alternative coherence aggregations can perform comparably to the proposed entropy-based score. At the same time, GCS requires Jacobian-vector products and spectral computation; in the representative setup, retrospective GCS analysis takes about 30 minutes compared with approximately 19 minutes for training itself.

Questions

See weaknesses.

Limitations

Yes.

Paper formatting concerns

None.

Final justification

I will keep my positive score.

Comments on the paper

1 comment
Meta-review

This paper introduces "solution-frame path triage," a retrospective method designed to localize where and when to inspect a model's training trajectory during grokking studies. By anchoring the analysis in the geometry of the final solved checkpoint, the method evaluates earlier attention, MLP, and full-block computations using a Geometric Coherence Score (GCS) alongside proximity metrics. Evaluated across 104 modular-arithmetic Transformer runs, the approach aims to serve as a task-agnostic diagnostic tool to narrow the search space before undertaking expensive mechanistic circuit reconstruction.

Strengths

Targets a genuine bottleneck in mechanistic interpretability (where/when to look). Thoroughly tested across 104 modular arithmetic runs. Good alignment with Fourier progress, symmetry acquisition, and causal interventions.

Suggestions for Rebuttal:

Justify why the complex GCS pipeline is needed given that simpler baselines yield comparable window selections.

Explicitly state what new mechanistic insight was uniquely enabled by GCS.

Address hyperparameter sensitivity and coordinate bias from relying solely on the final solved checkpoint.

Simplify dense, proprietary terminology to improve readability.

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.