Explaining grokking through circuit efficiency
Authors: Vikrant Varma, Rohin Shah, Zachary Kenton, János Kramár, Ramana Kumar
AI-generated Key Points
⚠The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.
- Grokking refers to the phenomenon where a network with perfect training accuracy but poor generalization can transition to perfect generalization with further training.
- The authors propose that grokking occurs when a task has both a generalizing solution and a memorizing solution.
- Generalizing solutions are slower to learn but more efficient, while memorizing solutions are faster to learn but less efficient.
- As training datasets become larger, memorizing circuits become increasingly inefficient while generalizing circuits remain relatively unaffected.
- There exists a critical dataset size at which memorization and generalization are equally efficient.
- The authors make and confirm four novel predictions about grokking, providing strong evidence for their hypothesis.
- Two unexpected behaviors related to grokking are ungrokking (regression from perfect to low test accuracy after further training) and semi-grokking (delayed generalization to partial rather than perfect test accuracy).
- This study sheds light on the puzzling phenomenon of grokking in neural networks by proposing an explanation based on circuit efficiency.
- The findings contribute to our understanding of neural network generalization and have implications for improving model performance in various tasks.
Abstract: One of the most surprising puzzles in neural network generalisation is grokking: a network with perfect training accuracy but poor generalisation will, upon further training, transition to perfect generalisation. We propose that grokking occurs when the task admits a generalising solution and a memorising solution, where the generalising solution is slower to learn but more efficient, producing larger logits with the same parameter norm. We hypothesise that memorising circuits become more inefficient with larger training datasets while generalising circuits do not, suggesting there is a critical dataset size at which memorisation and generalisation are equally efficient. We make and confirm four novel predictions about grokking, providing significant evidence in favour of our explanation. Most strikingly, we demonstrate two novel and surprising behaviours: ungrokking, in which a network regresses from perfect to low test accuracy, and semi-grokking, in which a network shows delayed generalisation to partial rather than perfect test accuracy.
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
⚠The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
⚠The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
By clicking on the button above, our algorithm compares the title and abstract of this paper with all the papers of the same arXiv category that we have summarized, and finds the closest ones. You can rerun it from time to time: the results improve as our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.