Skip to main content
QUICK REVIEW

[Paper Review] PromptFL: Let Federated Participants Cooperatively Learn Prompts Instead of Models -- Federated Learning in Age of Foundation Model

Tao Guo, Song Guo|arXiv (Cornell University)|Aug 24, 2022
Privacy-Preserving Technologies in DataComputer Science12 citations
TL;DR

PromptFL proposes a novel federated learning framework that replaces traditional model training with collaborative prompt tuning using foundation models like CLIP, enabling efficient, privacy-preserving, and data-efficient learning on edge devices. By training only lightweight soft prompts instead of full models, PromptFL reduces communication and computation costs by up to 110× and achieves competitive accuracy with minimal parameters, even under non-IID and few-shot settings.

ABSTRACT

Quick global aggregation of effective distributed parameters is crucial to federated learning (FL), which requires adequate bandwidth for parameters communication and sufficient user data for local training. Otherwise, FL may cost excessive training time for convergence and produce inaccurate models. In this paper, we propose a brand-new FL framework, PromptFL, that replaces the federated model training with the federated prompt training, i.e., let federated participants train prompts instead of a shared model, to simultaneously achieve the efficient global aggregation and local training on insufficient data by exploiting the power of foundation models (FM) in a distributed way. PromptFL ships an off-the-shelf FM, i.e., CLIP, to distributed clients who would cooperatively train shared soft prompts based on very few local data. Since PromptFL only needs to update the prompts instead of the whole model, both the local training and the global aggregation can be significantly accelerated. And FM trained over large scale data can provide strong adaptation capability to distributed users tasks with the trained soft prompts. We empirically analyze the PromptFL via extensive experiments, and show its superiority in terms of system feasibility, user privacy, and performance.

Motivation & Objective

  • To address the high communication and computation costs in federated learning due to limited bandwidth and insufficient local data on edge devices.
  • To explore whether foundation models can enable efficient, privacy-preserving, and data-efficient federated learning through prompt tuning.
  • To evaluate the feasibility, performance, and privacy guarantees of a prompt-based FL framework in realistic edge settings.
  • To compare PromptFL’s performance and efficiency against standard FL baselines under both IID and non-IID data distributions.
  • To analyze the impact of data distribution, shot count, and number of clients on prompt learning stability and accuracy.

Proposed method

  • PromptFL replaces federated model training with collaborative training of continuous soft prompts, leveraging a pre-trained foundation model (e.g., CLIP) as the shared backbone.
  • Each client fine-tunes only the soft prompt tokens on its local data, while the foundation model weights remain frozen.
  • Global aggregation is performed by averaging the gradients of the prompt parameters across clients, not the full model weights.
  • The framework uses CLIP as the off-the-shelf foundation model, enabling zero-shot generalization and strong few-shot adaptation via prompt tuning.
  • Communication overhead is drastically reduced since only the small prompt parameters (0.01%–0.1% of full model size) are transmitted per round.
  • Training is accelerated via reduced GPU memory usage and faster convergence, with PromptFL achieving convergence in half the rounds of standard FL.

Experimental results

Research questions

  • RQ1Can prompt tuning with foundation models significantly reduce communication and computation costs in federated learning while maintaining model performance?
  • RQ2How does PromptFL perform under non-IID and few-shot data settings, where standard FL struggles?
  • RQ3What is the impact of class overlap and data distribution shifts on the stability and accuracy of prompt-based federated learning?
  • RQ4How does the number of clients and shot count affect the performance and convergence of PromptFL?
  • RQ5To what extent does PromptFL preserve user privacy compared to standard federated learning?

Key findings

  • PromptFL reduces communication cost per round by up to 110× compared to standard fine-tuning, due to transmitting only small prompt parameters instead of full model weights.
  • PromptFL achieves convergence in approximately half the number of training rounds compared to standard FL, significantly accelerating training.
  • With only 0.01% to 0.1% of the learnable parameters of a full model, PromptFL achieves competitive accuracy and F1 scores on both IID and non-IID data settings.
  • Performance remains stable across varying class overlap ratios (0% to 50%), with only a minor improvement at 50% overlap, indicating robustness to data distribution shifts.
  • For few-shot settings (2–16 shots), performance improves with more shots, and with sufficient class coverage per client, accuracy stabilizes around 89% on Caltech101 with 16 shots.
  • When scaling from 16 to 64 clients, PromptFL maintains consistent performance as long as each client has sufficient class coverage, demonstrating scalability and robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.