Low-Pass Forensics for Synthetic Western Blot Images

Image generators such as diffusion models (generators that learn to turn random noise into realistic images step by step) can now produce convincing western blots. A western blot is a gray image of dark bands in vertical lanes, and each band records how much of a protein a sample contains. Fabricated blots are a direct threat to the biomedical literature. Current detectors look for the fine pixel-level traces that generators leave behind, but journals and fraudsters routinely resize and recompress figures, and those operations erase exactly that detail. We propose the opposite strategy, borrowed from acoustic privacy engineering. A low-pass filter keeps only slowly varying structure and discards fine detail. In audio, such filters deliberately destroy intelligible speech while keeping pitch, rhythm and machine hum. For blots, we would throw away the high spatial frequencies on purpose and train a detector to judge only the coarse physical shape of bands and lanes. That coarse structure is produced by electrophoresis physics, and it survives resizing and compression.

In two sentences: a detector that sees only information below a chosen spatial-frequency cutoff is unaffected, by construction, by any laundering operation that only removes information above that cutoff. If synthetic blots differ from real ones in their coarse band and lane structure, that detector should also stay robust after resizing and transfer better to generators it has never seen, which are the two failures that published detectors leave open.

Core Claim

The closest work is Forensic Analysis of Synthetically Generated Western Blot Images. It builds a dataset of 14,200 real and 24,000 synthetic blots from Pix2pix, CycleGAN, StyleGAN2-ADA and DDPM, and evaluates two detectors. The first is a binary CNN trained on natural images. The second is a one-class classifier trained only on real blots, using gray-level co-occurrence matrix (GLCM) texture statistics, which count how often neighbouring pixel intensities co-occur. Both work on full-resolution pixels. The authors report that both lose performance after resizing, and that behaviour on unseen generators is untested. Our claim is that restricting the detector to a low-frequency band closes the resizing gap by construction, and trades a small drop in clean-condition accuracy for much better robustness and cross-generator transfer. The claim is falsifiable. If real and synthetic blots cannot be told apart below the cutoff, the idea fails, and the experiments are designed to show that cleanly.

Where the Idea Comes From

Three results from low-frequency acoustics shape the design, each in a different role. Spatial Reconstructed Local Attention Res2Net with F0 Subband for Fake Speech Detection supplies the method. It restricts a fake-speech detector to the 0–400 Hz pitch band and gets lower error than a 0–4,000 Hz band (0.47% equal error rate on ASVspoof 2019 LA). The reasoning is that generators imitate high-frequency texture well but get the underlying physical process wrong. We transfer that bet from vocal-fold physics to electrophoresis physics: band vertical profiles, lane-to-lane "smile" curvature, consistent lane width, and smear tails.

FlowSense and EarGate motivate the design principle. FlowSense low-passes microphone audio at 375 Hz and EarGate at 50 Hz, so that the unwanted high-frequency content (speech) is physically absent while the task signal (airflow, footsteps) survives. We use the same logic for a different goal. Here the unwanted content is laundering noise and generator fingerprints that an adversary controls, and the task signal is coarse band morphology.

How Private is Low-Frequency Speech Audio in the Wild? constrains the threat model. It shows that neural bandwidth extension, which regenerates missing high frequencies from a low-passed signal, fails to restore speech in noisy rooms (Whisper word error rate above 98%). It also warns that specialised reconstructors could do better in clean conditions. The analogue for blots is an adversary who super-resolves or re-sharpens an image. A low-band detector should be indifferent to that, because such an attack adds high-frequency content and leaves the low band nearly untouched. We test this directly.

SafeEar detects audio deepfakes from acoustic tokens after removing semantic content. It is further supporting evidence that a detector can discard most of a signal and still work, but we do not reuse its method.

Research Program

We first make the cutoff principled rather than tuned. Resizing an image by a factor $s<1$ removes all spatial frequencies above $s/2$ cycles per pixel, which is the Nyquist limit of the smaller image. JPEG at moderate quality mostly quantises away the higher-frequency coefficients of each 8×8 pixel block. We therefore set the cutoff as

$$f_c = \min\left(\frac{s_{\min}}{2},\ f_{\text{JPEG}}(q_{\min})\right),$$

where $s_{\min}$ is the most aggressive downscaling we want to tolerate and $f_{\text{JPEG}}(q_{\min})$ is the highest frequency that JPEG at the lowest quality considered, $q_{\min}$, reliably preserves. We measure $f_{\text{JPEG}}(q_{\min})$ empirically on real blots.

