A segmentation model certified for clinical use is usually frozen. Regulators treat any change to its weights as a new device. Its training images are locked behind privacy law. When a new hospital with a different scanner adopts the model, that hospital typically has only a handful of its own scans, often unlabeled. Methods that adapt the input image rather than the model fit the regulatory constraint. The best known of these learns a small correction to the image's low-frequency spectrum, the blurry component that carries scanner "style" such as brightness and contrast. These methods still assume two things: hundreds of target scans from which to bootstrap the model's own guesses as training labels, or access to the source images. This proposal asks what can guide input adaptation when neither is available, meaning one to ten unlabeled target scans and no source data.
The idea is to use a summary of the training data that the frozen model already carries. Networks with batch normalization store, inside their weights, the running mean and variance of every channel at every layer over the source training set. For networks without stored statistics, a vendor can record such per-channel averages at certification time. We optimize a tiny Fourier-domain correction to the target scan so that the frozen model's internal activations on the corrected scan reproduce these stored source statistics across many layers. A single 3D scan yields millions of voxel-level activations, so these moments can be estimated reliably even from one patient. Weights never change, no source image is needed, and no pseudo-labels are required. The same quantity, the mismatch that remains after adaptation, gives a per-scan warning that the model is still out of its depth.
Core Claim
Under extreme target scarcity (one to ten unlabeled scans) and no source access, matching the frozen network's stored multi-layer channel statistics through a low-dimensional Fourier input correction recovers more cross-scanner segmentation accuracy than pseudo-label-driven prompting, entropy-driven prompting, or classical intensity harmonization. The leftover statistic mismatch after adaptation also predicts which scans will fail. The proposal also states how this claim could be false. Two outcomes would refute it. The first is that a well-tuned histogram standardization matches it. The second is that statistic alignment fails to correlate with Dice. That second outcome would echo the time-series finding described below.
Relation to Prior Work
The closest method is FVP. FVP freezes a segmentation backbone and learns 2,048 low-frequency Fourier parameters added to target images. The prompt is trained on target pseudo-labels filtered through class prototypes, and on abdominal CT→MRI this raises Dice from 0.517 to 0.733. We reuse its parameterization. We replace its training signal, because prototype filtering needs a large pool of target predictions, and the research file notes its behavior below five to ten scans is unexamined. Kataria et al. show that adaptation with only 3% of target data works if source and target encoder features are aligned with kernel density estimates and Jensen-Shannon divergence. They report 0.711 Dice on prostate site HK versus 0.649 unadapted, while adversarial adaptation collapses to 0.496. Their method updates encoder weights, needs continuous access to source images, and aligns a single bottleneck layer. Our method needs none of these and aligns many layers. Ma et al. mix Fourier amplitude spectra between source and target to build intermediate domains. That supports the same low-frequency style hypothesis, but it retrains the backbone on plentiful unlabeled target data.
Two papers constrain the design. Kataria et al. argue that moment matching such as maximum mean discrepancy is too crude to capture complex feature distributions. We address this directly. Their critique concerns aligning a fully trainable encoder. In our setting the only free variables are 2,048 smooth spectral coefficients, so the alignment cannot collapse features into trivially matched but meaningless states. Low-order moments are also the only statistics a single scan can estimate stably. The sharper challenge comes from Adapt the Data, Not the Model. That work's input adapter for frozen ICU predictors actually moved target data further from the source in Wasserstein distance, which suggests distribution matching is a poor proxy for what helps. That adapter used supervised target labels and operated on time series. Whether the finding transfers to dense imaging is exactly the open question the research file calls the alignment paradox, and our experiments measure it rather than assume an answer. Finally, Ouyang et al. calibrate frozen segmenters post hoc with spatial temperature maps, reducing bSSFP→LGE calibration error from 16.78% to 15.37%. We compare our residual-mismatch failure flag against their calibrated uncertainty as a cheaper, adaptation-native alternative.
Research Program
The adaptation step has three pieces: a frozen segmenter $f$, a stored source summary $\{\mu^s_\ell, \sigma^s_\ell\}$ of per-channel means and standard deviations at layers $\ell \in L$, and a target scan $x$. We learn low-frequency Fourier amplitude offsets $p$, applied by an operator $\mathcal{P}$ that perturbs only the central frequency band and keeps the phase, by solving
$$ \min_{p}\; \sum_{\ell \in L} \Big( \lVert \mu_\ell(\mathcal{P}(x;p)) - \mu^s_\ell \rVert^2 + \lVert \sigma_\ell(\mathcal{P}(x;p)) - \sigma^s_\ell \rVert^2 \Big) + \lambda \lVert p \rVert^2 . $$
Here $\mu_\ell(\cdot)$ and $\sigma_\ell(\cdot)$ are the per-channel activation moments of $f$ at layer $\ell$ computed over all voxels of the corrected scan, and $\lambda$ keeps the correction small. With a few scans, $p$ is shared across them, which treats the site's scanner style as common. A per-scan variant is also tested. The residual value of the objective after optimization, normalized per layer, is the failure score.
The work has three parts. The first is building the method for 2D and 3D U-Nets with batch normalization. For instance-normalized networks such as nnU-Net, which store no running statistics, it adds a certification-time fingerprint of the same per-channel moments. For this variant we run a membership-inference test to confirm the fingerprint leaks no meaningful patient information. The second is an analysis of the mechanism. For every adapted scan we record statistic mismatch, feature-space distance to source, and Dice, and ask whether alignment tracks accuracy, as feature-alignment work assumes, or diverges from it, as the time-series input adapter found. The third is evaluating the failure score as a gate that tells a clinician when to distrust the output.
Baselines
The naive reference is the frozen source model applied unchanged, which on prostate HK corresponds to the 0.649 Dice reported by Kataria et al. under their protocol.
The most dangerous simple competitor is classical intensity harmonization. This means per-volume z-scoring plus histogram matching to a stored source intensity histogram, applied with the same frozen model. It is training-free and meets the frozen-weight constraint. The M&Ms challenge shows intensity handling cut the unseen-vendor gap from about 6% to 1.5%. We would count beating it as a gain of at least two Dice points on the unseen vendor or site, averaged over seeds and target-scan draws, with non-overlapping bootstrap intervals.
The strongest existing method under our constraints is FVP. We run it with the identical prompt parameterization, the same frozen backbone, and the same one, three, or ten target scans. Its reported 0.733 Dice on abdominal CT→MRI uses the full target pool, so we also run it on the full pool to reproduce that figure as an anchor. Beating it means higher Dice at three or fewer scans without losing more than one point at the full pool.
A test-time entropy-minimization prompt is a third baseline. It uses the same Fourier parameters but trains them to make the frozen model's predictions confident. It isolates whether statistic alignment, rather than any self-supervised signal, is doing the work.
The privileged references fall outside the constraint and show how close we come. The first is Kataria et al. with source access, at 0.711 on HK. The second is supervised fine-tuning of all weights on three to ten labeled target scans.
Ablations swap the objective (alignment only, entropy only, both), the layer set (shallow only, bottleneck only as in Kataria, all layers), and the parameterization (low-frequency Fourier versus an unconstrained additive image perturbation, which we expect to overfit and hallucinate). All tunable methods share one hyperparameter search on a single source-held-out shift, run at equal GPU-hour budgets, and are then frozen for every other shift.
Why not just…?
Why not just harmonize intensities with histogram matching? This is the real threat. A 2,048-parameter low-frequency correction is close to a learned global intensity transform, and on mild vendor shifts histogram matching may tie. Our expectation that it falls short rests on AMOS. There, augmentation-trained models lose over 20% mDice on unseen MRI scanners, which indicates that intensity statistics alone do not capture the shift. Our objective instead uses the model's own internal response, which reflects contrast relations between tissues, not the overall histogram. If harmonization matches us on M&Ms, prostate, and AMOS MRI, we will report that and say input prompting is unnecessary at this data scale.
Why not just run FVP with the few scans available? We do run it. The question is whether prototype-filtered pseudo-labels from one to three scans are stable. With so few scans, prototypes are averaged over a handful of predictions dominated by the very errors the shift causes. The scan-count sweep settles this directly. If FVP holds up at three scans, our contribution reduces to the failure score and the mechanism analysis.
Why not just fine-tune on a few labeled target scans? Fine-tuning changes weights and so triggers recertification. It also requires expert labels, which a scarce-data site often lacks. We include it as an upper reference so the gap we leave is visible. If unlabeled input adaptation comes within a couple of Dice points, the regulatory argument is decisive in practice.
Why not just align features with an adversarial discriminator or density matching? Both update weights and need source data. Adversarial training is also known to collapse under scarcity, falling to 0.496 against 0.649 unadapted on prostate HK (Kataria et al.).
Proposed Experiments
We use three benchmarks. The first is M&Ms, training on Siemens and Philips and adapting to the unseen GE and Canon vendors. The second is the six-site prostate MRI collection, leave-one-site-out with HK as the headline, matching Kataria et al.. The third is AMOS CT→MRI and its unseen-scanner MRI split, using the same cross-modality abdominal setting as FVP. Target budgets are one, three, ten, and all unlabeled scans, with ten random draws per budget. Metrics are Dice and average surface distance per structure, with small organs such as the adrenal glands and duodenum reported separately, since the file identifies them as the first to fail.
There are three decisive checks. First, at three or fewer scans, our method beats both histogram matching and FVP on the unseen Canon vendor and on HK. Second, across all adapted scans, the rank correlation between residual statistic mismatch and Dice is substantially negative. If it is near zero, alignment is not the mechanism and the time-series paradox holds in imaging too. Third, the residual mismatch flags scans with Dice below a clinical threshold at an AUROC that matches or exceeds the Ouyang et al. calibrated-uncertainty flag on the bSSFP→LGE shift, at a fraction of its compute. No reported result was found on Lacuna for FVP or harmonization at one to ten target scans, so all small-budget numbers will be new measurements.
References
- FVP: Fourier Visual Prompting for Source-Free Unsupervised Domain Adaptation of Medical Image Segmentation
- Unsupervised Domain Adaptation for Semantic Segmentation Under Target Data Scarcity
- Constructing and Exploring Intermediate Domains in Mixed Domain Semi-supervised Medical Image Segmentation
- Adapt the Data, Not the Model: Input-Space Adaptation for Frozen Time-Series Predictors
- Improved Post-hoc Probability Calibration for Out-of-Domain MRI Segmentation
- Multi-Centre, Multi-Vendor and Multi-Disease Cardiac Segmentation: The M&Ms Challenge
- AMOS: A Large-Scale Abdominal Multi-Organ Benchmark for Versatile Medical Image Segmentation