Steering Federated Training Out of Leaky Regions

In federated learning, clients train a shared model by sending gradient updates to a server instead of raw data. Those gradients can still be inverted to recover the training images. Current defenses treat each round's leakage as a fixed property of that round and respond by adding noise, pruning layers, or disguising the update. That framing misses a feedback loop. How much a gradient reveals depends on the current model weights, and the update a client sends this round helps decide next round's weights. A client's defensive choice today therefore changes the risk it will face tomorrow. This is the structure that operations researchers call decision-dependent uncertainty: the decision reshapes the uncertainty instead of merely reacting to it.

We propose to make that loop explicit. At every round the client computes a fast, differentiable estimate of how invertible its gradients will be at the next weights. It then projects its update onto the set of updates that keep this estimate above a safety threshold, so the training trajectory is steered toward weights whose gradients are hard to invert. Noise is still added to protect the current round. The claim is narrow and testable. At matched final accuracy, steering the trajectory should lower the worst-case reconstruction quality across the whole training run, measured against strong and adaptive attackers. It should do better than calibrating noise round by round, because a per-round rule pays the full cost of every leaky region the model drifts into, while steering can avoid some of those regions altogether.

Core Claim and Mechanism

Two findings motivate the proposal. Bayesian Framework for Gradient Leakage recasts inversion as posterior inference and finds that models are most vulnerable early in training. In the first 10–20 steps gradients are large and easy to invert, and that window defeats defenses such as ATS. Leakage is therefore a property of where the weights are, not a constant. Understanding Deep Gradient Leakage via Inversion Influence Functions shows that weight-level choices, initialization in particular, govern risk: uniform initialization leaks more than Kaiming or Xavier. That paper also supplies the tool we reuse. Its inversion influence function, which we write I²F, gives a closed-form account of how gradient changes move the attacker's reconstruction. It also yields a lower bound on reconstruction error, $I_{lb}(W)$, built from the top eigenvalue of a Jacobian and computed with Jacobian-vector products. The bound runs over 500x faster than running an attack on ResNet152. The authors suggest using I²F as a training regularizer but never study it along a trajectory. We do.

The mechanism borrows from Projected Gradient Descent for Constrained Decision-Dependent Optimization. That paper introduces repeated projected gradient descent (RPGD) for problems whose linear feasible set moves with the current decision. It proves feasibility at every iteration and convergence to an equilibrium for step sizes within a "Goldilocks" range, neither too small nor too large. On the Sfpark parking data, RPGD has zero constraint violations, while repeated dual ascent violates the constraints for the first 20+ iterations.

$I_{lb}$ is nonlinear in the weights. We linearize it at the current weights $W_k$, which gives a half-space of allowed updates $\Delta$:

$$H(W_k)=\{\Delta:\ I_{lb}(W_k)+\langle \nabla_W I_{lb}(W_k),\Delta\rangle \ge \tau\},\qquad \Delta_k=\Pi_{H(W_k)}\big(-\eta\, g_k\big)+\xi_k.$$

Here $\tau$ is the client's target floor on reconstruction error, $\eta$ is the step size, $g_k$ is the clean local gradient, $\Pi$ is Euclidean projection, and $\xi_k$ is noise aligned with the small singular directions of the Jacobian. I²F identifies that alignment as the efficient one. Projection onto a half-space has a closed form, so the per-round cost is dominated by computing $\nabla_W I_{lb}$. That gradient comes from power iteration plus the standard formula for the derivative of an eigenvalue, $v^\top(\partial J)v$, all done with Jacobian-vector products.

The linearized set moves with $W_k$, so the setting is exactly RPGD's moving-linear-constraint case. This lets us ask whether that paper's step-size range carries over to training a neural network.

The scope is a passive, honest-but-curious server. An active server that crafts weights, as considered in OASIS, controls the weights directly, and steering cannot protect against it.

Research Program

The work has three parts. The first is building the steered client. That means computing $\nabla_W I_{lb}$ for LeNet and ResNet18 with the public I²F code, plus an aggregation rule in which each client's projected update determines its contribution to the next global weights.

The second part asks whether the proxy can be trusted along a trajectory, and it is the scientifically riskiest piece. I²F assumes an attacker who finds the global optimum and relies on a first-order approximation. Pushing $I_{lb}$ upward could therefore exploit those approximation errors instead of reducing real leakage, a Goodhart failure. We will measure, round by round, the correlation between $I_{lb}$ and the error of actual attacks on steered and unsteered trajectories. We will also test whether steering decouples them.

