Spending a Single Privacy Release Well: Subspace-Calibrated Statistics for One-Shot Federated Learning

In one-shot federated learning, each client uploads something to the server exactly once and never again. A recent and strong form of this setup keeps a pre-trained image encoder frozen. Each client then sends simple summaries of its encoded data: per-class counts, per-class feature sums, and second-order "scatter" matrices built from outer products of the features. The server uses these summaries to fit a Gaussian classifier head in closed form. If we want this single upload to be differentially private (DP), meaning that calibrated random noise hides any one image's contribution, a problem appears. The noise needed to hide one image grows with how many numbers are released, and a $D \times D$ scatter matrix contains $D^2$ of them. With a 512- or 768-dimensional encoder, the noise in that matrix can drown out a small client's real signal long before the privacy level becomes meaningful.

This note proposes to project features onto a shared $k$-dimensional subspace before computing and noising the statistics. The subspace is estimated once from public features, and $k$ is chosen by a rule that balances what the projection throws away against how much noise it saves. The proposal also tests whether these statistics leak images when no noise is added. The reason to suspect they do is that the summaries are exactly the gradient information of a quadratic classifier head. When a class appears only once or twice on a client, its class mean simply is that image's embedding, which places it within reach of gradient-inversion-style attacks.

Core Claim

In a single DP release of encoder statistics, three factors govern the trade-off between privacy and accuracy. The first is dimension: noise in the scatter matrix grows like $k$, not like $\sqrt{k}$. The second is which subspace is kept, which matters far more than how small it is. The third is whether the shared covariance is pooled across classes, which divides the privacy cost across classes instead of multiplying it. We claim that projecting onto a public-data principal subspace, with $k$ set by an explicit bias-noise rule, will clearly beat two alternatives at the same privacy budget $(\epsilon, \delta)$:

  • noising full-dimensional statistics, as DP-FedPFT does;
  • noising statistics after a data-free random projection, which is GH-OFL with noise added.

We also claim that the gain is largest exactly where one-shot methods are deployed: many small, label-skewed clients without secure aggregation.

To make the trade-off concrete, suppose each projected feature is clipped to norm $R$ and a client holds $n$ samples. One sample then changes the client's pooled scatter by at most $R^2$ in Frobenius norm. The Gaussian mechanism adds a symmetric noise matrix whose Frobenius norm is about $\sigma R^2 k$, where $\sigma$ is the noise multiplier set by $(\epsilon,\delta)$. The excess error of the estimated covariance therefore behaves roughly as

$$ \mathrm{err}(k) \approx \sum_{j>k}\lambda_j + \frac{c\,\sigma R^2 k}{n}, $$

where $\lambda_j$ are the eigenvalues of the true feature covariance, ordered from largest to smallest, and $c$ is a constant. The first term is what the projection discards. The second is noise relative to the client's data mass. Public features give an estimate of the spectrum, so $k$ can be chosen before any private data is touched.

Position Relative to Prior Work

Two one-shot methods motivate this work.

  • GH-OFL uses random projections and uploads counts, sums, and scatter matrices to build linear or quadratic discriminant heads. It reaches 86.05% on CIFAR-10 under extreme label skew ($\alpha=0.05$) in one round. It provides no DP analysis and does not test inversion.
  • FedPFT (companion version) fits per-client Gaussian mixtures on frozen features. Its DP variant adds noise directly to full means and covariances, so the noise grows quadratically with the number of covariance entries.

The proposal differs from both by choosing the projection to minimize DP error. It also treats the privacy release, not communication, as the quantity being compressed.

The projection technique comes from PDP-SGD. That method estimates a top-$k$ gradient subspace from 100–150 public samples, so noise scales with $k$ rather than the ambient dimension. We reuse the idea for a single release of second-order statistics, not for iterative gradients.

