TRAP: Understanding and Mitigating Privacy Memorization in Language Models
Not on the map. Why?
Abstract (arXiv)
Fine-tuning a language model on sensitive records can leave it able to reproduce them. We ask when this memorization arises and how to prevent it without knowing in advance which spans are sensitive. Our starting point is that most memorization scores and attacks share one statistical core: whether the model assigns a token more probability than some reference would. Taking as the reference a model trained on the complementary half of the same corpus gives the Target Reference Advantage (TRA), a per-token signal that separates what a model fit to a particular record from what it learned across records, and is cheap and differentiable. We then study what drives memorization during fine-tuning: it keeps growing well past the validation minimum, is larger on small datasets and at higher learning rates, and higher when the underlying task is harder. Early stopping removes much of it, but because it is chosen by aggregate validation loss it helps least for rare, hard-to-predict spans embedded in otherwise learnable text, which is exactly what sensitive information tends to be. We therefore introduce TRAP, a one-sided penalty on tokenwise TRA that acts only where the target model pulls ahead of its reference. On student essays with annotated personal information and clinical cases with patient identifiers, TRAP brings memorization near the level of an untrained model at little utility cost, where generic regularizers barely move and differential privacy gives up most of what fine-tuning bought.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 5 of its 48 references that are in the map. First posted on arXiv 26 Sep 2026.
Builds on
5 of 48 references.
References · 5
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 434
- 2025How much do language models memorize?cited by 61
- 2025MedCaseReasoning: Evaluating and learning diagnostic reasoning from clinical case reportscited by 36
- 2025Unveiling Over-Memorization in Finetuning LLMs for Reasoning Taskscited by 11
- 2026A Prior-Aware Metric for Efficiently Distinguishing Memorization from Generalization in Large Language Modelscited by 2
Built on by
Not cited yet.