The Hidden Cost of Modeling P(X): Vulnerability to Membership Inference Attacks in Generative Text Classifiers
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
Membership Inference Attacks (MIAs) pose a critical privacy threat by enabling adversaries to determine whether a specific sample was included in a model's training dataset. Despite extensive research on MIAs, systematic comparisons between generative and discriminative classifiers remain limited. This work addresses this gap by first providing theoretical motivation for why generative classifiers exhibit heightened susceptibility to MIAs, then validating these insights through comprehensive empirical evaluation. Our study encompasses discriminative, generative, and pseudo-generative text classifiers across varying training data volumes, evaluated on nine benchmark datasets. Employing a diverse array of MIA strategies, we consistently demonstrate that fully generative classifiers which explicitly model the joint likelihood P(X,Y) are most vulnerable to membership leakage. Furthermore, we observe that the canonical inference approach commonly used in generative classifiers significantly amplifies this privacy risk. These findings reveal a fundamental utility-privacy trade-off inherent in classifier design, underscoring the critical need for caution when deploying generative classifiers in privacy-sensitive applications. Our results motivate future research directions in developing privacy-preserving generative classifiers that can maintain utility while mitigating membership inference vulnerabilities.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 24 of its 43 references that are in the map. First posted on arXiv 17 Oct 2025.
Builds on
24 of 43 references.
Closest ancestors · 2
Same direction, newest first
- 2024Exposing Privacy Gaps: Membership Inference Attack on Preference Data for LLM Alignment8 Jul
- 2024SoK: Reducing the Vulnerability of Fine-tuned Language Models to Membership Inference Attacks13 Mar
Other references · 22
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 864
- 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distributioncited by 745
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
- 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 498
- 2022A Systematic Evaluation of Large Language Models of Codecited by 363
- 2020Systematic Evaluation of Privacy Risks of Machine Learning Modelscited by 292
- 2019BERT has a Mouth, and It Must Speak: BERT as a Markov Random Field Language Modelcited by 185
10 more
- 2023Text Classification via Large Language Modelscited by 106
- 2023Intriguing properties of generative classifierscited by 52
- 2018Towards Demystifying Membership Inference Attackscited by 40
- 2017Generative and Discriminative Text Classification with Recurrent Neural Networkscited by 31
- 2023Revisiting Discriminative vs. Generative Classifiers: Theory and Implicationscited by 29
- 2023How Robust are LLMs to In-Context Majority Label Bias?cited by 14
- 2025Generative or Discriminative? Revisiting Text Classification in the Era of Transformerscited by 9
- 2023A Multimodal Prototypical Approach for Unsupervised Sound Classificationcited by 6
- 2023Tackling Concept Shift in Text Classification using Entailment-style Modelingcited by 4
- 2024Exploring Ordinality in Text Classification: A Comparative Study of Explicit and Implicit Techniquescited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Ensembling Membership Inference Attacks Against Tabular Generative Models
- 2026One Framework for All: Cross-Modal Membership Inference for Generative Models
- 2023Generated Distributions Are All You Need for Membership Inference Attacks Against Generative Models
- 2022Membership Inference Attacks Against Text-to-image Generation Models
- 2023Improved Membership Inference Attacks Against Language Classification Models
- 2026Empirical Evaluation of Membership Inference Attacks on NLP Text Classifiers: A Baseline Study on SST-2
- 2026What Hard Tokens Reveal: Exploiting Low-confidence Tokens for Membership Inference Attacks against Large Language Models
- 2025Membership Inference Attacks as Privacy Tools: Reliability, Disparity and Ensemble