The Color of Privacy Noise: Curvature-Shaped Dithered Quantization and Gradient Inversion

In federated learning, devices send model updates (gradients) to a server instead of raw data. Those gradients can still be inverted to recover the training images. Differential privacy (DP), a guarantee that adding or removing one person's data changes what is released only by a bounded amount, defends against this by clipping each update and adding noise. Standard DP-SGD adds the same amount of noise in every direction. A different line of work shapes the noise to the loss surface's curvature, for example by preconditioning the gradient before noise is added, and this buys accuracy. This proposal starts from a simple observation that neither line has used. A whole family of mechanisms gives exactly the same formal DP guarantee: clip in some fixed metric, then add Gaussian noise shaped by the inverse of that metric. Choosing the metric therefore costs nothing in the accounting. It does change two things the accounting does not see: how well the model trains, and which features of a client's image survive the noise for an attacker who brings a strong image prior.

We claim that the metric is a real design lever on empirical leakage at fixed ε, and that its effect can be predicted. For the first layer of a network, curvature-based preconditioning whitens the input. Isotropic DP-SGD leaves coarse, low-frequency image structure with high signal-to-noise and buries fine detail. Curvature-shaped noise flattens the signal-to-noise ratio across frequencies. Generative-prior attacks rebuild fine detail from coarse structure, so they should get noticeably worse at matched ε. We propose to measure this effect and to realize the whole family as an exact-Gaussian dithered quantizer, so the shaped noise also yields 5–12x communication savings. The goal is a bandwidth-efficient private training scheme whose operating point is chosen by utility and measured inversion risk together, not by ε alone.

Core Claim

Let $g$ be a client's gradient and $P$ a fixed, data-independent preconditioner. Consider the mechanism that clips $\|Pg\|_2 \le C$ and releases $Pg + \xi$ with $\xi \sim \mathcal{N}(0, \sigma^2 C^2 I)$. This is the ordinary Gaussian mechanism applied to $Pg$, so its $(\epsilon,\delta)$ guarantee depends only on $\sigma$ and the sampling and composition schedule, not on $P$. Seen in the original coordinates, the same release is $g$ plus noise with covariance $\sigma^2 C^2 (P^\top P)^{-1}$. We study the one-parameter family $P_\alpha = A^{-\alpha}$, where $A$ is the first-layer input factor of a Kronecker-factored curvature estimate (roughly the input covariance). Setting $\alpha=0$ gives DP-SGD, and $\alpha=1/2$ is the whitening used by DP-KFC.

The first-layer gradient of one example is an outer product $\delta x^\top$, so the input image $x$ sits directly inside it. In the eigenbasis of $A$, with eigenvalues $\lambda_k$ that decay roughly as a power law for natural images, the per-direction signal-to-noise ratio of the released image content behaves as

$$\mathrm{SNR}_k \;\propto\; \lambda_k^{\,1-2\alpha},$$

up to a common clipping scale. This follows because image energy along direction $k$ is about $\lambda_k$ and preconditioning rescales that component by $\lambda_k^{-\alpha}$ against unit noise. Isotropic DP therefore leaks coarse structure best. Whitening equalizes leakage across directions, and $\alpha>1/2$ pushes the remaining leakage into fine detail.

We hypothesize that prior-guided inversion depends mainly on coarse structure. If so, then at matched ε and matched accuracy, $\alpha\approx1/2$ should give clearly lower reconstruction quality than $\alpha=0$ under GAN-prior attacks. Prior-free attacks may show a smaller effect or even the reverse. The novelty is neither the preconditioner nor the quantizer, both of which exist. It is the claim that noise shape is a free, predictable control on empirical inversion risk at fixed formal privacy, together with the measurement that confirms or refutes it.

Research Program

