Hospitals often run images from a new scanner through a generative "harmonizer" before segmenting them. A harmonizer is a model that restyles the images so they look like the data a segmentation network was trained on. The usual check on whether the harmonizer kept the anatomy intact is to segment its output and compute an overlap score. That check is broken in two ways at once. First, overlap scores such as Dice punish the same physical boundary error far more on small structures than on large ones. Second, the segmentation network used as the judge was itself trained to maximize Dice, and such networks are known to inflate the volumes they predict when they are uncertain. As a result, when a harmonized image makes a small tumour look worse, we cannot tell whether the harmonizer moved its boundary, erased it, or invented it, or whether the metric and the judge are distorting the picture.
We propose to measure harmonizer hallucination directly in physical units, without a learned judge. We insert lesions of known radius and position into real scans from one site, harmonize them to another site's style, and fit a simple parametric model to each inserted lesion in the output. This gives three quantities as a function of lesion size: boundary displacement in millimetres, the probability that the lesion is deleted, and the rate at which spurious lesions appear. The central claim is testable. If harmonizers displace boundaries by a roughly size-independent amount, the steep drop in small-structure Dice after harmonization is mostly a geometric artefact of the metric, and harmonizer rankings based on Dice-trained judges will disagree with rankings based on physical error. If displacement or deletion actually grows as lesions shrink, harmonization is truly destructive for exactly the targets that matter most clinically.
Why this gap is real
Four strands of work motivate the audit. Each one solves only part of the problem.
On the evaluation of harmonizers, Rethinking Perceptual Metrics for Medical Image Translation shows that image-realism scores such as FID have near-zero correlation with bone segmentation accuracy in MRI-to-CT translation. That paper recommends downstream segmentation as the substitute. It never asks whether the downstream judge is itself biased by structure size, and that question is ours. On the judge's bias, On Image Segmentation With Noisy Labels proves that Dice-optimal predictions over-inflate volume under label uncertainty, by up to four times on small, high-disagreement structures such as lung nodules. It also proves that Dice-optimal and accuracy-optimal solutions coincide when the predicted volume is constrained to the expected volume. We reuse that result to build a less biased judge.
On the metric, Tackling Bias in the Dice Similarity Coefficient shows that Dice correlates with lesion load (Spearman ρ up to 0.58) and introduces a normalized Dice (nDSC) that removes this correlation (ρ = 0.05). nDSC corrects for prevalence, not for boundary displacement, and it still depends on a segmenter. Benchmarks show the symptom without diagnosing it. In BraTS-PEDs, whole-tumour Dice is 0.83–0.84 while enhancing-tumour Dice is 0.55–0.65. In AMOS, MRI from unseen scanners loses over 20% mean Dice, and small organs such as the adrenal glands fare worst.
Finally, the methods designed to prevent hallucination are validated with overlap scores on large or mask-defined structures. These include mask-conditioned generation (SegGuidedDiff, and SPADE as benchmarked by Konz et al.) and topology losses for thin vessels (TPOT). None of them reports how preservation varies with target size.
The geometric intuition fixes what the audit should measure. Suppose a harmonizer shifts the boundary of a spherical lesion of radius $r$ outward by a uniform thickness $\epsilon$. Then Dice falls to
$$\text{Dice} = \frac{2r^3}{r^3 + (r+\epsilon)^3} \approx 1 - \frac{3\epsilon}{2r},$$
from a first-order expansion in $\epsilon/r$. A constant physical error $\epsilon$ therefore produces a Dice penalty that grows as $1/r$. Measuring $\epsilon$ directly separates what the harmonizer does from what the metric does.
Core Claim
Harmonizer quality on small structures can be measured in physical units: boundary displacement $\epsilon(r)$, deletion probability $p_{\text{del}}(r)$, and spurious-lesion rate. These quantities are estimated from controlled lesion insertion with a parametric fit, so no learned segmenter is involved. We make two predictions. First, harmonizer rankings under this audit will differ from rankings under Konz-style downstream Dice with a Dice-trained judge. Second, the difference will be concentrated in lesions below roughly 5 mm radius. Both predictions can fail, and the experiments are designed so that failure is informative.
Research Program
Controlled insertion. On each source-site scan we insert lesions of two kinds. The first kind is idealized ellipsoids with partial-volume-correct intensity profiles. The contrast of each ellipsoid is sampled from real lesions of the matching modality, and its radius spans 1–20 mm. The second kind is realistic lesions copied from other patients together with their expert masks, then blended into healthy tissue. We also keep a matched lesion-free copy of every scan to serve as a control.
Parametric recovery. For ellipsoids, we fit centre, semi-axes, contrast, and edge blur by least squares on the harmonized output within a local window. The fitted radius minus the true radius gives signed displacement $\epsilon$. A fitted contrast that collapses below the noise floor counts as deletion. For copied lesions, we register the harmonized patch to the pre-harmonization patch using a small-support deformable fit. The mean surface displacement of the known mask under that deformation gives $\epsilon$, and residual intensity loss inside the mask gives deletion. For spurious lesions, we compute the difference between the harmonized lesion-free control and a harmonization of the same scan with a spatially shifted random seed or augmentation. Connected blobs above a contrast threshold that appear consistently form the creation count. Every quantity is expressed in millimetres or as a probability, with no learned judge anywhere.
Two learned judges for comparison. We train two segmentation networks on the same data with the same architecture (nnU-Net style) and budget. The first uses Dice loss. The second uses cross-entropy with a soft volume-matching penalty, which is the construction Nordström et al. show removes the Dice/accuracy volume divergence. Comparing the two judges isolates how much of the Konz-style evaluation reflects the judge's own inflation.
Harmonizers audited. We audit CycleGAN, UNSB, SPADE (mask-conditioned), and a segmentation-guided diffusion model in the style of SegGuidedDiff adapted to translation. Each is trained on the same unpaired source/target data.
Baselines
The naive reference point is to apply no harmonization: the frozen segmenter runs directly on target-site images. Every harmonizer must beat this on physical error for small lesions. Otherwise the recommendation for small-target tasks is simply not to harmonize. We run it on identical scans and inserted lesions.
The strongest existing evaluation method is the protocol of Rethinking Perceptual Metrics: downstream segmentation Dice with a Dice-trained judge, plus sliced Wasserstein distance for subtle same-modality shift. It is the strongest competitor because it is the only published protocol shown to track anatomical fidelity better than FID. The paper reports SPADE reaching breast-tissue Dice 0.950 on DBC. We reproduce it on DBC with the same GE→Siemens split and the same judge budget as our other conditions. Beating it means two things. The physical audit must predict the error of an independent held-out measurement significantly better, namely radius and deletion on real annotated small lesions in multi-rater data. And it must change at least one pairwise harmonizer ranking in a way that the held-out measurement confirms.
The strongest metric-side baseline is size-binned nDSC from Tackling Bias, which we extend per structure for multi-organ data. We compute it with the same two judges. If size-binned nDSC ranks harmonizers identically to the physical audit, the audit adds nothing beyond cost, and we will say so. We also report normalized surface distance and 95th-percentile Hausdorff distance on the same outputs.
The key ablation swaps the Dice-trained judge for the volume-matched judge while keeping everything else fixed. If rankings move toward the physical audit, the judge's inflation was driving the discrepancy. If they do not move, the discrepancy comes from the metric alone.
No reported result was found on Lacuna for size-stratified hallucination or boundary displacement of any harmonizer. Those numbers are an output of this work.
Why not just…?
Why not just report Dice or nDSC stratified by lesion size? This is the real threat. It is cheap, and it may be enough. Its weakness is that every stratified overlap score still passes through a learned judge whose volume bias Nordström et al. show is largest on exactly the small, uncertain structures in question. It therefore cannot separate a harmonizer that erodes a lesion from a judge that inflates it back. Our ablation settles the question directly. If size-binned nDSC under both judges already matches the physical-audit rankings and the held-out multi-rater measurements, we will recommend it and drop the insertion machinery.
Why not just use surface-distance metrics such as HD95 or normalized surface distance? Surface distances are closer to millimetre units, but they still need a segmenter. HD95 is also dominated by isolated false-positive clusters, which is part of why BraTS-PEDs still sees small-region failures while reporting it. Surface distances also do not distinguish deletion from displacement. We report both metrics and test whether they correlate with $\epsilon(r)$ and $p_{\text{del}}(r)$. If normalized surface distance tracks $\epsilon$ closely, it becomes the recommended low-cost proxy.
Why not just use a mask-conditioned harmonizer like SPADE or SegGuidedDiff, which are already known to preserve anatomy? These methods preserve what is in the conditioning mask. A small lesion that the mask omits, which is common when source masks come from an automated segmenter, is unprotected. The insertion design tests this specifically by inserting lesions absent from the conditioning mask. We expect higher deletion probability for sub-5 mm lesions under mask conditioning than under unconditioned translation. If that does not occur, it is a useful positive result for those methods.
Why not skip harmonization and use heavy augmentation or multi-site training? AMOS shows that even multi-scanner training loses over 20% mean Dice on unseen MRI scanners, so harmonization remains in use in practice. The "no harmonization" baseline keeps this option explicitly on the table.
Proposed Experiments and Decisive Checks
The main settings are three. The first is AMOS MRI across held-out scanners, which covers a size range from liver to adrenal gland. The second is BraTS-PEDs, harmonizing across consortia, with enhancing-tumour-sized insertions. The third is DBC GE→Siemens, for direct comparison with Konz et al. The Shifts MS data provide real small lesions for a validation-by-real-data arm.
External validity rests on multi-rater data. LIDC-IDRI nodules have four raters, so their consensus volume serves as a reference that no judge produced. We harmonize these scans with a style transfer trained on another CT source. We then compare the audit's predicted radius error and deletion rate against the change in segmented volume relative to the rater consensus.
We apply three decisive checks. First, we test whether $\epsilon(r)$ is flat in $r$. If it is, we test whether the $3\epsilon/2r$ prediction accounts for the observed drop in small-structure Dice. Second, we test whether Konz-style rankings with a Dice-trained judge disagree with physical-audit rankings on small lesions, and whether swapping in the volume-matched judge reduces that disagreement. Third, we test whether copied realistic lesions reproduce the ellipsoid curves. This guards against the concern that synthetic ellipsoids are out of distribution for the harmonizer. If copied and synthetic lesions disagree, we report only the copied-lesion curves as the primary result.
References
- Rethinking Perceptual Metrics for Medical Image Translation
- On Image Segmentation With Noisy Labels: Characterization and Volume Properties of the Optimal Solutions to Accuracy and Dice
- Tackling Bias in the Dice Similarity Coefficient: Introducing NDSC for White Matter Lesion Segmentation
- BraTS-PEDs: Results of the Multi-Consortium International Pediatric Brain Tumor Segmentation Challenge 2023
- AMOS: A Large-Scale Abdominal Multi-Organ Benchmark for Versatile Medical Image Segmentation
- Anatomically-Controllable Medical Image Generation with Segmentation-Guided Diffusion Models
- TPOT: Topology Preserving Optimal Transport in Retinal Fundus Image Enhancement