TL;DR
Grokking delay, a phenomenon where models take time to learn effectively, lacked quantitative predictions under the AdamW optimization algorithm. A closed-form law was derived to predict this delay, relating it to the squared parameter norm and architecture-dependent thresholds.
✦ Why It Matters
Engineers can use this predictive model to optimize training times and improve neural network performance.
Key Takeaways
Full Summary
Grokking delay refers to the time it takes for machine learning models to start performing well after initial training. This study introduces a quantitative approach to predict grokking delay when using the AdamW optimization algorithm, which is a variant of the Adam optimizer that includes weight decay.
The researchers derived a closed-form equation, T_grok - T_mem = (1 / 2 kappa_LL eta lambda) log(V_mem / V_star), where T_grok is the time to grok, T_mem is the memory time, and V_t represents the squared norm of model parameters. Key parameters, kappa_LL and V_star, were calibrated based on a single hyperparameter setting.
Results indicate that this model can accurately predict grokking delay, providing insights into the training dynamics of neural networks. These findings have implications for optimizing training strategies and understanding model behavior during learning phases.
Related