The mechanism reuses existing parts. The curvature factor $A$ is built without private data, using DP-KFC's synthetic pink-noise probes (noise with a $1/f$ spectrum that mimics natural-image statistics). This keeps $P_\alpha$ independent of the data, which is what the accounting above needs. It also avoids the negative transfer DP-KFC reports when a mismatched public proxy is used: a 4.8% drop on PathMNIST with an MNIST proxy. We assume the attacker knows $P_\alpha$ exactly, which is the worst case.

The Gaussian noise is not added in floating point. It is produced by the subtractive dithering construction of Communication Efficient Private Federated Learning Using Dithering, applied coordinatewise in the preconditioned coordinates. That paper shows that if the quantizer step is drawn from a Gamma distribution, the error left after subtracting a shared pseudo-random dither is exactly Gaussian. Its grid is the same in every coordinate, which is exactly what one wants after preconditioning. Running it in the $P_\alpha$ basis therefore gives an exact anisotropic Gaussian in the original basis at the same bit cost.

The dithering paper assumes a trusted aggregator. We instead put the full per-client noise in every message. The dither seed is known to the server, but the residual error is independent of the input, so each message individually carries the stated guarantee. An honest-but-curious server, one that follows the protocol but tries to learn from what it sees, then observes exactly what the accounting covers.

The analysis has three parts. First, we check the SNR prediction directly by measuring reconstruction error in frequency bands, low versus high eigen-directions of $A$, as a function of $\alpha$. Second, we trace the three-way trade-off between accuracy, bits per client, and reconstruction quality across $\alpha \in \{0, 1/4, 1/2, 3/4\}$ at fixed ε. Third, we test whether the data-free $A$ from pink noise matches the true image covariance closely enough for the prediction to hold. If the spectra differ, the effective $\alpha$ is mis-set, and we will see it in the band-wise errors.

A secondary question concerns clipping. Clipping in the whitened metric changes which examples get clipped. Disparate Impact in Differential Privacy from Gradient Misalignment shows that isotropic clipping hurts minority subgroups, so we report per-class accuracy as well.

Baselines

The naive reference is isotropic DP-SGD with full-precision Gaussian noise ($\alpha=0$, no quantization), using the same clipping, sampling rate, and accountant. DP-KFC reports 91.7% for it on MNIST at ε=1. For gradient inversion it is the standard point of comparison. Deep Leakage from Gradients notes that additive noise stops its attack only at magnitudes that ruin utility, so we expect DP-SGD to leak coarse structure at usable noise levels.

The strongest utility baseline is DP-KFC itself, full precision, at $\alpha=1/2$. It reports 94.2% on MNIST at ε=1. The strongest compression baseline is isotropic dithered quantization ($\alpha=0$). It reports about 91.4% on MNIST against about 92.0% for uncompressed DP, with 5.5–12x fewer bits than 64-bit floats. To beat these, our dithered $\alpha=1/2$ point must stay within one point of DP-KFC's accuracy at dithering-level bandwidth, while showing lower GAN-prior reconstruction quality than both $\alpha=0$ variants at the same ε. We have found no reported result on Lacuna for dithered quantization accuracy on CIFAR-10, or for absolute DP-KFC accuracy on PathMNIST, so we will establish both ourselves.

The strongest heuristic leakage defense is Mixed Quantization Enabled Federated Learning to Tackle Gradient Inversion Attacks. It hides per-layer quantization scales from the server and reports DLG PSNR falling from 55.3 to 8.1 on CIFAR-10, with 96.67% MNIST accuracy, but it gives no formal guarantee. We also compare against CENSOR, which samples updates orthogonal to the true gradient and reports about 86% CIFAR-10 accuracy, matching undefended training. All methods use the same architectures (LeNet-5 and a small CNN on CIFAR-10), the same client splits, and the same number of hyperparameter trials. Tuning is done non-privately for every method alike, so no method gains from private tuning.

The key ablation is the $\alpha$ sweep at fixed σ and bits. Holding everything else fixed isolates noise shape as the only variable. A second ablation replaces pink-noise $A$ with the true covariance of the private images. This tells us whether failures come from the shaping idea itself or from estimating $A$ without data.

