paper-with-me

홈 › Papers

Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Models

2022-05-22 · Kushal Tirumala, Aram H. Markosyan, Luke Zettlemoyer, Armen Aghajanyan

Despite their wide adoption, the underlying training and memorization dynamics of very large language models is not well understood. We empirically study exact memorization in causal and masked language modeling, across model sizes and throughout the training process. We measure the effects of dataset size, learning rate, and model size on memorization, finding that larger language models memorize training data faster across all settings. Surprisingly, we show that larger models can memorize a larger portion of the data before over-fitting and tend to forget less throughout the training process. We also analyze the memorization dynamics of different parts of speech and find that models memorize nouns and numbers first; we hypothesize and provide empirical evidence that nouns and numbers act as a unique identifier for memorizing individual training examples. Together, these findings present another piece of the broader puzzle of trying to understand what actually improves as models get bigger.

📄 PDF Abstract BibTeX arXiv:2205.10770

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingMasked Language ModelingMemorization

Similar Papers 제목 키워드 기반

Detecting Overfitting of Deep Generative Networks via Latent Recovery

2019-01-09 · CVPR 2019 6 · Ryan Webster, Julien Rabin, Loic Simon, Frederic Jurie

State of the art deep generative networks are capable of producing images with such incredible realism that they can be suspected of memorizing training images. It is why it is not uncommon to include visualizations of t…

Facial InpaintingMemorizationSuper-Resolution

On the Over-Memorization During Natural, Robust and Catastrophic Overfitting

2023-10-13 · Runqi Lin, Chaojian Yu, Bo Han, Tongliang Liu

Overfitting negatively impacts the generalization ability of deep neural networks (DNNs) in both natural and adversarial training. Existing methods struggle to consistently address different types of overfitting, typical…

Memorization

A Geometric Framework for Understanding Memorization in Generative Models

2024-10-31 · Brendan Leigh Ross, Hamidreza Kamkari, Tongzi Wu, Rasa Hosseinzadeh 외

As deep generative models have progressed, recent work has shown them to be capable of memorizing and reproducing training datapoints when deployed. These findings call into question the usability of generative models, e…

Memorization

Why Diffusion Models Don't Memorize: The Role of Implicit Dynamical Regularization in Training

2025-05-23 · Tony Bonnaire, Raphaël Urfin, Giulio Biroli, Marc Mézard

Diffusion models have achieved remarkable success across a wide range of generative tasks. A key challenge is understanding the mechanisms that prevent their memorization of training data and allow generalization. In thi…

Memorization

Analyzing Memorization in Large Language Models through the Lens of Model Attribution

2025-01-09 · Tarun Ram Menta, Susmit Agrawal, Chirag Agarwal

Large Language Models (LLMs) are prevalent in modern applications but often memorize training data, leading to privacy breaches and copyright issues. Existing research has mainly focused on posthoc analyses, such as extr…

Memorization