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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Fan, Tao, Ma, Guoqiang, Kang, Yan, Gu, Hanlin, Song, Yuanfeng, Fan, Lixin, Chen, Kai, Yang, Qiang
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913612631638016
author Fan, Tao
Ma, Guoqiang
Kang, Yan
Gu, Hanlin
Song, Yuanfeng
Fan, Lixin
Chen, Kai
Yang, Qiang
author_facet Fan, Tao
Ma, Guoqiang
Kang, Yan
Gu, Hanlin
Song, Yuanfeng
Fan, Lixin
Chen, Kai
Yang, Qiang
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2406_02224
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle FedMKT: Federated Mutual Knowledge Transfer for Large and Small Language Models
Fan, Tao
Ma, Guoqiang
Kang, Yan
Gu, Hanlin
Song, Yuanfeng
Fan, Lixin
Chen, Kai
Yang, Qiang
Computation and Language
Artificial Intelligence
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.
title FedMKT: Federated Mutual Knowledge Transfer for Large and Small Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2406.02224