Tuning Private Federated Learning From Its Own Noise

In federated learning, many devices train one shared model without sending their raw data anywhere. The method is notoriously fragile: learning rates, the number of local training steps, and compression settings must be retuned for every deployment. Each retuning trial costs more communication rounds. Once the updates are protected by local differential privacy (each device adds calibrated random noise to its update before sending it), every trial also spends privacy budget. Published accuracy numbers almost never charge for this search.

We propose making the noise itself do the tuning. Under local differential privacy the server knows the exact distribution of the noise it receives. It can therefore subtract the expected noise energy from the collected updates and get unbiased estimates of the quantities that hyperparameters are normally tuned to track: how strong the true learning signal is, and how much clients disagree with each other. Because these estimates are computed only from already-privatized messages, they cost no extra privacy and no extra uplink bits. A server-side controller can use them every round to set the global step size and choose the next round's local step count and compression dimension.

Core Claim

Every knob that matters for utility in private, compressed federated learning can be set online from statistics the server already holds, at zero additional privacy cost. This requires the client-side mechanism to have one property: its per-round privacy guarantee must not depend on any of the knobs being adapted. We get that property by normalizing each client's update to a fixed length, projecting it to a low dimension with a random matrix shared by all clients, and adding Gaussian noise. The privacy accounting then depends only on the noise multiplier. The step size, local epoch count, and projection dimension change utility but never the guarantee. Choosing them from past releases is post-processing under adaptive composition.

The testable consequence has two parts. First, the method's accuracy should be flat across orders-of-magnitude misspecification of the initial knobs, where fixed-knob baselines collapse. Second, its tuning-inclusive cost in rounds, bytes, and privacy should beat baselines that are tuned by grid search on live clients.

Mechanism

In round $t$, each of $n$ sampled clients computes a local update $g_i$. It multiplies $g_i$ by a $k \times d$ Gaussian matrix $P_t$ generated from a seed broadcast by the server, and releases

$$z_i = R\,\frac{P_t g_i}{\|P_t g_i\|} + \xi_i, \qquad \xi_i \sim \mathcal{N}(0, \sigma^2 R^2 I_k),$$

where $R$ is a fixed release radius and $\sigma$ is the noise multiplier. This is a Gaussian mechanism with L2 sensitivity $2R$, so its guarantee depends on $\sigma$ alone. In particular it does not depend on the dimension $k$, the local epochs, or the local learning rate. Because $R$ only rescales everything, it is not a real hyperparameter.

The server averages the releases into $\bar z = \frac{1}{n}\sum_i z_i$. The noise in $\bar z$ has known expected energy $k\sigma^2R^2/n$. Subtracting it gives

$$\hat S = \|\bar z\|^2 - \frac{k\sigma^2 R^2}{n}, \qquad \hat\rho = \frac{n\hat S/R^2 - 1}{n-1}.$$

$\hat S$ is an unbiased estimate of the squared length of the noise-free mean update. $\hat\rho$ estimates the mean pairwise cosine between clients' true update directions. It is near 1 when clients agree and near 0 when their updates are near-orthogonal, which is the drift regime. Since the noise part of $\|\bar z\|^2$ is a scaled chi-square with $k$ degrees of freedom, the estimator's noise floor is about $\sqrt{2k}\,\sigma^2R^2/n$. This tells us in advance when the signal is detectable: it requires enough clients per round relative to $\sqrt{k}\sigma^2$. Below that floor the controller smooths $\hat S$ over rounds.

The estimates drive three decisions.

The first is a private analogue of the magnitude–direction decoupling in FedMRUR. That work, in a non-private setting, showed that averaging near-orthogonal client updates shrinks the step, and fixed this by stepping along the averaged direction with the average client norm. Under normalization the average client norm is exactly $R$, so the server steps by $R\,\bar z/\sqrt{\hat S}$. The denoising is essential here: the naive $\|\bar z\|$ is inflated by noise and would quietly shrink every step.

The second decision sets the next round's local epoch count from $\hat\rho$. Falling agreement signals the client-drift trap described in A Practical Recipe for Federated Learning Under Statistical Heterogeneity, so the controller cuts local steps.

