59

Unintended Memorization of Sensitive Information in Fine-Tuned Language Models

Marton Szep
Jorge Marin Ruiz
Georgios Kaissis
Paulina Seidl
Rüdiger von Eisenhart-Rothe
Florian Hinterwimmer
Daniel Rueckert
Main:7 Pages
10 Figures
Bibliography:4 Pages
13 Tables
Appendix:9 Pages
Abstract

Fine-tuning Large Language Models (LLMs) on sensitive datasets carries a substantial risk of unintended memorization and leakage of Personally Identifiable Information (PII), which can violate privacy regulations and compromise individual safety. In this work, we systematically investigate a critical and underexplored vulnerability: the exposure of PII that appears only in model inputs, not in training targets. Using both synthetic and real-world datasets, we design controlled extraction probes to quantify unintended PII memorization and study how factors such as language, PII frequency, task type, and model size influence memorization behavior. We further benchmark four privacy-preserving approaches including differential privacy, machine unlearning, regularization, and preference alignment, evaluating their trade-offs between privacy and task performance. Our results show that post-training methods generally provide more consistent privacy-utility trade-offs, while differential privacy achieves strong reduction in leakage in specific settings, although it can introduce training instability. These findings highlight the persistent challenge of memorization in fine-tuned LLMs and emphasize the need for robust, scalable privacy-preserving techniques.

View on arXiv
Comments on this paper