Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
80 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

User Inference Attacks on Large Language Models (2310.09266v2)

Published 13 Oct 2023 in cs.CR, cs.CL, and cs.LG

Abstract: Fine-tuning is a common and effective method for tailoring 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (6)
  1. Nikhil Kandpal (12 papers)
  2. Krishna Pillutla (23 papers)
  3. Alina Oprea (56 papers)
  4. Peter Kairouz (75 papers)
  5. Christopher A. Choquette-Choo (49 papers)
  6. Zheng Xu (73 papers)
Citations (11)
X Twitter Logo Streamline Icon: https://streamlinehq.com