The third decision sets the projection dimension $k$ by trading the known noise energy, which grows with $k$, against projection distortion, which shrinks with $k$. The tradeoff is evaluated with a simple variance model fitted to $\hat S$.

Because every client uses the same $P_t$, aggregation happens in the shared $k$-dimensional space. The downlink is then just the $k$-vector plus a seed. This sidesteps the "sparsity drop" that HGC identified when independently sparsified updates are averaged into a dense one.

Relation to Prior Work

Three works motivate the problem by showing that the knobs matter. DP-NormFedAvg replaced clipping with normalization to stop small late-training updates from being drowned by noise. It analyzes only convex objectives and fixes its step sizes by hand; we adopt its normalization and add the missing magnitude recovery. Clipping in federated learning showed that clipping bias depends on architecture and heterogeneity. Clip21-SGD2M gains robustness to the clipping threshold through error feedback and two momentum buffers, but introduces momentum constants of its own.

The closest work is adaptive clipping. It tracks a norm quantile by having each client send one extra privatized bit per round. That spends a small additional budget, leaves the target quantile as a hand-chosen knob, and tunes only the threshold. Our controller spends nothing extra, has no threshold, and controls step size, local epochs, and compression.

Two works supply the projection technique. D2P2-SGD and DP-GRAPE project gradients to a low dimension before adding noise, but only in centralized training. The research file flags as untested whether shared projections behave well under client drift. Our alignment estimate, computed in the projected space, makes that question directly measurable.

LaDP-FL and BLUR+LUS reduce noise or update norms, but each adds new manually tuned constants. The LaDP-FL authors name automated tuning as open.

On the attack side, GGL and GIAS constrain the design. They show that sparsification and quantization without formal noise still leak recognizable content to attacks that search inside a generator's latent space. That result rules out using compression alone as the privacy layer, as mixed quantization proposes. It also makes these attacks our audit tools.

Research Program

The work has four parts.

The first part is analysis. We will prove unbiasedness and bound the variance of $\hat S$ and $\hat\rho$ under the projected Gaussian release. We will derive the detectability condition above, and give a non-convex convergence statement for the decoupled server step. The goal of that statement is to show that the step neither collapses under orthogonal updates nor diverges when $\hat S$ is near its noise floor, with smoothing and a floor on $\hat S$ handling the latter.

The second part is the controller. We will use deliberately simple, monotone rules: cut local epochs when $\hat\rho$ falls, and pick $k$ by minimizing the fitted error model. The aim is a controller that does not itself become a tuning problem. Each rule's own constants will be fixed once, on one dataset, and frozen for all others.

The third part is accounting. We will define a tuning-inclusive cost: total rounds, total uplink and downlink bytes, and total privacy budget summed over every configuration a method actually ran to reach its reported accuracy.

The fourth part is a leakage audit. We will run GGL and GIAS against our releases and against fixed-knob baselines at matched privacy budget. This checks that adapting the projection dimension and epoch count does not open an empirical leak that the formal guarantee hides, such as semantic attributes surviving.

Baselines

The naive reference is DP-FedAvg with local Gaussian noise, a fixed clipping threshold, and fixed step sizes, run at whatever setting a practitioner would pick without search. It shows how large the hidden tuning tax actually is.

The strongest existing method on utility at fixed privacy is DP-NormFedAvg. It reports 59.36% CIFAR-100 accuracy at $\epsilon=5$, against 56.53% for clipped DP-FedAvg. It is the strongest competitor because our client mechanism is its normalization plus projection, so any gain we show must come from the controller.

The strongest existing method on reducing tuning is adaptive clipping. The file reports only that it matches or beats hindsight-tuned fixed clipping on CIFAR-100, EMNIST, Shakespeare, and StackOverflow; no reported result found on Lacuna for its exact accuracy numbers. We will rerun it ourselves.

Clip21-SGD2M is the strongest claim of threshold robustness. No reported accuracy figure was found on Lacuna for it.

For communication, HGC is the bandwidth reference. It reports 90.26% CIFAR-10 accuracy with ResNet-18 at 15,286× uplink compression, non-privately. We add local noise to it to see how its manually tuned knobs fare under DP.

