Free Drift Correction for Private Federated LoRA

Federated fine-tuning of a large language model has three problems at once. Clients cannot send full model updates over phone or edge networks. Their data differ, so each client's local training pulls the shared model toward its own optimum, a failure called client drift. And whatever they do send must be protected with differential privacy, meaning updates are norm-clipped and Gaussian noise is added. The field has solved these problems mostly in pairs. Private low-rank adapters (LoRA, a method that trains only a small product of two thin matrices $B A$ on top of a frozen model) now handle communication and privacy reasonably well. Control variates, the drift-correction method from SCAFFOLD, handle heterogeneity under privacy. Combining them looks expensive. SCAFFOLD doubles what each client uploads, and every extra released quantity spends privacy budget.

We propose that drift correction can be made essentially free inside private federated LoRA. It needs no extra uplink and no extra privacy cost. The server builds its correction term only from the already-privatized aggregate. Each client builds its own term only from its own past clipped, noised releases. Both are therefore post-processing of differentially private outputs. The one real obstacle is that modern private LoRA methods periodically re-orthogonalize the adapter basis, which silently invalidates any stored correction. We solve this by carrying, or "transporting," the correction terms across each basis change. The second claim is the one most worth testing. Under client-level privacy, drift correction should make client updates point in more similar directions with more similar norms. That should let a smaller clipping threshold, and therefore less noise, achieve the same accuracy. If true, heterogeneity correction becomes a privacy-utility tool and not only an optimization tool.

Core Claim

Take a private federated LoRA method in which $A$ is held fixed during each round and only $B$ is trained and transmitted. This is the setting of FFA-LoRA and FedSVD. Here the client update is linear in $B$, so a SCAFFOLD-style correction applies cleanly in the space of $B$. We make two claims. First, adding transported, post-processed control variates to FedSVD-style training improves accuracy at fixed privacy budget. The gain should grow with data heterogeneity and vanish under IID splits. Second, a substantial part of that gain under client-level privacy comes from reduced update dispersion, measured as a lower clipping fraction at a fixed threshold $C$. It does not come only from a better optimization trajectory.

Position Relative to Prior Work

Two papers motivate the work and supply the base method. Improving LoRA in Privacy-preserving Federated Learning shows that noising both LoRA factors creates cross-product noise that collapses training. It fixes this by freezing $A$ and training only $B$ (FFA-LoRA). FedSVD periodically refactors the aggregated $BA$ by singular value decomposition on the server. It resets $A$ to orthonormal rows at no privacy cost. Neither method corrects client drift, and FedSVD does not evaluate severe non-IID splits. We keep FedSVD's linear-in-$B$ structure and add drift correction to it.

Two further papers motivate the work and constrain the design. Differentially Private Federated Learning on Heterogeneous Data shows that control variates survive privacy noise (DP-SCAFFOLD). It works in full parameter space and uploads the correction terms. Differentially Private Federated Low Rank Adaptation Beyond Fixed-Matrix (FedASK) lets both factors evolve through a multi-step sketching handshake. It reports roughly 2x the communication volume for Scaffold relative to its own method. It does not use control variates.

FedASK is the closest competitor on adaptive subspaces under privacy and heterogeneity. Our design differs in three ways. It is one round-trip per round, not a four-stage handshake. It corrects drift explicitly. It sends nothing extra upward.

FedRot-LoRA attacks a different heterogeneity failure, cancellation caused by rotated factor bases. It uses client-side alignment and has no privacy analysis. In our setting all clients share the server-issued $A$ within a round, so rotational misalignment is absent by construction. That makes FedRot a non-private reference point rather than a direct competitor.

SDFLoRA handles heterogeneity differently, by keeping an unshared, un-noised private module per client. That method personalizes. Ours improves the shared global model. The two are complementary, and we treat SDFLoRA as a comparison on per-client accuracy.

