Poisoning the Consensus in Architecture-Agnostic Federated Learning

Federated learning lets many parties train a shared model without pooling their data. The classic recipe averages model weights, which only works if every participant runs the exact same network — impossible when devices range from tiny sensors to GPU servers, or when institutions treat their architectures as trade secrets. Architecture-agnostic protocols solve this by moving communication from weights to function: each client answers the same quiz. Every participant runs a shared, unlabeled public reference dataset through its own model and sends back its predicted class scores (logits); the server averages these into a consensus; each client then distills that consensus into its own private model. This is how FedMD and FedDF let a ResNet, a ShuffleNet, and a hospital's proprietary network collaborate without ever exchanging a weight.

The problem is that this single channel — a few probability vectors per reference image — now carries everything: the training signal, the privacy risk, and the attack surface. It is already known that a passive eavesdropper can invert these logits and recover private training images (Breaching FedMD), that differential privacy can be attached to the channel with almost no accuracy cost (FEDMD-NFDP), and that distillation has been claimed both to filter backdoors (RKD) and to preserve and transfer them (DOORPING). But each result studies one threat in isolation, and all of them assume the consensus itself is honest. It is not: whoever shapes the consensus shapes what every black-box client is forced to say.

Core Claim

We claim three things. First, the logit channel can be actively weaponized: an attacker who controls the consensus — a malicious server, or a colluding block of clients — can craft it so that honest, architecturally invisible clients are forced to leak private data and to distill backdoors into their own models. Second, this threat is the functional-space counterpart of active gradient-leakage attacks in parameter space (The Gradient Puppeteer, CGI), which both fail to apply here because they require shared architectures and gradient access; nobody has built the functional-space version, and it is not a mechanical translation. Third, the defense must be evaluated on all three axes at once — privacy leakage, backdoor success, and clean accuracy — because the same logit vector is the medium for all three, and a defense tuned on one axis can open another. We will map this privacy–utility–robustness frontier and propose a client-side defense on it.

Research Program

The attack: consensus steering. The passive inversion of Breaching FedMD exploits the "confidence gap": where a client's private knowledge disagrees with the ensemble, its logits deviate informatively, and an inversion network trained on paired logits recovers the private image — 99.5% recovery accuracy on LFW from a single client, still 79% from ten averaged clients. Our attacker does not merely eavesdrop on that gap; it manufactures it. The mechanism mirrors the class-blindness trick of CGI, where a poisoned global model forces honest clients' updates for one class to dominate the aggregate. In logit space: the attacker submits (or serves) a consensus that is confidently wrong on chosen reference points — for instance, assigning near-zero probability to the plausible class of a reference image. Any honest client whose private data covers that class must push back hard during the digest step, and the magnitude and direction of that correction are a fingerprint of the client's private distribution. Formally, the attacker crafts the consensus distribution $u$ on reference point $z$ to maximize the expected correction it provokes:

$$\max_{u}\; \mathbb{E}_{\text{honest } c}\big[\mathrm{KL}\big(p_c(z)\,\big\|\,u\big)\big],$$

where $p_c(z)$ is client $c$'s logit distribution on $z$, subject to $u$ remaining a plausible distribution so the manipulation survives casual inspection. Because the exploited signal is the honest clients' own logits, the attack operates through the averaged consensus by construction — it does not need to see any individual client's submission. A second variant fuses backdoor and exfiltration: the attacker seeds the reference stream with trigger-carrying samples, so honest clients simultaneously leak their behavior on the trigger and distill the trigger→target association into their own architectures, which the attacker never sees — the federated version of what DOORPING demonstrated for centralized dataset distillation, where bi-level-optimized triggers reached nearly 100% attack success while evading nine defenses, including STRIP and Neural Cleanse. This also directly tests the unresolved contradiction between RKD, which treats distillation as a backdoor filter, and DOORPING, which shows distillation-optimized backdoors survive distillation.