Fairness is enforced in two regimes. In the "uncharged oracle" regime, every baseline gets a grid search over its knobs, with the same grid size per knob, and its best configuration is reported as published papers do. In the "charged" regime, every trial's rounds, bytes, and privacy budget are summed. Data partitions, client sampling, model, total per-round noise multiplier, and wall-clock compute are identical across methods.

Three ablations isolate the key ingredient. In the first, the controller is replaced by its round-1 knob values, frozen. In the second, $\hat S$ is replaced by the naive, noise-inflated $\|\bar z\|^2$. In the third, the controller's statistics come from an extra privatized report, as in adaptive clipping, rather than from denoising the existing releases.

Beating the field means two things. In the charged regime, the method must reach the oracle-tuned DP-NormFedAvg accuracy at lower total privacy budget and fewer total rounds. In the uncharged regime, it must stay within one point of that accuracy.

Why not just…?

Why not just tune once on a public proxy dataset and transfer the settings? This is the most serious threat. If it works, the controller adds nothing. The research file documents that settings tuned in homogeneous simulation degrade when moved to heterogeneous deployments, but it reports no direct test of proxy transfer under local noise. We will run that test: tune on CIFAR-10 at Dirichlet α = 1, then deploy on α = 0.1, on FEMNIST's natural writer split, and on CIFAR-100. If the transferred settings land within a point of the oracle on these shifted targets, we will report that, and our contribution narrows to the denoised magnitude recovery.

Why not just use an adaptive server optimizer that rescales steps per coordinate by a running second-moment estimate? Under local noise, that second moment is dominated by the injected variance, which is the same in every coordinate. The optimizer therefore degenerates into plain SGD with a learning rate divided by σ, and still needs a tuned base rate. We include it as a baseline with its base rate swept, and expect it to show the same sensitivity width as fixed-step DP-FedAvg.

Why not just use adaptive clipping, which already removes the threshold? It removes one knob by spending extra privacy and leaves the quantile, step size, and epoch count manual. Under normalization the threshold is not even a knob. The third ablation tests directly whether paying for a separate report buys anything over denoising the existing releases.

Why not just use secure aggregation with central noise? That is a different threat model. Fed-CDP shows that server-side noise leaves per-client updates exposed if inspected before aggregation. Our setting is the untrusted aggregator, so we do not compare against it on accuracy.

Proposed Experiments

The utility benchmarks are FEMNIST from LEAF, CIFAR-10 and CIFAR-100 under Dirichlet α ∈ {0.1, 0.3, 1}, and Shakespeare and StackOverflow next-word prediction. Models follow the cited papers: small CNNs and ResNet-18 for images, LSTMs for text. Privacy budgets span the per-round noise multipliers corresponding to total ε from 1 to 8. Metrics are final accuracy, tuning-inclusive rounds, uplink and downlink bytes, and tuning-inclusive ε.

The leakage audit runs GGL and GIAS on CelebA and an ImageNet subset at batch sizes 1 to 32, and the face reconstruction attack used by Fed-CDP on LFW. It reports PSNR, FID, and the accuracy of an attribute classifier on reconstructions, which measures semantic leakage. For reference, GGL keeps PSNR above 5.7 dB under every defense audited in its paper.

Four checks are decisive.

The first tests the estimator. In simulation, where noise-free updates are visible, $\hat S$ and $\hat\rho$ should track the true signal energy and mean cosine without bias. Their error should match the predicted $\sqrt{2k}\sigma^2R^2/n$ floor. Running the check at both the projected and the full dimension also tells us whether shared projection hides drift.

The second is the sensitivity width. We multiply each initial knob by factors from 1/30 to 30. The controller's final accuracy should stay within one point of the oracle across the whole range, while the fixed-knob baselines fall off outside a narrow band.

The third is the charged comparison described in the Baselines section.

The fourth is the leakage check. At matched ε, reconstruction quality and attribute leakage against the adaptive method should be no better for the attacker than against fixed-knob DP-NormFedAvg. The comparison focuses on rounds where the controller chose small projection dimensions or many local epochs.

If the first check fails, meaning the estimates are too noisy at realistic client counts, the idea fails at its root. If only the proxy-transfer test goes against us, the remaining claim is the private magnitude recovery.