arXiv:2411.14961cs.LGcs.CV2024-11ICCV被引 47

解决联邦学习中LoRA微调的聚合偏差和初始化滞后问题

LoRA-FAIR: Federated LoRA Fine-Tuning with Aggregation and Initialization Refinement

  • 服务器端引入修正项,优化LoRA矩阵聚合
  • 在大规模数据集上实现优于现有方法的性能提升
  • 适合隐私敏感场景下的高效模型微调

基础模型通过任务特定微调可实现优异性能,但全参数微调对大模型计算成本过高。参数高效微调(PEFT)方法如低秩适应(LoRA)通过引入低秩矩阵,仅调整少量参数以降低开销。尽管LoRA能实现高效微调,但仍需大量数据支持,因此联邦学习(FL)因其隐私保护协作框架成为理想选择。然而,将LoRA与FL结合带来两大挑战:服务器端聚合偏差,即洛拉矩阵平均导致全局更新偏离理想状态;客户端初始化滞后,要求各轮间初始化保持一致。现有方法分别应对这些问题,效果受限。本文提出LoRA-FAIR,通过在服务器端引入修正项,同时解决上述两问题,提升聚合效率与准确性。该方法保持计算与通信高效,在ViT与MLP-Mixer模型上于大规模数据集上的实验表明,其在联邦学习环境下持续实现性能提升。

原文摘要 · Abstract (English)

Foundation models (FMs) achieve strong performance across diverse tasks with task-specific fine-tuning, yet full parameter fine-tuning is often computationally prohibitive for large models. Parameter-efficient fine-tuning (PEFT) methods like Low-Rank Adaptation (LoRA) reduce this cost by introducing low-rank matrices for tuning fewer parameters. While LoRA allows for efficient fine-tuning, it requires significant data for adaptation, making Federated Learning (FL) an appealing solution due to its privacy-preserving collaborative framework. However, combining LoRA with FL introduces two key challenges: the \textbf{Server-Side Aggregation Bias}, where server-side averaging of LoRA matrices diverges from the ideal global update, and the \textbf{Client-Side Initialization Lag}, emphasizing the need for consistent initialization across rounds. Existing approaches address these challenges individually, limiting their effectiveness. We propose LoRA-FAIR, a novel method that tackles both issues by introducing a correction term on the server, enhancing aggregation efficiency and accuracy. LoRA-FAIR maintains computational and communication efficiency, yielding superior performance over state-of-the-art methods. Experimental results on ViT and MLP-Mixer models across large-scale datasets demonstrate that LoRA-FAIR consistently achieves performance improvements in FL settings.

联邦学习LoRA高效微调

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。