Why not just…?

Why not just compose DP-KFC with dithered quantization and stop? That composition is our $\alpha=1/2$ point. As a mechanism it really is close to a straightforward combination of DP-KFC and the dithering scheme, and we say so plainly. Neither paper measures inversion, though. The research file's (DP-KFC: Data-Free Preconditioning for Privacy-Preserving Deep Learning) summary lists DP-KFC's effect on leakage as unstudied. Whether whitening helps or hurts an attacker is not known in advance. Sphericalizing the gradient could just as easily make dummy-gradient matching better conditioned for L-BFGS. The contribution is the prediction, the measurement, and the $\alpha$ curve. If $\alpha=1/2$ wins on every axis, the outcome is "this composition is safe, and here is why." If it does not, the curve tells practitioners which $\alpha$ to choose.

Why not just keep quantization scales secret, as mixed quantization does? It already gives PSNR 8.1 with high accuracy. That security rests on the attacker being unable to guess hidden ranges, and an attacker who estimates per-layer scales from the update statistics can break this. Quantamination shows that dynamic quantization scales themselves leak data across a batch. We will run DLG and GAN-prior attacks extended to estimate the scales jointly. If mixed quantization still holds PSNR near 8 under that attack while matching our accuracy and bits, it is a real threat. We would then report that formal DP buys a guarantee but no empirical gain at this scale.

Why not just add more isotropic noise, or prune gradients? More noise lowers ε and accuracy together, whereas changing $\alpha$ moves leakage at fixed ε, so the two are not substitutes. We will plot both on the same accuracy-versus-PSNR axes. If no $\alpha$ beats the isotropic frontier, the claim fails. Pruning gives no formal guarantee, and CENSOR reports that GAN-prior attacks bypass sparsification. We include Top-K pruning at matched bits only as a reference point.

Why not just estimate curvature from public data, as AdaDPS does? AdaDPS preconditions with side information and reports an average 7.7% gain. It is a valid instance of the family, since its preconditioner is also independent of the private data. The catch is that in medical imaging, matching public data is often unavailable, and DP-KFC reports a 4.8% PathMNIST loss with a mismatched proxy. We run public-proxy $A$ as an additional arm on PathMNIST.

Proposed Experiments

The datasets are MNIST, Fashion-MNIST, CIFAR-10, and PathMNIST from MedMNIST v2. We use federated splits of about 15–100 clients and ε ∈ {1, 4, 8} with matched δ. For each $\alpha$ arm we report test accuracy, bits per client per round, and the reconstructions produced by two attacks run on single-client messages at batch sizes 1, 4, and 8. The attacks are DLG with L-BFGS and the GAN-prior inversion of Gradient Inversion with Generative Image Prior. For each reconstruction we report PSNR, MSE, and LPIPS overall and split into low and high eigen-bands of $A$. As a sanity check, we will reproduce the noise-free DLG regime (the paper reports MSE about 0.0069 on CIFAR-100).

The decisive check has three parts. The band-wise errors must follow the predicted $\lambda_k^{1-2\alpha}$ ordering. At matched ε and within one accuracy point, GAN-prior LPIPS must be clearly worse at $\alpha=1/2$ than at $\alpha=0$, with the gap beyond seed variance over five seeds. Dithered and full-precision versions of the same $\alpha$ must give matching attack and accuracy numbers, which confirms the exact-Gaussian property is preserved. If prior-guided reconstruction at $\alpha=1/2$ is no worse than at $\alpha=0$, the leakage claim is refuted. The work then reduces to a bandwidth result plus a negative finding that preconditioning neither helps nor harms against inversion, which is still worth reporting.

Text models are out of scope for the main claim. FILM leaks words through which embedding rows are nonzero, and noise shape should matter little for that. As a limited side check, we will run FILM's code (Princeton-SysML/FILM) on the dithered messages at a single small batch size, to confirm that prediction rather than assume it.