Detectors that decide whether a medical scan is real or AI-generated now report accuracies above 90% on CT, MRI and histopathology. They work by finding faint, sub-visual pixel patterns that neural generators leave behind. Real scanners also leave faint, sub-visual pixel patterns, and each vendor's reconstruction software, field strength and noise characteristics are different. Every published medical forensic benchmark draws its real images from one archive or a few research archives. Nobody has checked whether these detectors have learned "this looks generated" or only "this does not look like the scanner I was trained on." If it is the second, a hospital that installs a new GE or Philips machine would see its authentic scans flagged as forgeries. That false accusation is worse than a missed fake in fraud and evidentiary settings.
This note proposes two things. The first is a cross-vendor forensic benchmark that measures the false-forgery rate on authentic scans from scanners never seen in training. The second is a training method, paired regeneration, built to remove that failure. Each real training scan is partially re-synthesized by the generator itself. The resulting fake keeps the same patient, anatomy and much of the same scanner signal, so the only consistent difference between real and fake is the part the generator rewrote. We predict that current detectors will show a vendor-shift failure that mirrors the clinical hierarchy (worse in MRI than in CT). We also predict that paired regeneration closes most of that gap without needing data from the target scanner.
Core Claim
The real-versus-fake signal in medical forensics is confounded with acquisition source, because real and fake images in current benchmarks come from systematically different pipelines.
CTForensics builds a 10-generator CT benchmark and a wavelet-plus-Fourier detector reaching 96.01% mean accuracy. All of its real scans come from CT-RATE, and the authors do not test whether the detector's spectral cues are generator traces or that archive's reconstruction-kernel noise. Toward Medical Deepfake Detection builds MedForensics across six modalities and a CLIP-based detector (DSKI) at 91.6% accuracy. Its noise-domain adapter is designed to isolate pixel-to-pixel residuals, which are exactly where scanner noise lives. Real images come per modality from single repositories such as BraTS, so modality and source are never separated from vendor.
On the domain-shift side, The Impact of Scanner Domain Shift shows that diagnostic classifiers degrade across vendors much more in MRI (average AUC change of −0.097, and 0.791 to 0.505 for prostate) than in CT (−0.02). The authors attribute CT's stability to the physically calibrated Hounsfield scale, a standard unit of tissue density. Those papers motivate our claim. The shift paper also constrains our design: it shows Gaussian-noise augmentation does not fix vendor shift, and it shows that mixing in 10–20% target-scanner data does. That second result is the strongest simple competitor, and we treat it seriously below.
Our claim has two parts. The empirical part is that, for current detectors, the false-forgery rate on real scans from held-out vendors rises sharply and follows MRI > X-ray/mammography > CT. The methodological part is that training on fakes paired with their own source scans removes the shortcut, because a feature that tracks scanner identity cannot separate the two members of a pair.
Research Program
Benchmark. The benchmark is assembled from resources in the file.
For CT, we take the CTForensics generators and fakes as given. We then add authentic CT from the multi-scanner AMOS cohort (two centers, eight scanners) as held-out real data, with vendors partitioned by DICOM metadata. If vendor tags are incomplete, we partition by scanner model where it is known and drop the rest.
For MRI, we use AMOS MRI, which already loses over 20% mean Dice on unseen scanners for segmentation, together with the CDMRI cohort of the same subjects scanned on GE Connectom and Siemens Prisma, described in Overview of Scanner Invariant Representations. CDMRI is valuable because it gives the same anatomy on two vendors, which isolates vendor effects completely.
For mammography, we use CSAW-syn and VMLO-syn from the shape-artifact study. Their real sources come from different hardware populations, and we add multi-scanner EMBED reals, used in Automatic Dataset Shift Identification.
Generators are trained on one source vendor per modality: diffusion models, plus a GAN where an inversion method exists. Test fakes come from generators held out from training, so we measure cross-generator and cross-vendor generalization jointly and separately.
Method. Let $x$ be a real scan from scanner $s$. Let $G_t(x)$ be the result of noising $x$ to level $t$ and denoising it with a generator: forward diffusion then reverse for diffusion models, inversion then decoding for GANs. At small $t$ the regenerated image keeps most of the scanner's texture. At large $t$ the generator replaces it with its own learned texture.
The detector $f$ sees pairs $(x, G_t(x))$ at several $t$, alongside ordinary fully synthetic fakes. It is trained with a standard real/fake loss plus a pairwise ranking term that requires $f(G_t(x)) > f(x)$ for every pair. Optionally, it also carries a penalty that removes dependence on scanner identity among real images:
$$\mathcal{L} = \mathcal{L}_{\text{bce}} + \lambda_1 \sum_{(x,t)} \max\big(0,\, m - f(G_t(x)) + f(x)\big) + \lambda_2\, \mathrm{HSIC}\big(h(x), s \mid y=\text{real}\big)$$
Here $h(x)$ is the detector's penultimate feature, $s$ is the scanner label, $y$ is the authenticity label, $m$ is a margin, and HSIC is the Hilbert–Schmidt Independence Criterion, a kernel measure of statistical dependence. The HSIC term borrows the estimator from HSIC Bottleneck. That paper removes semantic category from CLIP features; we instead remove scanner identity, and only among reals, so generator traces are not penalized.
The pairing is the central ingredient. Within a pair, anatomy, patient and most low-frequency scanner signal are shared. The ranking term therefore rewards only features that respond to generator rewriting. The approach is related to the reconstruction-gap idea in LaRE2, which detects fakes by how easily a generator reconstructs them. The difference is that we use regeneration to build matched training data rather than as a test-time feature.
Backbones are kept fixed across methods: CLIP ViT-L/14 features with a light head, and the ESF-CTFD architecture for CT. Any gain is then attributable to the training data and objective, not to architecture.
Analysis. We will measure how much of each detector's decision is explained by vendor. We train a probe to predict vendor from detector features on real scans, in the spirit of the post-hoc site adversary in the CCAE paper. We also compare each modality's degradation against the clinical hierarchy. Finally, we run the MMD-over-self-supervised-features test from the shift-identification paper on each held-out real vendor. This checks whether the false-forgery rate tracks how large the covariate shift is, and it gives a deployable warning that a flagged batch may reflect a new scanner rather than forgery.
Baselines
Naive reference points. The reference is a ResNet-50 trained end to end on source-vendor reals versus source-generator fakes, which CTForensics reports falls to roughly 50% accuracy on unseen generators. We also include a constant "everything is real" classifier, which fixes the floor for the false-forgery metric.
Strongest existing medical detectors. These are ESF-CTFD, which reports mAcc 96.01% and mAP 99.96% on CTForensics in CTForensics, and DSKI, which reports 91.6% accuracy and 92.2% AP on MedForensics, about 90% on MRI and CT, in Toward Medical Deepfake Detection. They are the strongest competitors because they are tuned for medical noise statistics, and those statistics are also what we suspect they confuse with scanner identity. Each will be retrained on our source-vendor training split with its published recipe and the same hyperparameter-search budget we give our method. Both papers report only single-source results; no reported result found on Lacuna for any medical forensic detector under cross-vendor real-image shift.
Frozen-feature baseline. This is the linear probe or nearest-neighbor classifier on frozen CLIP ViT-L/14 features from Towards Universal Fake Image Detectors, which reports +15.07 mAP and +25.90% accuracy over end-to-end detectors on unseen natural-image generators.
Semantic-bottleneck baseline. This is the HSIC detector of HSIC Bottleneck, which reports 93.86% average cross-generator accuracy on natural images versus 85.83% for VIB-Net. We run it unchanged, removing image semantics, so we can test the prediction that removing anatomy makes it more reliant on scanner noise.
Data-mixing baseline. This is the remedy from The Impact of Scanner Domain Shift: train with real scans from every available non-held-out vendor, at matched total image count.
Ablations. We train with the ranking term only, the HSIC term only, both terms, and pairing at a single noise level versus several. This separates the pairing effect from the invariance penalty.
What counts as beating a baseline. Our method must lower the false-forgery rate on held-out-vendor real scans, at a threshold calibrated to 5% false positives on source-vendor reals. It must do so without losing more than one point of AUC on held-out-generator fakes. All differences must hold across five seeds with non-overlapping 95% bootstrap intervals.
Why not just…?
Why not just train on real scans from more vendors? This is the real threat. The scanner-shift study shows that 10–20% target-vendor data restores diagnostic AUC. If multi-vendor real data alone drives the held-out false-forgery rate down as far as paired regeneration does, our method adds nothing, and we will report that. Two points favor pairing, and the experiment will decide between them. First, mixing helps only with vendors you already have, while our evaluation always holds the target vendor out. Second, mixing changes only the real side, so fakes still come from the generator's source-vendor texture and the shortcut survives. The decisive comparison is mixing versus pairing versus both, at equal image counts.
Why not just use a frozen CLIP linear probe? It avoids overfitting to one generator, but CLIP was never trained on scanner physics. Its features may encode vendor appearance as readily as generator traces. The cited natural-image paper never tested acquisition shift, and DSKI already outperforms UniFD-style probes on medical data. Our vendor-probe analysis will show directly how much vendor information the frozen features carry.
Why not just augment with noise, blur and contrast jitter? The scanner-shift study found that Gaussian-noise augmentation fails to bridge vendor gaps and sometimes hurts. Vendor differences are structured: reconstruction kernels, point-spread functions and sequence-dependent contrast. We include a stronger augmentation baseline (blur, kernel-like sharpening, intensity remapping) at the same budget. We expect it to help a little in CT and little in MRI.
Why not harmonize every scan to one reference scanner first? Harmonizers such as the conditional autoencoder in the scanner-invariance paper are themselves generators. Passing real scans through one inserts generator traces into authentic data, which is exactly what a forensic system must not do. We will measure how often harmonized real scans are flagged as fake to make this concrete.
Proposed Experiments
The first decisive check is purely diagnostic. We train ESF-CTFD, DSKI, the CLIP probe and the HSIC detector on source-vendor data and report the false-forgery rate on held-out-vendor real scans per modality. If it barely moves for any detector, the confound hypothesis is wrong and the method half of the proposal is unnecessary. We would publish the benchmark as a negative result. If it rises, we test whether the rise orders as MRI > mammography > CT, as the clinical hierarchy predicts.
The CDMRI same-subject scans give the cleanest test. For the same brain imaged on GE and Siemens, a detector free of the shortcut should assign the same authenticity score. We report the mean absolute score gap across vendors for each method.
The second check asks whether paired regeneration reduces the held-out-vendor false-forgery rate beyond the data-mixing baseline, while keeping held-out-generator AUC on CTForensics and on our MRI and mammography fakes.
The third check correlates each vendor's MMD shift statistic with its false-forgery rate. A strong correlation would tell deployers that a sudden rise in flagged scans should first be checked against scanner changes.
Success means the benchmark exposes a vendor failure that current leaderboards hide, and that a training-data change, rather than a larger architecture, removes most of it.
References
- CTForensics: A Comprehensive Dataset and Method for AI-Generated CT Image Detection
- Toward Medical Deepfake Detection: A Comprehensive Dataset and Novel Method
- The Impact of Scanner Domain Shift on Deep Learning Performance in Medical Imaging: an Experimental Study
- AMOS: A Large-Scale Abdominal Multi-Organ Benchmark for Versatile Medical Image Segmentation
- Overview of Scanner Invariant Representations
- A knowledge-based method for detecting network-induced shape artifacts in synthetic images
- Automatic Dataset Shift Identification to Support Safe Deployment of Medical Imaging AI
- HSIC Bottleneck for Cross-Generator and Domain-Incremental Synthetic Image Detection
- LaRE2: Latent Reconstruction Error Based Method for Diffusion-Generated Image Detection
- Towards Universal Fake Image Detectors that Generalize Across Generative Models