What Does the Weight Norm Control in Grokking? Logit-Scale Mediation under Cross-Entropy

Truong Xuan Khanh
6/16/2026
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Grokking, the delayed jump from memorization to generalization, is usually tied to the weight norm: a smaller norm generalizes sooner. We ask what the norm actually controls.

Show full abstract

Holding the weight norm fixed by clamping and varying only an output temperature, we slide the grokking delay across its entire norm-induced range under cross-entropy; matching the effective logit scale back to baseline recovers about 85% of the delay at two moduli. Across a grid of norms and temperatures the delay collapses onto the logit scale alone (R2 = 0.97), with the norm adding 1-2% beyond it. The effect is loss-dependent: under mean-squared error the logit scale is pinned and the norm acts through a different route. A memorization control, a float64 softmax-collapse audit, and a no-LayerNorm transformer point to the same channel. Forking arms from one identical state, the delay follows the held norm value and not the clamp operation, which closes a rescaling-artifact concern. The proximal variable is the logit scale and the softmax saturation it drives; the weight norm is only an upstream handle. All numbers, tables, and figures reproduce from released code and data.

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{khanh2026what,
  title  = {What Does the Weight Norm Control in Grokking? Logit-Scale Mediation under Cross-Entropy},
  author = {Truong Xuan Khanh},
  year   = {2026},
  eprint = {2606.18465},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.18465v1}
}

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/2606.18465.svg)](https://codeofpaper.com/paper/2606.18465)

Discussion