Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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.

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

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningMathInstruct Scenario 1
Accuracy58.2
53
ReasoningCoT-Collection Scenario 1
Accuracy69.2
40
Personalized Federated LearningDRAKE dynamic (Others)
Alast48.09
40
Personalized Federated LearningDRAKE dynamic (Self)
Alast65.44
40
Personalized Federated LearningDRAKE (Self)
Alast65.81
30
Natural Language UnderstandingGLUE (Self)
Alast62.21
20
Personalized Federated LearningDRAKE static (Others)
Alast48.27
20
Natural Language UnderstandingGLUE (Others)
Alast Score25.41
20
Financial Open-ended QAFinQA (test)
Token Accuracy29.57
16
Medical Multi-choice Question AnsweringMMedBench (test)
Token Perplexity (log)0.1526
16
Showing 10 of 24 rows

Other info

Follow for update