Tracing the Path to Grokking: Embeddings, Dropout, and Network Activation

Ahmed Salah, David Yevick
7/15/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Grokking refers to delayed generalization in which the increase in test accuracy of a neural network occurs appreciably after the improvement in training accuracy This paper introduces several practical metrics including variance under dropout, robustness, embedding similarity, and sparsity measures, that can forecast grokking behavior. Specifically, the resilience of neural networks to noise during inference is estimated from a Dropout Robustness Curve (DRC) obtained from the variation of the accuracy with the dropout rate as the model transitions from memorization to generalization. The variance of the test accuracy under stochastic dropout across training checkpoints further exhibits a local maximum during the grokking. Additionally, the percentage of inactive neurons decreases during generalization, while the embeddings tend to a bimodal distribution independent of initialization that correlates with the observed cosine similarity patterns and dataset symmetries. These metrics additionally provide valuable insight into the origin and behaviour of grokking.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{salah2025tracing,
  title  = {Tracing the Path to Grokking: Embeddings, Dropout, and Network Activation},
  author = {Ahmed Salah and David Yevick},
  year   = {2025},
  eprint = {2507.11645},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.11645v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.11645.svg)](https://codeofpaper.com/paper/2507.11645)

Discussion