Manuscript Offprint

arXiv:2610.27605

DART: Scaling a Shape Representation Across Anatomical Classes and Imaging Modalities

Koushik Swarna, Pedro R. A. S. Bassi, Lam Ngo, Wenxuan Li, Jiancheng Yang, Alan Yuille, Zongwei Zhou

ABSTRACT

Current state-of-the-art segmentation models still produce anatomically implausible shapes, such as broken vessels and fragmented glands, on the structures that are hardest to segment. Learned shape representations capture what structures look like and can help correct these errors, but most cover a fixed set of anatomical classes. Extending this coverage across classes and imaging modalities is costly because it often requires new voxel-level annotations. We propose Diffusion for Anatomical Reshaping with Text (DART), which learns a shared shape representation from segmentation probabilities. It uses anatomical descriptions to correct these probabilities without receiving medical images. Across 13 public benchmarks, absolute Dice gains reach 31% for individual gallbladder cases in CT and 10% for individual prostate cases in MRI. Using existing segmentation predictions, we scale a single shape representation from 50 to 377 anatomical classes without new voxel-level annotations for correction training. The shared representation also corrects four lesion classes absent from training and transfers from CT to MRI without retraining. Corrected labels also improve segmentation models, raising one model's Dice from 57.1% to 67.5%. The same pipeline supports annotations for 45,000 CT scans. These results suggest that sharing shape information within and across classes can reduce the need for new voxel-level annotations when extending segmentation to more anatomical classes and imaging modalities. The model is available at https://huggingface.co/Koushik45/DART-Seg.

1 INTRODUCTION

Anatomical shape provides reusable knowledge for medical image segmentation. Conventional multi-class segmentation models learn from voxel-level annotations, and extending them to more classes or imaging modalities often requires additional annotations (Li et al., 2024; Bassi et al., 2025a). Even with this supervision, thin vessels, small glands, and hollow organs remain difficult (Figure 1). Their masks can contain broken vessels or fragmented glands, even when much of the anatomy is correctly located. However, learned shape representations used for segmentation correction usually cover one anatomy or a fixed class set (Larrazabal et al., 2020; Painchaud et al., 2020), limiting the reuse of existing annotations. We therefore ask: can a shared shape representation make these annotations useful across patients, anatomical classes, and imaging modalities?

We hypothesize that shape similarities within and across anatomical classes allow knowledge learned by existing segmentation models to support correction beyond their original training examples. Within a class, recurring geometry lets predictions for some patients guide correction in other patients. Across classes, anatomical descriptions let one model share common shape features. This reuses anatomical knowledge expressed in segmentation probabilities, without directly relying on image appearance. This reuse offers a way to reduce the need for new voxel-level annotations as anatomical and modality coverage expands.

To test this hypothesis, we propose Diffusion for Anatomical Reshaping with Text (DART), a single 3D diffusion model that learns from segmentation probabilities for 377 anatomical classes. Given

∗^{*}Correspondence to Zongwei Zhou (ZZHOU82@JH.EDU).

Figure

Figure 1: Segmentation quality is uneven across anatomy. Best reported Dice per class, from the Touchstone benchmark (Bassi et al., 2024) and TotalSegmentator (Wasserthal et al., 2023). Large solid organs such as the liver and spleen exceed 0.95. Most other structures, including tubular structures, small glands and hollow organs, score lower. The outlined structures, all below 0.90, are the ones DART is designed to help; the dots indicate that its vocabulary extends to 377 classes.

a predicted segmentation probability map and a description of the target anatomy, it corrects the probabilities using the learned shape representation (Figure 2). This preserves information that would be lost by first converting the prediction to a binary mask. The description specifies the class, shape, and location needed to guide correction. The medical image is not required. The design supports three capabilities.

• Scaling across anatomical classes. Anatomical descriptions let one model share shape information across classes. We test whether this representation can correct lesion classes absent from training, without collecting training annotations for those classes.

• Transfer across imaging modalities. The shape representation is learned from segmentation probabilities without image intensities. We test whether a model trained on probabilities predicted from CT can correct predictions from MRI without MRI training annotations, with its weights and noise-level selection rule unchanged.

• Compatibility with segmentation models. Correction operates on segmentation probabilities from automatic segmentation models or MedSAM with bounding-box prompts. Corrected probabilities are converted to masks that can serve as training labels for segmentation models on additional scans.

Our evaluation includes 13 public benchmarks, ten external to the training data. We compare with Post-DAE (Larrazabal et al., 2020), SegRefiner (Wang et al., 2023), a single-pass U-Net with DART's backbone, and traditional methods including morphological closing and statistical shape models. In the controlled 90-class comparison, DART achieves the highest Dice on 77 classes (Section 5.1). The CT-trained correction model also improves MRI masks and four lesion classes absent from its training data, without additional training annotations or retraining (Section 5.2). By learning from existing segmentation predictions, we expand the training vocabulary from 50 to 377 anatomical classes without new voxel-level annotations for correction training. Paraphrase and mismatch tests show that correction responds to the anatomical content of descriptions (Section 5.4). Corrected labels also improve all fifteen segmentation model configurations we train, spanning convolutional, residual, attention-gated and transformer architectures, by up to 10.4 Dice points (Section 5.3). To gether, these results support reusing shape information in segmentation models' predictions both to correct new cases and to produce training labels.

In summary, we make four contributions.

• We introduce a shared anatomical shape representation learned by a text-conditioned 3D diffusion model. It learns from and corrects segmentation probabilities using anatomical descriptions without receiving medical images (Figure 2; conditioning in Eq. 1, training in Eq. 2, correction in Section 3.3).

• We demonstrate scaling from 50 to 377 anatomical classes (Section 5.4, Table 5) and transfer from CT to MRI and to unseen lesion classes without target-specific training annotations or retraining (Figure 4a, Appendix C).

• We evaluate segmentation correction on 13 public benchmarks against learned and traditional correction methods (Table 1, Figure 3, Table 10), with inputs from both automatic models (Figure 3, Tables 2 and 3) and prompted MedSAM (Table 1).

• We show that corrected labels improve all fifteen segmentation model configurations we train (Figure 4b, Table 8), and release DART-45K, annotations for 45,000 CT scans (Appendix N).

References (94)