LanFL: Differentially Private Federated Learning with Large Language Models using Synthetic Samples

Huiyu Wu, Diego Klabjan
10/24/2024
cs.LGcs.CR

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Federated Learning (FL) is a collaborative, privacy-preserving machine learning framework that enables multiple participants to train a single global model. However, the recent advent of powerful Large Language Models (LLMs) with tens to hundreds of billions of parameters makes the naive application of traditional FL methods to LLMs impractical due to high computational and communication costs. Furthermore, end users of LLMs often lack access to full architectures and weights of the models, making it impossible for participants to fine-tune these models directly. This paper introduces a novel FL scheme for LLMs, named LanFL, which is purely prompt-based and treats the underlying LLMs as black boxes. We have developed a differentially private synthetic sample generation mechanism to facilitate knowledge sharing among participants, along with a prompt optimization scheme that enables learning from synthetic samples. Our extensive experiments demonstrate that LanFL successfully facilitates learning among participants while preserving the privacy of local datasets across various tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wu2024lanfl,
  title  = {LanFL: Differentially Private Federated Learning with Large Language Models using Synthetic Samples},
  author = {Huiyu Wu and Diego Klabjan},
  year   = {2024},
  eprint = {2410.19114},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.19114v1}
}

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/2410.19114.svg)](https://codeofpaper.com/paper/2410.19114)

Discussion