Some segmentation models are trained entirely on fake scans. The recipe, called domain randomization, takes a map that labels every voxel with its anatomical structure and paints each structure with a random intensity. It then adds random blur, noise, and brightness drift. Because the colors are meaningless, the network has to learn shape, and such models transfer across scanners and even across modalities. The catch is the input: every training image is rendered from a complete voxel-by-voxel label map, which is exactly what experts cannot afford to draw. Scribble supervision attacks the cost directly. A scribble is a quick stroke drawn inside each organ, and scribble-trained models now come close to dense supervision in-distribution. They have never been shown to survive a change of scanner or modality. Their weakest point is also the place where domain randomization is most naive: the fuzzy, low-contrast border between adjacent soft-tissue organs.
We propose to close both gaps with one mechanism. A scribble-trained model produces soft pseudo-label maps. We split each map into a confident core and an uncertain boundary band, and use the maps as templates for randomized synthesis. Inside the band, the synthetic image is rendered with random partial-volume blending and, often, deliberately collapsed contrast between the neighboring organs. The loss is withheld there. The network therefore learns organ interiors from scribbles and confident pseudo-labels, and learns boundaries from shape context rather than intensity edges. The claim is that this gives scribble-supervised abdominal segmenters that hold up under CT-to-MRI and cross-scanner shift. It should do so without hurting in-distribution accuracy, and it should beat both plain scribble training and naive "pseudo-labels into SynthSeg."
Core Claim and Positioning
Three findings in prior work motivate the proposal. SynthSeg (A Learning Strategy for Contrast-agnostic MRI Segmentation) trains a 3D U-Net only on images synthesized from brain label maps, reaching a median Dice of about 0.85 across T1, T2, PD and DBS scans. Its ablation also shows that restricting synthesis to realistic contrasts hurts. Hoffmann's survey (Domain-Randomized Deep Learning for Neuroimage Analysis) reports that 5–10 dense label maps often suffice. Both assume those maps are complete and correct. Both render organ borders as step functions between two constant-mean regions, softened only by global blur. The proposal keeps their synthesis engine. It changes where the templates come from and how borders are drawn.
The second motivating finding comes from Gotkowski et al. (Embarrassingly Simple Scribble Supervision for 3D Medical Segmentation; Revisiting 3D Medical Scribble Supervision). Specialized scribble methods such as ShapePU, CycleMix and ScribFormer (ScribFormer) collapse outside cardiac data. A plain nnU-Net with a partial loss, meaning gradients only on scribbled voxels, reaches 0.813 mean Dice across seven tasks against 0.856 for dense supervision. That result constrains the design. We do not add a new architecture. We keep nnU-Net with partial loss as the backbone and change only the training data.
The third finding is the size of the problem. AMOS (AMOS) documents a drop of more than 20% Dice on MRI from unseen scanners. It also shows that small, low-contrast organs such as the adrenal glands and duodenum remain hard even with dense labels.
Two works supply method pieces and set the contrast. Can et al. (Learning to Segment Medical Images with Scribble-Supervision Alone) found that uncertainty filtering, not CRF refinement, is what stops self-training from compounding boundary errors. We reuse that lesson in the confident/uncertain split. Yao et al. (Enhancing Pseudo Label Quality for Semi-supervised Domain-Generalized Medical Image Segmentation) combine style perturbation by Fourier-amplitude swapping with confidence-weighted pseudo-labels. This is the closest existing combination. It differs from ours in three ways: it needs dense labels on a fraction of scans, it borrows style only from real images in the pool, and it is 2D and cardiac-only. Our proposal starts from scribbles and synthesizes contrasts outside any real pool. It treats boundary uncertainty as something to render, not only to down-weight.
The TLDR result (Texture Learning Domain Randomization) appears to contradict us. It shows that adjacent, shape-identical classes can sometimes be separated only by texture, so stripping texture hurts. We take this seriously. It is why training mixes real scans with synthetic ones rather than replacing them, and why the in-distribution CT check below is a pass/fail condition.
Research Program
The pipeline has three stages, and the same 3D nnU-Net configuration is used throughout.
First, a teacher is trained with partial loss on real scans that carry scribbles. It predicts soft class probabilities $p(x)$ at each voxel $x$. Voxels whose top probability exceeds a threshold $\tau$, and which lie farther than a random margin from a predicted class change, form the confident core. All other voxels form the uncertain band $B$. Scribbled voxels are always confident. The band is widened by Monte Carlo dropout disagreement, following Can et al.
Second, the synthesis step. Each template's confident labels are deformed spatially (affine plus smooth elastic warps) and painted with random per-label Gaussian intensities, random bias fields, blur, noise and resolution loss, as in SynthSeg. The new part is how $B$ is rendered. A band voxel between organs $a$ and $b$ gets intensity
$$I(x) = w(x)\,\mu_a + (1-w(x))\,\mu_b + \epsilon, \qquad w(x) = \frac{p_a(x)^{1/T}}{p_a(x)^{1/T} + p_b(x)^{1/T}}.$$
Here $\mu_a, \mu_b$ are the randomly drawn means of the two organs, $T$ is a temperature sampled per scan that sets how gradual the transition is, and $\epsilon$ is noise. With some probability per organ pair, $\mu_b$ is resampled close to $\mu_a$. This produces borders that are nearly invisible by intensity, which is the regime that defeats CRFs and edge detectors. The form mirrors partial-volume mixing, where a voxel straddling two tissues takes a weighted average of their signals.
Third, the student trains on a mix of real scans and synthetic scans. Real scans use partial loss on scribbles plus confident pseudo-labels. Synthetic scans use full loss on the core and no loss in $B$. The student cannot copy the teacher's guessed boundaries. Because band contrast is randomized and often absent, it also cannot rely on intensity edges there, so boundary placement must come from shape learned on confident regions and across deformations. The student then becomes the teacher, and we cap the process at two rounds to limit error accumulation.
The analysis has three parts. We measure how band width relates to true boundary error on held-out dense labels, which tests whether the uncertainty split is calibrated. We break accuracy down per organ, with pancreas, adrenal glands and duodenum as the hard set. We also measure annotation-time-matched performance against dense-template synthesis.
Baselines
The naive reference point is nnU-Net with partial loss trained on the same scribbled source scans with nnU-Net's default augmentation, as in Embarrassingly Simple Scribble Supervision. It reports 0.813 mean Dice on ScribbleBench, against a dense upper bound of 0.856. It is also the strongest existing method on the annotation side, because it is the only scribble method shown to hold across diverse tasks. Under cross-modality shift we have no number to compare against: no reported result found on Lacuna for scribble-trained models evaluated on AMOS MRI or on unseen scanners. We will run it ourselves with an identical architecture, identical epochs and an identical hyperparameter search budget. Beating it means a gain of at least 5 Dice on target-domain MRI averaged over seeds, with no more than a 1-point loss on source CT.
The second baseline is the strongest shift-robust competitor: nnU-Net with partial loss plus Fourier-amplitude style swapping and confidence-weighted pseudo-labels, following Enhancing Pseudo Label Quality. It reports 84.52% Dice on M&Ms with 2% dense labels. That number is not directly comparable, because the setting uses dense partial labels, a 2D model and cardiac data. We adapt it to 3D and to scribble inputs and give it the same unlabeled pool. It is the fair test of whether real-style perturbation is enough.
The third baseline is naive scribble-seeded domain randomization: argmax pseudo-labels from the same teacher fed straight into SynthSeg-style synthesis, with step-function borders and full loss everywhere. The fourth is dense-template domain randomization in the SynthSeg setting: the 10 dense AMOS CT maps that cost about as much expert time as our scribbles, used as templates.
Two ablations isolate the key ingredients. The first keeps the band but removes the contrast-collapse sampling. The second keeps the rendering but applies loss in the band. Dense nnU-Net on the source domain serves as the reference ceiling, reported as 89.04% mDice in-distribution for a 3D-UNet on AMOS CT in AMOS.
Why not just…?
Why not just train nnU-Net with partial loss and stronger intensity augmentation? This is the most likely way the project fails, and it is cheap to test, so it is a required baseline rather than a straw man. Gamma, contrast and noise augmentation on real CT perturbs intensities around CT's fixed Hounsfield scale. SynthSeg's ablation shows that realistic-range contrast variation transfers worse to unseen modalities than extreme randomization. If augmented nnU-Net matches us on AMOS MRI, the synthesis is unnecessary and we will report that.
Why not just plug pseudo-labels into SynthSeg? That is the third baseline. We expect it to fail at exactly the organs we care about. Wrong teacher boundaries are rendered as crisp, confident edges, and the student is then penalized for disagreeing with them, which reproduces the error compounding Can et al. warn about. The band-loss ablation separates this effect from the rendering.
Why not just densely label ten scans and use standard domain randomization? Hoffmann reports that 5–10 dense maps suffice in brain imaging, so this is a real threat. Abdominal anatomy varies more across patients than brain anatomy, and ten templates may not cover pancreas and bowel shape. That is a hypothesis, and the time-matched fourth baseline settles it. If dense templates win, the contribution reduces to boundary-band rendering, which can be applied to dense templates too.
Why not just use Fourier amplitude swapping? It only recombines styles present in the training pool, and it does nothing about borders that have no intensity edge. The second baseline tests whether those limits matter in a CT-to-MRI transfer.
Proposed Experiments
The primary setting trains on AMOS CT with the ScribbleBench scribbles and tests zero-shot on AMOS MRI, split by scanner model, with WORD CT as a second CT domain. A cardiac replication trains on ACDC scribbles and tests on M&Ms vendors. Metrics are per-organ Dice, normalized surface Dice at 1 and 2 mm, and 95th-percentile Hausdorff distance, all reported over three seeds with paired bootstrap intervals.
Four results are decisive. The method must gain on MRI over nnU-Net with partial loss, and most of the gain should come from pancreas, adrenal glands and duodenum. Source CT must stay within 1 Dice, which addresses the TLDR concern. The contrast-collapse ablation must show that surface Dice on hard organs depends on rendering low-contrast bands, not merely on randomization. The time-matched comparison must show whether scribble templates beat ten dense templates. If the first or second check fails, the hypothesis is wrong for abdominal imaging.
References
- A Learning Strategy for Contrast-agnostic MRI Segmentation
- Domain-Randomized Deep Learning for Neuroimage Analysis: Selecting Training Strategies, Navigating Challenges, and Maximizing Benefits
- Embarrassingly Simple Scribble Supervision for 3D Medical Segmentation
- Revisiting 3D Medical Scribble Supervision: Benchmarking Beyond Cardiac Segmentation
- ScribFormer: Transformer Makes CNN Work Better for Scribble-based Medical Image Segmentation
- AMOS: A Large-Scale Abdominal Multi-Organ Benchmark for Versatile Medical Image Segmentation
- Learning to Segment Medical Images with Scribble-Supervision Alone
- Enhancing Pseudo Label Quality for Semi-supervised Domain-Generalized Medical Image Segmentation
- Texture Learning Domain Randomization for Domain Generalized Segmentation