mlsanityData to 7 Oct 2026

Combing for Credentials: Active Pattern Extraction from Smart Reply

arXiv 2207.10802 ↗First posted 14 Jul 2022cs.CR cs.CL cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Pre-trained large language models, such as GPTnobreakdash-2 and BERT, are often fine-tuned to achieve state-of-the-art performance on a downstream task. One natural example is the ``Smart Reply'' application where a pre-trained model is tuned to provide suggested responses for a given query message. Since the tuning data is often sensitive data such as emails or chat transcripts, it is important to understand and mitigate the risk that the model leaks its tuning data. We investigate potential information leakage vulnerabilities in a typical Smart Reply pipeline. We consider a realistic setting where the adversary can only interact with the underlying model through a front-end interface that constrains what types of queries can be sent to the model. Previous attacks do not work in these settings, but require the ability to send unconstrained queries directly to the model. Even when there are no constraints on the queries, previous attacks typically require thousands, or even millions, of queries to extract useful information, while our attacks can extract sensitive data in just a handful of queries. We introduce a new type of active extraction attack that exploits canonical patterns in text containing sensitive data. We show experimentally that it is possible for an adversary to extract sensitive user information present in the training data, even in realistic settings where all interactions with the model must go through a front-end that limits the types of queries. We explore potential mitigation strategies and demonstrate empirically how differential privacy appears to be a reasonably effective defense mechanism to such pattern extraction attacks.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 37 of its 71 references that are in the map. First posted on arXiv 14 Jul 2022.

Builds on

37 of 71 references.

References · 37

  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. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  6. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  7. 2016Deep Learning with Differential Privacycited by 2,682
  8. 2022Emergent Abilities of Large Language Modelscited by 2,483
  9. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  10. 2020Extracting Training Data from Large Language Modelscited by 2,144
  11. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  12. 2021Membership Inference Attacks From First Principlescited by 839
25 more
  1. 2022Quantifying Memorization Across Neural Language Modelscited by 755
  2. 2021Deduplicating Training Data Makes Language Models Bettercited by 705
  3. 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
  4. 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
  5. 2021Differentially Private Fine-tuning of Language Modelscited by 392
  6. 2020Label-Only Membership Inference Attackscited by 371
  7. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
  8. 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
  9. 2017Efficient Natural Language Response Suggestion for Smart Replycited by 228
  10. 2019Stolen Memories: Leveraging Model Memorization for Calibrated White-Box Membership Inferencecited by 168
  11. 2021Large-Scale Differentially Private BERTcited by 117
  12. 2020Revisiting Membership Inference Under Realistic Assumptionscited by 108
  13. 2019Gmail Smart Compose: Real-Time Assisted Writingcited by 97
  14. 2022Truth Serum: Poisoning Machine Learning Models to Reveal Their Secretscited by 94
  15. 2021Does BERT Pretrained on Clinical Notes Reveal Sensitive Data?cited by 91
  16. 2019Analyzing Information Leakage of Updates to Natural Language Modelscited by 89
  17. 2018Understanding Membership Inferences on Well-Generalized Learning Modelscited by 83
  18. 2021Property Inference From Poisoningcited by 56
  19. 2016Smart Reply: Automated Response Suggestion for Emailcited by 54
  20. 2020Leakage of Dataset Properties in Multi-Party Machine Learningcited by 46
  21. 2019A Repository of Conversational Datasetscited by 45
  22. 2018Towards Demystifying Membership Inference Attackscited by 39
  23. 2019Diversifying Reply Suggestions using a Matching-Conditional Variational Autoencodercited by 14
  24. 2019OCC: A Smart Reply System for Efficient In-App Communicationscited by 7
  25. 2021Auto Response Generation in Online Medical Chat Servicescited by 3

Built on by

Cited by year

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

7 papers.