mlsanityData to 7 Oct 2026

SoK: Membership Inference Attacks on LLMs are Rushing Nowhere (and How to Fix It)

arXiv 2406.17975 ↗First posted 25 Jun 2024cs.CL cs.CR cs.LGcited by 54

On the map: LLM safety and security → Membership inference attacks

Abstract (arXiv)

Whether LLMs memorize their training data and what this means, from measuring privacy leakage to detecting copyright violations, has become a rapidly growing area of research. In the last few months, more than 10 new methods have been proposed to perform Membership Inference Attacks (MIAs) against LLMs. Contrary to traditional MIAs which rely on fixed-but randomized-records or models, these methods are mostly trained and tested on datasets collected post-hoc. Sets of members and non-members, used to evaluate the MIA, are constructed using informed guesses after the release of a model. This lack of randomization raises concerns of a distribution shift between members and non-members. In this work, we first extensively review the literature on MIAs against LLMs and show that, while most work focuses on sequence-level MIAs evaluated in post-hoc setups, a range of target models, motivations and units of interest are considered. We then quantify distribution shifts present in 6 datasets used in the literature using a model-less bag of word classifier and show that all datasets constructed post-hoc suffer from strong distribution shifts. These shifts invalidate the claims of LLMs memorizing strongly in real-world scenarios and, potentially, also the methodological contributions of the recent papers based on these datasets. Yet, all hope might not be lost. We introduce important considerations to properly evaluate MIAs against LLMs and discuss, in turn, potential ways forwards: randomized test splits, injections of randomized (unique) sequences, randomized fine-tuning, and several post-hoc control methods. While each option comes with its advantages and limitations, we believe they collectively provide solid grounds to guide MIA development and study LLM memorization. We conclude with an overview of recommended approaches to benchmark sequence-level and document-level MIAs against LLMs.

