Training Data Leakage Analysis in Language Models
Not on the map. Why?
Abstract (arXiv)
Recent advances in neural network based language models lead to successful deployments of such models, improving user experience in various applications. It has been demonstrated that strong performance of language models comes along with the ability to memorize rare training samples, which poses serious privacy threats in case the model is trained on confidential user content. In this work, we introduce a methodology that investigates identifying the user content in the training data that could be leaked under a strong and realistic threat model. We propose two metrics to quantify user-level data leakage by measuring a model's ability to produce unique sentence fragments within training data. Our metrics further enable comparing different models trained on the same data in terms of privacy. We demonstrate our approach through extensive numerical studies on both RNN and Transformer based models. We further illustrate how the proposed metrics can be utilized to investigate the efficacy of mitigations like differentially private training or API hardening.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 29 of its 53 references that are in the map. First posted on arXiv 14 Jan 2021.
Builds on
29 of 53 references.
References · 29
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2019Advances and Open Problems in Federated Learningcited by 3,021
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2016Deep Learning with Differential Privacycited by 2,682
- 2018Deep contextualized word representationscited by 2,285
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2016Understanding deep learning requires rethinking generalizationcited by 1,657
17 more
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
- 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
- 2020Label-Only Membership Inference Attackscited by 371
- 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 302
- 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 301
- 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
- 2020Differentially Private Learning Needs Better Features (or Much More Data)cited by 233
- 2019Stolen Memories: Leveraging Model Memorization for Calibrated White-Box Membership Inferencecited by 168
- 2020When is Memorization of Irrelevant Training Data Necessary for High-Accuracy Learning?cited by 102
- 2019Gmail Smart Compose: Real-Time Assisted Writingcited by 97
- 2019Analyzing Information Leakage of Updates to Natural Language Modelscited by 89
- 2018Understanding Membership Inferences on Well-Generalized Learning Modelscited by 83
- 2019Membership Inference Attacks on Sequence-to-Sequence Models: Is My Data In Your Machine Translation System?cited by 68
- 2020ML Privacy Meter: Aiding Regulatory Compliance by Quantifying the Privacy Risks of Machine Learningcited by 66
- 2018Towards Demystifying Membership Inference Attackscited by 39
- 2016Conversational Contextual Cues: The Case of Personalization and History for Response Rankingcited by 21
Built on by
Citing papers per year: 2022: 1; 2023: 3; 2024: 2; 2025: 1.
7 papers.
- 2023Analyzing Leakage of Personally Identifiable Information in Language Modelscited by 278
- 2024Security and Privacy Challenges of Large Language Models: A Surveycited by 179
- 2024Introducing v0.5 of the AI Safety Benchmark from MLCommonscited by 60
- 2022On the Impossible Safety of Large AI Modelscited by 27
- 2025Quantifying Cross-Modality Memorization in Vision-Language Modelscited by 3
- 2023MetaAID 2.5: A Secure Framework for Developing Metaverse Applications via Large Language Modelscited by 2
- 2023Breaking the Silence: the Threats of Using LLMs in Software Engineeringcited by 0
- 2025Quantifying Cross-Modality Memorization in Vision-Language Models5 Jun 2025
- 2024Introducing v0.5 of the AI Safety Benchmark from MLCommons18 Apr 2024
- 2024Security and Privacy Challenges of Large Language Models: A Survey30 Jan 2024
- 2023MetaAID 2.5: A Secure Framework for Developing Metaverse Applications via Large Language Models22 Dec 2023
- 2023Breaking the Silence: the Threats of Using LLMs in Software Engineering13 Dec 2023
- 2023Analyzing Leakage of Personally Identifiable Information in Language Models1 Feb 2023
- 2022On the Impossible Safety of Large AI Models30 Sep 2022