PDP-SGD also supplies a constraint, and it seems to contradict GH-OFL. PDP-SGD reports that random projections perform poorly for gradients, while GH-OFL finds them adequate for frozen embeddings. Our explanation is that without noise, random projections roughly preserve distances, which is all an unnoised classifier needs. With noise, the important question is how much signal each retained dimension carries. Random directions spread the signal evenly and so waste noise budget. This is a testable prediction: random and principal-subspace projections should tie at $\epsilon=\infty$ and separate as $\epsilon$ shrinks.

FedFisher leaves DP for curvature releases as an open problem. Our pooled-scatter analysis covers its K-FAC-style factors as a special case, but we restrict experiments to frozen-encoder heads.

Leakage evidence comes from gradient inversion. Deep Leakage from Gradients recovers inputs exactly from gradients. GIAS searches a generative model's latent space and still reconstructs images when 99% of gradient entries are pruned. Wu et al. show that individual samples become separable when their contributions are weakly entangled, which is the situation when a class is rare on a client.

One-shot Empirical Privacy Estimation supplies our auditing method. Its finding that leakage measured from the final model alone is far below the analytical bound (an empirical $\epsilon$ of 1.97 against an analytical 300) shows why we audit empirically and do not rely on bounds alone.

Two other lines are not competitors here. CENSOR and AdaptDP-FedAvg both depend on multiple rounds and offer no formal one-shot guarantee. FedDiff is a private one-shot method, but it trains diffusion models under DP-SGD in full parameter space, which is a much heavier route.

Research Program

The mechanism. The server publishes a frozen encoder and a $k$-dimensional basis $P$, estimated by principal component analysis (PCA) on encoder features of a public set. Each client projects its features with $P$ and clips them to norm $R$. It then computes per-class counts, per-class sums, and one pooled scatter matrix. It adds Gaussian noise to all three, with the budget split across them by a fixed ratio tuned only on public data, and uploads once. The privacy accounting is a single Gaussian release with no composition across rounds.

Server-side repair. The server sums the uploads. It repairs the noisy scatter by clipping negative eigenvalues and applying shrinkage toward a scaled identity, then fits a linear discriminant head. A quadratic head with per-class covariances is a variant we expect to lose under DP, because its privacy cost multiplies with the number of classes.

The analysis. We will derive the error decomposition above for the discriminant's decision rule. This gives a public-data rule for choosing $k$. We will also characterize when a principal subspace beats a random one, in terms of the eigen-gap of the public spectrum. Mismatch between public and private data enters as an additional bias term, which we measure rather than assume away.

The attack, as an independent axis. Gap 2 of the research file notes that no one has attacked these statistics directly. Our attack proceeds in three steps:

  1. Extract individual embeddings from the class sums and scatter. This is exact when a class has count one, and for small counts we solve a low-rank decomposition.
  2. Invert each embedding to an image by optimizing a generative model's latent code so that the encoder's output matches, following GIAS.
  3. Run the attack against both noised and unnoised statistics, with and without projection.

Baselines

The naive reference point is one-round DP-FedAvg: each client fine-tunes a linear head on its frozen features with DP-SGD, and the server averages the heads. This shows what happens when no sufficient-statistic structure is used. Weight averaging in one round is known to be weak, as FedFisher reports 56.89% for one-round FedAvg on CIFAR-10 versus 80.42% for its K-FAC variant, and DP will make it weaker.

The strongest existing private competitor is DP-FedPFT (Beitollahi et al.), which noises full-dimensional mixture parameters. FedPFT reports about 95% non-private accuracy on Caltech-101, within 0.03–4% of centralized training across eight datasets. We found no reported result on Lacuna for DP-FedPFT at a stated $\epsilon$ on CIFAR-10, CIFAR-100, or Caltech-101, so we rerun it.

The strongest one-shot non-private method is GH-OFL with random projection. The figure to match at $\epsilon=\infty$ is its reported 86.05% on CIFAR-10 at $\alpha=0.05$. Its noised version, which uses random projection with the same accounting as ours, is the ablation that isolates our key ingredient: which subspace is kept.

