When Clipping Hides Data: Loss-Indexed Reconstruction Risk Under Fixed Privacy Budgets

Differentially private training, usually done with DP-SGD, works in two steps. It caps each example's gradient at a fixed length $C$ (this is "clipping"), and then it adds Gaussian noise scaled to $C$. The resulting privacy number $\epsilon$ depends only on the noise multiplier and the sampling schedule. It does not depend on how long the gradients actually were. Attackers are a different story. A gradient inversion attack rebuilds a training image from a shared gradient by optimizing a fake input until its gradient matches the real one, and such an attack faces a signal whose strength is the clipped gradient's actual length. Consider an example whose true gradient is far shorter than $C$, which happens to well-fit, low-loss examples late in training. That example is buried under noise sized for a much longer gradient. An example whose gradient is normalized to exactly length $C$ is buried much less. Two training runs with identical $\epsilon$ can therefore expose individual examples to reconstruction very differently. Optimization theory without bounded-gradient assumptions tells us which examples, and when: under "self-bounding" or "growth" conditions, an example's gradient norm is controlled by its own loss.

This note proposes to make that link precise and to test it. The tool is a clipping-aware, loss-indexed predictor of how well each example can be reconstructed. With it we can explain and rank the empirical leakage of recent private optimizers that share a formal guarantee but treat gradient magnitude very differently: per-example normalization in HyFreeDP, loss-based value clipping, direction-preserving clipping, and multi-level clipping. The prediction is concrete and falsifiable. At matched $\epsilon$ and matched accuracy, optimizers that pin every clipped gradient to full length (normalization) should leak the most. Fixed-threshold clipping should leak progressively less over training, and the leakage it retains should concentrate on high-loss, often minority, examples.

Core Claim

Consider a single example (or a small client batch) whose gradient $g_i$ is released as $\bar g_i + \sigma C \xi$. Here $\bar g_i = g_i \min(1, C/\|g_i\|)$ is the clipped gradient, $\sigma$ is the noise multiplier, and $\xi$ is standard Gaussian noise. Dividing by $C$ shows that, for an attacker matching directions, the released vector is the unit direction $u_i$ scaled by $r_i = \min(1, \|g_i\|/C)$, plus noise of fixed size $\sigma$. In other words,

$$\text{effective noise-to-signal for example } i \;=\; \frac{\sigma}{r_i}, \qquad r_i \le \min\!\Big(1,\; \frac{c\, f_i(w)^{\alpha/(1+\alpha)}}{C}\Big),$$

where $f_i(w)$ is example $i$'s loss and $c,\alpha$ come from the self-bounding inequality for non-negative losses with Hölder-continuous gradients. That inequality is proved in Stochastic Gradient Descent for Nonconvex Learning without Bounded Gradient Assumptions, which uses it to obtain SGD convergence without a global gradient bound. We reuse it as a bound on leakage instead.

Three consequences follow, and each can be tested. First, normalization ($R_g \to 0^+$, as in Towards hyperparameter-free optimization with differential privacy) sets $r_i = 1$ for every example. Every example then faces the worst-case effective noise $\sigma$ at every step. Second, fixed-$C$ clipping drives $r_i \to 0$ for easy examples as loss falls. This matches the observation in Improved Convergence of Differential Private SGD with Gradient Clipping that clipping frequency vanishes under the weak growth condition. In that regime, easy examples gain extra protection that $\epsilon$ does not record. Third, examples that keep high loss keep $r_i = 1$, so they remain the most reconstructible. This gives a mechanism for the "privacy unfairness" that Understanding Deep Gradient Leakage via Inversion Influence Functions observed under identical noise.

The new element is the per-example factor $1/r_i$ inside a reconstruction-error predictor, forecastable from loss. Prior leakage analyses treat noise as acting on the raw gradient. Prior unbounded-gradient DP analyses evaluate only utility and formal $\epsilon$.

Research Program

The first component is analytical. The inversion influence function ($I^2F$) from Understanding Deep Gradient Leakage via Inversion Influence Functions predicts reconstruction error from the network Jacobian, using Jacobian-vector products. Its noise model, however, ignores clipping. We will rescale its perturbation term by $1/r_i$. This produces a clipping-aware score: the original Jacobian-based quantity, with effective noise replaced by $\sigma/r_i$. We will also derive a loss-only forecast, in which $r_i$ is replaced by the self-bounding upper bound with constants fitted on a held-out set. The loss-only version matters in two settings. One is value clipping, where the optimizer itself scales by loss. The other is forecasting how leakage evolves across training before the gradients are computed.

The second component is a controlled audit of five optimizers at matched $(\epsilon, \delta)$: fixed-$C$ DP-SGD, HyFreeDP normalization, value clipping (DP-SGD-VC), DPSGD-Global-Adapt from Disparate Impact in Differential Privacy from Gradient Misalignment, and PriSMA from Differential Privacy in Distributed Learning: Beyond Uniformly Bounded Stochastic Gradients. We will snapshot each run at early, middle, and late checkpoints. At each checkpoint we will attack client updates of batch size 1, 8, and 32 with two attacks: the cosine-plus-total-variation attack from Inverting Gradients - How easy is it to break privacy in federated learning?, and the diffusion-denoising attack Mjölnir from Gradient Diffusion: A Perturbation-Resilient Gradient Leakage Attack. We use Mjölnir because it is the attack that best strips additive DP noise.

