FedPFT: Federated Proxy Fine-Tuning of Foundation Models

Zhaopeng Peng, Xiaoliang Fan, Yufan Chen, Zheng Wang, Shirui Pan +3 more
4/17/2024
cs.LGcs.AI

No official code found. Best implementation: pzp-dzd/FedPFT (27 stars, last commit 2024-04-28).

Abstract

Adapting Foundation Models (FMs) for downstream tasks through Federated Learning (FL) emerges a promising strategy for protecting data privacy and valuable FMs. Existing methods fine-tune FM by allocating sub-FM to clients in FL, however, leading to suboptimal performance due to insufficient tuning and inevitable error accumulations of gradients. In this paper, we propose Federated Proxy Fine-Tuning (FedPFT), a novel method enhancing FMs adaptation in downstream tasks through FL by two key modules. First, the sub-FM construction module employs a layer-wise compression approach, facilitating comprehensive FM fine-tuning across all layers by emphasizing those crucial neurons. Second, the sub-FM alignment module conducts a two-step distillations-layer-level and neuron-level-before and during FL fine-tuning respectively, to reduce error of gradient by accurately aligning sub-FM with FM under theoretical guarantees. Experimental results on seven commonly used datasets (i.e., four text and three vision) demonstrate the superiority of FedPFT.

View on arXivView PDF

Code Implementations(1)

pzp-dzd/FedPFTCommunity100%

This is the official implementation of the IJCAI 2024 paper "FedPFT: Federated Proxy Fine-Tuning of Foundation Models".

278PythonApr 17, 20242 years ago

Similar Papers

Cite this paper

@article{peng2024fedpft,
  title  = {FedPFT: Federated Proxy Fine-Tuning of Foundation Models},
  author = {Zhaopeng Peng and Xiaoliang Fan and Yufan Chen and Zheng Wang and Shirui Pan and Chenglu Wen and Ruisheng Zhang and Cheng Wang},
  year   = {2024},
  eprint = {2404.11536},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.11536v2}
}

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

Discussion