User Inference Attacks on Large Language Models
Not on the map. Why?
Abstract (arXiv)
Fine-tuning is a common and effective method for tailoring large language models (LLMs) to specialized tasks and applications. In this paper, we study the privacy implications of fine-tuning LLMs on user data. To this end, we consider a realistic threat model, called user inference, wherein an attacker infers whether or not a user's data was used for fine-tuning. We design attacks for performing user inference that require only black-box access to the fine-tuned LLM and a few samples from a user which need not be from the fine-tuning dataset. We find that LLMs are susceptible to user inference across a variety of fine-tuning datasets, at times with near perfect attack success rates. Further, we theoretically and empirically investigate the properties that make users vulnerable to user inference, finding that outlier users, users with identifiable shared features between examples, and users that contribute a large fraction of the fine-tuning data are most susceptible to attack. Based on these findings, we identify several methods for mitigating user inference including training with example-level differential privacy, removing within-user duplicate examples, and reducing a user's contribution to the training data. While these techniques provide partial mitigation of user inference, we highlight the need to develop methods to fully protect fine-tuned LLMs against this privacy risk.
Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Builds on 61 of its 96 references that are in the map. First posted on arXiv 13 Oct 2023.
Builds on
61 of 96 references.
References · 61
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2019Advances and Open Problems in Federated Learningcited by 3,021
- 2016Deep Learning with Differential Privacycited by 2,682
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2023PaLM 2 Technical Reportcited by 1,154
- 2020Adaptive Federated Optimizationcited by 1,036
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
- 2021Membership Inference Attacks From First Principlescited by 839
38 more
- 2022Quantifying Memorization Across Neural Language Modelscited by 755
- 2021Deduplicating Training Data Makes Language Models Bettercited by 705
- 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 481
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 452
- 2020Label-Only Membership Inference Attackscited by 371
- 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
- 2013The Composition Theorem for Differential Privacycited by 290
- 2020The Pushshift Reddit Datasetcited by 289
- 2023Analyzing Leakage of Personally Identifiable Information in Language Modelscited by 278
- 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 249
- 2018Beyond Inferring Class Representatives: User-Level Privacy Leakage From Federated Learningcited by 242
- 2021Enhanced Membership Inference Attacks against Machine Learning Modelscited by 237
- 2022Data Contamination: From Memorization to Exploitationcited by 234
- 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 218
- 2020Auditing Differentially Private Machine Learning: How Private is Private SGD?cited by 213
- 2019MemGuard: Defending against Black-Box Membership Inference Attacks via Adversarial Examplescited by 183
- 2023MADLAD-400: A Multilingual And Document-Level Large Audited Datasetcited by 180
- 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 175
- 2021Practical and Private (Deep) Learning without Sampling or Shufflingcited by 169
- 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attackscited by 168
- 2021Counterfactual Memorization in Neural Language Modelscited by 155
- 2023How to DP-fy ML: A Practical Guide to Machine Learning with Differential Privacycited by 150
- 2023Emergent and Predictable Memorization in Large Language Modelscited by 147
- 2021On the Importance of Difficulty Calibration in Membership Inference Attackscited by 137
- 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 134
- 2022Reconstructing Training Data from Trained Neural Networkscited by 129
- 2013Hacking Smart Machines with Smarter Ones: How to Extract Meaningful Data from Machine Learning Classifierscited by 128
- 2023Privacy Auditing with One (1) Training Runcited by 119
- 2022Measuring Forgetting of Memorized Training Examplescited by 118
- 2019On the Use of ArXiv as a Datasetcited by 101
- 2019Gmail Smart Compose: Real-Time Assisted Writingcited by 97
- 2022Preventing Verbatim Memorization in Language Models Gives a False Sense of Privacycited by 97
- 2021Learning with User-Level Privacycited by 72
- 2020Training Production Language Models without Memorizing User Datacited by 68
- 2023Federated Learning of Gboard Language Models with Differential Privacycited by 64
- 2022SoK: Let the Privacy Games Begin! A Unified Treatment of Data Inference Privacy in Machine Learningcited by 47
- 2021Formalizing and Estimating Distribution Inference Riskscited by 42
50 most cited of 61 All 61 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 8; 2025: 14; 2026: 13.
36 papers.
Sort:
By area:
- 2024Do Membership Inference Attacks Work on Large Language Models?cited by 188
- 2024The Emerged Security and Privacy of LLM Agent: A Survey with Case Studiescited by 127
- 2024OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learningcited by 124
- 2023SoK: Memorization in General-Purpose Large Language Modelscited by 36
- 2024Fine-Tuning Large Language Models with User-Level Differential Privacycited by 28
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trendscited by 26
- 2025Privacy Auditing of Large Language Modelscited by 22
- 2025Language Models May Verbatim Complete Text They Were Not Explicitly Trained Oncited by 20
- 2024Federated Learning in Practice: Reflections and Projectionscited by 15
- 2024Detecting Training Data of Large Language Models via Expectation Maximizationcited by 13
- 2024Range Membership Inference Attackscited by 10
- 2025InvisibleInk: High-Utility and Low-Cost Text Generation with Differential Privacycited by 10
24 more
- 2025Is My Text in Your AI Model? Gradient-based Membership Inference Test applied to LLMscited by 9
- 2025Synthetic Data Privacy Metricscited by 7
- 2025ArtistAuditor: Auditing Artist Style Pirate in Text-to-Image Generation Modelscited by 5
- 2026Chain-of-Sanitized-Thoughts: Plugging PII Leakage in CoT of Large Reasoning Modelscited by 5
- 2026Membership Inference Attacks Against Fine-tuned Diffusion Language Modelscited by 5
- 2025Enterprise AI Must Enforce Participant-Aware Access Controlcited by 3
- 2026Auditing Training Data in Domain-adapted LLMs: LoRA-MINTcited by 3
- 2025Synthesizing and Adapting Error Correction Data for Mobile Large Language Model Applicationscited by 2
- 2025Win-k: Improved Membership Inference Attacks on Small Language Modelscited by 1
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
- 2026Quantifying the Effect of Test Set Contamination on Generative Evaluationscited by 1
- 2026SoK: Privacy-aware LLM in Healthcare: Threat Model, Privacy Techniques, Challenges and Recommendationscited by 1
- 2026Decomposing Memorization Reduction in Privacy-Preserving Fine-Tuning of SLMs for CSIRTscited by 1
- 2025Language modelling techniques for analysing the impact of human genetic variationcited by 0
- 2025Black-Box Privacy Attacks on Shared Representations in Multitask Learningcited by 0
- 2025Privacy Risks in Time Series Forecasting: User- and Record-Level Membership Inferencecited by 0
- 2025Randomized Masked Finetuning: An Efficient Way to Mitigate Memorization of PIIs in LLMscited by 0
- 2026What Artificial Intelligence can do for High-Performance Computing systems?cited by 0
- 2026From Competition to Collaboration: Designing Sustainable Mechanisms Between LLMs and Online Forumscited by 0
- 2026Membership Inference Attacks for Retrieval Based In-Context Learning for Document Question Answeringcited by 0
- 2026Advancing the State-of-the-Art in Empirical Privacy Auditingcited by 0
- 2026Have You Ever Seen Them? Entity-level Membership Inference through Interrogating Large Language Modelscited by 0
- 2026The Privacy-Hallucination Tradeoff in Differentially Private Language Modelscited by 0
- 2026Inferring Hidden User Models from the Behavior of Personalized LLM Agentscited by 0
- 2026Inferring Hidden User Models from the Behavior of Personalized LLM Agents3 Sep 2026
- 2026The Privacy-Hallucination Tradeoff in Differentially Private Language Models31 Aug 2026
- 2026Decomposing Memorization Reduction in Privacy-Preserving Fine-Tuning of SLMs for CSIRTs26 Jun 2026
- 2026Have You Ever Seen Them? Entity-level Membership Inference through Interrogating Large Language Models22 Jun 2026
- 2026Advancing the State-of-the-Art in Empirical Privacy Auditing9 Jun 2026
- 2026Auditing Training Data in Domain-adapted LLMs: LoRA-MINT5 Jun 2026
- 2026Membership Inference Attacks for Retrieval Based In-Context Learning for Document Question Answering5 May 2026
- 2026From Competition to Collaboration: Designing Sustainable Mechanisms Between LLMs and Online Forums4 Feb 2026
- 2026Membership Inference Attacks Against Fine-tuned Diffusion Language Models27 Jan 2026
- 2026SoK: Privacy-aware LLM in Healthcare: Threat Model, Privacy Techniques, Challenges and Recommendations15 Jan 2026
- 2026Chain-of-Sanitized-Thoughts: Plugging PII Leakage in CoT of Large Reasoning Models8 Jan 2026
- 2026Quantifying the Effect of Test Set Contamination on Generative Evaluations7 Jan 2026
24 more
- 2026What Artificial Intelligence can do for High-Performance Computing systems?3 Jan 2026
- 2025Randomized Masked Finetuning: An Efficient Way to Mitigate Memorization of PIIs in LLMs2 Dec 2025
- 2025Enterprise AI Must Enforce Participant-Aware Access Control18 Sep 2025
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systems12 Sep 2025
- 2025Privacy Risks in Time Series Forecasting: User- and Record-Level Membership Inference4 Sep 2025
- 2025Win-k: Improved Membership Inference Attacks on Small Language Models2 Aug 2025
- 2025InvisibleInk: High-Utility and Low-Cost Text Generation with Differential Privacy30 Jun 2025
- 2025Black-Box Privacy Attacks on Shared Representations in Multitask Learning19 Jun 2025
- 2025Synthesizing and Adapting Error Correction Data for Mobile Large Language Model Applications24 May 2025
- 2025ArtistAuditor: Auditing Artist Style Pirate in Text-to-Image Generation Models17 Apr 2025
- 2025Language Models May Verbatim Complete Text They Were Not Explicitly Trained On21 Mar 2025
- 2025Is My Text in Your AI Model? Gradient-based Membership Inference Test applied to LLMs10 Mar 2025
- 2025Privacy Auditing of Large Language Models9 Mar 2025
- 2025Language modelling techniques for analysing the impact of human genetic variation7 Mar 2025
- 2025Synthetic Data Privacy Metrics7 Jan 2025
- 2024Federated Learning in Practice: Reflections and Projections11 Oct 2024
- 2024Detecting Training Data of Large Language Models via Expectation Maximization10 Oct 2024
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trends22 Sep 2024
- 2024Range Membership Inference Attacks9 Aug 2024
- 2024The Emerged Security and Privacy of LLM Agent: A Survey with Case Studies28 Jul 2024
- 2024Fine-Tuning Large Language Models with User-Level Differential Privacy10 Jul 2024
- 2024Do Membership Inference Attacks Work on Large Language Models?12 Feb 2024
- 2024OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learning10 Feb 2024
- 2023SoK: Memorization in General-Purpose Large Language Models24 Oct 2023
- 2024Do Membership Inference Attacks Work on Large Language Models?cited by 188
- 2025Privacy Auditing of Large Language Modelscited by 22
- 2024Detecting Training Data of Large Language Models via Expectation Maximizationcited by 13
- 2024Range Membership Inference Attackscited by 10
- 2025Is My Text in Your AI Model? Gradient-based Membership Inference Test applied to LLMscited by 9
- 2026Auditing Training Data in Domain-adapted LLMs: LoRA-MINTcited by 3
- 2025Win-k: Improved Membership Inference Attacks on Small Language Modelscited by 1
- 2025Privacy Risks in Time Series Forecasting: User- and Record-Level Membership Inferencecited by 0
- 2026Membership Inference Attacks for Retrieval Based In-Context Learning for Document Question Answeringcited by 0
- 2026Have You Ever Seen Them? Entity-level Membership Inference through Interrogating Large Language Modelscited by 0
- 2026Have You Ever Seen Them? Entity-level Membership Inference through Interrogating Large Language Models22 Jun 2026
- 2026Auditing Training Data in Domain-adapted LLMs: LoRA-MINT5 Jun 2026
- 2026Membership Inference Attacks for Retrieval Based In-Context Learning for Document Question Answering5 May 2026
- 2025Privacy Risks in Time Series Forecasting: User- and Record-Level Membership Inference4 Sep 2025
- 2025Win-k: Improved Membership Inference Attacks on Small Language Models2 Aug 2025
- 2025Is My Text in Your AI Model? Gradient-based Membership Inference Test applied to LLMs10 Mar 2025
- 2025Privacy Auditing of Large Language Models9 Mar 2025
- 2024Detecting Training Data of Large Language Models via Expectation Maximization10 Oct 2024
- 2024Range Membership Inference Attacks9 Aug 2024
- 2024Do Membership Inference Attacks Work on Large Language Models?12 Feb 2024
- 2024OpenFedLLM: Training Large Language Models on Decentralized Private Data via Federated Learningcited by 124
- 2023SoK: Memorization in General-Purpose Large Language Modelscited by 36
- 2024Fine-Tuning Large Language Models with User-Level Differential Privacycited by 28
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trendscited by 26
- 2025Language Models May Verbatim Complete Text They Were Not Explicitly Trained Oncited by 20
- 2024Federated Learning in Practice: Reflections and Projectionscited by 15
- 2025Synthetic Data Privacy Metricscited by 7
- 2025Enterprise AI Must Enforce Participant-Aware Access Controlcited by 3
- 2025Synthesizing and Adapting Error Correction Data for Mobile Large Language Model Applicationscited by 2
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
- 2026Quantifying the Effect of Test Set Contamination on Generative Evaluationscited by 1
- 2026SoK: Privacy-aware LLM in Healthcare: Threat Model, Privacy Techniques, Challenges and Recommendationscited by 1
12 most cited of 20 All 20 (JSON)
- 2026The Privacy-Hallucination Tradeoff in Differentially Private Language Models31 Aug 2026
- 2026Decomposing Memorization Reduction in Privacy-Preserving Fine-Tuning of SLMs for CSIRTs26 Jun 2026
- 2026Advancing the State-of-the-Art in Empirical Privacy Auditing9 Jun 2026
- 2026From Competition to Collaboration: Designing Sustainable Mechanisms Between LLMs and Online Forums4 Feb 2026
- 2026SoK: Privacy-aware LLM in Healthcare: Threat Model, Privacy Techniques, Challenges and Recommendations15 Jan 2026
- 2026Quantifying the Effect of Test Set Contamination on Generative Evaluations7 Jan 2026
- 2026What Artificial Intelligence can do for High-Performance Computing systems?3 Jan 2026
- 2025Randomized Masked Finetuning: An Efficient Way to Mitigate Memorization of PIIs in LLMs2 Dec 2025
- 2025Enterprise AI Must Enforce Participant-Aware Access Control18 Sep 2025
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systems12 Sep 2025
- 2025Black-Box Privacy Attacks on Shared Representations in Multitask Learning19 Jun 2025
- 2025Synthesizing and Adapting Error Correction Data for Mobile Large Language Model Applications24 May 2025
12 newest of 20 All 20 (JSON)