FedPFT: Federated Proxy Fine-Tuning of Foundation Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Peng, Zhaopeng, Fan, Xiaoliang, Chen, Yufan, Wang, Zheng, Pan, Shirui, Wen, Chenglu, Zhang, Ruisheng, Wang, Cheng
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917652108148736
author Peng, Zhaopeng
Fan, Xiaoliang
Chen, Yufan
Wang, Zheng
Pan, Shirui
Wen, Chenglu
Zhang, Ruisheng
Wang, Cheng
author_facet Peng, Zhaopeng
Fan, Xiaoliang
Chen, Yufan
Wang, Zheng
Pan, Shirui
Wen, Chenglu
Zhang, Ruisheng
Wang, Cheng
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2404_11536
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FedPFT: Federated Proxy Fine-Tuning of Foundation Models
Peng, Zhaopeng
Fan, Xiaoliang
Chen, Yufan
Wang, Zheng
Pan, Shirui
Wen, Chenglu
Zhang, Ruisheng
Wang, Cheng
Machine Learning
Artificial Intelligence
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.
title FedPFT: Federated Proxy Fine-Tuning of Foundation Models
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2404.11536