Warm-Started Search for Architectures Whose Gradients Don't Leak

Federated learning was built on a promise that turned out to be false: clients share only gradient updates, not raw data, but an adversary who knows the model architecture can treat the shared gradients as a system of equations and solve backwards for the private training inputs. This is gradient inversion, demonstrated from the first pixel-perfect reconstructions of randomly initialized networks in Deep Leakage from Gradients to high-resolution reconstructions from a trained 152-layer ResNet in Inverting Gradients. Meanwhile, a completely separate literature — weight inheritance — has made it cheap to explore architectural variations: instead of retraining every candidate network from random noise, function-preserving "network morphisms" grow or rewire a network while keeping its input-output mapping mathematically identical, which is how Path-Level Network Transformation for Efficient Architecture Search cut architecture search cost by a factor of 240. These two literatures have never been made to meet on the defender's side of the table.

The closest attempts each stop short. GI-NAS uses neural architecture search to help the attacker, searching for the best reconstruction network to invert a given gradient — the victim's model stays a fixed, static network. SuperFed brings supernet weight sharing into federated learning but performs no privacy evaluation at all. Automatic Transformation Search Against Deep Leakage From Gradients (ATS) already showed that searching for privacy is a viable idea, but it searches only over 50 input-data augmentation policies, holding the model's topology fixed. This proposal occupies the empty corner: using weight inheritance both as a scientific instrument and as an efficiency mechanism to search the victim's architecture space for topologies whose gradients are structurally hard to invert, at little or no cost in task accuracy.

Core Claim

The central observation is that a function-preserving morphism is a controlled experiment on leakage. When Cai et al. split a layer into parallel branches via Add-merge (replicating the layer and scaling outputs by 0.5) or Concat-merge (dividing filter channels across paths), the child network computes exactly the same function as the parent — yet backpropagation now distributes the gradient signal across different, partially redundant parameter tensors. Since the forward mapping is unchanged, any change in an attacker's reconstruction fidelity is caused purely by the geometry of the gradients, not by what the model has learned. This gives us, for the first time, a causal knob on gradient leakage that does not perturb utility at the moment of the change — unlike every deployed defense, which trades accuracy for privacy by adding noise, pruning gradients, or transforming inputs.

We claim three things. First, gradient invertibility is a measurable, varying function of how a network's parameters are arranged, even when the computed function is held fixed — something neither Geiping et al., who showed depth alone does not protect (a 152-layer ResNet is as leaky as shallow CNNs because its parameter richness over-determines the inversion problem), nor Wu et al., who showed reconstruction depends on per-sample updates occupying distinct subspaces ("low entanglement"), has tested. Second, whether branch-splitting morphisms increase entanglement (protective) or add redundant equations (exposing) is an open empirical question whose answer determines whether a defensive search is worth running at all — we settle it in Phase 1 below. Third, if there is signal, weight inheritance makes a defensive architecture search affordable: candidates warm-started by morphism can be screened with training-free proxies, the same trick that lets ATS evaluate a policy in a few GPU hours and that GI-NAS uses when it found that a candidate's initial gradient-matching loss strongly predicts its final reconstruction quality.

The search objective combines two training-free scores in the spirit of ATS:

$$ \max_{A}\; \alpha\, S_{\text{acc}}(A) + (1-\alpha)\, S_{\text{pri}}(A), $$

where $A$ is a candidate architecture reached from the current model by a sequence of morphisms, $S_{\text{acc}}$ is a Jacobian-based utility proxy, and $S_{\text{pri}}$ is a privacy score measuring how well a fixed probe attacker (cosine-distance matching, Geiping et al.) reconstructs a held-out probe batch from the warm-started candidate's gradients — lower reconstruction fidelity means a higher score. The candidate's inherited weights mean both scores are computable without any retraining, which is exactly the cold-start problem that Real et al. and Peng et al. solved for evolutionary search and that Elsken et al. identified as the core bottleneck of architecture search generally.

Research Program