The third component is a design consequence, not a new defense. If the claim holds, the choice of clipping threshold $C$ (or a schedule $C_t$) is a hidden privacy knob at fixed $\epsilon$. Lowering $C$ to track shrinking gradients helps utility but raises $r_i$, and with it empirical exposure. We will trace the frontier of utility against empirical reconstruction rate over a sweep of $C$ schedules at constant $\epsilon$. That gives practitioners a measured trade-off to choose from.

Baselines

The naive reference point is formal $\epsilon$ alone. It predicts identical leakage for all five optimizers at a matched budget, and so it has zero power to rank examples or methods. Any predictor with positive rank correlation to measured reconstruction quality beats it. Showing that the measured differences are large is part of the result.

The strongest existing predictor is unmodified $I^2F$ from Understanding Deep Gradient Leakage via Inversion Influence Functions. It already models directional noise and per-class risk, and its authors report it is over 500 times faster than running an attack on ResNet-152. We will run its public codebase on exactly the same checkpoints, examples, and noise levels as our clipping-aware version, at the same computational cost per example. Beating it means a higher Spearman correlation with per-example attack PSNR, pooled across optimizers and checkpoints. The bar is a margin larger than the bootstrap interval, and in particular a correct ordering of normalization against fixed-$C$ clipping, which uncorrected $I^2F$ cannot produce. No reported result found on Lacuna for $I^2F$'s correlation with attack PSNR under clipped DP-SGD, so we will establish that number ourselves.

The strongest attack baseline sets the scale for "leakage." Mjölnir reports PSNR 18.25 on CIFAR-100 at $\epsilon = 1$, where DLG gets 0.112 (Gradient Diffusion). The cosine attack reaches about 14 dB on a trained ResNet-20 without noise (Inverting Gradients). We will train Mjölnir's denoiser on surrogate gradients clipped by each optimizer's own rule, so the attacker is not handicapped by a mismatch.

For utility, the reference points are PriSMA's reported 55.57% CIFAR-10 accuracy at $\epsilon = 4$ under local DP, against 54.87% for clipped DP-SGD (Differential Privacy in Distributed Learning), and DPSGD-Global-Adapt's 65.5% on the 1% minority MNIST class, against 26.3% for standard DP-SGD (Disparate Impact from Gradient Misalignment). All optimizers get the same hyperparameter search budget. The privacy cost of tuning will be ignored uniformly across methods.

Two ablations isolate the key ingredient. The first replaces $r_i$ with the true clipped norm ratio (an oracle). The second replaces it with the loss-only self-bounding forecast. If the oracle helps and the forecast does not, the clipping factor matters but the growth-condition link does not.

Why not just…?

Why not just read the per-example gradient norm directly instead of invoking growth conditions? This is a real threat to the theoretical half of the proposal. Whoever trains the model can compute $\|g_i\|$, and the oracle ablation above does exactly that. We expect the oracle to be the better retrospective predictor. The loss-based form earns its place only if it does two things. It must forecast leakage at future checkpoints from current losses, and it must explain value clipping, where loss is the quantity the optimizer itself uses. If the loss-only forecast loses badly to the oracle in both cases, we will report the growth condition as explanatory only and keep the norm-based predictor as the deliverable.

Why not just trust $\epsilon$, since DP already bounds worst-case leakage? The guarantee is a worst case over neighbors. It is silent on how reconstructible a typical or minority example is in practice. The disparate risk documented by $I^2F$, and Mjölnir's success at $\epsilon = 1$, show that empirical exposure varies widely beneath a fixed $\epsilon$. Our matched-$\epsilon$ audit measures that variation directly.

Why not just run the attacks and skip the predictor? For one model, that is fine. A sweep over optimizers, $C$ schedules, checkpoints, and examples is the expensive case that $I^2F$ was built to avoid. The predictor is useful only if it ranks configurations correctly at a fraction of the cost, which is exactly what the baseline comparison tests.

Why not just use larger client batches? Inverting Gradients recovers recognizable images from batches of 100. Concealing Sensitive Samples against Gradient Leakage in Federated Learning shows that averaging conceals examples only when their gradients occupy overlapping directions. We include batch size 32 to check whether the $1/r_i$ effect survives aggregation. Within a batch, high-$r_i$ examples should dominate the direction and be the ones recovered.

Proposed Experiments

We will use CIFAR-10 and CIFAR-100 with ResNet-20, matching the inversion literature. We add MNIST with digit 8 subsampled to 1%, and CelebA with the eyeglasses minority, to test whether high-loss minority examples carry the residual leakage. The budgets are $\epsilon \in \{1, 4, 8\}$. Metrics are per-example PSNR under both attacks, test accuracy overall and per group, and Spearman correlation between predictor and PSNR.

Three outcomes would be decisive. First, at matched $\epsilon$ and accuracy within one point, HyFreeDP normalization should yield measurably higher mean attack PSNR than fixed-$C$ DP-SGD. Second, under fixed-$C$, per-example PSNR should fall across checkpoints in step with that example's loss, while minority examples should stay near the normalization level. Third, the clipping-aware $I^2F$ should order methods and examples better than uncorrected $I^2F$. If normalization and fixed-$C$ leak equally at late checkpoints, the core claim is wrong: the attack would be recovering direction regardless of noise-to-signal ratio, and we would report that plainly.

A secondary check targets the tension raised by DPSGD-Global-Adapt. Preserving the unclipped direction should help utility but should not by itself raise cosine-attack success, because $r_i$ rather than alignment governs signal strength. Finding the opposite would be an independent and publishable negative result about fairness-motivated clipping.