Key facts. Cited by 54 papers in the map (data through 7 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 82 of its 120 references that are in the map. First posted on arXiv 25 Jun 2024.

Builds on

82 of 120 references.

Closest ancestors · 14

Same direction, newest first

  1. 2024Blind Baselines Beat Membership Inference Attacks for Foundation Models23 Jun
  2. 2024ReCaLL: Membership Inference via Relative Conditional Log-Likelihoods23 Jun
  3. 2024Semantic Membership Inference Attack against Large Language Models14 Jun
  4. 2024LLM Dataset Inference: Did you train on my dataset?10 Jun
  5. 2024Sampling-based Pseudo-Likelihood for Membership Inference Attacks17 Apr
  6. 2024PANORAMIA: Privacy Auditing of Machine Learning Models without Retraining12 Feb
  7. 2024Do Membership Inference Attacks Work on Large Language Models?12 Feb
  8. 2023Did the Neurons Read your Book? Document-level Membership Inference for Large Language Models23 Oct
  9. 2023Membership Inference Attacks against Language Models via Neighbourhood Comparison29 May
  10. 2023Analyzing Leakage of Personally Identifiable Information in Language Models1 Feb
  11. 2022Membership Inference Attacks by Exploiting Loss Trajectory31 Aug
  12. 2021Membership Inference Attacks From First Principles7 Dec
2 more
  1. 2021Enhanced Membership Inference Attacks against Machine Learning Models18 Nov
  2. 2021On the Importance of Difficulty Calibration in Membership Inference Attacks15 Nov

Other references · 68

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  8. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  9. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  10. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  11. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  12. 2020Extracting Training Data from Large Language Modelscited by 2,144
38 more
  1. 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
  2. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  3. 2022Quantifying Memorization Across Neural Language Modelscited by 755
  4. 2021Deduplicating Training Data Makes Language Models Bettercited by 705
  5. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 694
  6. 2023A Watermark for Large Language Modelscited by 667
  7. 2024OLMo: Accelerating the Science of Language Modelscited by 599
  8. 2018ML-Leaks: Model and Data Independent Membership Inference Attacks and Defenses on Machine Learning Modelscited by 475
  9. 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 415
  10. 2023Detecting Pretraining Data from Large Language Modelscited by 375
  11. 2020Label-Only Membership Inference Attackscited by 371
  12. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
  13. 2024BioMistral: A Collection of Open-Source Pretrained Large Language Models for Medical Domainscited by 299
  14. 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 295
  15. 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
  16. 2022Data Contamination: From Memorization to Exploitationcited by 234
  17. 2023Proving Test Set Contamination in Black Box Language Modelscited by 227
  18. 2023Can LLMs Keep a Secret? Testing Privacy Implications of Language Models via Contextual Integrity Theorycited by 218
  19. 2020Auditing Differentially Private Machine Learning: How Private is Private SGD?cited by 213
  20. 2020Information Leakage in Embedding Modelscited by 199
  21. 2022What Does it Mean for a Language Model to Preserve Privacy?cited by 194
  22. 2018Machine Learning with Membership Privacy using Adversarial Regularizationcited by 177
  23. 2019Stolen Memories: Leveraging Model Memorization for Calibrated White-Box Membership Inferencecited by 168
  24. 2023Emergent and Predictable Memorization in Large Language Modelscited by 147
  25. 2021FedPara: Low-Rank Hadamard Product for Communication-Efficient Federated Learningcited by 140
  26. 2023Investigating Data Contamination in Modern Benchmarks for Large Language Modelscited by 136
  27. 2024SaulLM-7B: A pioneering Large Language Model for Lawcited by 136
  28. 2022The Privacy Onion Effect: Memorization is Relativecited by 128
  29. 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 119
  30. 2024Machine Unlearning of Pre-trained Large Language Modelscited by 118
  31. 2020Revisiting Membership Inference Under Realistic Assumptionscited by 108
  32. 2023Copyright Violations and Large Language Modelscited by 108
  33. 2020Synthetic Data -- Anonymisation Groundhog Daycited by 105
  34. 2024Min-K%++: Improved Baseline for Detecting Pre-Training Data from Large Language Modelscited by 102
  35. 2023Task Contamination: Language Models May Not Be Few-Shot Anymorecited by 98
  36. 2017Ethical Challenges in Data-Driven Dialogue Systemscited by 86
  37. 2024Fast Adversarial Attacks on Language Models In One GPU Minutecited by 85
  38. 2018Understanding Membership Inferences on Well-Generalized Learning Modelscited by 83

50 most cited of 68 All 68 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 29; 2026: 20.

54 papers.

Sort:

By area:

  1. 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
  2. 2025Unlearning Isn't Deletion: Investigating Reversibility of Machine Unlearning in LLMscited by 41
  3. 2024Does Data Contamination Detection Work (Well) for LLMs? A Survey and Evaluation on Detection Assumptionscited by 26
  4. 2025Riddle Me This! Stealthy Membership Inference for Retrieval-Augmented Generationcited by 26
  5. 2024Context-Aware Membership Inference Attacks against Pre-trained Large Language Modelscited by 20
  6. 2025Membership Inference Attacks on Large-Scale Models: A Surveycited by 17
  7. 2025How Contaminated Is Your Benchmark? Quantifying Dataset Leakage in Large Language Models with Kernel Divergencecited by 13
  8. 2025Towards Lifecycle Unlearning Commitment Management: Measuring Sample-level Unlearning Completenesscited by 11
  9. 2025Membership Inference Attacks as Privacy Tools: Reliability, Disparity and Ensemblecited by 11
  10. 2025SOFT: Selective Data Obfuscation for Protecting LLM Fine-tuning against Membership Inference Attackscited by 9
  11. 2024Towards More Realistic Extraction Attacks: An Adversarial Perspectivecited by 8
  12. 2025STAMP Your Content: Proving Dataset Membership via Watermarked Rephrasingscited by 8
38 more
  1. 2026Information-Theoretic Privacy Control for Sequential Multi-Agent LLM Systemscited by 8
  2. 2025Unlocking Post-hoc Dataset Inference with Synthetic Datacited by 7
  3. 2025LoRA-Leak: Membership Inference Attacks Against LoRA Fine-tuned Language Modelscited by 7
  4. 2024Privacy Bias in Language Models: A Contextual Integrity-based Auditing Metriccited by 6
  5. 2025Beyond Data Privacy: New Privacy Risks for Large Language Modelscited by 6
  6. 2026G-Drift MIA: Membership Inference via Gradient-Induced Feature Drift in LLMscited by 6
  7. 2024A Statistical and Multi-Perspective Revisiting of the Membership Inference Attack in Large Language Modelscited by 5
  8. 2026Membership Inference Attacks Against Fine-tuned Diffusion Language Modelscited by 5
  9. 2025The Hitchhiker's Guide to Efficient, End-to-End, and Tight DP Auditingcited by 4
  10. 2025Membership Inference Attacks on Tokenizers of Large Language Modelscited by 3
  11. 2025Data Provenance Auditing of Fine-Tuned Large Language Models with a Text-Preserving Techniquecited by 3
  12. 2025In-Context Probing for Membership Inference in Fine-Tuned Language Modelscited by 3
  13. 2026Auditing Training Data in Domain-adapted LLMs: LoRA-MINTcited by 3
  14. 2025ZJUKLAB at SemEval-2025 Task 4: Unlearning via Model Mergingcited by 2
  15. 2025Memories Retrieved from Many Paths: A Multi-Prefix Framework for Robust Detection of Training Data Leakage in Large Language Modelscited by 2
  16. 2026Causal Evaluation of Membership Inference Attackscited by 2
  17. 2026CoLA: A Choice Leakage Attack Framework to Expose Privacy Risks in Subset Trainingcited by 2
  18. 2026Models That Know How Evaluations Are Designed Score Safercited by 2
  19. 2026CheckMIABench: Firm Foundations For Membership Inference Attacks on Language Modelscited by 2
  20. 2025On Membership Inference Attacks in Knowledge Distillationcited by 1
  21. 2025CLaw: Benchmarking Chinese Legal Knowledge in Large Language Models - A Fine-grained Corpus and Reasoning Analysiscited by 1
  22. 2025Exploring Membership Inference Vulnerabilities in Clinical Large Language Modelscited by 1
  23. 2026Model See, Model Do? Exposure-Aware Evaluation of Bug-vs-Fix Preference in Code LLMscited by 1
  24. 2026SoK: Challenges in Tabular Membership Inference Attackscited by 1
  25. 2025Towards Reliable and Generalizable Differentially Private Machine Learning (Extended Version)cited by 0
  26. 2025Privacy Risks in Time Series Forecasting: User- and Record-Level Membership Inferencecited by 0
  27. 2025Empirical Comparison of Membership Inference Attacks in Deep Transfer Learningcited by 0
  28. 2025Fast-MIA: Efficient and Scalable Membership Inference for LLMscited by 0
  29. 2025EL-MIA: Quantifying Membership Inference Risks of Sensitive Entities in LLMscited by 0
  30. 2025Observational Auditing of Label Privacycited by 0
  31. 2025Label Forensics: Interpreting Hard Labels in Black-Box Text Classifiercited by 0
  32. 2025On the Effectiveness of Membership Inference in Targeted Data Extraction from Large Language Modelscited by 0
  33. 2026On the Evidentiary Limits of Membership Inference for Copyright Auditingcited by 0
  34. 2026AST-PAC: AST-guided Membership Inference for Codecited by 0
  35. 2026AutoMIA: Improved Baselines for Membership Inference Attack via Agentic Self-Explorationcited by 0
  36. 2026AI Security Research Should Better Incentivize Defense Researchcited by 0
  37. 2026LLMSurgeon: Diagnosing Data Mixture of Large Language Modelscited by 0
  38. 2026FindMyText: Robust, Scalable Detection of Text Containment in Large Web-Crawled Corporacited by 0

50 most cited of 54 All 54 (JSON)