TensorX
返回文献探索

Paper · arXiv 2410.01463

Selective Aggregation for Low-Rank Adaptation in Federated Learning

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

18 upvotesOctober 2, 2024arXiv 预印本
AI 摘要

FedSA-LoRA integrates low-rank adaptation with federated learning by asymmetrically sharing only the general knowledge matrices, enhancing efficiency and effectiveness in natural language tasks.

LoRAfederated learningasymmetry analysisA matricesB matricesgeneral knowledgeclient-specific knowledgelow-rank trainable matricesweight updateFedSA-LoRArsLoRAVeRAFedSA-rsLoRAFedSA-VeRAnatural language understandingnatural language generation

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Selective Aggregation for Low-Rank Adaptation in Federated Learning | TensorX