Each blot is passed through a Butterworth low-pass filter at $f_c$ and then downsampled to its Nyquist rate. Every detector below therefore receives only sub-cutoff information.

We then build two low-band detectors, both trained one-class on real blots only, because unseen generators are the target.

The first is the GLCM one-class model of the prior paper, applied unchanged to the low-passed images. It isolates the effect of the filter alone.

The second is a morphology model aimed at the physics. We segment lanes, extract a one-dimensional intensity profile along each lane and across each band, and fit a small set of physical descriptors. These are band shape against a Gaussian-plus-tail model, band-edge curvature across lanes, the spacing regularity of lanes, and background gradients. A small convolutional autoencoder on the low-band image is trained alongside the descriptors, and its anomaly score is combined with theirs.

Real blots in the dataset are crops from roughly 300 source images. All splits are therefore made by source image, to prevent crops of the same blot from appearing in both training and test sets.

Baselines

The naive reference is the published detectors as-is, with no retraining, evaluated on our splits and laundering conditions. Chance (AUC 0.5) is the floor.

The strongest existing competitors are the two detectors of Forensic Analysis of Synthetically Generated Western Blot Images. That paper reports these AUCs for the natural-image binary CNN: 0.961 on Pix2pix, 0.961 on DDPM and 0.915 on StyleGAN2-ADA. For the one-class GLCM detector it reports 0.999 on DDPM, 0.961 on CycleGAN, and above 0.94 on DDPM after JPEG compression. It gives no number under resizing, and there is no reported result found on Lacuna for resized or unseen-generator conditions. We will reimplement both and confirm that we match these figures on clean data before any comparison. They then get the same splits, image budget and hyperparameter search budget as our models.

The ablation that isolates the key ingredient is the identical architecture trained on full-band images. We also run a high-pass-only variant as a control, which should do well on clean data and collapse under laundering. Beating the baselines means two things together. First, AUC under resizing at 0.5× combined with JPEG quality 70 must be higher than every full-band baseline by a margin larger than the standard deviation across splits. Second, leave-one-generator-out AUC must be higher on average. Throughout, clean in-distribution AUC must stay within a few points of 0.999 on DDPM.

Why not just…?

Why not just train the full-band detector with resize and JPEG augmentation? This is the most serious alternative. It could close the robustness gap for the laundering operations seen during training. Its weakness is that the detector still learns high-frequency cues wherever they exist, so it may fail on unseen laundering chains, such as resizing followed by sharpening, and on unseen generators. We will train this augmented full-band model with the same budget, and test it on laundering combinations and generators held out from its augmentation set. If it matches the low-band detector there, then the filter adds nothing beyond augmentation, and we will report that.

Why not just downsample the images, since downsampling is already a low-pass filter? Plain downsampling is exactly our GLCM-on-low-band ablation. If it captures the whole gain, the contribution reduces to a cutoff-selection rule, which is still useful but smaller. The morphology model is where we expect additional value on unseen generators. The comparison between the two is reported explicitly.

Why not verify provenance physically, for example with low-pass audio of the lab equipment? A privacy-filtered acoustic log of electrophoresis runs, in the style of FlowSense, is an appealing extension. However, it requires new hardware and new data collection. It cannot check the thousands of blots already published. And a power-supply current log would verify a run more directly than audio would. Image forensics tests the same low-pass principle on data that already exists.

Decisive Checks

The first check is a cutoff sweep. We plot one-class AUC for each generator as $f_c$ falls from full band to very coarse. If AUC drops to around 0.6 below the resizing-safe cutoff, synthetic blots are coarse-structurally realistic and the core claim is refuted. We expect this is most likely for mask-conditioned Pix2pix, where the input mask already fixes where bands sit.

The second is a laundering grid, with resize factors from 0.5× to 2× crossed with JPEG quality 50–95 and a sharpening pass. The prediction is that the low-band detector's AUC is nearly flat across the grid, while the full-band detectors fall off.

The third is leave-one-generator-out evaluation across all four generators.

The fourth is an adaptive attack. The adversary super-resolves low-resolution synthetic blots, or fine-tunes a generator against our morphology descriptors. We measure how much low-band AUC this recovers for the attacker, which is the image counterpart of the bandwidth-extension attack studied by Liu et al.