Is Memorization Actually Necessary for Generalization
Hadi Abdullah
NeurIPS page · OpenReview · Open on the map
Category: Interpretability & Model Adaptation › Predictive Coding and Representation Alignment · Type: new method · Keywords: memorization measurement, deep learning generalization, methodological flaws, evaluation bias, model robustness
Areas: Continual Learning & Adaptation › Non-Stationarity Adaptation › Generalization and Memorization
Summary
We uncover critical flaws in prior memorization measurement and propose corrected methods, demonstrating that memorization is not necessary for deep learning generalization.
Explained to a 5-year-old
Deep learning computers learn a lot from examples. Some people thought that the computer must remember every detail to work well on new things. This paper shows that the way they measured memory was wrong. When we fix those mistakes, we find that forgetting some details actually helps the computer do better. So remembering everything is not needed for learning.
Explained to a 5-year-old, longer
Computers that learn can look at many pictures or words. Sometimes they copy the examples so well that they seem to remember them. People wanted to know if this copying helps the computer do new things. A previous study said that copying was necessary for good performance. But this new paper found problems with how that study measured copying. The measurement was biased, mislabeled things, used unclear cutoffs, and mixed up test data. To fix this, the authors changed how they measured copying: they sampled more, made the definition clearer, chose a better cutoff, and used clean test data. After fixing these issues, they found that removing the truly copied examples did not hurt the computer's performance. In many cases, the computer even performed better without those copied examples. This suggests that copying everything is not needed for learning. Knowing this helps us build computers that are safer and use less memory. The paper also reminds us to be careful when measuring how well machines learn.
For a technical reader
We identified four methodological flaws in the original memorization study: sampling bias, high false positives, unprincipled thresholding, and data leakage. To address these, we increased sampling rates, refined the memorization definition, introduced a principled threshold selection, and used leakage-free test sets. Our corrected analysis shows that removing truly memorized points does not degrade-and often improves-test accuracy. These results question the necessity of memorization for generalization and highlight the importance of rigorous evaluation in deep learning.
Problem
It remains unclear whether memorization is truly required for deep learning models to generalize, as earlier claims rely on potentially flawed evaluation techniques.
Method
The approach revises the memorization detection pipeline by increasing sampling rates, refining the memorization definition to lower false positives, establishing a principled threshold for memorization scores, and using test sets free of data leakage.
Results
The corrected analysis finds that removing truly memorized points does not harm test accuracy and often improves it.
Contributions
We expose four methodological flaws in prior memorization evaluation and provide corrected procedures that yield more reliable assessments. Our findings challenge the claim that memorization is necessary for generalization.
Practical relevance
The work informs the design of more robust and privacy-preserving deep learning models by clarifying the true role of memorization.
Research questions this paper is counted under
- Do different components of deep models contribute equally to generalization when trained end-to-end?
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction