paper-with-me

홈 › Papers

Mitigating Memorization In Language Models

2024-10-03 · Mansi Sakarvadia, Aswathy Ajith, Arham Khan, Nathaniel Hudson, Caleb Geniesse, Kyle Chard, Yaoqing Yang, Ian Foster, Michael W. Mahoney

Language models (LMs) can "memorize" information, i.e., encode training data in their weights in such a way that inference-time queries can lead to verbatim regurgitation of that data. This ability to extract training data can be problematic, for example, when data are private or sensitive. In this work, we investigate methods to mitigate memorization: three regularizer-based, three finetuning-based, and eleven machine unlearning-based methods, with five of the latter being new methods that we introduce. We also introduce TinyMem, a suite of small, computationally-efficient LMs for the rapid development and evaluation of memorization-mitigation methods. We demonstrate that the mitigation methods that we develop using TinyMem can successfully be applied to production-grade LMs, and we determine via experiment that: regularizer-based mitigation methods are slow and ineffective at curbing memorization; fine-tuning-based methods are effective at curbing memorization, but overly expensive, especially for retaining higher accuracies; and unlearning-based methods are faster and more effective, allowing for the precise localization and removal of memorized information from LM weights prior to inference. We show, in particular, that our proposed unlearning method BalancedSubnet outperforms other mitigation methods at removing memorized information while preserving performance on target tasks.

📄 PDF Abstract BibTeX arXiv:2410.02159

Code (1)

msakarvadia/memorization 공식 구현 pytorch

Tasks

Machine UnlearningMemorization

Similar Papers 제목 키워드 기반

Mitigating Approximate Memorization in Language Models via Dissimilarity Learned Policy

2023-05-02 · Aly M. Kassem

Large Language models (LLMs) are trained on large amounts of data, which can include sensitive information that may compromise per- sonal privacy. LLMs showed to memorize parts of the training data and emit those data ve…

Memorization

Shared Path: Unraveling Memorization in Multilingual LLMs through Language Similarities

2025-05-21 · Xiaoyu Luo, Yiyi Chen, Johannes Bjerva, Qiongxiu Li

We present the first comprehensive study of Memorization in Multilingual Large Language Models (MLLMs), analyzing 95 languages using models across diverse model scales, architectures, and memorization definitions. As MLL…

MemorizationMultilingual NLP

Pruning as a Defense: Reducing Memorization in Large Language Models

2025-02-18 · Mansi Gupta, Nikhar Waghela, Sarthak Gupta, Shourya Goel 외

Large language models have been shown to memorize significant portions of their training data, which they can reproduce when appropriately prompted. This work investigates the impact of simple pruning techniques on this …

Memorization

Undesirable Memorization in Large Language Models: A Survey

2024-10-03 · Ali Satvaty, Suzan Verberne, Fatih Turkmen

While recent research increasingly showcases the remarkable capabilities of Large Language Models (LLMs), it's vital to confront their hidden pitfalls. Among these challenges, the issue of memorization stands out, posing…

MemorizationRetrieval-augmented GenerationSurvey

MultiMem: Measuring and Mitigating Memorization in Multi-Modal Contrastive Learning

2026-06-20 · Wenhao Wang, Franziska Boenisch, Michael Backes, Adam Dziedzic arxiv

Memorization in machine learning models enables high performance on rare in-distribution samples by capturing their atypical patterns. However, it also causes harmful retention of noise and outliers, degrading generaliza…

Self-Supervised LearningContrastive Learning