2025-05-20 · 专家 · 机器学习

FedSVD: Adaptive Orthogonalization for Private Federated Learning with LoRA

本文提出了一种名为FedSVD的新方法,通过自适应正交化来改进LoRA在联邦学习中与差分隐私SGD结合时的性能,有效避免了噪声放大问题,提升了模型的稳定性和准确性。

更新于 2025-05-20。作者:Seanie Lee、Sangwoo Park、Dong Bok Lee、Dominik Wagner、Haebin Seong、Tobias Bocklet、Juho Lee、Sung Ju Hwang。

中文摘要

低秩自适应(LoRA)方法通过在冻结的预训练权重中引入两个可训练低秩矩阵的乘积,被广泛用于联邦学习(FL)中语言模型的高效微调。然而,当与差分隐私随机梯度下降(DP-SGD)结合使用时,LoRA 会面临严重的噪声放大问题:DP-SGD 会扰动每个样本的梯度,而 LoRA 更新(BA)的矩阵乘法会加剧这种效应。冻结一个矩阵(例如,A)可以减少噪声,但会限制模型的表达能力,常常导致次优的自适应效果。为了解决这个问题,我们提出了 FedSVD,这是一种简单而有效的方法,它基于奇异值分解 (SVD) 引入全局重新参数化。在我们的方法中,每个客户端仅优化 B 矩阵并将其传输到服务器。服务器聚合 B 矩阵,使用之前的 A 计算乘积 BA,并通过 SVD 对结果进行重新分解。这会产生一个新的自适应 A,它由 BA 的正交右奇异向量组成,以及包含其余 SVD 分量的更新后的 B。这种重新参数化避免了二次噪声放大,同时允许 A 更好地捕获聚合更新的主要方向。此外,A 的正交结构限制了 B 的梯度范数,并在 DP-SGD 下保留了更多信号,这已通过我们的理论分析得到证实。因此,FedSVD 在各种隐私设置和基准测试中始终如一地提高了稳定性和性能,在私有和非私有制度下都优于相关的基线方法。

英文摘要

Low-Rank Adaptation (LoRA), which introduces a product of two trainable low-rank matrices into frozen pre-trained weights, is widely used for efficient fine-tuning of language models in federated learning (FL). However, when combined with differentially private stochastic gradient descent (DP-SGD), LoRA faces substantial noise amplification: DP-SGD perturbs per-sample gradients, and the matrix multiplication of the LoRA update (BA) intensifies this effect. Freezing one matrix (e.g., A) reduces the noise but restricts model expressiveness, often resulting in suboptimal adaptation. To address this, we propose FedSVD, a simple yet effective method that introduces a global reparameterization based on singular value decomposition (SVD). In our approach, each client optimizes only the B matrix and transmits it to the server. The server aggregates the B matrices, computes the product BA using the previous A, and refactorizes the result via SVD. This yields a new adaptive A composed of the orthonormal right singular vectors of BA, and an updated B containing the remaining SVD components. This reparameterization avoids quadratic noise amplification, while allowing A to better capture the principal directions of the aggregate updates. Moreover, the orthonormal structure of A bounds the gradient norms of B and preserves more signal under DP-SGD, as confirmed by our theoretical analysis. As a result, FedSVD consistently improves stability and performance across a variety of privacy settings and benchmarks, outperforming relevant baselines under both private and non-private regimes.

解读

一句话总结

本文提出了一种名为FedSVD的新方法,通过自适应正交化来改进LoRA在联邦学习中与差分隐私SGD结合时的性能,有效避免了噪声放大问题,提升了模型的稳定性和准确性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源