What does it mean for language models to protect privacy?What Does it Mean for a Language Model to Preserve Privacy?
The authors argue that the assumptions of data redaction and differential privacy do not match privacy in natural language, and propose that language models should be trained only on data explicitly produced for public use.
- Language models memorize and regurgitate training data, bringing privacy risks; the authors argue that the assumptions of mainstream protection techniques (data redaction, differential privacy) do not match the social norms of privacy in natural language.
- This is a position and analysis paper: it argues from the three dimensions of the contextuality of secrets, identifiability, and in-groups, and examines one by one why the assumptions of data sanitization and differential privacy do not hold for language data.
- The paper conducts no new experiments and cites existing attack results to support the risk, such as training data extraction from GPT-2, and extraction from a BERT model trained on de-identified clinical notes, where over 4% of generated sentences contained patients' real medical conditions.
- The authors acknowledge that redaction and DP are useful in limited settings and that applying them is always better than not; the public-intent data they advocate is difficult to define, informed consent is difficult to obtain, and local personalization is regarded only as an intermediate approach worth exploring.
Hannah Brown and others argue in their paper that existing privacy protection methods such as data cleaning and differential privacy cannot provide general and meaningful privacy guarantees for language models. The authors point out that these methods are based on narrower assumptions, while natural language carries private life and identity, and privacy is a broad social norm, creating a mismatch between the two. Language models tend to memorize phrases from training sets, which attackers can exploit to extract training data, and whether privacy is violated depends on the nature of the content and the context of collection. The authors accordingly suggest that language models should be trained only on text explicitly created for public use.
Paper analysis
What problem does this paper attempt to solve?
The authors argue that existing data protection techniques cannot provide meaningful privacy guarantees for language models.
Core problem: the assumptions of existing privacy-preserving techniques (data redaction and differential privacy) do not match the social norms of privacy in natural language, and cannot provide general and meaningful privacy guarantees for language models.
- Problem setting: language models support applications such as autocomplete, search, and translation, and training data scale keeps growing; the authors state that models memorize and regurgitate training data, and more easily memorize atypical data points, which attackers can exploit to extract training data, potentially violating privacy expectations.
- Shortcomings of existing methods: the authors argue that redaction assumes private information can be formally specified, identified, and removed; the semantic guarantee of DP is that an attacker cannot distinguish whether a given record participated in training, which implicitly assumes clear record boundaries and a one-to-one correspondence with private information—assumptions that do not hold for most natural language data.
- Core claim: the authors propose that a language model worthy of the name "privacy-preserving" should guarantee that user data does not appear or get inferred outside its originally expected context, i.e., respecting contextual integrity (contextual integrity [71]) in the presence of inference attacks.
- Paper output: a position and analysis paper that systematically argues why the assumptions of redaction and DP do not hold, and concludes that language models should be trained only on text data explicitly produced for public use.
- Threat model: the paper is not an attack paper; the adversary scenarios discussed include:
- Membership inference: an attacker without direct access determines via querying the model whether a data point is in the training set (citing [85]).
- Training data extraction: an attacker interacts with a trained model and partially recovers training samples (citing [80, 12, 99, 13]).
- Victim system: a language model trained on large-scale natural language corpora, including sensitive settings such as clinical models.
What related research exists?
Related work falls into four groups: LM memorization and inference attacks, privacy-preserving training, context-aware dialogue, and privacy theoretical frameworks.
Memorization and privacy attacks on language models
- Carlini et al. [12, 13]—evaluate unintended memorization in neural networks and extract training data from the GPT-2 family; the paper cites their results: the largest GPT-2 variant can be made to reveal names, addresses, and phone numbers, and larger models memorize more.
- Shokri et al. [85] and follow-up work [69, 59, 81, 88]—membership inference attacks and their validation on NLP classifiers [83] and released embeddings [87, 61]; the paper states that such attacks are "alarmingly powerful" at identifying atypical members of large-capacity neural networks.
- Lehman et al. [52]—perform data extraction on BERT-like models trained on de-identified clinical notes; over 4% of generated sentences containing patient names also contain their real medical conditions.
Privacy-preserving language model training
- Differentially private training: DP language models by McMahan et al. [64], DP fine-tuning by Li et al. [56] and Yu et al. [98], DP pretraining by Hoory et al. [40], selective DP by Shi et al. [84], and production-level training that does not memorize user data by Ramaswamy et al. [79].
- Text redaction and de-identification: RNN-based de-identification of medical records by Dernoncourt et al. [19], a survey of text anonymization by Lison et al. [57], and Aura et al. [3], Norgeot et al. [73]; the paper notes that such methods work well only for fixed-format information (e.g., SSNs, specific medical record formats).
- Feldman [30] and nearest-neighbor language models [46]—the paper cites them to show that memorization may be necessary for long-tail generalization, and that there is a tension between memorization and generalization.
Context awareness and dialogue systems
- Research on chatbot responses in sensitive scenarios (sexual harassment [14], suicidal intent and mental health [72, 66], danger of violence [49]); the paper cites Nobles et al. [72]: most of the time chatbot responses are inappropriate, ranging from "please repeat" to providing harmful information.
- Context-aware, long-text, ethical, and persona-based response generation [62, 60, 43, 55]; the paper states that although this direction has made progress, the problem is far from solved [41].
Privacy theory and frameworks
- Nissenbaum's contextual integrity [71]: defines acceptable information flows by five elements—data subject, sender, recipient, information type, and transmission principle—and is the core normative framework of this paper.
- Grice's conversational maxims [35], politeness theory [10], relevance theory [89]: the paper uses them to show that humans rely on context to judge rather than on not memorizing in order to protect privacy, and that these rules are difficult to operationalize technically.
Positioning: the authors position this paper as a critical analysis of the above two technical routes (redaction, DP): the two provide data protection rather than privacy protection, and this paper uses contextual integrity as the standard to argue that their guarantees do not hold for language data. The paper has no comparison baselines or benchmark experiments.
How does the paper address this problem?
Using contextual integrity as the standard, it argues from the three dimensions of the contextuality of secrets, identifiability, and in-groups that the assumptions of data sanitization and DP do not hold.
Overall approach: The paper does not propose new methods or run new experiments; instead, it first proposes a normative standard for "privacy-preserving language models," then examines one by one the explicit and implicit assumptions of data sanitization and differential privacy (DP), arguing that neither can meet this standard on natural language data.
Normative Standard for Privacy Protection (Section 4)
- Definition of the standard: A language model claiming to protect privacy must reveal private information ("secrets") only in the right context and to the right people. This definition contains three hard-to-determine parts: in which contexts a secret may be shared, what information the secret contains, and who knows the secret (the in-group).
- Example system: Table 1 gives examples of private information varying along four axes—whether it has a fixed format (e.g., SSN vs. prose), the number of owners (1 person, multiple people, >100 people), in-group size (1 to ∞), and whether further sharing is allowed within the in-group.
- Theoretical framework: Adopts Nissenbaum's contextual integrity [71]: if any of the five elements—data subject, sender, receiver, information type, transmission principle—changes, privacy expectations may change; privacy is violated when information flows outside its acceptable context.
Arguing the Three Properties of Secrets (Sections 4.1–4.3)
- Secrets are context-dependent: The same information has different sensitivity in different contexts (a private individual's phone vs. a company's phone); privacy is not a binary variable but a spectrum between fully public and fully private. Figure 2 uses Alice's divorce as an example: after deleting Alice's messages, Bob's retelling and follow-up question still contain the same secret.
- Secrets are hard to identify: The same information has multiple expressions (spellings, synonyms, references); repeated occurrence does not reduce privateness (company credit card, Panama papers discussed by 300 journalists over a year); language and secrets themselves evolve over time, while models are typically trained once on static datasets.
- In-groups are hard to define: Secrets may involve or be shared by multiple people (the Enron corpus instance of an employee forwarding his wife's SSN); there is no k such that information shared with ≥ k people can be considered non-sensitive.
Critique of Data Sanitization (Section 5.1)
- Assumption: Private information can be formally specified, and efficient algorithms can be designed to identify and remove it as specified.
- Argument: Sanitization relies on parsers and classification models to assign labels, and is only effective for context-independent, fixed-format information (such as phone numbers with consecutive digits); secrets have no boundaries, context cannot be formalized, context may not be in the text, and context changes after sanitization, so any privacy claim based on sanitization is "always outdated."
- Limited use: The authors acknowledge that sanitization is useful as an obfuscation measure when removing context-independent, well-defined, static information, and is currently widely used in industry for PII/PHI preprocessing, but it cannot claim to protect individual privacy.
Critique of Differential Privacy (Section 5.2)
- Definition: The paper gives the standard definition: for privacy loss parameter ε ≥ 0, training algorithm A satisfies ε-DP if and only if for any pair of datasets D and D′ differing in only one record and any set of output models S, Pr[A(D) ∈ S] ≤ eε Pr[A(D′) ∈ S]; the meaning is that an attacker has difficulty distinguishing whether a given record participated in the computation.
- Record boundary problem: Word- or sentence-level DP guarantees are mostly insufficient; user-level DP is the intended interpretation [28], but deleting all of a single user's data is insufficient to delete their private information, because others may reference the same information (Figure 2c).
- Group protection decay: DP's guarantee for a group of size k weakens exponentially with k (kε-DP), but the authors argue that the sensitivity of information does not decrease as the number of people sharing it increases.
- Gap between ideal and reality: The ideal is "secret-level" DP, but satisfying it requires precisely understanding the context and boundaries of secrets—exactly the difficulty DP tries to avoid; the authors also note that DP's provable guarantees are often estimated loosely [70, 79, 18], and that its role as a "promise" to users [27] loses most of its meaning on language data.
Conclusions and Alternative Directions (Sections 6–7)
- Publicly available ≠ intended to be public: Web-scraped data may come from leaks, subpoenas, doxing, or mistakenly posted content; models can also act as archives of deleted content or make data searchable in new ways.
- Informed consent is infeasible: Even experts have only partial understanding of memorization and extraction risks; private information is often held jointly by multiple people, requiring group consent.
- Authors' argument: Language models should be trained only on data explicitly intended for public dissemination; on top of that, fine-tuning or personalizing with the user's local private data, with the model used only locally by that user, is an intermediate approach the authors consider promising and worth further exploration.
What experiments did the paper conduct?
The paper conducts no new experiments and supports its argument with existing attack results, examples from public corpora, and constructed examples.
Experimental Setup
- Nature of the paper: This is a position and analysis paper; there are no experiments run by the authors themselves, no models under test, benchmarks, or metrics, and no review method, sample size, or number of repetitions.
- Supporting materials: The argument relies on three types of material—cited published attack results, examples from public corpora, and examples constructed by the authors (Table 1, Figure 2).
Cited Existing Attack Results
- GPT-2 training data extraction (citing Carlini et al. [13]): The attack was demonstrated on three generative models of different sizes in the GPT-2 series, and individuals' full names, addresses, and phone numbers could be recovered from the largest variant; the authors relay its empirical conclusion: the larger the model, the more training samples it memorizes.
- Clinical BERT data extraction (citing Lehman et al. [52]): A similar extraction attack was performed on a BERT-like model trained on de-identified clinical notes, and over 4% of generated sentences containing a patient's name also contained that patient's real medical condition.
- Membership inference (citing [85, 69, 83, 87, 61]): An attacker can determine whether a data point is in the training set merely by querying the model; the authors state that such attacks are "alarmingly powerful" at identifying atypical (and therefore sensitive) members of large-capacity neural networks, and note that attack algorithms only improve over time, so current results underestimate the risk.
Public Corpora and Real Cases
- Enron corpus example ([48]): In the Enron email corpus, the authors found an email in which an employee sent his wife's (a non-employee) SSN to another employee to arrange insurance, used to illustrate that private information can appear in text written by others, making it difficult to define a unique "owner."
- Panama papers ([42]): More than 300 journalists communicated secretly for over a year before public release, used to illustrate that large-scale in-group sharing does not reduce sensitivity.
- Other cases: Facebook created shadow profiles for unregistered users; Crisis Text Line acknowledged sharing help-seeking conversation data with a for-profit company to train a customer-service language model [53, 75]; contact information posted publicly on GitHub became instances of training data extracted from language models [13].
Constructed Example System
- Table 1: Gives examples of private information along four axes—format, number of owners, in-group size, and whether further sharing is allowed within the in-group (personal password file, company credit card, mental health crisis help text, Alice's divorce, Panama papers, etc.)—as a reference frame for the paper's argument.
- Figure 2: Uses a constructed dialogue in which Alice reveals her divorce to Bob to illustrate the difficulty of deletion—(b) after deleting all of Alice's messages, Bob's last message still contains her private information; (c) after deleting the entire conversation, another conversation between Bob and Charlie still contains the same information. This figure is an illustrative diagram, not an experimental result.
Other Ablations and Analyses
- The paper has no ablations, parameter analyses, or negative experimental results; Figure 1 summarizes others' published trends in model size and training data size (BERT, XLNet, Megatron, T5, NLG, GPT-3, etc., with data volumes of 4–745 GB), and relays the scaling law of Kaplan et al. [45]: test loss has a power-law relationship with model size, data size, and compute.
What are some points that can be further explored?
The authors acknowledge that sanitization and DP are useful in limited settings, and propose public-intent data plus local personalization as a direction to be explored.
Limitations and Future Directions Noted by the Authors
- Limited applicability of sanitization and DP (Section 5.1, 5.2, 6): The authors explicitly state that sanitization is useful as an obfuscation measure when removing context-independent, well-defined, static information, and that DP is useful for structured data or when the secret is genuinely a single user's text (such as personal search history); and from an individual user's perspective, applying any obfuscation technique is better than applying none (e.g., training with DP is better than without).
- Ideal definitions are hard to achieve (Section 5.2): Ideal "secret-level" DP requires precisely understanding the context and boundaries of secrets—exactly the difficulty DP tries to avoid; the authors suggest asking whether DP must necessarily be the preferred privacy notion for training language models, or whether other methods could provide semantically more meaningful (even if only heuristic) protection.
- Public-intent data is hard to define (Section 6): Distinguishing data intended to be public and obtaining appropriate user consent "remains challenging," and the authors state that more realistic and stricter privacy guarantees are needed.
- Private personalization as a future direction (Section 6): Training on public-intent data, then fine-tuning or personalizing on the user's local private data, with the model used only locally by that user, is an intermediate approach the authors consider promising and worth further exploration.
- Call for contextual understanding (Section 1, 7): The authors call for building a rigorous understanding of privacy expectations for language data and providing meaningful privacy guarantees.
Scope of Experimental Coverage
- The paper runs no model experiments: no models under test, benchmarks, metrics, review method, sample size, or number of repetitions.
- All quantitative evidence is cited from others' work: training data extraction from three GPT-2 model sizes [13], extraction from BERT-like models on de-identified clinical notes (>4%) [52], and the series of membership inference attacks [85, 69, 83, 87, 61].
- Example evidence comes from a specific email case in the Enron corpus [48], as well as public incidents such as Panama papers [42] and Crisis Text Line [53, 75].
- The analysis targets two types of protection techniques: data sanitization and differential privacy; the paper discusses and explains why neither can claim to protect privacy on language data.
- The paper reports no adaptive attack evaluation of any defense scheme, nor does it provide an operational determination procedure for its proposed approach (training on public-intent data).
Summarize the main content of the paper
Position paper: sanitization and DP provide data protection rather than privacy protection; the authors argue that language models should be trained only on public-intent data.
This is a position and analysis paper about language model privacy; the core problem is that the assumptions of mainstream data protection techniques do not match the social norms of privacy in natural language.
- Problem to be addressed: Language models memorize and reproduce training data, and more easily memorize atypical data points; the authors argue that sanitization assumes private information can be formally specified and removed, and DP assumes clear record boundaries, and that neither holds for most natural language data.
- Argumentative framework: Using Nissenbaum's contextual integrity as the standard—privacy protection should ensure that data does not appear or get inferred outside its originally expected context; the argument proceeds from the three dimensions of the context-dependence of secrets, identifiability, and the definability of in-groups, supported by the four-axis example system of Table 1 and the deletion dilemma illustration of Figure 2.
- Key supporting evidence (all cited from others' work): Personal names, addresses, and phone numbers can be extracted from the largest GPT-2 variant [13]; when extracting from BERT-like models trained on de-identified clinical notes, over 4% of generated sentences containing patient names contained their real medical conditions [52]; the Enron corpus contains an instance of an employee forwarding his wife's SSN [48].
- Conclusions on the two techniques: The authors state that sanitization is only useful for context-independent, fixed-format information, and that any privacy claim based on sanitization is "always outdated"; DP's user-level guarantee cannot cover secrets referenced by others, group guarantees weaken exponentially with group size (kε-DP), and sensitivity does not decrease with the number of people sharing.
- Authors' conclusions: Data protection is not equivalent to privacy protection; publicly available data is not equivalent to data intended to be public; users cannot give informed consent. The authors argue that language models should be trained only on data explicitly intended for public dissemination, and regard "training on public data + personalization on local private data, for the user's own use only" as an intermediate approach worth exploring.