In federated learning, many devices fine-tune a shared model on their own data and send only weight updates to a server. Two facts make this harder than it sounds. First, the updates are large, so practitioners send only small adapter matrices (LoRA, low-rank adapters added beside frozen weights) and shrink those further by quantizing them to a few bits. Second, updates leak data. A server can treat the private input as an unknown and solve for it from the gradient, an attack called gradient inversion. A server that also tampers with the frozen backbone it ships to clients can recover most image patches even from adapter-only updates. The defenses that pair quantization with privacy do not fit this threat. Mixed-precision and 2-bit quantization defenses rest on the attacker not knowing the rounding scheme, and they carry no formal guarantee. The quantizers that do carry a formal differential-privacy guarantee were designed for dense updates and a trusted server, and none of them has been tested against an inversion attack.
This note proposes a federated LoRA update rule built for an untrusted server. Each device clips every training example's contribution, projects it onto the geometry of the low-rank update, and quantizes it to one to four bits using randomness that never leaves the device. Because the per-example bound and the noise are enforced on the device, the privacy guarantee holds whatever backbone the server sends. We then run what the literature has not: an audit of formally private quantizers against active and denoising inversion attacks. The audit asks whether reconstruction quality actually tracks the privacy parameter, and whether a server that knows a mechanism's shared seed can undo it.
Core Claim
Differential privacy (DP) bounds how much any single example can change the distribution of what a device sends, and $\epsilon$ measures that bound, with smaller meaning more private. This bound is the only kind of protection that survives an active server, because it does not depend on the weights the server chose. The claim has three parts. First, a client-side, per-example-clipped DP mechanism applied in the tangent space of the LoRA update and transmitted at about 2 bits per coordinate reduces PEFTLeak patch recovery to what an attacker can achieve from public data alone. Second, it does so at moderate $\epsilon$, with accuracy close to full-precision private LoRA. Third, the best-known compression-plus-DP mechanism, subtractive dithering, loses its guarantee once the server knows the shared seed. We expect a measurable rise in reconstruction quality in that case, a gap no prior paper has examined.
The negative evidence that motivates this comes from the attack papers. Gradient Inversion Attacks on Parameter-Efficient Fine-Tuning poisons a frozen Vision Transformer so its layers act as identity maps and its adapters act as filters that catch individual patches. It recovers 85.9% of CIFAR-100 patches at batch size 32 (SSIM 0.88) and over 60% on ImageNet. It reports that pruning, quantization, and low-level noise do not stop it. MineGrad extends the attack to LoRA at rank 8 by pooling across layers and rounds. It reports 82.8% recovery on CIFAR-10 and 72.6% at batch size 128.
The heuristic defenses therefore do not transfer to this setting. Mixed Quantization Enabled Federated Learning to Tackle Gradient Inversion Attacks and its predecessor Mixed Precision Quantization to Tackle Gradient Leakage Attacks hide per-layer scales on the client and were tested only on LeNet-5. SoK: Gradient Leakage in Federated Learning finds that 2-bit quantization stops passive attacks, but it never tests an active server.
Mechanism
We build on three papers, each for a different reason. PRISM supplies the geometry. It shows that adding DP noise directly to the two LoRA factors $A$ and $B$ causes trouble because rescaling $A$ by $c$ and $B$ by $1/c$ leaves the update $AB^\top$ unchanged. That symmetry makes the noise blow up through products of noise terms. PRISM fixes this by noising the projection onto the tangent space, meaning the set of directions in which a fixed-rank matrix can move. PRISM sends 32-bit floats and was never tested against inversion. We keep its projection and replace its transmission step.
Privacy Amplification via Compression supplies a second ingredient: spreading a vector's energy evenly across coordinates before compressing it, so that coarse per-coordinate quantization loses little. Randomized Quantization is All You Need supplies the idea that the randomness inside rounding can itself count toward privacy.
The update works as follows. For each local example $i$, the device computes the gradient with respect to the adapter update and projects it onto the tangent space $T$ at the current factors, giving $P_T(g_i)$. It clips each projection to norm $C$ and sums over the batch. It then applies a random rotation $R$ whose seed is public; the rotation spreads energy and protects nothing on its own. Finally it applies a randomized quantizer $Q_b$ to $b$ bits. The transmitted message is
$$m = Q_b\Big(R\big(\textstyle\sum_{i} \mathrm{clip}_C(P_T(g_i)) + \sigma C z\big)\Big),$$
where $z$ is standard Gaussian noise drawn on the device and $Q_b$ is unbiased stochastic rounding, also driven by device-only randomness.
The baseline privacy accounting is simple. Rounding happens after the noise, so its guarantee is the ordinary per-example Gaussian guarantee, and post-processing cannot weaken it. That guarantee holds for any $A$, $B$, or backbone the server chooses, because projection does not increase norm and clipping happens after projection. This is the property PEFTLeak cannot get around: whatever filter the server builds, each example moves the message distribution by a bounded amount.
The co-design question is secondary and is tested, not assumed. With the rotation in place, we can bound each coordinate's sensitivity and compute numerically the Rényi divergence of the finite output distribution produced by noise plus rounding. Rényi divergence is a standard way of measuring how distinguishable two output distributions are. If that accounting supports a smaller $\sigma$ at $b \le 2$, the rounding is doing privacy work; if not, it is only compression. The reason for caution is known: RQM's proofs cover scalars only, and composing over coordinates inflates the privacy budget.
We deliberately avoid the shared-seed design of Communication Efficient Private Federated Learning Using Dithering. That design is Gaussian only after averaging over a random step size drawn from a Gamma distribution. A server that holds the seed knows the step size, and given the step size the error is merely uniform and bounded. Its formal guarantee therefore assumes a trusted server, which is the assumption the active-attack threat removes.
Research Program
The work has three parts. First, we implement the mechanism in a federated LoRA pipeline for Vision Transformers and for one language model. Second, we build an attack suite that includes the active PEFTLeak/MineGrad server and passive inversion with a generative image prior, following Gradient Inversion with Generative Image Prior. The suite also includes an adaptive version of the diffusion denoiser from Gradient Diffusion, Mjölnir, which we retrain on each mechanism's actual output distribution rather than on additive Gaussian noise. That paper reports 18.25 dB PSNR on CIFAR-100 at $\epsilon = 1$, against 0.112 dB for plain inversion, and notes that the method struggles against non-additive perturbations. Whether discrete outputs resist a denoiser retrained on them is an open, testable question. Third, we audit every mechanism at matched $\epsilon$ and matched bits, and ask whether reconstruction quality depends only on $\epsilon$ or also on the shape of the noise.
Baselines
The do-nothing reference is federated LoRA with 32-bit updates and no privacy, attacked by PEFTLeak. Its expected numbers are the reported ones: 85.9% patch recovery on CIFAR-100 and 82.8% on CIFAR-10, from PEFTLeak and MineGrad. We reproduce these first, using identical Vision Transformer backbones, batch sizes of 32 and 128, and rank 8.
The strongest heuristic competitor is deterministic 2-bit quantization as evaluated in the SoK, which reports under a 5% accuracy drop against passive attacks. We include the mixed-precision local-retention scheme of Ovi et al. alongside it. That scheme reports a drop in DLG PSNR from 55.3 to 8.1 dB on LeNet-5 and 58.9% CIFAR-10 accuracy, against 60.04% clean, in the companion paper. Both run on our architecture with the same bit budget, and we attack them with the active server. Our mechanism beats them if, at equal bits, it reduces patch recovery to the public-data level while they do not.
The strongest formal competitor for utility is PRISM with 32-bit transmission, run client-side at the same per-example $\epsilon$. On language models it reports Math-10K average accuracy of 0.690 at $\epsilon = 6$, against 0.641 for standard DP-LoRA on Gemma. We compare at matched $\epsilon$, rounds, and tuning budget. The bar for our mechanism is to stay within one point of PRISM's accuracy while sending 16× fewer bits. The formal competitor for compression is subtractive dithering from Hasircioglu and Gündüz, which reports about 91.4% on MNIST against about 92.0% for uncompressed DP. We run it in two server conditions, seed-unknown and seed-known. No Lacuna result reports its resistance to inversion: no reported result found on Lacuna for dithered quantization under any gradient inversion attack.
Three ablations isolate the key ingredients. The first replaces the tangent projection with coordinate-wise randomized quantization applied directly to $A$ and $B$, which tests the geometry. The second shares the quantizer's randomness with the server, which tests the client-held randomness. The third drops the rounding-aware accounting, which tests whether co-design buys anything beyond post-processing.
Why not just…?
Why not just use 2-bit or sign quantization, which already defeats inversion? The evidence for that defense comes from passive attackers. Revealing and Protecting Labels shows sign-SGD cuts label recovery from 95% to 0%, but the PEFTLeak authors report that quantization does not stop an active server. The likely reason is that the server's filters isolate patches before rounding, so rounding only blurs values that are already isolated. Deterministic rounding is also biased, and Privacy-aware compression argues that bias does not average out across clients. Our active-attack runs at matched bits settle the question directly.
Why not just add DP noise and then compress with standard stochastic rounding? This is a real threat, and we have adopted it as the base of our mechanism rather than arguing against it. What standard DP-then-compress pipelines lack is the client-side, per-example placement in tangent space, which is what makes the guarantee survive backbone tampering. Whether co-designing the rounding adds anything beyond this baseline is exactly the third ablation. If it adds nothing at 2 bits, we will report that, and the contribution becomes the defense and the audit.
Why not just rely on secure aggregation? Secure aggregation is a cryptographic protocol under which the server sees only the sum of client updates. The research file notes that it carries heavy cost and dropout complexity on edge devices. More importantly, a malicious server can still isolate single clients when others drop out, as shown in DRAUN. It is complementary to our mechanism, not a substitute for it.
Why not just use PRISM as is? PRISM already supplies the geometry. What it does not address is bandwidth or any inversion test. Our comparison at matched $\epsilon$ measures what quantization costs in accuracy and what the inversion audit adds.
Proposed Experiments and Decisive Checks
Vision experiments use federated ViT-LoRA on CIFAR-10, CIFAR-100, TinyImageNet, and ImageNet at 224 pixels. We sweep per-example $\epsilon$ over {1, 3, 8}, bits over {1, 2, 4, 8, 32}, and both batch sizes. Each run reports test accuracy, uplink bits per round, and, under each attack, patch recovery rate, SSIM, and PSNR. Language experiments fine-tune Gemma with LoRA on Math-10K and GLUE8 and measure utility against PRISM.
Four results decide the proposal. First, at $\epsilon \le 8$ and 2 bits, PEFTLeak patch recovery under our mechanism should fall to within noise of a gradient-free attacker that only matches public proxy images. Mixed-precision and 2-bit baselines should stay well above that level. Second, dithering should show significantly higher recovery when the server knows the seed than when it does not, which would confirm empirically that its guarantee depends on the trust assumption. Third, Mjölnir retrained on each mechanism's outputs should reach matched PSNR across mechanisms at equal $\epsilon$ if reconstruction depends only on $\epsilon$. A gap would mean the shape of the noise matters beyond the DP bound, and that would change how such defenses should be compared. Fourth, the factor-wise ablation should lose accuracy relative to the tangent-space version at equal bits, in line with PRISM's 0.690 versus 0.641 gap, while the rounding-aware accounting either lowers the noise needed at 1–2 bits or is shown to add nothing.
References
- Gradient Inversion Attacks on Parameter-Efficient Fine-Tuning
- MineGrad: Gradient Inversion Attacks on LoRA Fine-Tuning
- Mixed Quantization Enabled Federated Learning to Tackle Gradient Inversion Attacks
- Mixed Precision Quantization to Tackle Gradient Leakage Attacks in Federated Learning
- SoK: Gradient Leakage in Federated Learning
- PRISM: Gauge-Invariant Tangent-Space Differentially Private LoRA
- Privacy Amplification via Compression: Achieving the Optimal Privacy-Accuracy-Communication Trade-off in Distributed Mean Estimation
- Randomized Quantization is All You Need for Differential Privacy in Federated Learning
- Communication Efficient Private Federated Learning Using Dithering
- Gradient Inversion with Generative Image Prior
- Mjölnir: Breaking the Shield of Perturbation-Protected Gradients via Adaptive Diffusion
- Revealing and Protecting Labels in Distributed Training
- Privacy-aware compression for federated data analysis
- DRAUN: An Optimization-Agnostic Data Reconstruction Attack on Federated Unlearning