Skip to main content
QUICK REVIEW

[논문 리뷰] Improving LoRA in Privacy-preserving Federated Learning

Youbang Sun, Zitao Li|arXiv (Cornell University)|2024. 03. 18.
Privacy-Preserving Technologies in DataComputer Science인용 수 5
한 줄 요약

다음

ABSTRACT

Low-rank adaptation (LoRA) is one of the most popular task-specific parameter-efficient fine-tuning (PEFT) methods on pre-trained language models for its good performance and computational efficiency. LoRA injects a product of two trainable rank decomposition matrices over the top of each frozen pre-trained model module. However, when applied in the setting of privacy-preserving federated learning (FL), LoRA may become unstable due to the following facts: 1) the effects of data heterogeneity and multi-step local updates are non-negligible, 2) additive noise enforced on updating gradients to guarantee differential privacy (DP) can be amplified and 3) the final performance is susceptible to hyper-parameters. A key factor leading to these phenomena is the discordance between jointly optimizing the two low-rank matrices by local clients and separately aggregating them by the central server. Thus, this paper proposes an efficient and effective version of LoRA, Federated Freeze A LoRA (FFA-LoRA), to alleviate these challenges and further halve the communication cost of federated fine-tuning LLMs. The core idea of FFA-LoRA is to fix the randomly initialized non-zero matrices and only fine-tune the zero-initialized matrices. Compared to LoRA, FFA-LoRA is motivated by practical and theoretical benefits in privacy-preserved FL. Our experiments demonstrate that FFA-LoRA provides more consistent performance with better computational efficiency over vanilla LoRA in various FL tasks.

연구 동기 및 목표

  • Identify why vanilla LoRA under privacy-preserving FL experiences instability and degraded performance.
  • Propose FFA-LoRA to address discordances between local updates and global aggregation in FL.
  • Demonstrate that FFA-LoRA achieves more consistent performance and lower communication cost across tasks and privacy levels.

제안 방법

  • Model updates follow LoRA as W = W0 + BA with random A0 and B initialized to zero; alpha is not needed in FFA-LoRA.
  • FFA-LoRA freezes A0 after initialization and only trains B, making the update W = W0 + BA0.
  • Argue theoretically and empirically that this avoids aggregation mismatch, DP-noise amplification, and alpha sensitivity present in LoRA.
  • Conduct experiments on RoBERTa and LLaMA under cross-silo FedAvg with and without DP-SGD.
  • Evaluate across language understanding (GLUE) and generation tasks (GSM-8K) and various privacy budgets.
Figure 1: Frobenius norm of noise terms within a single update.
Figure 1: Frobenius norm of noise terms within a single update.

실험 결과

연구 질문

  • RQ1Does data heterogeneity degrade LoRA in privacy-preserving FL, and can FFA-LoRA mitigate this effect?
  • RQ2How does freezing A in FFA-LoRA impact DP-SGD noise amplification and convergence?
  • RQ3Is FFA-LoRA robust to hyper-parameter choices (alpha, rank r) and initialization schemes compared to LoRA?
  • RQ4What are the communication and computation benefits of FFA-LoRA relative to LoRA in FL?
  • RQ5Do results extend to both language understanding and generation tasks under privacy constraints?

주요 결과

  • FFA-LoRA consistently outperforms vanilla LoRA in privacy-preserving FL across tasks and privacy budgets.
  • Under DP-SGD, FFA-LoRA reduces noise amplification and stabilizes convergence by eliminating the semi-quadratic coupling between A and B.
  • FFA-LoRA halves trainable parameters, reducing communication and computation without sacrificing performance in most settings.
  • In heterogeneous data scenarios, FFA-LoRA exhibits smaller performance degradation than LoRA, particularly on MNLI under strong heterogeneity.
  • Increasing rank r offers diminishing returns in LoRA but FFA-LoRA remains robust across r choices and DP settings.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.