Keeping Honest Labs In: Protocol-Aware Robust Aggregation for Federated Western Blot Forensics

Western blotting measures how much of a specific protein a biological sample contains. Proteins are separated by size on a gel, transferred to a membrane, and stained with antibodies, and the result is an image of dark bands on a gray background. These images are simple enough that modern image generators can forge them convincingly. A detector trained only on genuine blots can catch such forgeries very well in a single-lab setting: Forensic Analysis of Synthetically Generated Western Blot Images reports an area under the ROC curve (AUC) of up to 0.999 against diffusion-model fakes. Screening across the literature is a different problem. It needs a detector that has seen genuine blots from many laboratories. Those raw images sit with individual labs and publishers, so the natural way to train on them is federated learning: each site trains locally and sends only model updates to a central server, which combines them.

That setup reproduces a known failure. Labs image blots differently: X-ray film versus digital CCD cameras, chemiluminescence versus fluorescence, saturated versus faint exposures, PVDF versus nitrocellulose backgrounds. The defenses that stop a dishonest participant from corrupting the shared model work by discarding updates that look unusual. A lab with an uncommon imaging protocol looks unusual. We propose to measure how often this pushes honest minority-protocol labs out of training, which in turn gets their future papers falsely flagged. We also propose a fix. Using the known physics of blot acquisition, we compute which directions in update space correspond to "different imaging protocol." The outlier test is then run only on the part of each update that does not lie along those directions.

Core Claim

In federated learning, the aggregation step cannot tell honest diversity from malice. This is the central difficulty in Collaborative Learning in the Jungle and in Attack of the Tails, and it holds when nothing is known about where the diversity comes from. Western blot forensics differs because most honest variation between labs has a known, simulable cause. Film response curves, sensor saturation, background texture, exposure, resizing, and JPEG compression can all be written as parametric image transforms. A lab trying to poison the detector has a different goal: it wants to teach the model that synthetic band texture is genuine, and it cannot get there by moving only along acquisition directions.

Our claim is that removing a simulated "acquisition subspace" from each client update before running the outlier test lowers the exclusion of honest minority-protocol labs, and lowers the false-positive rate on their images, while keeping the protection against poisoning that standard robust aggregators provide.

Concretely, let $g_i$ be client $i$'s model update. Let $U$ be an orthonormal basis for the span of updates produced when the current global model is trained on images from one lab passed through many simulated acquisition changes. We form the residual

$$ r_i = (I - UU^\top)\, g_i , $$

and compute robust outlier scores, such as distance to the coordinate-wise median or the trimming rank, on $r_i$ rather than on $g_i$. The clients that pass then contribute their full updates $g_i$, so honest protocol information is not thrown away. Only the decision about whom to trust ignores the acquisition directions.

This is the reverse of BOBA. BOBA fits a low-dimensional honest subspace from the updates themselves and uses a central anchor set of 5–20 samples per class to check updates against it. We instead remove a nuisance subspace, and we derive it from a physics simulator rather than from anchor data. That matters because martFL shows that a biased reference set systematically excludes honest data providers who do not conform to it. An anchor set of "standard" blots would carry exactly that bias.

Research Program

The work has three parts.

The first is a measurement study. It asks whether the harm exists: do standard robust aggregators disproportionately exclude honest labs with minority imaging protocols, and does this raise false-positive rates on their images? This extends the "inevitable sacrifice" described in H-nobs from tabular data to scientific image screening, where a false positive amounts to a misconduct accusation.

The second part builds the acquisition simulator and the projected aggregation rule. The simulator draws parametric transforms: gamma and response curves for film versus CCD, saturation clipping, background texture and brightness offsets, Gaussian and speckle noise, lane "smiling" warps, and resize and JPEG chains. For each round, the server builds $U$ from a small number of simulated-shift updates computed on public genuine blots. Its dimension is chosen by explained variance. BOBA finds that honest updates concentrate in a few directions, so we expect a small $U$ to suffice.

The third part examines the method's weak points. The key question is whether an adaptive attacker who knows $U$ can hide poison inside the acquisition subspace. We also test what happens when real minority protocols fall outside the simulator's family.

The local model at each client is a compact CNN that classifies patches as real or synthetic. Genuine patches are the client's own. Synthetic negatives come from a shared bank of generators, Pix2pix and CycleGAN, run on masks derived from each client's blots. StyleGAN2-ADA and diffusion-model fakes are held out entirely for testing generalization to unseen generators. That gap is the one Forensic Analysis of Synthetically Generated Western Blot Images leaves open.

Dishonest clients take one of three forms. Some label their own generator's outputs as genuine, which is label-flipping aimed at acceptance of fakes. Some run the model-poisoning attacks known as "A Little Is Enough" and inner-product manipulation. Some are adaptive attackers constrained to lie within $U$ plus a small residual.

Baselines

The naive reference point is plain federated averaging with no defense. It includes every honest lab and so bounds the attainable fairness, but it should fail badly under poisoning. The second reference is the centralized one-class co-occurrence-texture detector from Forensic Analysis of Synthetically Generated Western Blot Images, trained on the pooled genuine data. Its reported AUCs are up to 0.999 on diffusion-model fakes and 0.961 on CycleGAN, remaining above 0.94 under JPEG. The same paper reports a zero-shot binary detector trained on natural images reaching 0.961 on Pix2pix and diffusion-model fakes and 0.915 on StyleGAN2-ADA. We also run this detector as the "no federated training at all" option.

The standard robust aggregators are trimmed mean, coordinate-wise median, and Krum. They represent the default choice and the mechanism whose exclusion bias we are measuring.