The defense: a DP logit channel targeted at the confidence gap. Our defense lives on the client side, before transmission: each client ranks its logits, keeps the top few, and perturbs the transmitted vector with Gaussian noise whose scale is set by differential-privacy accounting on the logit output, combined with the subsampling mechanism FEDMD-NFDP proved gives $(\epsilon,\delta)$-DP without additive noise (randomly drawing $k$ of $n$ local samples makes the transmitted logits DP by post-processing). The key ingredient we isolate is where the noise goes: uniform noise over all classes, versus noise concentrated on the low-dimensional subspace that paired-logits inversion actually reads — the deviation from consensus. Transmitting $\tilde{p} = \Pi_\Delta(p_c + \eta)$ with $\eta \sim \mathcal{N}(0,\sigma^2 I)$ ($\Pi_\Delta$ projects back onto the probability simplex) is the naive version; the targeted version calibrates $\sigma$ per reference point to the expected correction magnitude, so honest disagreement is masked at minimal utility cost. The open scientific question is not whether noise helps — DLG showed long ago that noise only stops reconstruction at scales that hurt training — but whether the same perturbation that blinds inversion also blunts backdoor distillation, as Label-DP did against BadNets in centralized training (attack success near 0% at 89.53% CIFAR-10 accuracy in Does Differential Privacy Prevent Backdoor Attacks in Practice?), or whether the two axes demand incompatible settings of $\epsilon$.

Baselines

The naive reference point is doing nothing: plain FedMD-style logit exchange under attack. This is not a strawman — Breaching FedMD already reports 99.5% single-client recovery accuracy on LFW and 79% at $K=10$ against an unmodified protocol, so the do-nothing privacy number is essentially "total leakage," and FedMD fixes the do-nothing utility reference as roughly a 20% accuracy boost over isolated training. Any defense must be measured against both.

The strongest existing privacy defense is FEDMD-NFDP, which reports 96.63% on FEMNIST against a 98.00% non-private centralized baseline, 74.40% on CIFAR-10 at subsample size $k=16$, and convergence within 20 rounds. It is the strongest competitor because it is the only method in the file that already provides formal privacy for the exact logit-exchange channel we study, at almost no accuracy cost. We will run it under our steering attack with the same federation, the same architectures, the same reference data, and the same tuning budget. Critically, its authors never evaluated it against any attack — neither inversion nor backdoors — so beating it means: holding its reported accuracy within about one point on FEMNIST and CIFAR-10 while substantially reducing recovery accuracy under active steering (where its subsampling-only guarantee may or may not hold) and, separately, establishing whether it suppresses backdoors at all. If subsampling alone turns out to suffice, our defense reduces to it and the attack's novelty carries the paper; we consider either outcome a result.

The strongest backdoor competitor is RKD, which keeps main-task accuracy above 80% and attack success below 17% with up to 60% compromised clients under extreme non-IID data ($\alpha=0.1$), at roughly 42 seconds of defense time per round versus over 140 for FedDF-style distillation. Its pipeline (cosine-similarity clustering plus median selection plus ensemble distillation) was built around parameter updates, so we will adapt it faithfully to logit vectors — clustering clients by the similarity of their submitted logit matrices — and give it the same data, compute, and tuning budget. Beating it means matching its ASR suppression while (a) also cutting privacy leakage, which it does not address at all, and (b) remaining stable where its reported baseline defenses (FoolsGold, FLAME) destabilize at $\alpha=0.1$.

Finally, two ablations isolate our key ingredient. Uniform Gaussian logit noise at matched $\epsilon$ tests whether targeting the deviation-from-consensus subspace actually buys anything over flat noise. And the steering attack run with an honest consensus reproduces the passive setting, confirming that any measured amplification comes from the attacker's crafting and not from our reimplementation of the inversion network.

Why not just…?

Why not just add Gaussian noise to the transmitted logits? This is the simplest defense imaginable, and we treat it as a genuine threat rather than a strawman because logits are bounded, post-softmax quantities — noise may be far cheaper there than on gradients. The evidence against it is real but not decisive: DLG found noise only halts reconstruction above scale $10^{-2}$, at which point utility suffers, and FEDMD-NFDP reports that additive local DP in federated distillation causes high variance and frequent convergence failures, sometimes leaving models no better than random classifiers. We will not argue around this: the noise-sweep ablation at matched privacy budgets is a headline experiment, and if flat noise matches our targeted version at equal accuracy and $\epsilon$, the targeting mechanism dies and the paper's defense contribution reduces to "calibrated noise works better on logits than the literature suggests" — still a finding, but a smaller one.

