Table of Contents
Fetching ...

FedSVD: Adaptive Orthogonalization for Private Federated Learning with LoRA

Seanie Lee, Sangwoo Park, Dong Bok Lee, Dominik Wagner, Haebin Seong, Tobias Bocklet, Juho Lee, Sung Ju Hwang

TL;DR

This paper tackles the challenge of privately fine-tuning large language models in federated settings using LoRA by addressing noise amplification under DP-SGD. It introduces FedSVD, a global reparameterization that periodically reinitializes the LoRA matrix A via the SVD of the aggregated BA, while allowing clients to update only B; this preserves privacy through post-processing and yields orthonormal A that tightens gradient bounds and improves conditioning. Theoretical analysis connects the SVD-based reparameterization to improved Hessian conditioning, and extensive experiments on GLUE tasks and HellaSwag demonstrate stronger accuracy and faster convergence than baselines in both private and non-private regimes, including compatibility with DoRA. Overall, FedSVD provides a simple, effective, and privacy-preserving mechanism for adaptive low-rank fine-tuning in federated learning, with practical gains in stability and performance. The approach balances privacy, communication efficiency, and learning capacity, making DP-enabled FL with LoRA more viable for real-world deployments.

Abstract

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 $\texttt{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, $\texttt{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: Adaptive Orthogonalization for Private Federated Learning with LoRA

TL;DR

This paper tackles the challenge of privately fine-tuning large language models in federated settings using LoRA by addressing noise amplification under DP-SGD. It introduces FedSVD, a global reparameterization that periodically reinitializes the LoRA matrix A via the SVD of the aggregated BA, while allowing clients to update only B; this preserves privacy through post-processing and yields orthonormal A that tightens gradient bounds and improves conditioning. Theoretical analysis connects the SVD-based reparameterization to improved Hessian conditioning, and extensive experiments on GLUE tasks and HellaSwag demonstrate stronger accuracy and faster convergence than baselines in both private and non-private regimes, including compatibility with DoRA. Overall, FedSVD provides a simple, effective, and privacy-preserving mechanism for adaptive low-rank fine-tuning in federated learning, with practical gains in stability and performance. The approach balances privacy, communication efficiency, and learning capacity, making DP-enabled FL with LoRA more viable for real-world deployments.

Abstract

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 () intensifies this effect. Freezing one matrix (e.g., ) reduces the noise but restricts model expressiveness, often resulting in suboptimal adaptation. To address this, we propose , a simple yet effective method that introduces a global reparameterization based on singular value decomposition (SVD). In our approach, each client optimizes only the matrix and transmits it to the server. The server aggregates the matrices, computes the product using the previous , and refactorizes the result via SVD. This yields a new adaptive composed of the orthonormal right singular vectors of , and an updated containing the remaining SVD components. This reparameterization avoids quadratic noise amplification, while allowing to better capture the principal directions of the aggregate updates. Moreover, the orthonormal structure of bounds the gradient norms of and preserves more signal under DP-SGD, as confirmed by our theoretical analysis. As a result, consistently improves stability and performance across a variety of privacy settings and benchmarks, outperforming relevant baselines under both private and non-private regimes.
Paper Structure (42 sections, 2 theorems, 36 equations, 6 figures, 11 tables, 1 algorithm)

This paper contains 42 sections, 2 theorems, 36 equations, 6 figures, 11 tables, 1 algorithm.

Key Result

Corollary 1

By Theorem 1 and the moment accountant from dp-sgd3, FedSVD with DP-SGD and FedAvg aggregation satisfies $(\epsilon,\delta)$-DP, given a sampling rate $q$, the total number of local updates $T = \tau R$ per client, and a noise multiplier $\sigma \geq c\cdot{q\sqrt{T \log(q/\delta)}}/{\epsilon}$ for

Figures (6)

  • Figure 1: (a) At communication round $i$, the server computes the SVD of $B_i \hat{A}_{i-1}$, i.e., $U_i \Sigma_i V_i^\top = B_i \hat{A}_{i-1}$, and initializes $\hat{A}_i = V_i^\top$ and $\hat{B}_i = U_i \Sigma_i$. These reparameterized matrices are then broadcast to all clients. (b) Each client updates only the matrix $\hat{B}^{(k)}_0$, initialized with $\hat{B}_i$, using its local dataset, while keeping $\hat{A}_i$ fixed. (c) The locally optimized $\hat{B}^{(k)}_\tau$ matrices are aggregated at the server to update the global model.
  • Figure 2: Accuracy vs. communication rounds without privacy constraints across 5 GLUE tasks. Curves show average accuracy over 5 runs, with shaded regions indicating 95% confidence intervals.
  • Figure 3: Accuracy vs. communication rounds with DP (${\epsilon}=6, \delta=10^{-5}$) across 5 GLUE tasks. Curves show average accuracy over 10 runs, with shaded regions indicating 95% confidence intervals.
  • Figure 4: (a): Results of varying$\boldsymbol{\alpha}\in\{0.1, 0.2, 0.3,0.4,0.5\}$ for a Dirichlet distribution on the MNLI dataset. (b): Results of varying the total number of clients ($\boldsymbol{K}\in\{6,9,12\}$, and $K'=3$) on the MNLI dataset.
  • Figure 5: Results of varying the SVD frequency using the MNLI dataset under DP-SGD ($\epsilon=6,\delta=10^{-5}$).
  • ...and 1 more figures

Theorems & Definitions (5)

  • Definition 1: $(\epsilon, \delta)$-DP
  • Corollary 1: Privacy guarantee
  • proof
  • Proposition 1
  • proof