arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.11536cs.LGcs.AI
收藏

FedPFT:基础模型的联邦代理微调

FedPFT: Federated Proxy Fine-Tuning of Foundation Models

Xiamen University(厦门大学);Griffith University(格里菲斯大学);Lanzhou University(兰州大学)

Zhaopeng Peng, Xiaoliang Fan, Yufan Chen, Zheng Wang, Shirui Pan, Chenglu Wen, Ruisheng Zhang, Cheng Wang

AI总结:

本文提出FedPFT方法,通过逐层压缩构建子基础模型和层级、神经元级两步蒸馏对齐,在联邦学习中实现更全面、低误差的基础模型微调,并在多个文本和视觉数据集上验证了其优越性。

摘要:

通过联邦学习(FL)使基础模型(FMs)适应下游任务,正成为一种保护数据隐私和有价值基础模型的有前景策略。现有方法在联邦学习中通过将子基础模型分配给客户端来微调基础模型,然而由于微调不充分以及不可避免的梯度误差累积,导致性能次优。在本文中,我们提出了联邦代理微调(FedPFT),这是一种通过两个关键模块在联邦学习中增强基础模型下游任务适应性的新方法。首先,子基础模型构建模块采用逐层压缩方法,通过强调关键神经元来促进所有层的全面基础模型微调。其次,子基础模型对齐模块在联邦学习微调之前和期间分别进行两步蒸馏——层级和神经元级——以在理论保证下通过精确对齐子基础模型与基础模型来减少梯度误差。在七个常用数据集(即四个文本数据集和三个视觉数据集)上的实验结果证明了FedPFT的优越性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