Why not just use Secure Aggregation over the logit vectors? This is the sharpest objection, because logits have a fixed dimension (the number of classes), so element-wise encrypted summation is architecturally compatible — unlike weight-space Secure Aggregation, which the file notes is inapplicable to heterogeneous federations. It would blind the server to individual clients' logits, killing the single-client version of inversion. Three things keep it from closing the question. First, Breaching FedMD still achieved 79% recovery on LFW from ten averaged clients, so the aggregate itself leaks. Second, and this is the structural point, our steering attack operates through the aggregate by design: the poisoned consensus is the very thing honest clients distill from, so the information the attacker extracts flows through the averaged channel that Secure Aggregation is supposed to deliver intact. Third, Secure Aggregation does nothing for the backdoor axis of the trilemma. We will implement a Secure-Aggregation-on-logits baseline and let it settle the matter empirically: if it neutralizes single-client inversion but our attack still extracts through the aggregate, that contrast is one of our decisive results. We are honest that if it neutralizes both, our attack's practical relevance shrinks to settings with asynchronous participation or client-selected reference subsets, where dropless aggregation breaks down.

Why not just filter the malicious contributions with a robust aggregation rule, RKD-style? The deep problem is that in the exfiltration attack the leak comes from the honest clients' logits — there is nothing outlier-shaped to filter without filtering out the collaboration itself. For the backdoor-injection variant, filtering is more plausible, and we will test it, but the file's evidence is discouraging: DOORPING evaded nine outlier-based defenses precisely because the backdoor was embedded in the core data distribution rather than appearing as an anomaly, The Gradient Puppeteer improved stealthiness by 45% against signal-to-noise checks by spreading its payload uniformly, and RKD itself reports that FoolsGold and FLAME destabilize at extreme non-IID, either rejecting legitimate clients or admitting attacks. The honest position: robust filtering may well handle the robustness axis, and if it does we will say so — but it cannot handle the privacy axis, because the signal it would need to suppress is the honest clients' own knowledge. That asymmetry is the core argument for a channel-level defense.

Proposed Experiments

We will build a FedMD/FedDF-style testbed with 20–100 clients partitioned by Dirichlet non-IID splits at $\alpha \in \{0.1, 0.5\}$, with genuinely heterogeneous architectures per the ensemble FedDF demonstrated (ResNet-20, ResNet-32, ShuffleNetV2) plus smaller CNNs, and a public reference set drawn from a shifted distribution (as FedDF showed, ImageNet can distill CIFAR models, so reference-set mismatch is realistic and itself a variable to study).

Datasets follow the file's benchmarks: CIFAR-10 and CIFAR-100 for utility and backdoor evaluation, FEMNIST for direct comparison against FEDMD-NFDP's 96.63%, Fashion-MNIST for the backdoor suite, and the facial benchmarks LFW and FaceScrub for leakage, because that is the protocol Breaching FedMD reports on (99.5% and 94% single-client recovery; 79% at $K=10$ on LFW) — measuring our attack with its inversion network and its metric (recovery accuracy) makes the amplification claim falsifiable against a published number rather than our own reimplementation.

Attacks run in four configurations: reproduced passive inversion (calibration check), consensus-steering exfiltration at varying attacker fractions and consensus-poisoning budgets, trigger-seeded reference poisoning (federated DOORPING), and FDLA-style availability poisoning as a stress test — it achieved 58.20% accuracy degradation on SVHN with 30% attackers versus 55.36% for zero-effort poisoning, so it defines the floor an availability attack must beat to be interesting.

Metrics are the trilemma itself: recovery accuracy on LFW/FaceScrub (privacy), attack success rate and main-task accuracy (robustness and utility, reported as the ASR–accuracy pairs the file's papers use, e.g., RKD's >80%/<17% and the Label-DP result of ~0% ASR at 89.53% CIFAR-10 accuracy), and the formal $\epsilon$ with convergence rounds (FEDMD-NFDP converged in 20 rounds; we hold ourselves to comparable round budgets).

The decisive checks are four. First, steering amplification: recovery accuracy under crafted consensus must exceed the passive baseline at matched $K$, and, crucially, must remain substantial under Secure Aggregation, where only the aggregate is visible. Second, the NFDP question: whether FEDMD-NFDP's subsampling, unevaluated against any attack by its authors, withstands active steering or leaves the door open — either answer resolves an explicit open question. Third, the frontier: our targeted DP logit channel must dominate flat noise and NFDP on a three-axis plot (recovery accuracy, ASR, clean accuracy) at matched $\epsilon$ and compute; the concrete target is clean accuracy within one point of FEDMD-NFDP's 96.63% FEMNIST figure while driving single-client recovery far below its 99.5% passive value and ASR below RKD's 17%. Fourth, the distillation-filter contradiction: whether backdoors optimized through the distillation objective transfer across heterogeneous client architectures as DOORPING's did across ConvNet, AlexNet, and VGG11 — settling, with evidence, whether distillation purges trojans or launders them.