Client-Side Isolation Checks Against Poisoned Adapters in Federated Fine-Tuning

Federated learning trains a shared model across many devices without collecting their data. To keep bandwidth manageable for large pretrained models, clients increasingly freeze the big network and send back updates only for small add-on modules called adapters or low-rank adapters (LoRA). This cuts traffic from gigabytes to kilobytes and was widely assumed to also protect privacy, since so little is sent. Gradient Inversion Attacks on Parameter-Efficient Fine-Tuning and its companion MineGrad showed the assumption is false. A malicious server that tampers with the model it sends to clients, which is model poisoning run in the reverse direction, can rebuild 85.9% of image patches from a batch of 32 CIFAR-100 images (SSIM 0.88) using only the returned adapter updates. The file reports no defense against this attack.

We propose that each client inspect the model it receives before training on it. The check needs one local forward pass and sends no extra bits. It rests on a mechanical fact. This family of attacks recovers an input only when some adapter neuron responds to essentially one training example in the batch. A client can measure that "isolation" on its own data. It can then either refuse the round or zero out the isolated neurons' gradient rows before uploading, which also shrinks the upload. The proposal treats poisoning as the threat model, specifically a server poisoning the downlink model. Gradient leakage is the harm, and communication-efficient adapter tuning is the regime the defense must fit without adding traffic.

Core Claim

In an adapter's first linear layer with a ReLU, neuron $i$ has weights $w_i$ and bias $b_i$. Its gradients summed over the client's batch are

$$\frac{\partial L}{\partial w_i}=\sum_{n} g_{n,i}\,x_n,\qquad \frac{\partial L}{\partial b_i}=\sum_n g_{n,i},$$

where $x_n$ is the input to the adapter for patch or sample $n$, and $g_{n,i}$ is the backpropagated signal, which is zero whenever the neuron is inactive for $n$. If exactly one $n$ activates neuron $i$, dividing the two gradients returns $x_n$ exactly. PEFTLeak engineers exactly this situation. It sets frozen layers to identity maps and tunes the down-projection weights on public proxy data so that activation intervals catch single patches. For each neuron, the client can compute an isolation index

$$I_i=\max_n \frac{|g_{n,i}|}{\sum_{m}|g_{n',i}|_{n'=m}}$$

