mlsanityData to 7 Oct 2026

Training Data Leakage Analysis in Language Models

arXiv 2101.05405 ↗First posted 14 Jan 2021cs.CR cs.CL cs.LGcited by 7

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  5. 2019Advances and Open Problems in Federated Learningcited by 3,021
  6. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  7. 2016Deep Learning with Differential Privacycited by 2,682
  8. 2018Deep contextualized word representationscited by 2,285
  9. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  10. 2020Extracting Training Data from Large Language Modelscited by 2,144
  11. 2019Language Models as Knowledge Bases?cited by 1,922
  12. 2016Understanding deep learning requires rethinking generalizationcited by 1,657
17 more
  1. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  2. 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
  3. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
  4. 2020Label-Only Membership Inference Attackscited by 371
  5. 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 302
  6. 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 301
  7. 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
  8. 2020Differentially Private Learning Needs Better Features (or Much More Data)cited by 233
  9. 2019Stolen Memories: Leveraging Model Memorization for Calibrated White-Box Membership Inferencecited by 168
  10. 2020When is Memorization of Irrelevant Training Data Necessary for High-Accuracy Learning?cited by 102
  11. 2019Gmail Smart Compose: Real-Time Assisted Writingcited by 97
  12. 2019Analyzing Information Leakage of Updates to Natural Language Modelscited by 89
  13. 2018Understanding Membership Inferences on Well-Generalized Learning Modelscited by 83
  14. 2019Membership Inference Attacks on Sequence-to-Sequence Models: Is My Data In Your Machine Translation System?cited by 68
  15. 2020ML Privacy Meter: Aiding Regulatory Compliance by Quantifying the Privacy Risks of Machine Learningcited by 66
  16. 2018Towards Demystifying Membership Inference Attackscited by 39
  17. 2016Conversational Contextual Cues: The Case of Personalization and History for Response Rankingcited by 21

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 3; 2024: 2; 2025: 1.

7 papers.