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

Selective Aggregation for Low-Rank Adaptation in Federated Learning

About

We investigate LoRA in federated learning through the lens of the asymmetry analysis of the learned $A$ and $B$ matrices. In doing so, we uncover that $A$ matrices are responsible for learning general knowledge, while $B$ matrices focus on capturing client-specific knowledge. Based on this finding, we introduce Federated Share-A Low-Rank Adaptation (FedSA-LoRA), which employs two low-rank trainable matrices $A$ and $B$ to model the weight update, but only $A$ matrices are shared with the server for aggregation. Moreover, we delve into the relationship between the learned $A$ and $B$ matrices in other LoRA variants, such as rsLoRA and VeRA, revealing a consistent pattern. Consequently, we extend our FedSA-LoRA method to these LoRA variants, resulting in FedSA-rsLoRA and FedSA-VeRA. In this way, we establish a general paradigm for integrating LoRA with FL, offering guidance for future work on subsequent LoRA variants combined with FL. Extensive experimental results on natural language understanding and generation tasks demonstrate the effectiveness of the proposed method. Our code is available at https://github.com/Pengxin-Guo/FedSA-LoRA.

Pengxin Guo, Shuang Zeng, Yanran Wang, Huijie Fan, Feifei Wang, Liangqiong Qu• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationDomainNet
Accuracy (ClipArt)85
206
Math Word Problem SolvingGSM8K
Accuracy15.56
111
Question AnsweringSQuAD v1.1
F191.35
79
Commonsense ReasoningCommonsense Reasoning Suite (test)
HellaSwag Accuracy0.6493
62
Paraphrase DetectionQQP (test)
Accuracy90.01
51
Image ClassificationDomainNet (unseen clients)
Average Accuracy79.7
34
Natural Language UnderstandingGLUE MNLI-m
MNLI-m Accuracy82.22
20
Natural Language InferenceGLUE (test)
MNLI Acc92.38
18
Unseen-Client AdaptationCIFAR-100 GL-Dir(0.3)
Test Accuracy81.3
10
Unseen-Client AdaptationCIFAR-100 SC-Dir(0.3)
Test Accuracy76.5
10
Showing 10 of 31 rows

Other info

Follow for update