PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
May 30, 20241 citationsOpen Access

Grokfast: Accelerated Grokking by Amplifying Slow Gradients

View Full Paper
JLJaerin LeeBKBong Gyun KangKKKihoon Kim

Key Points

Key points are not available for this paper at this time.

Abstract

One puzzling artifact in machine learning dubbed grokking is where delayed generalization is achieved tenfolds of iterations after near perfect overfitting to the training data. Focusing on the long delay itself on behalf of machine learning practitioners, our goal is to accelerate generalization of a model under grokking phenomenon. By regarding a series of gradients of a parameter over training iterations as a random signal over time, we can spectrally decompose the parameter trajectories under gradient descent into two components: the fast-varying, overfitting-yielding component and the slow-varying, generalization-inducing component. This analysis allows us to accelerate the grokking phenomenon more than 50 with only a few lines of code that amplifies the slow-varying components of gradients. The experiments show that our algorithm applies to diverse tasks involving images, languages, and graphs, enabling practical availability of this peculiar artifact of sudden generalization. Our code is available at https: //github. com/ironjr/grokfast.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Lee et al. (2024) studied this question.

synapsesocial.com/papers/68e67cafb6db64358760617ehttps://doi.org/10.48550/arxiv.2405.20233
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Deep Networks Always Grok and Here is Why2024
  2. 2Grokking via Implicit Path Norm Minimization: A Theoretical Mechanism2026
  3. 3Grokking via Implicit Path Norm Minimization: A Theoretical Mechanism2026
  4. 4Why Do You Grok? A Theoretical Analysis of Grokking Modular Addition2024 · 1 citations
  5. 5Structure-Specific Representational Priors Causally Control the Grokking Delay2026