FedBPT: 面向大语言模型的高效联邦黑盒提示调优
FedBPT: Efficient Federated Black-box Prompt Tuning for Large Language Models
AI总结:
针对大语言模型联邦微调存在的参数访问受限、计算与通信成本高的问题,提出无需访问模型参数、采用无梯度优化的FedBPT框架,可在保持性能的同时大幅降低通信与内存开销,实现高效隐私保护的PLM微调。
摘要:
预训练语言模型(PLM)彻底改变了自然语言处理(NLP)领域,在各类任务中取得了卓越性能。这类模型虽得益于海量训练数据,但通常需要在特定数据上微调才能适配不同的下游任务。然而,这种数据适配过程存在固有的安全与隐私风险,尤其是在使用用户生成的、存储于设备端的数据时。联邦学习(FL)提供了一种解决方案,无需集中收集数据即可实现协同模型微调。但将联邦学习应用于预训练语言模型微调仍受诸多挑战阻碍,包括模型参数访问受限、计算需求高以及通信开销大。本文提出联邦黑盒提示调优框架(FedBPT)以应对这些挑战。FedBPT无需客户端访问模型参数,通过聚焦于训练最优提示并采用无梯度优化方法,减少了需交换的变量数量,提升了通信效率,同时最大限度降低了计算与存储成本。实验表明,该框架能大幅削减通信与内存成本,同时保持具有竞争力的性能。最终,FedBPT为大语言模型时代下预训练语言模型的高效、隐私保护微调提供了一种颇具前景的解决方案。
英文摘要:
Pre-trained language models (PLM) have revolutionized the NLP landscape, achieving stellar performances across diverse tasks. These models, while benefiting from vast training data, often require fine-tuning on specific data to cater to distinct downstream tasks. However, this data adaptation process has inherent security and privacy concerns, primarily when leveraging user-generated, device-residing data. Federated learning (FL) provides a solution, allowing collaborative model fine-tuning without centralized data collection. However, applying FL to finetune PLMs is hampered by challenges, including restricted model parameter access, high computational requirements, and communication overheads. This paper introduces Federated Black-box Prompt Tuning (FedBPT), a framework designed to address these challenges. FedBPT does not require the clients to access the model parameters. By focusing on training optimal prompts and utilizing gradient-free optimization methods, FedBPT reduces the number of exchanged variables, boosts communication efficiency, and minimizes computational and storage costs. Experiments highlight the framework's ability to drastically cut communication and memory costs while maintaining competitive performance. Ultimately, FedBPT presents a promising solution for efficient, privacy-preserving fine-tuning of PLM in the age of large language models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。