When a segmentation model trained on one imaging modality (say, T2-weighted MRI) is moved to another (contrast-enhanced T1, or CT), the standard way to adapt it without new annotations is self-training. The source model labels the unlabeled target scans, the labels it is least sure about are discarded, and the model is retrained on the rest. This proposal argues that the "discard the uncertain labels" step quietly deletes rare structures. A rare lesion subregion or a small, infrequent anatomical target is uncertain for two separate reasons. One is that the modality changed. The other is that the model saw few examples of it even in its home modality. Current filters cannot tell these apart, so they throw away tail-class pseudo-labels that are no worse than the model's normal behavior on those classes. The adapted model then gets systematically worse on exactly the findings clinicians most need.
The fix we propose is small and testable. Judge each pseudo-label's uncertainty against how uncertain the source model normally is on that class in the source modality, rather than against one global cutoff. Keep target predictions whose uncertainty is typical for their class, and discard only the excess uncertainty caused by the modality change. If the filter's blindness to class rarity is really what erases tail classes under cross-modality adaptation, this correction should recover tail-class Dice while leaving common classes untouched. A controlled study that varies source rarity can show this directly.
Core Claim
In uncertainty-filtered cross-modality self-training, rarity and modality shift are confounded in one uncertainty score. The fraction of tail-class pseudo-labels that survives filtering falls as the source imbalance ratio grows, even when those pseudo-labels are as accurate as head-class ones. Replacing the global filter with a class-conditional filter calibrated on source-domain uncertainty removes this dependence.
Concretely, let $u(v)$ be the Monte Carlo dropout uncertainty at target voxel $v$ with predicted class $c$. Let $F^S_c$ be the cumulative distribution of $u$ over correctly predicted voxels of class $c$ on a held-out source validation split. A target voxel is kept if
$$F^S_c\big(u(v)\big) \le q,$$
where $q$ is a single shared quantile. Head classes, whose source uncertainty is low, keep a strict threshold. Tail classes, whose source uncertainty is inherently high, get a threshold matched to their own in-domain behavior. The reference distribution comes from labeled source data only, so the method needs no target labels and adds no parameters.
Where This Sits
The cross-modality line supplies the method we modify. FPL+ adapts 3D segmentors across MRI sequences and from CT to MRI by translating images, sharing weights with separate batch-normalization statistics per domain, and filtering pseudo-labels by uncertainty. It adds size-aware normalization so small structures are not penalized for being small. Size is not rarity, though: a structure can be large but seldom present, or small and common. FPL+'s correction addresses spatial extent and leaves category prevalence alone, which is the axis we target. AdaptDiff likewise trains a conditional diffusion generator on noisy source-model pseudo-labels to move from fundus photographs to OCT angiography. It shows that tiny foreground structures survive transfer better with diffusion than with GANs, but it is limited to binary vessel masks and never asks which diseases the pseudo-labels miss.
The gap is motivated by two observations. Mind The Gap shows that the domain gap is unequal across substructures and reweights hard-to-transfer regions with a pixel-wise discriminator. It concerns difficulty imbalance among organs present in every scan, not prevalence imbalance. The OCTA-500 dataset paper reports that segmentation quality degrades by disease in the order normal > CSC > CNV > AMD > DR > RVO, direct evidence that pathological, less frequent presentations are where models are weakest.
The imbalance line constrains the design. A Unified Loss for Inter- and Intra-Class Imbalance shows that the background's many soft probabilities distort training against tiny foregrounds, and it fixes this with a supervised, single-modality loss. We use that loss as a competitor applied to pseudo-labels. MONICA and ProCo benchmark and improve long-tailed medical classification, but always within one modality. xERM and Long-tailed Distribution Adaptation treat imbalance itself as a domain shift on natural images. They assume the class-conditional appearance is unchanged across domains, exactly what a modality change violates.
The closest joint work, IADA, combines class-balanced adversarial alignment with frequency-based thresholds for embryo images across microscopes. It targets binary classification under hardware shift, and its thresholds use class frequency rather than a source-calibrated uncertainty reference. Its report of prevalence swinging from 28.9% to 81.2% between devices is a warning we take seriously. A fix that assumes the target is balanced would cause the "prior flipping" xERM describes, where tail gains are bought by hurting common classes. Our filter makes no assumption about the target class mix.
Research Program
The work has three parts. First, a diagnostic. We reproduce FPL+-style self-training and log, per class and per round, the fraction of pseudo-labels retained and their precision against held-out target ground truth. The hypothesis is falsifiable: retention of tail classes should fall faster than their pseudo-label precision. That would mean the filter discards correct labels, not just noisy ones.
Second, a controlled rarity sweep. We keep the modality pair fixed and subsample source training volumes so that one subregion appears at imbalance ratios of roughly 1, 10, 50, and 200 relative to the most common class. We then plot tail retention and tail target Dice against this ratio. This isolates rarity from modality shift, which no existing cross-modality benchmark does.
Third, the rarity-aware filter itself. We swap it into the FPL+ pipeline, changing nothing else. As an optional extension, we re-estimate the target class prior from the model's own target predictions before class assignment. This addresses IADA-style prevalence shift and is reported as a separate ablation, not folded into the main claim.
Proposed Experiments
The primary setting is brain tumor segmentation on BraTS 2020, adapting across MRI sequences (for example T2 to T1ce and FLAIR to T1). Here the enhancing tumor and necrotic core are the natural tail against edema and healthy tissue, and FPL+ already evaluates this benchmark. The second setting is vestibular schwannoma hrT2 to ceT1, where the cochlea is a small, rarely dominant structure next to the tumor. The third is fundus-to-OCT-angiography vessel segmentation on OCTA-500 following AdaptDiff. There we stratify target Dice by disease group (normal, CSC, CNV, AMD, DR, RVO) and create prevalence shift by composing target sets with different disease mixes. For cardiac MMWHS we report only a sanity check that head-class performance is unchanged, because it has no pathology tail.
We report per-class Dice, averaged separately over head and tail classes, together with the 95th-percentile Hausdorff distance for tail classes. We also report per-class pseudo-label retention and precision, and the slope of tail Dice against source imbalance ratio from the sweep. All results are averaged over three seeds with bootstrap confidence intervals over target volumes.
Baselines
The naive reference points are the unadapted source model and self-training with no filtering at all. The latter tells us whether filtering helps at all on tail classes, since a filter that throws away all tail labels could be worse than none. The supervised target oracle bounds the achievable gap. For OCTA-500(6M), AdaptDiff reports 73.16% Dice unadapted and 84.78% for the supervised oracle.
The strongest existing method on our main benchmarks is FPL+ with its original global, size-aware uncertainty filter. It reports 91.98% Dice on vestibular schwannoma hrT2 to ceT1. No reported per-subregion result for FPL+ on BraTS 2020 was found on Lacuna, so we rerun it ourselves. We run it with the authors' architecture and dual batch-normalization, the same image-translation stage, the same number of self-training rounds, and an equal tuning budget of about twenty configurations over its filtering threshold. Our filter receives the same budget over $q$. Beating it means a statistically significant gain in tail-class Dice, on the order of several Dice points on enhancing tumor or cochlea, with head-class Dice within one point of FPL+. Matching FPL+'s reported 91.98% overall on VS is a reproduction check, not the target.
On OCTA-500 the strongest competitor is AdaptDiff, which reports 81.94% Dice on OCTA-500(6M). We run it with its published pipeline, add our filter at its pseudo-label stage, and compare Dice within each disease group. A win means improvement on the RVO, DR, and AMD groups without loss on normal eyes.
Two ablations isolate the key ingredient. The first combines FPL+ with the Balance loss from the Unified Loss paper applied to pseudo-labels, which reports 66.8 versus 59.8 Dice over cross-entropy on KiTS19 kidney tumors in supervised training. This tests whether fixing the training loss is enough without changing what gets filtered. The second is a per-class filter that keeps a fixed quantile of each class's target uncertainty rather than calibrating against the source. This tests whether the source reference matters or whether class-conditioning alone does the work.
Why not just…?
Why not just use CycleGAN translation plus a focal or class-balanced loss? Mind The Gap reports CycleGAN at 56.61% Dice on MMWHS MRI to CT against 82.42% for its method. AdaptDiff reports GAN translators erasing thin vessels. More importantly, a loss reweighting cannot restore labels that the filter has already deleted: the tail pixels are simply absent from the retraining set. The Balance-loss ablation tests this directly. If it closes the tail gap on its own, our diagnosis is wrong.
Why not just use a foundation model zero-shot? The file offers little support for this. DiffAtlas reports standard models transferred from CT to MRI scoring 44–55 Dice. M³Bind's zero-shot retinal average class accuracy ranges from 0.480 to 0.672. Medical vision-language models are also reported to fail at basic spatial reasoning. We include a pretrained 3D encoder in the style of AR-SSL4M as an initialization variant. If it removes the tail gap without our filter, the proposal's value shrinks to cheaper backbones. We report that result either way.
Why not just annotate a few target scans and fine-tune adapters? For rare subregions, a handful of target volumes may contain zero or one instance of the tail class, and the file notes that oversampling scarce positives leads to memorization. DiffAtlas reports a standard few-shot model at 46.96 Dice in the 2-shot regime. We nonetheless run a 5-volume fine-tuning baseline as a label-cost reference point.
Why not just set a separate threshold per class on the target? This is the real threat, and it is the second ablation above. Our argument is that target-side quantiles keep a fixed share of each class regardless of whether those labels are right. Under strong shift, a tail class may be almost entirely mispredicted, and a per-class quantile would keep the wrong labels anyway. The source reference instead keeps labels whose uncertainty looks like the class's normal in-domain behavior. This distinction should matter most at high imbalance ratios and large modality gaps. If the sweep shows the target-quantile variant matching ours throughout, we will report that the essential finding is class-blindness of the filter, not the calibration source, and recommend the simpler variant.
Decisive Checks
The idea stands or falls on three results. The diagnostic must show that global filtering removes tail pseudo-labels out of proportion to their error rate. The rarity sweep must show that the tail-Dice slope against imbalance ratio is flattened by our filter and not by the Balance loss. The source-calibrated filter must beat the target-quantile variant at the high-imbalance end of the sweep without lowering head-class Dice. If the first check fails, uncertainty filtering is not what hurts rare classes under modality shift, and we will say so.
References
- FPL+: Filtered Pseudo Label-Based Unsupervised Cross-Modality Adaptation for 3D Medical Image Segmentation
- AdaptDiff: Cross-Modality Domain Adaptation via Weak Conditional Semantic Diffusion for Retinal Vessel Segmentation
- Mind the Gap: Alleviating Local Imbalance for Unsupervised Cross-Modality Medical Image Segmentation
- OCTA-500: A retinal dataset for optical coherence tomography angiography study
- A Unified Loss for Handling Inter-Class and Intra-Class Imbalance in Medical Image Segmentation
- MONICA: Benchmarking on Long-tailed Medical Image Classification
- ProCo: Prototype-Aware Contrastive Learning for Long-Tailed Medical Image Classification
- Cross-Domain Empirical Risk Minimization for Unbiased Long-Tailed Classification
- Long-tailed Distribution Adaptation
- Addressing Domain Shift via Imbalance-Aware Domain Adaptation in Embryo Development Assessment
- Your other Left! Vision-Language Models Fail to Identify Relative Positions in Medical Images
- Autoregressive Sequence Modeling for 3D Medical Image Representation