Phase 1 is a measurement study that establishes whether the premise holds. We take pairs of parent and morphed-child networks (Add-merge, Concat-merge, and the layer-insertion operators of Network Morphism and Efficient Neural Architecture Search with Network Morphism) where the child's function is provably identical to the parent's, run a standard inversion attack on both under matched conditions, and measure reconstruction quality (PSNR and LPIPS) across training rounds. In parallel, we measure the leakage trajectory of warm-started versus cold-started children: Zhu et al. showed random initializations leak pixel-perfect data at step zero, while Geiping et al. showed fully trained models bias reconstructions toward class prototypes — inherited weights sit in an unstudied middle state, common in any federated system that deploys searched or evolving architectures, as SuperFed does at scale with roughly $5 \times 10^{18}$ weight-shared subnets and no privacy analysis.

Phase 2 turns the measurement into a search. Starting from a trained federated model, we run an evolutionary walk over the morphism space — using the genealogy-tracking crossover design of Zhu et al. to keep children valid and warm-started — scoring each candidate with the combined objective above and promoting candidates that reduce probe-attack fidelity without hurting the utility proxy. Short fine-tuning epochs confirm accuracy before a candidate is committed, following the observation of Peng et al. that topologically compatible inheritance reaches peak fitness with minimal additional gradient updates.

Phase 3 is adaptive evaluation. The architecture is public knowledge in these threat models (both Zhu et al. and Geiping et al. assume the attacker knows it), so resistance must be structural, not secrecy. We attack the searched architectures with the strongest available machinery: generative-prior inversion GIAS from Jeon et al., which defeats batch-size defenses at batch 32, a relaxed-assumption attacker following Huang et al. who does not receive BatchNorm statistics or exact batch labels, and a fully adaptive GI-NAS-style attacker that co-searches its inversion architecture against ours. We also transfer to text, where image augmentations cannot be applied: the Princeton-SysML/FILM codebase implements gradient inversion against language models, and Shakespeare — already a SuperFed benchmark — gives us a matched setting.

Baselines

The naive reference point is standard federated training with a fixed backbone and no defense. Under this setting the file reports concrete attack numbers we must improve on: Geiping et al. reach roughly 14 dB PSNR reconstruction on a trained ResNet-20 on CIFAR-10 (versus about 7 dB for the older Euclidean-matching attack), and GIAS in Jeon et al. achieves 15.58 dB PSNR at batch size 32 on 64×64 ImageNet. Any defense we propose must substantially cut these numbers at matched or better task accuracy; this baseline fixes the floor.

The strongest existing method is ATS, Automatic Transformation Search, which searches augmentation policies guided by a privacy score and a training-free accuracy proxy, cutting reconstruction PSNR from 10–16 dB down to 5–8 dB on CIFAR-100 and Fashion MNIST while dropping accuracy by often less than 1%. It is the strongest competitor because it is the only prior work that searches anything for privacy, does so cheaply, and pays almost no utility tax. We will run it under identical conditions: same datasets, same attack suite (Geiping, GIAS, adaptive GI-NAS-style), same total compute budget and the same tuning budget for its search hyperparameters as ours. Beating ATS means matching or exceeding its 5–8 dB PSNR range at no more than its ~1% accuracy drop, or matching its privacy at materially better accuracy, or — the cleanest win — achieving comparable protection in settings where its image transforms cannot apply at all, such as the Shakespeare text task. A second strong defense baseline is the combined GradPrune (0.9) plus Intra-InstaHide ($k=4$) configuration of Huang et al., which on CIFAR-10 at batch size 32 degrades reconstruction to an LPIPS of 0.73 (from 0.45 with no defense) at the cost of falling from 93.37% to 86.10% accuracy; we run it with its published hyperparameters, and beating it means better privacy-utility operating points on the same axes.

