Lune

EMNLP2024顶会

User Inference Attacks on Large Language Models

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

2024年份
14被引次数
16顶会引用

摘要

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.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper16

问问它们各自怎么用它

它引用的顶会 Paper27

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