Share your thoughts, 1 month free Claude Pro on usSee more
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
Image ClassificationDomainNet
Accuracy (ClipArt)86
206
Image ClassificationDomainNet (unseen clients)
Average Accuracy80.4
34
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
Client-level PersonalizationCIFAR-100 GL-Dir(0.3)
Mean Accuracy80.2
10
Client-level PersonalizationCIFAR-100 Patho(10)
Mean Accuracy87.1
10
Client-level PersonalizationCIFAR-100 SC-Dir(3)
Mean Accuracy82.8
10
Showing 10 of 15 rows

Other info

Follow for update