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

Minghao Han, Yichen Liu, Yizhou Liu, Zizhi Chen, Jingqun Tang +3 more
12/24/2025
cs.CV

Official code: Hanminghao/UniPath (12 stars, last commit 2026-02-26).

Abstract

In computational pathology, understanding and generation have evolved along disparate paths: advanced understanding models already exhibit diagnostic-level competence, whereas generative models largely simulate pixels. Progress remains hindered by three coupled factors: the scarcity of large, high-quality image-text corpora; the lack of precise, fine-grained semantic control, which forces reliance on non-semantic cues; and terminological heterogeneity, where diverse phrasings for the same diagnostic concept impede reliable text conditioning. We introduce UniPath, a semantics-driven pathology image generation framework that leverages mature diagnostic understanding to enable controllable generation. UniPath implements Multi-Stream Control: a Raw-Text stream; a High-Level Semantics stream that uses learnable queries to a frozen pathology MLLM to distill paraphrase-robust Diagnostic Semantic Tokens and to expand prompts into diagnosis-aware attribute bundles; and a Prototype stream that affords component-level morphological control via a prototype bank. On the data front, we curate a 2.65M image-text corpus and a finely annotated, high-quality 68K subset to alleviate data scarcity. For a comprehensive assessment, we establish a four-tier evaluation hierarchy tailored to pathology. Extensive experiments demonstrate UniPath's SOTA performance, including a Patho-FID of 80.9 (51% better than the second-best) and fine-grained semantic control achieving 98.7% of the real-image. The dataset and code can be obtained from https://github.com/Hanminghao/UniPath.

View on arXivView PDF

Code Implementations(1)

Hanminghao/UniPathOfficial100%

[CVPR 2026] Code for UniPath

120PythonFeb 26, 20267 months ago

Cite this paper

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

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.21058.svg)](https://codeofpaper.com/paper/2512.21058)

Discussion