The Weight Norm Sets the Grokking Timescale: A Causal Delay Law

23d ago · Global · primary source: export.arxiv.org

A new study proposes a causal law for the grokking timescale in neural networks, identifying the weight norm as the primary driver of the delay before generalization begins, according to research posted on arXiv [1]. Grokking describes a phenomenon where neural networks suddenly generalize to a solution long after they have perfectly memorized the training data [1]. The precise cause of this delay has been contested: some prior work reported a critical weight norm at the transition point, while other studies observed grokking without any fixed norm [2]. Researchers at arXivLabs, a framework for community-developed features on the preprint repository [4], have now intervened directly on the norm during training to settle the question [1]. Under standard training with weight decay, the network groks when its weight norm reaches a critical value, Wc. This value shows little variation across different random seeds and learning rates, with a coefficient of variation between 1 and 2 percent [1]. The critical norm also scales with the modular base following a power law [2]. To test causality, the team clamped the weight norm to a fixed multiple, rho, of Wc and held it there. The network still grokked, but the delay followed an exponential relationship: T_grok proportional to exp(alpha rho) [1]. A single exponent, alpha near 7.5, described the delay across four different moduli with an R^2 of 0.996 [2]. Across the swept parameter ranges, manipulating the held norm shifted the grokking delay by about 19x, while changing the learning rate moved it by only about 2x [1]. Holding the norm above Wc slowed grokking but did not prevent it [2]. The exponential delay law vanished when a final LayerNorm was added to the architecture, which decouples the weight scale from the network's function. Removing the LayerNorm caused the exponential dependence to return [1]. The authors describe this pinned-norm delay as the exponential counterpart to the logarithmic delay predicted when the norm is allowed to contract freely [2]. arXiv, which hosts the paper, is an open-access repository of electronic preprints that has been operating since August 1991 and now receives about 24,000 submissions per month [6]. The arXivLabs framework, launched in 2020, allows community collaborators to build experimental tools that appear on article pages, such as citation explorers and code finders [4][5].

research-paper

Background sources we checked (7)
  • arxiv.org ↗ Grokking is the delayed onset of generalization in neural networks, arising long after they fit the training data. Whether the weight norm causes this delay is disputed: some studies report a critical norm at the transition, others observe grokking with no fixed norm at all. We s…
  • info.arxiv.org ↗ arXiv Labs - arXiv info | arXiv e-print repository Skip to content # arXiv Labs Attention arXiv Users: arXiv Labs is pausing new proposals ## What are arXiv Labs? arXiv Labs are a way for the community to contribute new, useful features to arXiv. These integrations are avail…
  • blog.arxiv.org ↗ arXivLabs: a space for community innovation – arXiv blog arXiv has launched a new, formalized framework enabling innovative collaborations with individuals and organizations. “Members of our community want to contribute tools that enhance the arXiv experience, and we val…
  • info.arxiv.org ↗ arXivLabs: Showcase - arXiv info | arXiv e-print repository ... # arXivLabs: Showcase ... arXiv is surrounded by a community of researchers and developers working at the cutting edge of information science and technology. ... While the arXiv team is focused on our core mission—pr…
  • en.wikipedia.org ↗ arXiv (pronounced as "archive"—the X represents the Greek letter chi ⟨χ⟩) is an open-access repository of electronic preprints and postprints (known as e-prints) approved for posting after moderation, but not peer reviewed. It consists of scientific papers in the fields of mathem…
  • en.wikipedia.org ↗ 14 (fourteen) is the natural number following 13 and preceding 15.…
  • en.wikipedia.org ↗ A large language model (LLM) is a type of machine learning model designed for natural language processing tasks such as language generation. LLMs are language models with many parameters, and are trained with self-supervised learning on a vast amount of text.…

Sources

Spot something wrong? Report an issue