arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.02224cs.CLcs.AI
收藏

FedMKT:大型与小型语言模型的联邦互惠知识迁移

FedMKT: Federated Mutual Knowledge Transfer for Large and Small Language Models

The Hong Kong University of Science and Technology(香港科技大学);WeBank Co., Ltd(微众银行股份有限公司)

Tao Fan, Guoqiang Ma, Yan Kang, Hanlin Gu, Yuanfeng Song, Lixin Fan, Kai Chen, Qiang Yang

AI总结:

FedMKT提出参数高效的联邦互惠知识迁移框架,通过最小编辑距离对齐令牌并选择性迁移知识,同时增强服务器端大型语言模型与客户端小型语言模型的性能。

摘要:

近期关于联邦大型语言模型(LLM)的研究主要聚焦于使客户端能够协作微调其本地部署的同构LLM,或将基于服务器的LLM知识迁移至下游客户端的小型语言模型(SLM)。然而,在同时实现服务器端LLM与客户端SLM的相互增强方面仍存在显著空白。为填补这一空白,我们提出了FedMKT,一种面向大型与小型语言模型的参数高效联邦互惠知识迁移框架。该框架旨在自适应地将知识从服务器端LLM迁移至客户端SLM,同时利用客户端独特的领域见解丰富LLM。我们利用最小编辑距离(MinED)促进令牌对齐,随后在客户端SLM与服务器端LLM之间进行选择性互惠知识迁移,旨在共同提升它们的性能。通过跨三个不同场景的大量实验,我们使用多种公开LLM和SLM在多项NLP文本生成任务上评估了FedMKT的有效性。实证结果表明,FedMKT同时提升了LLM和SLM的性能。

英文摘要:

Recent research in federated large language models (LLMs) has primarily focused on enabling clients to fine-tune their locally deployed homogeneous LLMs collaboratively or on transferring knowledge from server-based LLMs to small language models (SLMs) at downstream clients. However, a significant gap remains in the simultaneous mutual enhancement of both the server's LLM and clients' SLMs. To bridge this gap, we propose FedMKT, a parameter-efficient federated mutual knowledge transfer framework for large and small language models. This framework is designed to adaptively transfer knowledge from the server's LLM to clients' SLMs while concurrently enriching the LLM with clients' unique domain insights. We facilitate token alignment using minimum edit distance (MinED) and then selective mutual knowledge transfer between client-side SLMs and a server-side LLM, aiming to collectively enhance their performance. Through extensive experiments across three distinct scenarios, we evaluate the effectiveness of FedMKT using various public LLMs and SLMs on a range of NLP text generation tasks. Empirical results demonstrate that FedMKT simultaneously boosts the performance of both LLMs and SLMs.

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

↑