Finally, two ablations isolate the proposal's key ingredients. To isolate weight inheritance, we rerun the same search with candidates trained from scratch under a reduced per-candidate budget that equalizes total compute; if cold-start search finds equally leakage-resistant architectures, inheritance is a convenience, not the enabling mechanism — though the 240× efficiency gap reported by Cai et al. for morphism-based search makes this unlikely. To isolate the privacy objective, we run a random morphism walk of equal length with no $S_{\text{pri}}$ term; if random topological drift protects as much as guided search, the search is doing nothing a generic structural change would not.

Why not just…?

Why not just add differential-privacy noise to the gradients? Because the file's evidence says the utility price is steep and the guarantee is stronger than needed. Zhu et al. report that Gaussian or Laplacian noise only halts inversion at magnitudes above $10^{-2}$, which severely degrades training accuracy, and the systematic evaluation of Liu et al. concludes that formal differential privacy is "overkill" for data reconstruction — a defense can make reconstruction fail without satisfying any DP bound, and enforcing the bound destroys utility. Wang et al. further show user-level GAN attacks bypassing moderate noise. DP also composes with rather than competes against our approach, so we will report the combination as a secondary result.

Why not just prune the gradients? Because pruning's effectiveness collapses against modern attacks. Huang et al. find that against strong directional attacks, pruning needs to remove more than 99% of gradient entries, which costs roughly 10% accuracy; GI-NAS maintains high-fidelity reconstruction even under 90% pruning; and GIAS in Jeon et al. reconstructs images even when 99% of gradient values are removed. Pruning is a real but weak baseline, and we include it via the Huang configuration above.

Why not just use ATS or OASIS-style augmentations? This is the genuine threat, and we treat it as such. ATS already achieves 5–8 dB PSNR at under 1% accuracy drop on vision benchmarks, and OASIS drops active-attack PSNR from roughly 140 dB to 15–20 dB while keeping ImageNet accuracy above 90%. If augmentations alone matched our searched architectures everywhere, the architectural contribution would collapse. Three experiments settle it: a head-to-head under matched budgets and matched adaptive attackers on CIFAR-10, CIFAR-100, Fashion MNIST, CelebA, and ImageNet subsets; a composition test, since an architecture-level defense and an input-level defense act on different mechanisms and may add; and the text transfer on Shakespeare using the FILM attack, where rotations, shears, and flips have no analogue and ATS's search space is undefined. If ATS matches us on vision and composes additively, the honest framing of our contribution becomes "architecture search extends searchable privacy to non-vision domains and stacks with augmentation search" — a narrower but still real claim.

Proposed Experiments and Decisive Checks

Experiments run on CIFAR-10, CIFAR-100, Fashion MNIST, CelebA, FFHQ, 64×64 and 25-class ImageNet subsets, and Shakespeare, spanning the benchmarks used by the attack and defense papers in the file. The attack suite is DLG, the cosine-distance attack of Geiping et al., GIAS, and an adaptive GI-NAS-style attacker that re-searches its inversion network against our final architectures; we additionally report a relaxed-assumption attacker without BatchNorm statistics per Huang et al.. Metrics are reconstruction PSNR and LPIPS for privacy, and task accuracy (and, on text, perplexity) for utility, traced across federated rounds to capture the warm-start dynamics of Phase 1. No reported result found on Lacuna for inversion fidelity under any weight-inheritance scheme, on any of these datasets — which is precisely the hole this proposal fills.

The decisive checks are stated in advance so failure is informative. First, if Phase 1 shows that function-preserving morphisms shift attacker PSNR by less than about 1 dB across a broad sample of transformations, the premise that parameterization causally controls leakage is wrong, and the proposal should stop at a well-documented negative result. Second, if guided search does not beat the random-morphism ablation, the privacy objective adds nothing over generic structural change. Third, if the searched architectures hold up against the adaptive GI-NAS-style attacker but not against GIAS at batch 32, the defense is brittle exactly where current attacks are strongest, and we report that boundary honestly. A successful run of the program delivers the first architecture-level, search-discovered defense against gradient inversion, an inheritance-based search that makes it affordable, and the first causal measurements of how warm-started and morphed parameterizations leak — closing the gap that SuperFed left open when it deployed weight-shared federated supernets without a single privacy experiment.