Abstract
Training robust AI models for digital pathology is often hindered by the scarcity of annotated whole-slide images (WSIs). While generative models offer a potential solution, existing methods frequently produce homogeneous tissue patches and lose critical morphological details through abstract prompting. We present HeteroTissue-Diffuse, a latent diffusion model (LDM) that synthesizes highly realistic, heterogeneous histopathology images by conditioning on both semantic maps and raw visual tissue crops. By leveraging a foundation model for unsupervised clustering on massive datasets like TCGA, our framework generates high-fidelity synthetic data that achieves near-parity with real data in downstream diagnostic tasks.
Introduction
In digital pathology, the development of diagnostic AI is constrained by the difficulty of obtaining large-scale, annotated datasets due to privacy regulations and the high cost of expert labor. Generative AI, particularly Generative Adversarial Networks (GANs) and Diffusion Models, has been explored to bridge this gap. However, these models often suffer from two main issues: they typically generate single-tissue patches (lacking the complex interfaces found in real slides) and rely on lossy text or embedding-based conditioning that fails to capture subtle cellular textures.
Methodology
HeteroTissue-Diffuse addresses these limitations through a novel dual-conditioning architecture within a Latent Diffusion Model framework.
Dual-Conditioning with Raw Pixels
Instead of abstract embeddings, the model is conditioned on:
- Semantic Maps (SM): These provide a spatial layout of different tissue types.
- Visual Crops: Raw RGB pixel patches from real tissue serve as style templates. Using raw pixels ensures the preservation of fine-grained features like nuclear chromatin texture and staining variations.
Unsupervised Scaling and Sampling
To utilize unannotated data, the authors employed the UNI foundation model to cluster over 600 million patches from ~11k TCGA WSIs into 100 distinct tissue phenotypes. This enables the automatic generation of "pseudo-semantic maps." Furthermore, an adaptive sampling strategy targets heterogeneous regions (20–80% tissue mixture) to ensure the model learns to synthesize realistic biological transitions.
Experimental Results
The model was evaluated on the Camelyon16 (lymph node), PANDA (prostate), and TCGA datasets.
Image Fidelity and Quality
On Camelyon16, HeteroTissue-Diffuse achieved a Fréchet Distance (FD) score of 72.0, representing a six-fold improvement over non-prompted baselines (FD 430.1). In a blinded "Turing Test," a certified pathologist was unable to distinguish real from synthetic images better than random chance (~45-50% accuracy).
Downstream Task Performance
The utility of the synthetic data was validated by training a DeepLabv3+ segmentation model. When trained exclusively on synthetic data, the model achieved a test IoU of 0.71 on Camelyon16 and 0.95 on PANDA, coming within 1–2% of the performance of models trained on real human-annotated data.
Discussion and Conclusion
HeteroTissue-Diffuse demonstrates that synthetic data can serve as a viable replacement for scarce clinical samples in digital pathology. By prioritizing raw pixel prompts over abstract embeddings, the model captures the morphological nuances essential for medical diagnosis. While the computational cost of initial feature extraction is high, the ability to democratize rare disease data and generate high-quality annotated samples at scale marks a significant step forward. Future work will focus on adapting the framework for diverse staining modalities and scaling to full whole-slide synthesis.
Summary updated