Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

FDLoRA: Personalized Federated Learning of Large Language Model via Dual LoRA Tuning

About

Large language models (LLMs) have emerged as important components across various fields, yet their training requires substantial computation resources and abundant labeled data. It poses a challenge to robustly training LLMs for individual users (clients). To tackle this challenge, the intuitive idea is to introduce federated learning (FL), which can collaboratively train models on distributed private data. However, existing methods suffer from the challenges of data heterogeneity, system heterogeneity, and model size, resulting in suboptimal performance and high costs. In this work, we proposed a variant of personalized federated learning (PFL) framework, namely FDLoRA, which allows the client to be a single device or a cluster and adopts low-rank adaptation (LoRA) tuning. FDLoRA sets dual LoRA modules on each client to capture personalized and global knowledge, respectively, and only the global LoRA module uploads parameters to the central server to aggregate cross-client knowledge. Finally, an adaptive fusion approach is employed to combine the parameters of the dual LoRAs. This enables FDLoRA to make effective use of private data distributed across different clients, thereby improving performance on the client without incurring high communication and computing costs. We conducted extensive experiments in two practice scenarios. The results demonstrate that FDLoRA outperforms six baselines in terms of performance, stability, robustness, computation cost, and communication cost.

Jiaxing QI, Zhongzhi Luan, Shaohan Huang, Carol Fung, Hailong Yang, Depei Qian• 2024

Related benchmarks

TaskDatasetResultRank
Federated Cross-Domain RecommendationGoodReads Children
H@55
14
Federated Cross-Domain RecommendationGoodReads Crime
H@53.22
14
Federated Cross-Domain RecommendationGoodReads Comics
Hit Rate @58.18
14
Federated Cross-Domain RecommendationAmazon Clothing (test)
Hits@50.9
10
Federated Cross-Domain RecommendationGoodReads Crime, Comics & Children Average
Avg H@55.47
10
Federated Cross-Domain RecommendationAmazon Beauty (test)
H@51.63
10
RecommendationAmazon Electronics & Phones (test)
Avg Local Train Time (s)1.19e+3
5
Showing 7 of 7 rows

Other info

Follow for update