[Paper Review] Are Large Pre-Trained Language Models Leaking Your Personal Information?
This paper investigates whether large pre-trained language models (PLMs) leak personal information, particularly email addresses, by distinguishing between memorization (retention of data) and association (linking data to owners). The study finds that while PLMs do memorize personal information, their weak ability to associate emails with owners significantly reduces the risk of targeted privacy leaks, suggesting current models are relatively safe but not without risk.
Are Large Pre-Trained Language Models Leaking Your Personal Information? In this paper, we analyze whether Pre-Trained Language Models (PLMs) are prone to leaking personal information. Specifically, we query PLMs for email addresses with contexts of the email address or prompts containing the owner's name. We find that PLMs do leak personal information due to memorization. However, since the models are weak at association, the risk of specific personal information being extracted by attackers is low. We hope this work could help the community to better understand the privacy risk of PLMs and bring new insights to make PLMs safe.
Motivation & Objective
- To assess whether large pre-trained language models (PLMs) leak personal information such as email addresses.
- To distinguish between memorization (retention of data) and association (linking data to owners) as separate privacy risks.
- To evaluate the real-world risk of attackers extracting specific personal information from PLMs using owner names as prompts.
- To provide actionable defense strategies for mitigating privacy leakage in PLMs.
- To guide researchers in evaluating privacy risks before releasing their own models.
Proposed method
- The authors query PLMs using prompts that include the owner's name or contextual clues to test if the model can generate a specific email address.
- They define and measure 'memorization' as the model's ability to produce a personal email when prompted with a context from its training data.
- They define and measure 'association' as the model's ability to generate a personal email when prompted with the owner's name, without access to training data.
- Experiments are conducted on publicly available models like GPT-3 (text-davinci-2) and GPT-Neo, using the Enron Email Dataset as a source for personal information.
- The success rate of attacks is measured by testing how often the model generates the correct email under various prompt patterns and model sizes.
- Defensive strategies are proposed, including differential privacy training, post-processing filters, and obfuscation techniques like image-based email display.
Experimental results
Research questions
- RQ1To what extent do pre-trained language models memorize personal information such as email addresses?
- RQ2Can attackers effectively extract specific personal information by querying the model with the owner’s name?
- RQ3How does the model’s ability to associate personal information with its owner affect the risk of privacy leakage?
- RQ4What factors, such as prompt pattern, model size, or prior knowledge, increase the success rate of such attacks?
- RQ5What practical defenses can reduce the risk of personal information leakage from PLMs?
Key findings
- Large pre-trained language models do memorize personal information such as email addresses, confirming that sensitive data can be retained in model parameters.
- The success rate of extracting a specific email using only the owner’s name is low, indicating weak association capabilities in PLMs.
- Longer and more specific prompt patterns significantly increase the attack success rate, suggesting context improves leakage potential.
- Larger models show higher success rates in leaking personal information, indicating scale amplifies memorization risks.
- The risk of targeted privacy leakage is low due to poor association, but memorization alone still poses a non-trivial privacy threat.
- Defensive strategies such as differential privacy training, post-processing filters, and email obfuscation can effectively reduce leakage risks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.