Mind the Privacy Unit! User-Level Differential Privacy for Language Model Fine-Tuning
Lynn Chua, Badih Ghazi, Yangsibo Huang, Pritish Kamath, Ravi Kumar, Daogao Liu, Pasin Manurangsi, Amer Sinha, Chiyuan Zhang
TL;DR
This work addresses privacy in language-model fine-tuning by advocating for user-level differential privacy to ensure uniform protection across users, rather than per-record guarantees. It systematically evaluates two mechanisms—Group Privacy and User-wise DP-SGD—and studies data-selection strategies to balance privacy and utility on Enron Email and BookSum using GPT-2 with LoRA. The empirical results show that User-wise DP-SGD generally yields better utility than Group Privacy, especially at stricter privacy budgets, and that data-selection choices significantly influence outcomes; Random Chunk selection in UDPSGD and longest-record selection in Group Privacy emerge as strong baselines depending on the mechanism. The findings offer practical guidance for deploying user-level DP in language-model fine-tuning, while also highlighting limitations of advanced gradient-concentration-based approaches and suggesting directions for future work across dynamic per-user contributions and broader domains.
Abstract
Large language models (LLMs) have emerged as powerful tools for tackling complex tasks across diverse domains, but they also raise privacy concerns when fine-tuned on sensitive data due to potential memorization. While differential privacy (DP) offers a promising solution by ensuring models are 'almost indistinguishable' with or without any particular privacy unit, current evaluations on LLMs mostly treat each example (text record) as the privacy unit. This leads to uneven user privacy guarantees when contributions per user vary. We therefore study user-level DP motivated by applications where it necessary to ensure uniform privacy protection across users. We present a systematic evaluation of user-level DP for LLM fine-tuning on natural language generation tasks. Focusing on two mechanisms for achieving user-level DP guarantees, Group Privacy and User-wise DP-SGD, we investigate design choices like data selection strategies and parameter tuning for the best privacy-utility tradeoff.