(the largest single-sample share of the neuron's gradient), or a cheaper activation-count proxy. Both come from its own batch before anything is uploaded. Honestly trained adapters should give low, spread-out isolation. Trap adapters must push many neurons toward $I_i\approx 1$.

The claim has two parts. The first is a bound for analytic, ratio-style attacks: the fraction of reconstructable patches cannot exceed the fraction of neurons, pooled across layers and rounds, whose index exceeds a threshold $\tau$ near one. The second is empirical, and we will test it: optimization-based active attacks such as EGGV, which do not rely on exact ratios, still need elevated isolation to beat batch entanglement. An adaptive server that keeps isolation low should therefore lose most of its leakage. If this holds, clients can accept compressed adapter tuning from an untrusted server without cryptography.

Research Program

We will first make precise the bound linking isolation to recoverable patches for PEFTLeak's single-round and multi-layer variants. We will then extend it to multi-round exploitation, where the server changes trap weights between rounds to assemble narrow adapters ($r=8$) patch by patch. This needs per-client memory of how often each input region has been isolated across rounds. The fact that makes this necessary comes from a different setting: Beyond Inferring Class Representatives showed that tracking updates across rounds reveals client-specific features even to a passive server. That paper supplies the evidence that the audit must be stateful; it does not supply the method.

Second, we build the client procedure itself. It has three steps: hash-check the frozen backbone against a published checkpoint when one exists; compute isolation indices for every adapter's first layer; and apply isolation-aware masking, which zeroes rows with $I_i>\tau$ and uploads the rest. This fits naturally with Top-$k$ or quantized uploads. The masked rows are simply part of the dropped mass, and the error-feedback style of Robust Federated Learning Against Adaptive Compression can absorb them in honest rounds.

Third, and most important, we attack our own defense. An adaptive server gets white-box knowledge of $\tau$ and the index. It optimizes trap weights to maximize reconstruction subject to a penalty on isolation. It also uses EGGV-style joint training with a discriminator, which The Gradient Puppeteer used to beat the D-SNR stealth check. The deliverable is a measured frontier of leakage against isolation budget. A defense only matters if that frontier is steep.

Baselines

The naive reference point is undefended federated adapter tuning of a ViT under PEFTLeak. We rerun that attack with the published settings on CIFAR-10, CIFAR-100, TinyImageNet and ImageNet at batch sizes 32 and 128. Our runs should reproduce the reported recovery rates: 82.8%, 85.9% with SSIM 0.88, 81%, and over 60% on ImageNet respectively, plus 72.6% at batch 128 on CIFAR-100 (MineGrad, PEFTLeak). These numbers are the attack's strength, not a defense result. For clean adapter-tuning accuracy in this exact setup, the file has no reported result, so we measure our own undefended accuracy and use it as the utility ceiling.

The generic defenses are gradient pruning, quantization, and noise, which PEFTLeak is reported to resist. We include them to confirm that on the same data and batch sizes. Pruning at 90% combined with Intra-InstaHide ($k=4$) raised LPIPS from 0.45 to 0.73 while dropping CIFAR-10 accuracy from 93.37% to 86.10% against passive attacks (Evaluating Gradient Inversion Attacks and Defenses). That gives a concrete privacy-for-utility price we must beat. Mixed quantization with client-private scales (Mixed Quantization Enabled Federated Learning) dropped DLG PSNR from 55.3 to 8.1 dB on MNIST with LeNet-5. We port it to adapters because it is the closest method that also reduces bandwidth.

The strongest existing detector of a poisoned downlink model is the D-SNR check used to evaluate EGGV. EGGV improved stealth against it by 45%, so we test whether isolation catches what D-SNR misses.

The cryptographic baseline is secure aggregation, in the robust forms of RFLPA and DDFed. Both were built to stop clients poisoning the server, not the reverse. We run them at 10 to 100 clients with a server able to drop or Sybil clients.

The key ablation replaces isolation-aware masking with random row masking at the same rate. This separates "the isolation signal matters" from "sending fewer rows helps." All methods get the same data splits, including Dirichlet $\alpha$ of 0.1 and 0.5, the same ViT backbone, round count, and tuning budget for thresholds.

Beating the baselines means cutting the adaptive attacker's patch recovery below 10% at batch 32, with clean accuracy within one point of undefended tuning and zero added uplink bytes. By comparison, the pruning-plus-InstaHide combination costs roughly seven points of accuracy.

Why not just…?

Why not just hash the frozen backbone against the public checkpoint? This is a real threat to the whole proposal, and we adopt it as step one. It stops identity-map tampering whenever the backbone is public. It does not cover the adapter weights, which the server legitimately changes every round and which carry PEFTLeak's statistical filtering. It also does not cover proprietary or server-personalized backbones, as in task-vector merging (Bi-level Personalization). The decisive experiment is an adapter-only PEFTLeak with a verified backbone. If that variant leaks almost nothing, then hashing suffices, and we will report that the problem reduces to backbone provenance and narrow the contribution to the private-backbone case.

Why not just add differential privacy noise? PEFTLeak is reported to resist noise at practical levels. Where DP does stop inversion, it costs accuracy: the mixed-quantization study reports DP baselines falling to 78–85% on MNIST at comparable protection. Our experiments will plot DP's leakage-utility curve next to ours on the same runs.

Why not just use secure aggregation? Summing over clients behaves like a bigger batch. PEFTLeak still recovers 72.6% at batch 128, and an active server can shrink the effective set by dropping clients. RFLPA and DDFed also add multi-round cryptographic interaction, and RFLPA needs a clean root dataset. We will measure recovery under secure aggregation as the number of honest co-participants varies.

Why not just run a detector like D-SNR on the received model? EGGV was explicitly optimized to fool it. Isolation is not a statistical fingerprint of attacks seen so far. It is the quantity the ratio attack requires, so evading it should cost leakage. The adaptive-attack frontier tests that directly.

Decisive Checks

Three results would each settle the proposal. The first is the adapter-only attack under a hashed backbone, which decides whether the problem exists beyond provenance. The second is the leakage-versus-isolation frontier for the white-box adaptive server, on CIFAR-100 and ImageNet at batch 32 and 128. If an attacker can keep isolation below $\tau$ and still recover more than a third of patches, the core claim fails. The third is the false-positive cost on honest non-IID runs. We measure how often benign adapters trip the threshold, and whether isolation-aware masking slows convergence relative to FedAvg and to the round counts reported for FedRPCA on SVHN (90% in 25 rounds versus 41 for FedAvg). This shows whether the audit is safe to run in every round.