Finally, Understanding Clipping for Federated Learning shows that clipping penalty is governed by "update concentration." Its examples are a 0.10% drop on EMNIST for ResNet-18 with tightly concentrated updates versus 3.60% for AlexNet with dispersed ones. That result is the basis for our second claim.

Research Program

Base algorithm. In round $t$ the server holds an orthonormal $A_t \in \mathbb{R}^{r \times k}$, where $r$ is the LoRA rank and $k$ the layer input width. It broadcasts $A_t$ and the current $B_t$. Client $i$ runs $K$ local steps on $B$. Each step uses the corrected direction $g_i - c_i + c$, where $g_i$ is the local gradient with respect to $B$. The term $c$ is the server's correction term, computed from the previous round's privatized aggregate $B$-update. The term $c_i$ is the client's own correction term, computed under SCAFFOLD's cheap update rule from the client's own previously released clipped and noised displacement. The client clips its round displacement to norm $C$ (difference clipping, following the clipping paper), adds Gaussian noise, and uploads only that.

Because $c$ and $c_i$ are functions of earlier differentially private outputs, privacy accounting is unchanged. Each round still releases one norm-bounded, noised vector per sampled client. We will write out this adaptive-composition argument carefully, since it is the property that makes the method "free." We will also check it with a membership-inference audit.

Transport across basis changes. When the server re-orthogonalizes, it replaces $A_t$ with $A_{t+1}$. A correction term stored in $B$-coordinates then refers to the old basis. Note that $c$ approximates the full-weight gradient $G$ projected through $A_t$, namely $G A_t^\top$. Because $A_t$ has orthonormal rows, we can lift $c$ back to full-weight space as $c A_t$ and project it onto the new basis:

$$c \leftarrow c\, A_t A_{t+1}^\top, \qquad c_i \leftarrow c_i\, A_t A_{t+1}^\top,$$

where $A_t A_{t+1}^\top$ is an $r \times r$ matrix. Every client receives $A_{t+1}$ anyway, so each client applies the transport locally at no communication cost. The part of the old correction that lies outside the new subspace is discarded. We measure how much is lost.

Dispersion analysis. We log several quantities per round:

  • the cosine similarity of each client's displacement to the mean displacement;
  • the coefficient of variation of displacement norms;
  • the fraction of clients whose displacement is clipped at fixed $C$.

We then sweep $C$ to find the accuracy-maximizing threshold with and without correction. The prediction is that correction moves the optimal $C$ lower and flattens the accuracy-versus-$C$ curve.

Baselines

The naive reference point is DP-FedAvg on LoRA with both factors noised. Improving LoRA in Privacy-preserving Federated Learning reports that this collapses to 33.80% on MNLI at $\epsilon=1$. We rerun it mainly to confirm that our pipeline reproduces the collapse.

FFA-LoRA is the simplest working private method. The same paper reports 75.05% on MNLI at $\epsilon=1$. The file does not specify that paper's client partition or privacy granularity, so we will rerun it under our splits rather than borrow the number.

The strongest existing method is FedSVD. It reports +9.63 percentage points over FFA-LoRA averaged across GLUE at $\epsilon=3$. No reported result was found on Lacuna for FedSVD under Dirichlet non-IID partitions, which is precisely the regime we target.

FedASK is the strongest adaptive-subspace competitor. The file gives only relative figures for it: a 46% improvement on GSM8K with Llama-2-13B, and communication savings relative to Scaffold and Flora. No reported absolute GLUE number was found on Lacuna.

We also run three further comparisons:

  • DP-SCAFFOLD applied to $B$ with uploaded, privatized correction terms. This isolates the value of making correction free rather than paid for in budget.
  • SDFLoRA, compared on per-client accuracy.
  • FedRot-LoRA as a non-private ceiling reference. It reports 87.34% on MNLI with 50 clients, against 76.80% for FedIT.

The key ablations isolate each ingredient:

  • correction without transport, with correction terms reset at each re-orthogonalization;
  • correction with FFA-LoRA's never-changing $A$, where transport is unnecessary;
  • server-only correction ($c$ without $c_i$).

