arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.06805cs.CL
收藏

可调软提示是联邦学习中的信使

Tunable Soft Prompts are Messengers in Federated Learning

Sun Yat-sen University(中山大学);Alibaba Group(阿里巴巴集团)

Chenhe Dong, Yuexiang Xie, Bolin Ding, Ying Shen, Yaliang Li

AI总结:

提出一种联邦学习新方法,通过可调软提示在参与者间传递信息,无需共享全局模型,降低通信与计算成本,实验验证其有效性。

摘要:

联邦学习(FL)使多个参与者能够利用分散的数据源协作训练机器学习模型,缓解了直接共享本地数据所带来的隐私问题。然而,在联邦学习中缺乏模型隐私保护成为一个不可忽视的挑战,尤其是当人们希望基于专有的大型语言模型进行联邦微调时。在本研究中,我们提出了一种新颖的联邦学习训练方法,通过可调的软提示在参与者之间实现信息交换。这些软提示在服务器和客户端之间更新和传输,承担全局模型参数的角色,并作为信使传递来自本地数据和全局模型的有用知识。由于全局模型本身无需共享,且本地训练基于一个参数少于全局模型的辅助模型进行,所提出的方法在降低联邦学习中通信和计算成本的同时,为全局模型提供了保护。大量实验表明,与几种基线相比,所提出的方法具有有效性。我们已在 \u0068\u0074\u0074\u0070\u0073\u003a//\u0067\u0069\u0074\u0068\u0075\u0062\u002e\u0063\u006f\u006d/\u0061\u006c\u0069\u0062\u0061\u0062\u0061/\u0046\u0065\u0064\u0065\u0072\u0061\u0074\u0065\u0064\u0053\u0063\u006f\u0070\u0065/\u0074\u0072\u0065\u0065/\u0066\u0065\u0064\u0073\u0070/\u0066\u0065\u0064\u0065\u0072\u0061\u0074\u0065\u0064\u0073\u0063\u006f\u0070\u0065/\u006e\u006c\u0070/\u0066\u0065\u0064\u0073\u0070 发布了源代码。

英文摘要:

Federated learning (FL) enables multiple participants to collaboratively train machine learning models using decentralized data sources, alleviating privacy concerns that arise from directly sharing local data. However, the lack of model privacy protection in FL becomes an unneglectable challenge, especially when people want to federally finetune models based on a proprietary large language model. In this study, we propose a novel FL training approach that accomplishes information exchange among participants via tunable soft prompts. These soft prompts, updated and transmitted between the server and clients, assume the role of the global model parameters and serve as messengers to deliver useful knowledge from the local data and global model. As the global model itself is not required to be shared and the local training is conducted based on an auxiliary model with fewer parameters than the global model, the proposed approach provides protection for the global model while reducing communication and computation costs in FL. Extensive experiments show the effectiveness of the proposed approach compared to several baselines. We have released the source code at \url{https://github.com/alibaba/FederatedScope/tree/fedsp/federatedscope/nlp/fedsp}.

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

↑