Analysis of Privacy Leakage in Federated Large Language Models

Minh N. Vu, Truc Nguyen, Tre' R. Jeter, My T. Thai
3/2/2024
cs.CRcs.LG

No official code found. Best implementation: vunhatminh/FL_Attacks (8 stars, last commit 2024-02-13).

Abstract

With the rapid adoption of Federated Learning (FL) as the training and tuning protocol for applications utilizing Large Language Models (LLMs), recent research highlights the need for significant modifications to FL to accommodate the large-scale of LLMs. While substantial adjustments to the protocol have been introduced as a response, comprehensive privacy analysis for the adapted FL protocol is currently lacking. To address this gap, our work delves into an extensive examination of the privacy analysis of FL when used for training LLMs, both from theoretical and practical perspectives. In particular, we design two active membership inference attacks with guaranteed theoretical success rates to assess the privacy leakages of various adapted FL configurations. Our theoretical findings are translated into practical attacks, revealing substantial privacy vulnerabilities in popular LLMs, including BERT, RoBERTa, DistilBERT, and OpenAI's GPTs, across multiple real-world language datasets. Additionally, we conduct thorough experiments to evaluate the privacy leakage of these models when data is protected by state-of-the-art differential privacy (DP) mechanisms.

View on arXivView PDF

Code Implementations(1)

81Python, Jupyter NotebookNov 16, 20232 years ago

Similar Papers

Cite this paper

@article{vu2024analysis,
  title  = {Analysis of Privacy Leakage in Federated Large Language Models},
  author = {Minh N. Vu and Truc Nguyen and Tre' R. Jeter and My T. Thai},
  year   = {2024},
  eprint = {2403.04784},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.04784v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.04784.svg)](https://codeofpaper.com/paper/2403.04784)

Discussion