Lune

EMNLP2024顶会

User Inference Attacks on Large Language Models

Nikhil Kandpal, Krishna Pillutla, Alina Oprea, Peter Kairouz, Christopher A. Choquette-Choo, Zheng Xu

摘要

Text written by humans makes up the vast majority of the data used to pre-train and finetune large language models (LLMs). Many sources of this data-like code, forum posts, personal websites, and books-are easily attributed to one or a few "users". In this paper, we ask if it is possible to infer if any of a user's data was used to train an LLM. Not only would this constitute a breach of privacy, but it would also enable users to detect when their data was used for training. We develop the first effective attacks for user inferenceat times, with near-perfect success-against LLMs. Our attacks are easy to employ, requiring only black-box access to an LLM and a few samples from the user, which need not be the ones that were trained on. We find, both theoretically and empirically, that certain properties make users more susceptible to user inference: being an outlier, having highly correlated examples, and contributing a larger fraction of data. 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. Though these provide partial mitigation, our work highlights the need to develop methods to fully protect LLMs from user inference. Pre-trained LLM Finetuned LLM 𝑝 ! User-level finetuned data Training samples Samples known by attacker Query access Adversary Target User 𝑈 2. For each 𝑥 (#) compute 𝑝 ! (𝑥 (#) ) 3. Test statistic 4. 𝑈 was in training if 4 𝑇 𝑥 (%) , … , 𝑥 (&) > 𝜏 1. Sample 𝑥 (%) , … , 𝑥 & from 𝐷 + User 𝑈 User 𝐴 User 𝐵 Samuel Yeom, Irene Giacomelli, Matt Fredrikson, and Somesh Jha. 2018. Privacy risk in machine learning: Analyzing the connection to overfitting. In IEEE Computer Security Foundations Symposium.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Exploring the limits of strong membership inference attacks on large language models 引用了 Membership Inference Attacks Against Machine Learning Models
  • Exploring the limits of strong membership inference attacks on large language models 引用了 Membership Inference Attacks From First Principles
  • Exploring the limits of strong membership inference attacks on large language models 引用了 Deduplicating Training Data Makes Language Models Better
  • Membership Inference Attacks Against Fine-tuned Diffusion Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
  • Membership Inference Attacks Against Fine-tuned Diffusion Language Models 引用了 Membership Inference Attacks From First Principles
  • Analyzing Inference Privacy Risks Through Gradients In Machine Learning 引用了 Membership Inference Attacks Against Machine Learning Models
  • Analyzing Inference Privacy Risks Through Gradients In Machine Learning 引用了 Membership Inference Attacks From First Principles
  • Membership Inference Attacks From First Principles 引用了 Membership Inference Attacks Against Machine Learning Models
  • ArtistAuditor: Auditing Artist Style Pirate in Text-to-Image Generation Models 引用了 Membership Inference Attacks Against Machine Learning Models
  • Deduplicating Training Data Makes Language Models Better 引用了 Membership Inference Attacks Against Machine Learning Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper16

  1. Exploring the limits of strong membership inference attacks on large language modelsJamie Hayes, Ilia Shumailov, Christopher A. Choquette-Choo, Matthew Jagielski 等NeurIPS 2025 · 26 次引用
  2. InvisibleInk: High-Utility and Low-Cost Text Generation with Differential PrivacyVishnu Vinod, Krishna Pillutla, Abhradeep Guha ThakurtaNeurIPS 2025 · 12 次引用
  3. Membership Inference Attacks Against Fine-tuned Diffusion Language ModelsYuetian Chen, Kaiyuan Zhang, Yuntao Du, Edoardo Stoppa 等ICLR 2026 · 6 次引用
  4. Analyzing Inference Privacy Risks Through Gradients In Machine LearningZhuohang Li, Andrew Lowy, Jing Liu, Toshiaki Koike-Akino 等CCS 2024 · 5 次引用
  5. ArtistAuditor: Auditing Artist Style Pirate in Text-to-Image Generation ModelsLinkang Du, Zheng Zhu, Min Chen, Zhou Su 等WWW 2025 · 5 次引用

它引用的 Paper30

  1. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
  2. Adaptive Federated OptimizationSashank J. Reddi, Zachary Charles, Manzil Zaheer, Zachary Garrett 等ICLR 2021 · 1,917 次引用
  3. Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context LearningHaokun Liu, Derek Tam, Mohammed Muqeeth, Jay Mohta 等NeurIPS 2022 · 1,483 次引用
  4. Membership Inference Attacks From First PrinciplesNicholas Carlini, Steve Chien, Milad Nasr, Shuang Song 等S&P 2022 · 1,049 次引用
  5. Deduplicating Training Data Makes Language Models BetterKatherine Lee, Daphne Ippolito, Andrew Nystrom, Chiyuan Zhang 等ACL 2022 · 844 次引用

相关 Paper

  1. Sampling-based Pseudo-Likelihood for Membership Inference AttacksMasahiro Kaneko, Youmi Ma, Yuki Wata, Naoaki OkazakiACL Findings 2025 · 6 次引用
  2. Beyond Memorization: Violating Privacy via Inference with Large Language ModelsRobin Staab, Mark Vero, Mislav Balunovic, Martin T. VechevICLR 2024 · 211 次引用
  3. Did the Neurons Read your Book? Document-level Membership Inference for Large Language ModelsMatthieu Meeus, Shubham Jain, Marek Rei, Yves-Alexandre de MontjoyeUSENIX Security 2024 · 67 次引用
  4. DPDLLM: A Black-box Framework for Detecting Pre-training Data from Large Language ModelsBaohang Zhou, Zezhong Wang, Lingzhi Wang, Hongru Wang 等ACL Findings 2024 · 8 次引用
  5. LLM Dataset Inference: Did you train on my dataset?Pratyush Maini, Hengrui Jia, Nicolas Papernot, Adam DziedzicNeurIPS 2024 · 162 次引用
黄昏的海面,两侧是细线勾勒的悬崖