Skip to content
AI News HubLIVE
Original source2 min read

Feature Repulsion and Spectral Lock-in: An Empirical Study of Two-Layer Network Grokking

Summary

This study empirically tests the observability of Tian (2025)'s feature repulsion theorem in two-layer network grokking. The predicted sign rule holds robustly but the spectral signature is strongly activation-dependent: with squared activation, a clear rank-2 spectral lock-in signal appears; with ReLU, the spectrum remains rank-1 and the detector never fires. This reveals a structure-mechanism dissociation, highlighting the critical role of the activation derivative.

SourcearXiv Machine LearningAuthor: Yongzhong Xu
Feature Repulsion and Spectral Lock-in: An Empirical Study of Two-Layer Network Grokking
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

[2605.08119] Feature Repulsion and Spectral Lock-in: An Empirical Study of Two-Layer Network Grokking

[Submitted on 28 Apr 2026]

Title:Feature Repulsion and Spectral Lock-in: An Empirical Study of Two-Layer Network Grokking

View a PDF of the paper titled Feature Repulsion and Spectral Lock-in: An Empirical Study of Two-Layer Network Grokking, by Yongzhong Xu

View PDF HTML (experimental)

Abstract:Tian (2025) proves a repulsion theorem (Theorem 6) for the matrix $ B = (\widetilde{F}^\top \widetilde{F} + \eta I)^{-1} $ during the interactive feature-learning stage of grokking: similar features have negative off-diagonal entries $ B_{j\ell} $, producing an effective repulsive force that drives them apart. However, the theorem does not specify when this mechanism becomes empirically observable, nor whether it leaves a measurable spectral signature in the parameter updates. We test this directly on Tian's modular addition setup ($ M = 71 $, $ K = 2048 $, MSE loss) and observe a clear structure-mechanism dissociation. The predicted sign rule holds robustly on the top-200 most-similar feature pairs across activations (empirical sign-match rising from 0.865 to 0.985 on $ \sigma = x^2 $ across 5 seeds, and saturating at 1.000 on $ \sigma = \operatorname{ReLU} $). However, the spectral signature in the parameter updates is strongly activation-dependent. With $ \sigma = x^2 $, a simple slope detector on the rolling eigengap $ \sigma_2 / \sigma_3 $ of $ \Delta W $ fires in 15/15 grokking seeds at epoch 174 (IQR [173,174]) and in 0/15 non-grokking controls, with 229$ \times $ late-stage magnitude separation; the spectrum is rank-2. In contrast, with $ \sigma = \operatorname{ReLU} $, the detector never fires and the spectrum remains effectively rank-1. This dissociation aligns with Tian's Theorem 5 distinction between focused (power-law) and spreading (ReLU) memorization: while the sign structure of $ B $ depends only on $ \widetilde{F}^\top \widetilde{F} $, how feature repulsion translates into weight updates critically depends on the activation derivative $ \sigma' $.

Comments: 11 pages, 4 figures

Subjects:

Machine Learning (cs.LG); Artificial Intelligence (cs.AI)

Cite as: arXiv:2605.08119 [cs.LG]

(or arXiv:2605.08119v1 [cs.LG] for this version)

https://doi.org/10.48550/arXiv.2605.08119

arXiv-issued DOI via DataCite

Submission history

From: Yongzhong Xu [view email] [v1] Tue, 28 Apr 2026 03:46:38 UTC (576 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled Feature Repulsion and Spectral Lock-in: An Empirical Study of Two-Layer Network Grokking, by Yongzhong Xu

View PDF

HTML (experimental)

TeX Source

view license

Current browse context:

cs.LG

new | recent | 2026-05

Change to browse by:

cs cs.AI

References & Citations

NASA ADS

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

IArxiv recommender toggle

IArxiv Recommender (What is IArxiv?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Key points and analysis

Article intelligence

ResearchersAdvanced

Key points

  • The sign rule of the repulsion matrix B matches theoretical predictions (0.865 to 0.985 for squared activation, saturating at 1.000 for ReLU).
  • Spectral lock-in is only observed with squared activation: a slope detector fires in 15/15 grokking seeds at epoch 174, never in non-grokking or ReLU runs.
  • Results show dissociation between theoretical structure and observable mechanism, depending heavily on activation function choice.

Highlights and analysis are generated automatically and may contain errors. Check the original source.