Introduction
Deep learning has revolutionized medical image segmentation, yet these models remain notoriously "data-hungry." In the medical domain, acquiring annotated datasets is a significant challenge due to high costs, the need for expert labor, and stringent privacy regulations. While generative models—specifically diffusion models—have been proposed as a solution to synthesize training data, they often fall into a "data scarcity paradox."
Existing generative approaches typically face a trade-off: mask-only models, which generate images from segmentation masks, often produce low-fidelity results that lack the fine-grained textures essential for medical realism. Conversely, image-conditioned models produce high-quality images but lack the diversity required to train robust downstream models, as they tend to replicate the reference images too closely. Siamese-Diffusion is introduced to bridge this gap, generating high-fidelity, diverse synthetic datasets by transferring intricate morphological details from real images into a mask-conditioned generation process.
The Siamese-Diffusion Framework
Siamese-Diffusion employs a dual-branch architecture during the training phase to embed high-fidelity characteristics directly into the model's parameters.
Dual-Branch Training and Noise Consistency
The architecture consists of two parallel branches that share the same underlying denoising U-Net parameters:
- Image-Diffusion Branch: Guided by both a segmentation mask and the original source image, this branch acts as a high-fidelity "anchor."
- Mask-Diffusion Branch: Guided only by the segmentation mask.
The central innovation is the Noise Consistency Loss ($L_c$). During training, the Image-Diffusion branch (which has access to ground-truth textures) serves as a teacher. The Noise Consistency Loss forces the Mask-Diffusion branch to predict noise that is consistent with the image-guided branch. This mechanism effectively "steers" the mask-only parameters toward a local minimum in the parameter space that represents high morphological fidelity, allowing the model to "remember" realistic tissue textures even when the source image is absent during inference.
Architectural Enhancements
To further improve the quality of synthesized medical images, the authors introduced two additional components:
- Dense Hint Input (DHI): Unlike standard models that use sparse hint modules for simple shapes, DHI utilizes denser residual blocks and patch merging. This allows the model to better capture high-density medical details, such as complex textures and subtle color variations.
- Online-Augmentation: To expand the training set dynamically, the model uses its own Image-Diffusion branch to generate refined latent representations ($z'_0$) during training, which are then used to further train the Mask-Diffusion branch.
Experimental Evaluation
The researchers evaluated Siamese-Diffusion across several challenging medical domains, including Polyps (five public datasets), Skin Lesions (ISIC2016/2018), and internal benchmarks for microscopic slides (Stain) and Faeces.
Quantitative and Qualitative Performance
The method demonstrated significant improvements in both image synthesis quality and downstream segmentation performance:
- Segmentation Accuracy: On the Polyps dataset, synthetic data from Siamese-Diffusion boosted the mDice by 3.6% and mIoU by 4.4% for the SANet model. On the ISIC2018 dataset, it improved UNet’s mDice by 1.52%.
- Image Realism: The model achieved a 35-point reduction in the Frechet Inception Distance (FID) compared to the previous state-of-the-art (ArSDM), indicating a substantial leap in realism.
- Clinical Validation: In Mean Opinion Score (MOS) tests, three experienced clinicians rated Siamese-Diffusion images significantly higher than those produced by competing methods, specifically citing superior texture and alignment with the provided masks.
Discussion and Future Work
A key insight from this research is that fidelity can be embedded in the model's parameter space rather than just the sample space. By using the image-guided branch as a temporary anchor that is discarded at test time, the model gains the ability to generate infinite variations of realistic images from arbitrary masks without being constrained by a specific reference image.
However, the authors identified a "long-tail problem": while synthetic data initially improves performance, a slight decline was observed when synthetic data volume exceeded three times the size of the original dataset. This suggests that the complex, long-tailed distribution of rare medical cases remains difficult to synthesize accurately. Future research will focus on better modeling these rare distributions to ensure that larger volumes of synthetic data continue to provide marginal gains without introducing bias.
Summary updated