arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.17533cs.LGcs.AIcs.DC
收藏

SFPrompt:面向资源受限设备的大型预训练模型通信高效分割联邦微调

SFPrompt: Communication-Efficient Split Federated Fine-Tuning for Large Pre-Trained Models over Resource-Limited Devices

University of Science and Technology of China(中国科学技术大学);Shanghai Jiao Tong University(上海交通大学)

Linxiao Cao, Yifei Zhu, Wei Gong

AI总结:

针对资源受限设备微调大型预训练模型的隐私与高通信开销问题,提出SFPrompt方法,结合分割学习与联邦学习,引入软提示、数据集剪枝和本地损失更新策略,在保持性能的同时大幅降低计算与通信成本。

摘要:

大型预训练模型在各个领域展现出了卓越的成就。这些模型高昂的训练成本促使人们广泛研究微调技术,以有效利用其能力解决下游任务。然而,当模型因隐私问题无法获取下游数据时,传统的微调方法变得不可行。将微调方法简单地与新兴的联邦学习框架集成会产生巨大的通信开销,并对本地计算资源提出极高要求,使其不适用于常见的资源受限设备。在本文中,我们提出了SFPrompt,这是一种创新的隐私保护微调方法,专为禁止直接上传原始数据且本地设备资源受限而无法运行完整预训练模型的联邦环境量身定制。本质上,SFPrompt将分割学习与联邦学习巧妙结合以应对这些挑战。具体而言,预训练模型首先被划分为客户端和服务器组件,从而简化客户端模型并大幅减轻本地资源的计算需求。随后,SFPrompt将软提示引入联邦模型以增强微调性能。为进一步降低通信成本,在微调过程中设计了一种新颖的数据集剪枝算法和本地损失更新策略。大量实验表明,SFPrompt提供了与联邦全量微调方法相媲美的性能,同时仅消耗0.46%的本地计算资源,并减少了53%的通信成本。

英文摘要:

Large pre-trained models have exhibited remarkable achievements across various domains. The substantial training costs associated with these models have led to wide studies of fine-tuning for effectively harnessing their capabilities in solving downstream tasks. Yet, conventional fine-tuning approaches become infeasible when the model lacks access to downstream data due to privacy concerns. Naively integrating fine-tuning approaches with the emerging federated learning frameworks incurs substantial communication overhead and exerts high demand on local computing resources, making it impractical for common resource-limited devices. In this paper, we introduce SFPrompt, an innovative privacy-preserving fine-tuning method tailored for the federated setting where direct uploading of raw data is prohibited and local devices are resource-constrained to run a complete pre-trained model. In essence, SFPrompt judiciously combines split learning with federated learning to handle these challenges. Specifically, the pre-trained model is first partitioned into client and server components, thereby streamlining the client-side model and substantially alleviating computational demands on local resources. SFPrompt then introduces soft prompts into the federated model to enhance the fine-tuning performance. To further reduce communication costs, a novel dataset pruning algorithm and a local-loss update strategy are devised during the fine-tuning process. Extensive experiments demonstrate that SFPrompt delivers competitive performance as the federated full fine-tuning approach while consuming a mere 0.46% of local computing resources and incurring 53% less communication cost.

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

↑