An Interactive Framework for Implementing Privacy-Preserving Federated Learning: Experiments on Large Language Models

  • Kasra Ahmadi
  • , Rouzbeh Behnia
  • , Reza Ebrahimi
  • , Mehran Mozaffari Kermani
  • , Jeremiah Birrell
  • , Jason Pacheco
  • , Attila A. Yavuz

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Federated learning (FL) enhances privacy by keeping user data on local devices. However, emerging attacks have demonstrated that the updates shared by users during training can reveal significant information about their data. Differential Privacy (D P) is considered the gold standard for safeguarding user data. However, DP guarantees are highly conservative, providing worst-case privacy guarantees. This can result in overestimating privacy needs, which may compromise the model's accuracy. Additionally, interpretations of these privacy guarantees have proven to be challenging in different contexts. This is further exacerbated when other factors, such as the number of training iterations, data distribution, and specific application requirements, can add further complexity to this problem. In this work, we proposed a framework that inte-grates a human entity as a privacy practitioner to determine an optimal trade-off between the model's privacy and utility. Our framework is the first to address the variable memory requirement of existing DP methods in FL settings, where resource-limited devices (e.g., cell phones) can participate. To support such settings, we adopt a recent DP method with fixed memory usage to ensure scalable private FL. We evaluated our proposed framework by fine-tuning a BERT-based LLM model using the GLUE dataset (a common approach in literature), leveraging the new accountant, and employing diverse data partitioning strategies to mimic real-world conditions. As a result, we achieved stable memory usage, with an average accuracy reduction of 1.33% for ϵ= 10 and 1.9% for ϵ= 6, when compared to the state-of-the-art DP accountant which does not support fixed memory usage.

Original languageEnglish (US)
Title of host publicationProceedings - 46th IEEE Symposium on Security and Privacy Workshops, SPW 2025
EditorsMarina Blanton, William Enck, Cristina Nita-Rotaru
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages251-259
Number of pages9
ISBN (Electronic)9798331566432
DOIs
StatePublished - 2025
Event46th IEEE Symposium on Security and Privacy Workshops, SPW 2025 - San Francisco, United States
Duration: May 12 2025May 15 2025

Publication series

NameProceedings - 46th IEEE Symposium on Security and Privacy Workshops, SPW 2025

Conference

Conference46th IEEE Symposium on Security and Privacy Workshops, SPW 2025
Country/TerritoryUnited States
CitySan Francisco
Period5/12/255/15/25

Keywords

  • Differential Privacy
  • Federated Learning
  • Fine-Tuning
  • LLM
  • Privacy Cost

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Networks and Communications
  • Information Systems
  • Safety, Risk, Reliability and Quality
  • Communication

Fingerprint

Dive into the research topics of 'An Interactive Framework for Implementing Privacy-Preserving Federated Learning: Experiments on Large Language Models'. Together they form a unique fingerprint.

Cite this