arXiv AI

Mitigating Memorization In Language Models

The paper explores ways to reduce the memorization of training data in language models, testing three regularizer-based, three finetuning-based, and eleven machine unlearning methods—five of which are newly introduced. It introduces TinyMem, a lightweight suite of small models for rapid testing of these mitigation techniques, and shows that unlearning methods, particularly BalancedSubnet, outperform others in removing memorized content while maintaining task performance. The study also finds that regularizer-based approaches are slow and ineffective, while finetuning methods are costly, especially when high accuracy is required.

arXiv Machine Learning
Nov 6

An Information Bottleneck for Post-hoc Memorization Mitigation in LLMs

The paper proposes a modular, plug‑and‑play framework that inserts a nonparametric variational information bottleneck (NVIB) between a frozen large language model (LLM) backbone and its language‑modeling head. By compressing the final hidden representations before token prediction, the NVIB aims to preserve general linguistic knowledge while filtering out highly specific memorized sequences. Experiments on memorization extraction tasks and standard language‑modeling benchmarks show that the NVIB layer substantially reduces extractability while maintaining competitive performance.

By Dina EL Zein, Shashi Kumar, James Henderson
arXiv AI
Sep 11

Forgetting Only What Matters: Layer-Selective Unlearning toward Robust LLMs

The paper introduces Forgetting Only What Matters via Unlearning Layers (FOM-UL), a layer‑selective unlearning framework for large language models. FOM-UL uses a forget‑to‑retain significance score to identify transformer layers that strongly influence the forget set while being insensitive to the retain set, allowing targeted updates that preserve most of the model. Experiments on TOFU, KnowUnDo, and MUSE-style benchmarks show that FOM-UL reduces residual memorization and maintains utility better than several baselines, even after 8‑bit and 4‑bit post‑training quantization, and it also limits recovery of forgotten content in adversarial prompt tests.

By Ravi Ranjan, Olivera Kotevska, Agoritsa Polyzou
arXiv Machine Learning
Nov 2

Fewer Heads, Fewer Memories: Pruning Redundant Attention Heads Suppresses Verbatim Memorisation

Large language models can memorize and reproduce verbatim training data, raising privacy and IP concerns. Recent theory links attention heads to this memorisation, while empirical work shows many heads are redundant and can be pruned with little performance loss. This study shows that zeroing out a large fraction of redundant heads before inference dramatically reduces memorisation (91.5% drop) and even improves language‑modeling performance on GPT‑2‑XL.

By Aryan Chowdhury, Riza Batista-Navarro
arXiv Machine Learning
Oct 16

Mitigating Memorization Where It Happens

The paper introduces a token‑level log‑likelihood ratio to pinpoint where large language models memorize training sequences. It proposes a probe‑steer framework, instantiated as Gated Subspace Steering (GSS), that selectively corrects memorization‑relevant activations using the leading singular vectors of a gradient‑weighted activation matrix. Experiments on four benchmarks show GSS matches or surpasses state‑of‑the‑art memorization reduction methods while using 10–100× less compute.

By Xuanqi Zhang, Haoyang Shang, Xiaoxiao Li
arXiv Machine Learning
Jul 15

Inference-Time Machine Unlearning via Gated Activation Redirection

arXiv:2605. 12765v3 Announce Type: replace Abstract: Large Language Models memorize vast amounts of training data, raising concerns regarding privacy, copyright infringement, and safety.

By Vin\'icius Conte Turani, Ot\'avio Parraga, Jo\~ao Vitor Boer Abitante, Kristen K. Arguello, Joana Pasquali, Ramiro N. Barros, Flavio du Pin Calmon, Christian Mattjie, Rodrigo C. Barros, Lucas S. Kupssinsk\"u
arXiv Machine Learning
5d ago

Extracting Training Data from Diffusion Language Models via Infilling

The paper introduces infilling extraction, a new protocol for probing memorization in diffusion language models (DLMs) that uses arbitrary binary masks to exploit their bidirectional denoising capability. Experiments on LLaDA‑8B and Dream‑7B across multiple extraction modes, training pipelines, and corpora show that mask geometry significantly affects extractability, with edge‑conditioned masks retrieving up to three times more verbatim sequences than prefix‑only probes. Targeted infilling also boosts PII recall on fine‑tuned DLMs by 2.5–4.5× over prefix‑only methods, narrowing the gap to autoregressive models and sometimes surpassing them for specific data types.

By Yihan Wang, N. Asokan