The strongest existing competitors are four methods. BOBA uses subspace projection with an anchor set. We give it an anchor set of 20 genuine patches per class drawn only from the majority protocol, which mirrors the realistic case, and also a protocol-balanced anchor set as an upper bound. Tolerating Outliers (F∘LS) replaces discarding with graded penalties on suspected updates. It reports coordinate-wise median at 12.8% versus its penalized variant at 89.0% on skewed MNIST under the Min-Sum attack, which makes it the most direct "include rather than discard" competitor. H-nobs combines norm screening with the fairness-promoting q-FFL objective. FedTilt uses tilted losses, reporting 82.01% versus Ditto's 52.73% under persistent corruption on CIFAR-10. Gap 4 of our analysis suggests its negative tilt may suppress persistently messy but genuine blots.

We found no reported result on Lacuna for any of these methods on western blot data or for per-protocol false-positive rates in blot forensics. All baseline numbers on this task will therefore be produced by us.

Fairness of comparison is enforced in three ways. Every method uses the same client partition, local model, generator bank, number of rounds, and attacker fraction. Each method gets the same hyperparameter search budget, tuned on a validation split drawn only from majority-protocol clients. The server builds $U$ from public genuine data of the same size as BOBA's anchor set, so neither method sees more clean data.

Two ablations isolate the key ingredient. One replaces $U$ with a random subspace of equal dimension. The other replaces it with principal components of the observed updates, which is BOBA-like but without anchors. If either matches the physics-derived subspace, the simulator is not doing the work.

To count as beating the baselines, the method must lower the worst-protocol false-positive rate at matched overall recall on fakes, and lower honest minority-lab exclusion. It must do so while keeping attack acceptance no worse than the best robust baseline, and keeping held-out-generator AUC within one standard error of it.

Why not just…?

Why not just set a separate detection threshold for each imaging protocol at screening time? This is the most serious alternative and we test it directly. Per-protocol thresholds fix the test-time false-positive disparity only if the protocol of a published figure is known or can be inferred. More importantly, they cannot recover what the detector never learned: if minority labs were excluded during training, the model's scores on their images are poorly ordered, and moving a threshold cannot fix ranking. We will apply group-wise thresholds, using oracle protocol labels, on top of every aggregator. If thresholding over the standard aggregators matches our method on worst-protocol false-positive rate at matched recall, the training-time contribution is unnecessary and we would report that.

Why not just personalize the detector per lab, as in Ditto? Ditto protects honest clients by giving each a model tied to the global one. In forensics, the screening model is used by journals, not by the submitting lab. A per-lab detector is precisely the object a fraudulent lab controls, so personalization moves the attack surface rather than closing it. We still include Ditto's global model as a baseline.

Why not just augment every lab's training data with the same acquisition transforms, making the detector protocol-invariant and dispensing with aggregation changes? Augmentation does make honest updates more similar, and we include it both as a baseline and combined with every aggregator. There is a known risk, though. To be Robust or to be Fair shows that enforcing robustness uniformly widens class-wise gaps: worst-class robust error is 82.7% under standard adversarial training versus 69.5% with class-adaptive margins. Uniform invariance training may therefore hurt the hardest protocols, such as faint, low-abundance bands. Augmentation also does nothing about which clients the aggregator trusts. If augmentation plus trimmed mean closes the gap, our rule adds nothing, and the experiment below will show whether it does.

Why not just use the centralized texture detector with no federation? It reports excellent AUCs, but its authors note it is vulnerable to resizing and to unseen generators. It also requires pooling raw genuine blots, which the multi-institution setting does not allow. We report it as a pooled upper reference, not as a deployable competitor.

Proposed Experiments

The primary benchmark is the dataset from Forensic Analysis of Synthetically Generated Western Blot Images: 14,200 genuine 256×256 crops from about 300 source images, plus 24,000 synthetic images from four generators. We form about 30 clients by grouping crops by source image, so that no source image is split across clients. A minority of 10–20% of clients is assigned a distinct imaging protocol, and 10–20% of clients are dishonest.

Using the same simulator both to create the minority protocols and to build $U$ would make the test circular. We avoid this in two ways. The minority protocols are drawn from transform families withheld from the simulator, for example film response curves not in its family and combined resize-plus-contrast chains. As a second, real-data test, we assemble genuine uncropped blots from journal supplementary material, labeled by imaging modality (film scan versus digital imager), and treat each modality as a protocol group without simulated shifts.

Metrics are reported per protocol group:

  • the false-positive rate at the threshold giving 95% recall on held-out fakes;
  • the fraction of rounds in which each honest client is excluded or down-weighted;
  • AUC on the held-out StyleGAN2-ADA and diffusion-model fakes, with and without resizing and JPEG;
  • the fraction of the dishonest labs' fakes the final model accepts as genuine.

We also report the spread of false-positive rates across labs, which serves as the dispersion-style fairness measure used by H-nobs.

Three checks decide the question. First, the measurement study must show that trimmed mean, Krum, and norm screening exclude minority-protocol honest clients at clearly higher rates than majority ones, and that this raises those groups' false-positive rates. If it does not, the problem is not real in this domain and the method is unnecessary.

Second, the projected rule must beat per-protocol thresholding and augmentation-plus-robust-aggregation on worst-protocol false-positive rate, without raising fake acceptance. The random-subspace and data-PCA ablations must fall short of it.

Third, under the adaptive attack constrained to $U$, we measure how much poison fits inside the acquisition directions. If an attacker confined to them can still make the detector accept its fakes, projection has opened a hole. We would then report the defensible attacker budget as a function of the dimension of $U$, rather than claiming general robustness.