arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.11274cs.LG
收藏

FedLoRA-Optimizer:异构数据场景下结合全局与局部优化的联邦LoRA微调

FedLoRA-Optimizer: Federated LoRA Fine-Tuning with Global and Local Optimization in Heterogeneous Data Scenarios

Northeastern University(东北大学)

Jianzhe Zhao, Hailin Zhu, Yu Zhang, Ziqi Chen, Guibing Guo

AI总结:

针对异构数据场景下联邦LoRA微调的客户端漂移与个性化不足问题,提出细粒度优化方法FedLoRA-Optimizer,通过分别微调A矩阵方向向量和B矩阵幅度向量,并结合全局与局部优化器流水线,有效提升了全局泛化与局部个性化性能。

摘要:

联邦高效微调已成为一种利用跨节点的分布式数据与计算资源,以应对大规模微调与隐私保护挑战的方法。低秩适应(LoRA)通过在权重更新中引入可训练的低秩矩阵,实现了大规模预训练模型的高效微调。然而,在异构数据场景中,客户端漂移削弱了全局模型的泛化能力,且局部模型往往无法满足单个客户端的个性化需求。此外,现有的联邦LoRA高效微调技术忽略了对微调矩阵的细粒度分析。为了解决这一问题,我们进行了初步实验,发现不同的LoRA矩阵对其向量的方向和幅度的变化表现出不同的敏感性。因此,我们提出了一种细粒度的联邦LoRA微调方法。通过对A矩阵中编码共享知识的、对方向更敏感的向量进行微调,我们的方法能更有效地在客户端间学习共享特征,并增强全局泛化能力。同时,通过对B矩阵中编码个性化知识的、对幅度更敏感的向量进行微调,我们的方法能更好地捕捉个性化知识,实现对局部数据的详细适应。该方法采用结合全局和局部优化器的流水线。全局优化进一步改进了局部模型,实现了全局与局部层面的协同优化。这提升了异构数据场景下全局模型的泛化能力和局部模型的个性化适应能力。在Databricks-Dolly-15k和Natural Instructions数据集上,使用LLaMA2-7B和Deepseek-7B进行的实验证实,我们的方法将全局性能提升了0.39%,局部性能提升了0.59%。

英文摘要:

Federated efficient fine-tuning has emerged as an approach that leverages distributed data and computational resources across nodes to address the challenges of large-scale fine-tuning and privacy preservation. The Low-Rank Adaptation (LoRA) enables efficient fine-tuning of large-scale pre-trained models by introducing trainable low-rank matrices into weight updates.However, in heterogeneous data scenarios, client drift weakens the generalization of the global model, and local models often fail to meet the personalized needs of individual clients.Moreover, existing federated LoRA efficient fine-tuning techniques overlook fine-grained analysis of the tuning matrices. To address this, we conducted preliminary experiments and found that different LoRA matrices exhibit different sensitivity to changes in the direction and magnitude of their vectors.We thus propose a fine-grained federated LoRA tuning method. By fine-tuning the more sensitive directional vectors in the A matrix, which encode shared knowledge, our method learns shared features more effectively across clients and enhances global generalization. Simultaneously, by fine-tuning the more sensitive magnitude vectors in the B matrix, which encode personalized knowledge, our method better captures personalized knowledge, enabling detailed adaptation to local data. The method uses a pipeline combining global and local optimizers. Global optimization further improves local models, achieving collaborative optimization between global and local levels. This improves both the generalization ability of the global model and the personalized adaptation of local models under heterogeneous data scenarios. Experiments on Databricks-Dolly-15k and Natural Instructions with LLaMA2-7B and Deepseek-7B confirm that our method improves global performance by 0.39% and local performance by 0.59%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