Beyond Pixel Simulation: Pathology Image Generation via Diagnostic Semantic Tokens and Prototype Control

Minghao Han, YiChen Liu, Yizhou Liu, Zizhi Chen, Jingqun Tang, Xuecheng Wu, Dingkang Yang, Lihua Zhang · DOI

Introduction

In computational pathology, artificial intelligence has traditionally developed along two divergent paths: high-performance understanding models capable of complex diagnosis, and generative models that produce visually appealing but often medically inaccurate synthetic images. Current generative frameworks face three primary bottlenecks: the scarcity of expert-annotated data, a lack of fine-grained morphological control (e.g., specifying "nuclear atypia"), and terminological heterogeneity among pathologists.

To bridge this gap, we present UniPath, a framework designed to move pathology image synthesis from simple pixel simulation toward semantically grounded, diagnostically accurate generation. By integrating the diagnostic capabilities of large multimodal models with a novel multi-stream control architecture, UniPath achieves unprecedented control over the morphological details of synthetic medical images.

Methodology

UniPath utilizes a 0.6B parameter Diffusion Transformer (DiT) backbone, enhanced by a Multi-Stream Control (MSC) architecture that ensures both semantic alignment and morphological fidelity.

The UniPath framework overview, illustrating the data governance pipeline (a), the understanding module (b), and the multi-stream generation architecture (c).

Multi-Stream Control (MSC)

The MSC architecture consists of three distinct streams:

  1. High-Level Semantics Stream (HLS): Instead of standard text encoders, UniPath uses learnable queries to a frozen pathology MLLM (Patho-R1). This extracts "Diagnostic Semantic Tokens" (DST) that distill expert knowledge into the generator, making it robust to varying phrasing styles.
  2. Prototype Stream (PS): To anchor generation in biological reality, the model retrieves "morphology primitives" from a non-parametric Prototype Bank of 8,000 real-world tissue patches. This provides fine-grained guidance for specific cell types and structures.
  3. Raw-Text Stream (RTS): This stream preserves the literal intent and stylistic nuances of the user's original prompt.

Data Governance

The model was trained using a curated 2.65M Image-Text Corpus, which includes 1.03M new patches from the HISTAI dataset. A high-quality subset of 68,000 pairs was further refined using Gemini-2.5 Pro and verified by human pathologists to ensure factual accuracy.

Key Results

UniPath demonstrates significant improvements over existing state-of-the-art (SOTA) models across four critical dimensions: visual fidelity, text-image alignment, fine-grained semantic control, and downstream task utility.

A radar chart comparing UniPath against state-of-the-art models across visual fidelity, text-image alignment, semantic control, and downstream utility.

Quantitative Performance

  • Visual Fidelity: UniPath achieved a Patho-FID of 80.86, representing a 51% improvement over the previous best model (Pixcell).
  • Semantic Accuracy: In "Train-on-Synth, Test-on-Real" benchmarks, classifiers trained on UniPath-generated images reached 98.7% of the performance of those trained on real images, proving the diagnostic value of the synthetic data.
  • Human Preference: In blind evaluations, professional pathologists preferred UniPath's output over other SOTA models in 74% of cases.

Downstream Utility

Beyond image quality, UniPath serves as a powerful tool for data augmentation. In few-shot cancer classification tasks, augmenting training sets with UniPath-generated samples significantly boosted performance, particularly in scenarios with extremely limited real-world data.

Conclusion and Future Work

UniPath demonstrates that pathology image generation is most effective when guided by pre-existing diagnostic "understanding." By anchoring statistical pixel patterns in real-world prototypes and expert semantic tokens, we move closer to medically reliable synthetic pathology.

Future research will focus on expanding the model's resolution to capture larger architectural contexts (such as whole-gland structures) and extending the MSC architecture to interactive image editing, allowing researchers to precisely modify specific pathological features within real tissue slides.

Summary updated

BibTeX
@misc{han2025beyond,
  author = {Minghao Han and YiChen Liu and Yizhou Liu and Zizhi Chen and Jingqun Tang and Xuecheng Wu and Dingkang Yang and Lihua Zhang},
  title = {{Beyond Pixel Simulation: Pathology Image Generation via Diagnostic Semantic Tokens and Prototype Control}},
  year = {2025},
  eprint = {2512.21058},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.21058},
}
Figure