paper-with-me

홈 › Papers

Memorization Sinks: Isolating Memorization during LLM Training

2025-07-14 · Gaurav R. Ghosal, Pratyush Maini, Aditi Raghunathan arxiv

Large language models are susceptible to memorizing repeated sequences, posing privacy and copyright concerns. A popular mitigation strategy is to remove memorized information from specific neurons post-hoc. However, such approaches have shown limited success so far. In a controlled setting, we show that the memorization of natural sequences (those that resemble linguistically plausible text) become mechanistically entangled with general language abilities, thereby becoming challenging to remove post-hoc. In this work, we put forward a new paradigm of MemSinks that promotes isolation of memorization by design. We leverage a sequence identifier that activates a unique set of memorization neurons for each sequence across repetitions. By analyzing the dynamics of learning and forgetting, we argue that MemSinks facilitates isolation of memorized content, making it easier to remove without compromising general language capabilities. We implement MemSinks at the billion-parameter and billion-token scale, and observe both effective isolation and strong generalization. To our knowledge, this is the first proof-of-concept on real data demonstrating that simultaneous generalization and isolation is achievable. We open-source our code at http://github.com/grghosal/MemSinks.

📄 PDF Abstract BibTeX arXiv:2507.09937

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Exploring Memorization in Fine-tuned Language Models

2023-10-10 · Shenglai Zeng, Yaxin Li, Jie Ren, Yiding Liu 외

Large language models (LLMs) have shown great capabilities in various tasks but also exhibited memorization of training data, raising tremendous privacy and copyright concerns. While prior works have studied memorization…

Memorization

Rethinking Memorization Measures and their Implications in Large Language Models

2025-07-20 · Bishwamittra Ghosh, Soumi Das, Qinyuan Wu, Mohammad Aflah Khan 외 arxiv

Concerned with privacy threats, memorization in LLMs is often seen as undesirable, specifically for learning. In this paper, we study whether memorization can be avoided when optimally learning a language, and whether th…

Counterfactual Memorization in Neural Language Models

2021-12-24 · NeurIPS 2023 11

Modern neural language models that are widely used in various NLP tasks risk memorizing sensitive information from their training data. Understanding this memorization is important in real world applications and also fro…

counterfactualLanguage ModelingLanguage ModellingMemorization

Memorization in Graph Neural Networks

2025-08-26 · Adarsh Jamadandi, Jing Xu, Adam Dziedzic, Franziska Boenisch arxiv

Deep neural networks (DNNs) have been shown to memorize their training data, yet similar analyses for graph neural networks (GNNs) remain largely under-explored. We introduce NCMemo (Node Classification Memorization), th…

Node Classification

Demystifying Foreground-Background Memorization in Diffusion Models

2025-08-16 · Jimmy Z. Di, Yiwei Lu, Yaoliang Yu, Gautam Kamath 외 arxiv

Diffusion models (DMs) memorize training images and can reproduce near-duplicates during generation. Current detection methods identify verbatim memorization but fail to capture two critical aspects: quantifying partial …