mlsanityData to 7 Oct 2026

Privacy Leakage in Text Classification: A Data Extraction Approach

arXiv 2206.04591 ↗First posted 9 Jun 2022cs.CL cs.CR cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

Recent work has demonstrated the successful extraction of training data from generative language models. However, it is not evident whether such extraction is feasible in text classification models since the training objective is to predict the class label as opposed to next-word prediction. This poses an interesting challenge and raises an important question regarding the privacy of training data in text classification settings. Therefore, we study the potential privacy leakage in the text classification domain by investigating the problem of unintended memorization of training data that is not pertinent to the learning task. We propose an algorithm to extract missing tokens of a partial text by exploiting the likelihood of the class label provided by the model. We test the effectiveness of our algorithm by inserting canaries into the training set and attempting to extract tokens in these canaries post-training. In our experiments, we demonstrate that successful extraction is possible to some extent. This can also be used as an auditing strategy to assess any potential unauthorized use of personal data without consent.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 25 of its 43 references that are in the map. First posted on arXiv 9 Jun 2022.

Builds on

25 of 43 references.

References · 25

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  5. 2016Deep Learning with Differential Privacycited by 2,682
  6. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  7. 2020Extracting Training Data from Large Language Modelscited by 2,144
  8. 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
  9. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  10. 2022Quantifying Memorization Across Neural Language Modelscited by 755
  11. 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
  12. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
13 more
  1. 2020Label-Only Membership Inference Attackscited by 371
  2. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
  3. 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
  4. 2019Stolen Memories: Leveraging Model Memorization for Calibrated White-Box Membership Inferencecited by 168
  5. 2020When is Memorization of Irrelevant Training Data Necessary for High-Accuracy Learning?cited by 102
  6. 2021Does BERT Pretrained on Clinical Notes Reveal Sensitive Data?cited by 91
  7. 2019Analyzing Information Leakage of Updates to Natural Language Modelscited by 89
  8. 2018Understanding Membership Inferences on Well-Generalized Learning Modelscited by 83
  9. 2020Privacy in Deep Learning: A Surveycited by 70
  10. 2021Property Inference From Poisoningcited by 56
  11. 2020Leakage of Dataset Properties in Multi-Party Machine Learningcited by 46
  12. 2018Towards Demystifying Membership Inference Attackscited by 39
  13. 2021Privacy Regularization: Joint Privacy-Utility Optimization in Language Modelscited by 29

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 5; 2024: 1; 2025: 2; 2026: 1.

9 papers.