Fairness of comparison. Every method uses the same backbone, the same client partitions and client sampling rate, and the same privacy accountant and target $(\epsilon, \delta)$. Each gets the same number of rounds and local steps. Each gets an identical hyperparameter search budget over learning rate, $C$, and rank, with equal trials per method. Uplink and downlink bytes are counted per round.

What counts as beating FedSVD. We require a mean gain of at least 2 percentage points on MNLI and QNLI at $\epsilon \in \{1, 3\}$ under Dirichlet $\alpha = 0.1$. The gain must exceed seed variance across three seeds, with identical uplink bytes. We also require a near-zero difference under IID splits, which confirms the method does not hurt the easy case.

Why not just…?

Why not just run DP-SCAFFOLD on the LoRA $B$ matrix and upload the correction terms? The extra payload is only another $B$-sized matrix, so bandwidth is not the main objection. The real cost is privacy. A released correction term is a second private quantity that must be clipped and noised, so at a fixed $(\epsilon, \delta)$ each released quantity gets more noise. This is a fair threat, and we include exactly this baseline. If uploaded correction matches ours at equal budget, the "free" design is merely convenient and we will say so.

Why not just use server momentum or an adaptive server optimizer on the noisy aggregate? This is the most serious alternative. On the Interaction Between Differential Privacy and Gradient Compression shows that temporal averaging with error feedback (its Denoise method) recovers up to 24.6% of DP-induced accuracy loss. Our server term $c$ is itself a smoothed aggregate. The distinguishing ingredient is the client-side term $c_i$, which changes the local trajectory during the $K$ local steps. Server momentum cannot do this. The decisive comparison is FedSVD with tuned server momentum against our full method and against our server-only ablation. If server momentum matches the full method, the $c_i$ contribution is negligible and the proposal collapses to a momentum heuristic.

Why not just personalize with SDFLoRA's private modules and leave the shared model alone? Personalization improves each client's local accuracy, reported at 2.41 points from the dual-adapter design alone. It does not improve the shared model that a new client or the server would use. Its un-noised private modules can also overfit small local datasets. We report both global and per-client accuracy. If SDFLoRA wins on per-client accuracy but we win on global accuracy, the methods address different goals and can be stacked; we test that combination.

Why not just let FedASK adapt the subspace? FedASK requires sketch upload, basis broadcast, projection upload, and parameter broadcast every round. We will report wall-clock round latency alongside accuracy. Our method only needs to match FedASK's accuracy at fewer round-trips to be preferable in high-latency networks.

Proposed Experiments

Main testbed. RoBERTa-large on MNLI, QNLI, SST-2, QQP, and RTE, the GLUE tasks shared by FFA-LoRA, FedSVD, SDFLoRA, and FedRot-LoRA. We use 50 clients with label-Dirichlet splits at $\alpha \in \{0.1, 0.5, \infty\}$, and $\epsilon \in \{1, 3, 6\}$ under client-level privacy. Record-level privacy is a secondary setting where we predict a smaller gain, since per-example clipping is not sensitive to round-level dispersion.

Scale check. Llama-2-7B on GSM8K, compared against FFA-LoRA and FedASK.

Mechanism check. A small model on LEAF Synthetic (LEAF) with its tunable heterogeneity. Here we can compute drift exactly and verify that transported correction terms track the true correction.

Decisive checks. Three outcomes would decide the claims:

  • The accuracy gain over FedSVD must increase monotonically as $\alpha$ decreases and must be near zero at IID.
  • The no-transport ablation must lose most of the gain on runs with frequent re-orthogonalization, but not on FFA-LoRA's fixed $A$.
  • Under client-level privacy, the corrected runs must show a lower clipping fraction and a lower optimal $C$.

If the gain appears without the dispersion change, the first claim survives and the second is refuted. We will report that outcome as such.