Combing for Credentials: Active Pattern Extraction from Smart Reply
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
- 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
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2016Deep Learning with Differential Privacycited by 2,682
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
- 2021Membership Inference Attacks From First Principlescited by 839
25 more
- 2022Quantifying Memorization Across Neural Language Modelscited by 755
- 2021Deduplicating Training Data Makes Language Models Bettercited by 705
- 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
- 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
- 2021Differentially Private Fine-tuning of Language Modelscited by 392
- 2020Label-Only Membership Inference Attackscited by 371
- 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
- 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
- 2017Efficient Natural Language Response Suggestion for Smart Replycited by 228
- 2019Stolen Memories: Leveraging Model Memorization for Calibrated White-Box Membership Inferencecited by 168
- 2021Large-Scale Differentially Private BERTcited by 117
- 2020Revisiting Membership Inference Under Realistic Assumptionscited by 108
- 2019Gmail Smart Compose: Real-Time Assisted Writingcited by 97
- 2022Truth Serum: Poisoning Machine Learning Models to Reveal Their Secretscited by 94
- 2021Does BERT Pretrained on Clinical Notes Reveal Sensitive Data?cited by 91
- 2019Analyzing Information Leakage of Updates to Natural Language Modelscited by 89
- 2018Understanding Membership Inferences on Well-Generalized Learning Modelscited by 83
- 2021Property Inference From Poisoningcited by 56
- 2016Smart Reply: Automated Response Suggestion for Emailcited by 54
- 2020Leakage of Dataset Properties in Multi-Party Machine Learningcited by 46
- 2019A Repository of Conversational Datasetscited by 45
- 2018Towards Demystifying Membership Inference Attackscited by 39
- 2019Diversifying Reply Suggestions using a Matching-Conditional Variational Autoencodercited by 14
- 2019OCC: A Smart Reply System for Efficient In-App Communicationscited by 7
- 2021Auto Response Generation in Online Medical Chat Servicescited by 3
Built on by
Citing papers per year: 2023: 2; 2024: 2; 2025: 3.
7 papers.
- 2023Analyzing Leakage of Personally Identifiable Information in Language Modelscited by 278
- 2024The Emerged Security and Privacy of LLM Agent: A Survey with Case Studiescited by 127
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2023Are Chatbots Ready for Privacy-Sensitive Applications? An Investigation into Input Regurgitation and Prompt-Induced Sanitizationcited by 17
- 2024D'ej`a Vu Memorization in Vision-Language Modelscited by 8
- 2025DMRL: Data- and Model-aware Reward Learning for Data Extractioncited by 0
- 2025CTIGuardian: A Few-Shot Framework for Mitigating Privacy Leakage in Fine-Tuned LLMscited by 0
- 2025CTIGuardian: A Few-Shot Framework for Mitigating Privacy Leakage in Fine-Tuned LLMs15 Dec 2025
- 2025DMRL: Data- and Model-aware Reward Learning for Data Extraction7 May 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025
- 2024The Emerged Security and Privacy of LLM Agent: A Survey with Case Studies28 Jul 2024
- 2024D'ej`a Vu Memorization in Vision-Language Models3 Feb 2024
- 2023Are Chatbots Ready for Privacy-Sensitive Applications? An Investigation into Input Regurgitation and Prompt-Induced Sanitization24 May 2023
- 2023Analyzing Leakage of Personally Identifiable Information in Language Models1 Feb 2023