Saved in:
Bibliographic Details
Main Authors: Salah, Ahmed, Yevick, David
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.11645
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915391843860480
author Salah, Ahmed
Yevick, David
author_facet Salah, Ahmed
Yevick, David
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2507_11645
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Tracing the Path to Grokking: Embeddings, Dropout, and Network Activation
Salah, Ahmed
Yevick, David
Machine Learning
Artificial Intelligence
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.
title Tracing the Path to Grokking: Embeddings, Dropout, and Network Activation
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2507.11645