A second ablation keeps the principal subspace but sets $k=D$, which isolates the contribution of reducing dimension.

For heavier private one-shot pipelines, FedDiff reports about 73% on FashionMNIST at $\epsilon=10$ and about 57% on CIFAR-10 under high heterogeneity. We cite these numbers but do not claim a matched comparison, because FedDiff trains generators rather than using a frozen encoder.

Fair comparison. All methods share the same encoder, client partitions, $(\epsilon,\delta)$, and clipping norm search. Hyperparameters are tuned only on public or held-out data, and each method gets the same tuning budget. Beating the field means two things. First, our method must exceed both DP-FedPFT and noised random projection by a margin larger than the spread across five partition seeds, at $\epsilon\le 2$ with median client size at most 200. Second, it must match GH-OFL within 1 point at $\epsilon=\infty$.

Why not just…?

Why not just release noised class means only, a nearest-class-mean head, and skip second-order statistics entirely? Means cost only $O(k)$ noise, so this is the most serious threat at very small $\epsilon$. GH-OFL's gains over mean-only heads come from the covariance. Whether those gains survive noise is an empirical question. We include the noised nearest-class-mean head as a baseline and sweep $\epsilon$ to find the crossover. If means alone win everywhere at $\epsilon\le 2$, we will report that, and the contribution narrows to the attack together with the choice of $k$ for the mean.

Why not just use secure aggregation so noise is added once, for the total over all clients? With a trusted aggregate, the noise is divided by the total sample count rather than the per-client count. This sharply shrinks the second term of the error decomposition, so our gain should shrink too. We run this regime explicitly as a second setting. The prediction is that subspace choice matters much less there, and confirming that prediction is part of validating the analysis. The one-shot setting often lacks this infrastructure, which is why the local regime is primary.

Why not just use random projection, since GH-OFL shows it works? It works without noise. PDP-SGD found random projection poor once noise is added, though that finding concerns gradients. The ablation that varies only the subspace at matched $k$ and $\epsilon$ settles this directly. If random projection ties the principal subspace across $\epsilon$, the public-data requirement is unnecessary and we will recommend random projection instead.

Why not just prune or sparsify the statistics to defend against inversion? GIAS reconstructs images through 99% gradient pruning, and pruning gives no formal guarantee. We include magnitude pruning of the scatter matrix in the attack study only as a defense reference.

Proposed Experiments

Data and setup. We use CIFAR-10, CIFAR-100, Caltech-101, and FashionMNIST. Clients are partitioned with Dirichlet label skew at $\alpha\in\{0.05, 0.5\}$, using 50 to 500 clients so that median client size ranges from small to moderate. Encoders are a pre-trained ResNet-18, matching FedFisher, and one larger frozen vision encoder. Public data comes in two forms: an in-distribution set of 150 images, matching PDP-SGD's scale, and a shifted set, such as CIFAR-100 features serving as the public data for CIFAR-10.

Metrics.

  • Utility: test accuracy across $\epsilon\in\{0.5,1,2,4,8,\infty\}$, with $\delta=10^{-5}$.
  • Attack success: PSNR and LPIPS of reconstructions, plus top-1 retrieval of the true image among 1,000 candidates.
  • Empirical privacy: empirical $\epsilon$ from canary clients, following the one-shot auditing method.

Decisive checks. Three outcomes would decide the claims:

  1. The principal-versus-random gap must be near zero at $\epsilon=\infty$ and grow as $\epsilon$ falls. Its size should track the eigen-gap of the public spectrum.
  2. The $k$ chosen by the public-data rule must land within one grid step of the accuracy-optimal $k$, found by an oracle sweep on test data, in at least three of four datasets.
  3. On unnoised statistics, the attack must recover recognizable images for count-one classes, with retrieval far above chance. If unnoised statistics prove unattackable even at count one, the leakage motivation weakens. We will then reframe the work purely as a study of how noise grows with dimension.