The third part models the attacker as accumulating information over rounds. GIML, from Gradient Inversion with Generative Image Prior, meta-learns an image generator from the gradient stream. Its reconstruction quality can jump suddenly once the prior is learned, which violates the smooth-response assumptions behind RPGD. Our safety criterion is therefore the worst round over the whole trajectory, not the average round.

Baselines

The naive reference point is undefended FedSGD/FedAvg training. On MNIST it is the setting in which Concealing Sensitive Samples against Gradient Leakage in Federated Learning reports a reconstruction PSNR of 59.20 dB.

The strongest published defense is DCS² from the same paper. DCS² optimizes decoy samples whose gradients match the sensitive samples but which look different, then projects the result onto the subspace of the batch gradient. It reports a PSNR of 7.84 dB on MNIST, an SSIM of 0.15 on CIFAR-10, and 65.68% accuracy on TinyImageNet against 52.06% for Soteria. It is the strongest competitor because it already reshapes the attacker's problem through projection, but it does so within each round. We run it with the authors' settings on identical data splits and batch sizes.

Isotropic DP-Gaussian noise with clipping is the standard reviewers expect. We tune it to match the final accuracy of every other method.

The most dangerous baseline is our own myopic ablation. It uses the same I²F-aligned noise $\xi_k$, with its scale set each round from $I_{lb}(W_k)$, but no projection. It isolates the one new ingredient, looking ahead to future weights.

The second ablation is a heuristic schedule that adds heavy noise during the first 20 rounds, which the Bayesian paper's early-vulnerability result directly suggests. We pair it with Kaiming initialization.

The third ablation replaces projection with a dual-ascent penalty on the same constraint. It tests whether in-run violations recur, as they did in the Sfpark experiments.

Fairness rules apply to all methods. Every method gets the same number of rounds, the same clients and data, and the same budget of 20 tuning configurations. All methods are compared at final accuracy within one point of each other. Beating a baseline means a lower worst-round PSNR (pre-registered at 2 dB or more) or a lower worst-round SSIM, averaged over seeds and attacks, at matched accuracy. On per-class worst cases, the bar is that the gap between the most and least protected classes should not widen. I²F identified this per-class disparity on MNIST, where digits 5 and 8 remain the easiest to recover. No reported result on Lacuna was found for round-adaptive or I²F-scheduled noise defenses, so these baselines will be run fresh.

Why not just…?

Why not just use DP-SGD? Isotropic noise is provable, but I²F shows vulnerability is not isotropic. Noise spent in robust directions wastes accuracy while the vulnerable directions stay underprotected, and fixed noise leaves some classes reconstructible. Our matched-accuracy comparison measures this cost directly. If DP-SGD reaches the same worst-round PSNR at matched accuracy, the proposal adds nothing over it.

Why not just calibrate noise each round from $I_{lb}(W_k)$? This is the real threat. It reuses the same proxy, needs no gradient of $I_{lb}$, and may capture most of the benefit. If trajectories rarely enter regions that steering could avoid, then looking ahead is pointless. The myopic ablation settles the question. If it matches steering at equal accuracy, we will report that steering is unnecessary and that per-round I²F calibration is the contribution worth keeping.

Why not just warm up on public data or skip the early rounds? The early-vulnerability finding implies that much of the risk is concentrated in a known window. Public-data warm-up plus good initialization may close it cheaply. This is also a real competitor wherever public data exist. We include the early-heavy-noise baseline, and in addition a public-warm-up variant on CelebA using FFHQ as the public data. Steering has to win after the warm-up period, or in settings without public data, to justify itself.

Why not just use DCS²? DCS² is strong within a single round, but it never considers how its projected updates shape later weights. It is also untested against an attacker who knows the projection. We run the likelihood-aware Bayesian attack against both DCS² and our method. Either method failing under that attack, the way PRECODE collapses to PSNR > 150 dB, counts as a failure.

Proposed Experiments

We simulate federated training on MNIST and CIFAR-10 with LeNet and ResNet18, on CelebA, and on TinyImageNet, with batch sizes from 1 to 32. The attacks are pixel-space gradient matching, GIAS with a generative prior, GIML accumulated over rounds, and the Bayesian attacker given full knowledge of each defense, including our projection and $\tau$. We report reconstruction PSNR and SSIM per round and per class, the worst round over the trajectory, final accuracy, and the computational overhead of each defense.

Three checks decide the outcome. The first is whether steering beats the myopic ablation at matched accuracy. If not, the decision-dependent framing fails. The second is whether the correlation between $I_{lb}$ and real attack error holds on steered trajectories. If it breaks, the defense is gaming its own proxy. The third is whether the Goldilocks step-size range predicted by RPGD theory matches the range in which steering stays feasible without diverging. That would show whether the theory transfers to network training.