An Empirical Study of Memorization in NLP
摘要
A recent study by Feldman (2020) proposed a long-tail theory to explain the memorization behavior of deep learning models. However, memorization has not been empirically verified in the context of NLP, a gap addressed by this work. In this paper, we use three different NLP tasks to check if the long-tail theory holds. Our experiments demonstrate that top-ranked memorized training instances are likely atypical, and removing the top-memorized training instances leads to a more serious drop in test accuracy compared with removing training instances randomly. Furthermore, we develop an attribution method to better understand why a training instance is memorized. We empirically show that our memorization attribution method is faithful, and share our interesting finding that the top-memorized parts of a training instance tend to be features negatively correlated with the class label.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Decoupling Knowledge from Memorization: Retrieval-augmented Prompt Learning 引用了 Generalization through Memorization: Nearest Neighbor Language Models
- Decoupling Knowledge from Memorization: Retrieval-augmented Prompt Learning 引用了 What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation
- Decoupling Knowledge from Memorization: Retrieval-augmented Prompt Learning 引用了 Nearest Neighbor Machine Translation
- Memorisation Cartography: Mapping out the Memorisation-Generalisation Continuum in Neural Machine Translation 引用了 What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation
- Intriguing Properties of Data Attribution on Diffusion Models 引用了 What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation
- Intriguing Properties of Data Attribution on Diffusion Models 引用了 Estimating Training Data Influence by Tracing Gradient Descent
- What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation 引用了 Membership Inference Attacks Against Machine Learning Models
- Mitigating Frequency Bias and Anisotropy in Language Model Pre-Training with Syntactic Smoothing 引用了 What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation
- Nearest Neighbor Machine Translation 引用了 Generalization through Memorization: Nearest Neighbor Language Models
- Causal Estimation of Memorisation Profiles 引用了 What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimation
引用它的顶会 Paper5
- Decoupling Knowledge from Memorization: Retrieval-augmented Prompt LearningXiang Chen, Lei Li, Ningyu Zhang, Xiaozhuan Liang 等NeurIPS 2022 · 68 次引用
- Intriguing Properties of Data Attribution on Diffusion ModelsXiaosen Zheng, Tianyu Pang, Chao Du, Jing Jiang 等ICLR 2024 · 41 次引用
- Causal Estimation of Memorisation ProfilesPietro Lesci, Clara Meister, Thomas Hofmann, Andreas Vlachos 等ACL 2024 · 3 次引用
- Mitigating Frequency Bias and Anisotropy in Language Model Pre-Training with Syntactic SmoothingRichard Diehl Martinez, Zébulon Goriely, Andrew Caines, Paula Buttery 等EMNLP 2024 · 1 次引用
- Memorisation Cartography: Mapping out the Memorisation-Generalisation Continuum in Neural Machine TranslationVerna Dankers, Ivan Titov, Dieuwke HupkesEMNLP 2023
它引用的 Paper9
- Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
- Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer 等ICLR 2020 · 1,038 次引用
- Estimating Training Data Influence by Tracing Gradient DescentGarima Pruthi, Frederick Liu, Satyen Kale, Mukund SundararajanNeurIPS 2020 · 784 次引用
- What Neural Networks Memorize and Why: Discovering the Long Tail via Influence EstimationVitaly Feldman, Chiyuan ZhangNeurIPS 2020 · 674 次引用
- Nearest Neighbor Machine TranslationUrvashi Khandelwal, Angela Fan, Dan Jurafsky, Luke Zettlemoyer 等ICLR 2021 · 323 次引用
相关 Paper
- Generalisation First, Memorisation Second? Memorisation Localisation for Natural Language Classification TasksVerna Dankers, Ivan TitovACL Findings 2024
- Memorizing Long-tail Data Can Help Generalization Through CompositionMo Zhou, Haoyang Ma, Rong GeICLR 2026
- Counterfactual Memorization in Neural Language ModelsChiyuan Zhang, Daphne Ippolito, Katherine Lee, Matthew Jagielski 等NeurIPS 2023 · 184 次引用
- Memorization Through the Lens of Curvature of Loss Function Around SamplesIsha Garg, Deepak Ravikumar, Kaushik RoyICML 2024 · 25 次引用
- Towards Tracing Knowledge in Language Models Back to the Training DataEkin Akyürek, Tolga Bolukbasi, Frederick Liu, Binbin Xiong 等EMNLP Findings 2022 · 30 次引用
