Federated learning trains one model across many devices or institutions without pooling their raw data. Each client trains on its own data and sends a model update, and a server averages the updates. This design exists because pooling sensitive records in one cloud store creates a single breach target and conflicts with data-minimization law (Ali Shahin Shamsabadi et al., Weiming Zhuang et al.). It has three practical problems. When clients hold very different data, their updates pull in different directions and the averaged model trains slowly or fails. Uploading full updates is expensive. And the updates themselves leak training data: a server can search for inputs whose gradients match what it received and recover images close to the originals.
We propose one operation aimed at all three. Each round, every client projects its update onto a small subspace of directions that the whole federation has recently agreed on, plus a few fresh random directions drawn from a public seed. It uploads only the $k$ coordinates of that projection. Clients compute the subspace themselves from global model changes they have already received, so a malicious server cannot steer it. The bet is that the part of a client's update lying outside the shared directions is both the main source of client drift and the main carrier of sample-specific detail that inversion attacks exploit. Discarding that part, while keeping it locally as residual memory, should cut upload and download to $k$ numbers, reduce disagreement between clients, and leave an attacker with an under-determined reconstruction problem. Whether those three effects actually line up is the question this work tests.
Core Claim
Let $\Delta_k^t \in \mathbb{R}^d$ be client $k$'s local model change in round $t$, where $d$ is the number of shared parameters. Let $B_t \in \mathbb{R}^{d \times (m+r)}$ be an orthonormal basis for the span of the last $m$ global model changes $\theta^{t-1}-\theta^{t-2}, \dots, \theta^{t-m}-\theta^{t-m-1}$, together with $r$ random directions generated from a seed tied to the round index. The client uploads
$$ u_k^t = B_t^\top (\Delta_k^t + e_k^{t-1}), \qquad e_k^t = (\Delta_k^t + e_k^{t-1}) - B_t u_k^t, $$
where $e_k^t$ is the residual the client keeps locally and folds into the next round. The server averages the $u_k^t$. Because the result lies in the span of $B_t$, the server broadcasts only $k=m+r$ coefficients, and every client rebuilds the new global change from its own copy of $B_t$. The basis is a deterministic function of past broadcasts and a public seed, so any client can check it, and the server has no way to choose upload directions that single out one client.
We make three claims and test each one separately. On communication, upload and download each shrink from $d$ to $k$ numbers. On heterogeneity, the spread of client updates after projection is smaller than the spread of the raw updates, so convergence under label skew should match or beat drift-correction methods at equal communication. On privacy, an attacker who knows $B_t$ exactly, so that no security comes from secrecy, still faces only $k$ linear measurements of a batch whose content has far more degrees of freedom. Reconstruction quality should therefore degrade as $k$ falls relative to batch size times input dimension. The last claim is the weakest, because generative image priors (Gradient Inversion with Generative Image Prior) can fill in under-determined problems. The experiments treat it as a hypothesis that could fail.
The closest existing work occupies nearby positions but differs on the point that matters. CENSOR replaces the true gradient with a sample from a subspace orthogonal to it. That is roughly the reverse of our move, and the research file flags it as likely to worsen drift, because each client independently randomizes its direction. D2P2-SGD projects gradients through a random Johnson–Lindenstrauss map so that less differential-privacy noise is needed. Its subspace is data-independent and it was studied in centralized training without client drift. FedRep shares a fixed set of layers and keeps per-client heads private. That partition follows the architecture, whereas ours is a data-driven partition of parameter space that changes every round. FedDyn corrects drift with a persistent per-client gradient state but transmits full updates and has never been tested against inversion. Our method is a deterministic linear operator the client knows, so a FedDyn-style correction can be computed before projection. Gap 3 of the file worries that subspace defenses would corrupt this correction; ours does not perturb it.
Research Program
The first component is the protocol: basis construction, residual memory, and coefficient-only broadcast. It comes with a cold-start rule for clients that join late or drop out. Such a client downloads the full model and the last $m$ global changes once. That one-time cost will be reported rather than hidden, because stateless clients are a known weak point of stateful methods like FedDyn. Clients also need $m \cdot d$ memory to store the history. For large models we therefore apply the method only to a parameter-efficient adapter or the last blocks, in line with the adapter-based communication savings reported by Federated Adaptive Prompt Tuning.
The second component is a measurement study of where client-specific information sits. On Dirichlet label-skewed CIFAR-10, for each client update we measure the fraction of its norm, and of its "inversion-useful" content, that lies inside versus outside the consensus span. Inversion-useful content is measured as the reconstruction quality achieved by attacking only that component. If client-specific detail turns out to live mostly inside the consensus span, the privacy claim is wrong. In that case the method reduces to a communication and drift technique, and we would report it as such.
The third component is the attack suite. All attacks get the strongest information available: the exact basis, the exact global weights, and shared normalization statistics. Shared statistics matter because Evaluating Gradient Inversion Attacks and Defenses in Federated Learning shows that keeping BatchNorm statistics private alone breaks current attacks, and we do not want to credit our method for that effect. The attacks are an optimization-based gradient-matching attack rewritten to match projected gradients, $\min_x \| B_t^\top \nabla W(x) - u_k^t \|$; the same attack with a generative prior; RLU's analytic label recovery from output-bias updates (Recovering Labels from Local Updates in Federated Learning); and a multi-round attacker that pools a client's coefficients across rounds, in the spirit of Beyond Inferring Class Representatives. Pooling across rounds is the natural way to recover discarded content, since each round exposes a different random slice.
Baselines
The naive reference is FedAvg with full-precision uploads and no defense. It sets the leakage ceiling and the heterogeneity floor. FedRep reports roughly 42.6% accuracy for FedAvg on CIFAR-10 with two classes per client.
For heterogeneity, the strongest competitors are FedDyn and FedRep. FedDyn reports a 3x to 5x reduction in communication rounds over FedAvg and FedProx on non-IID CIFAR-10. FedRep reports about 87.7% accuracy on CIFAR-10 with two classes per client. FedRep is the sharpest threat on privacy as well, because keeping heads local already blocks RLU's bias-based label attack. All methods use the same ResNet backbone, partitions, participation rate, and local epochs. Each gets the same hyperparameter search budget, covering learning rate, FedDyn's $\alpha$, and our $m$ and $r$. Methods are compared at equal total bytes communicated, not equal rounds. Beating them means matching FedDyn's accuracy curve per byte at $k \ll d$, and reaching FedRep-level personalized accuracy when we pair our projection with local heads.
For leakage at a matched communication cost, the strongest references are the GradPrune plus Intra-InstaHide combination and CENSOR. GradPrune at 90% sparsity with InstaHide ($k=4$) at batch size 32 reports LPIPS 0.73 against 0.45 undefended, at 86.10% CIFAR-10 accuracy against 93.37% undefended. CENSOR reports about 86% CIFAR-10 accuracy, matching its undefended baseline. Mixed quantization (Mixed Quantization Enabled Federated Learning) reports a DLG PSNR drop from 55.3 to 8.1 on LeNet-5 with 4x compression. That result comes from a shallow network and a non-adaptive attacker, so we rerun it on our backbone against an attacker that models quantization. All of these baselines were reported on IID or near-IID splits. We rerun them on our skewed partitions and do not quote the IID numbers as targets. Beating them means LPIPS at least 0.73 against the adaptive projected attacker, with accuracy loss under skew smaller than theirs.
Two ablations isolate the key ingredient. The first uses a purely random seeded subspace of the same $k$, with no consensus directions; this is essentially D2P2-style projection without noise. The second uses a pure consensus subspace with $r=0$. A third ablation removes residual memory. If the random-only ablation matches the full method on both accuracy and leakage, the consensus construction adds nothing.
Why not just…?
Why not just project onto a random subspace, as D2P2-SGD does? This is the most serious threat. A random projection of the same size gives the same compression and the same equation-counting argument for privacy. What it cannot do is preferentially keep directions shared across clients, so its effect on drift should be neutral at best. The random-only ablation settles this directly. If it matches our accuracy under Dirichlet $\alpha=0.1$ skew, we will report that the consensus part is unnecessary and recommend the simpler method.
Why not just use FedRep and keep heads private? Private heads stop RLU, which needs output-bias updates. They leave the shared representation update fully exposed, and the file notes that inversion from representation updates alone is unstudied. FedRep also does not compress the representation update. We run gradient matching against FedRep's representation updates. If those updates already resist reconstruction under skew, FedRep plus plain compression is the right answer and our privacy claim is moot.
Why not just use differential privacy? Clipping and adding noise gives a formal guarantee, which we do not offer. The reported utility cost is steep: Mixed Quantization cites DP baselines at 78–85% on MNIST, and D2P2-SGD reports 57.0% for standard noisy SGD on FashionMNIST at $\epsilon=6$. Projection and DP noise are compatible, because noise added in $k$ dimensions is far cheaper than noise in $d$. We therefore include our method plus DP noise as a variant, so that we do not set the two up as rivals.
Why not just apply FedDyn with top-k sparsification and error feedback? That combination addresses drift and bandwidth. The file reports that sparsification needs more than 99% pruning to stop inversion, at about a 10% accuracy cost (Evaluating Gradient Inversion Attacks and Defenses). Top-k coordinates are also chosen per client, so they reveal which parameters each client's data excites. We include it at matched bytes.
Proposed Experiments
The main testbed is CIFAR-10 and CIFAR-100 with Dirichlet label skew ($\alpha \in \{0.1, 0.5\}$) and two-class-per-client splits, plus FEMNIST split by writer. We use 100 clients at 10% participation and 1,000 clients for scale, following FedDyn's limited-participation setting. Accuracy, bytes to target accuracy, and update dispersion across clients are the utility metrics. PSNR, SSIM, and LPIPS of the best reconstruction, together with RLU label-recovery accuracy, are the leakage metrics. RLU reports over 90% at 10 local epochs on CIFAR-100, which we use as the reference to beat. A medical check on ChestXRay, following Shadow Defense, tests whether the conclusions hold in the setting where centralized pooling is least acceptable.
Three results decide whether the idea is worth pursuing. First, at $k$ no more than 1% of $d$, the full method must match FedDyn's accuracy per byte on Dirichlet $\alpha=0.1$ and beat the random-only ablation; otherwise the consensus claim fails. Second, against the adaptive generative-prior attacker that knows $B_t$ and pools ten rounds of coefficients, LPIPS must stay at or above 0.73 at batch size 32. If multi-round pooling recovers the images, the privacy claim fails, and we will report the round count at which it breaks. Third, the measurement study must show that most inversion-useful content of a client update lies outside the consensus span.
As a secondary probe, we run PEFTLeak (Gradient Inversion Attacks on Parameter-Efficient Fine-Tuning) against a ViT adapter trained with projected uploads. PEFTLeak reports 85.9% patch recovery at batch size 32 on CIFAR-100. The probe asks whether mixing adapter rows into $k$ coordinates blunts its sieve, while acknowledging up front that a server which poisons the backbone sits outside the threat model this protocol defends.
References
- PrivEdge: From Local to Distributed Private Training and Prediction
- Optimizing Performance of Federated Person Re-identification: Benchmarking and Analysis
- Gradient Inversion with Generative Image Prior
- CENSOR: Defense Against Gradient Inversion via Orthogonal Subspace Bayesian Sampling
- Balancing Utility and Privacy: Dynamically Private SGD with Random Projection
- Exploiting Shared Representations for Personalized Federated Learning
- Federated Learning Based on Dynamic Regularization
- Federated Adaptive Prompt Tuning for Multi-Domain Collaborative Learning
- Evaluating Gradient Inversion Attacks and Defenses in Federated Learning
- Recovering Labels from Local Updates in Federated Learning
- Beyond Inferring Class Representatives: User-Level Privacy Leakage From Federated Learning
- Mixed Quantization Enabled Federated Learning to Tackle Gradient Inversion Attacks
- Shadow defense against gradient inversion attack in federated learning
- Gradient Inversion Attacks on Parameter-Efficient Fine-Tuning