arXiv Machine Learning By Eduardo Cueto-Mendoza, John D. Kelleher

Deep Neural Networks Training Efficiency: Does Grokking Modify its Dynamics?

Read the original on arXiv Machine Learning →

The paper investigates whether grokking—delayed out‑of‑distribution generalization after overfitting—affects training efficiency, defined as accuracy per unit energy, in deep neural networks. Using modular arithmetic and MNIST tasks, two network models, and 16‑, 32‑, and 64‑bit precision, the authors employ Orthograd to probe training dynamics over short (≤500 epochs) and long (≤20,000 epochs) runs. They find that while grokking manifests as a sharp test‑accuracy improvement after a sustained train‑test gap, it does not produce noticeable deviations from the typically decreasing efficiency curves, even when Orthograd induces grokking in long‑horizon experiments.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv Machine Learning
Oct 9

Grokking or Glitching? How Low-Precision Drives Slingshot Loss Spikes

Deep neural networks can exhibit periodic loss spikes known as the "Slingshot Mechanism" during long‑term training. This paper shows that such spikes arise from finite‑precision floating‑point arithmetic: when the correct‑class logit becomes much larger than the others, the gradient for that class is rounded to zero while others remain nonzero, breaking the zero‑sum constraint and creating a positive feedback loop that inflates feature and classifier norms. The authors term this Numerical Feature Inflation (NFI) and demonstrate that it explains the rapid norm growth, reappearance of gradients, and loss spikes, while also showing that partial absorption can still cause hidden norm growth without visible spikes.

By Hanqing Liu, Jianjun Cao, Yuanze Li, Zijian Zhou
arXiv Machine Learning
Sep 11

Quantifying the Memorization-to-Generalization Transition: Scaling Laws and Phase Structure in Grokking

The study investigates the delayed transition from memorization to generalization—known as grokking—in two‑hidden‑layer MLPs trained on modular arithmetic. By exploring 384 hyperparameter configurations, the authors derive a power‑law scaling relation for the onset time of generalization, showing that data complexity dominates over model capacity. A clear phase boundary at weight decay around 1.0 separates grokking from non‑grokking regimes, and weight norm trajectories indicate implicit regularization during the transition.

By Anish Kataria