{"title":"Diffusion-based virtual multi-stain staining for pituitary adenoma histopathology","authors":"Yifan Chen , Nidan Qiao , Xinyuan Niu , Yao Zhao , Jinhua Yu , Guoqing Wu , Haixia Cheng","doi":"10.1016/j.compmedimag.2026.102723","DOIUrl":null,"url":null,"abstract":"<div><h3>Background and Objective:</h3><div>Immunohistochemistry (IHC) for lineage-defining transcription factors—such as Pit1, Tpit, and SF1—together with markers like Ki67 and ACTH, is central to classifying pituitary neuroendocrine tumors and guiding management. Yet preparing multiple IHC slides beyond hematoxylin–eosin (H&E) is costly and inconsistent across sites. We aim to produce clinically reliable virtual IHC stains from a single H&E image under unpaired supervision.</div></div><div><h3>Methods:</h3><div>We develop a diffusion-based one-to-many virtual staining framework that transforms a single H&E image into five key IHC stains. Our approach fuses multi-scale structural features into a unified conditional representation, processed by a shared backbone with stain-specific decoders to enable mutually reinforcing learning across stains. The model incorporates perception-prioritized, timestep-aware diffusion loss and a stain-consistency term during training, combined with classifier-guided sampling during inference, to achieve exceptional fidelity in both cellular structure and chromogenic style. For clinical validation, we further introduced the nuclear positivity rate as a slide-level endpoint to quantitatively evaluate agreement between virtual and real IHC.</div></div><div><h3>Results and Conclusion:</h3><div>Compared to the best-performing baseline, our method achieves superior pixel and perceptual fidelity (PSNR <span><math><mi>↑</mi></math></span> +0.94 dB, SSIM <span><math><mi>↑</mi></math></span> +0.015; FID <span><math><mi>↓</mi></math></span> <span><math><mrow><mo>−</mo><mn>7</mn><mo>.</mo><mn>8</mn><mtext>%</mtext></mrow></math></span>, LPIPS <span><math><mi>↓</mi></math></span> <span><math><mrow><mo>−</mo><mn>7</mn><mo>.</mo><mn>9</mn><mtext>%</mtext></mrow></math></span>). For the clinical endpoint, averaged across all stains, it delivers substantial improvements in mean absolute error, correlation, and accuracy relative to the baseline average—reducing MAE by approximately 28.7%, increasing correlation by 0.07, and boosting accuracy by 0.05. Coupled with roughly 80% fewer parameters and comparable throughput, these outcomes position our approach as a unified, clinically focused diffusion model for virtual multi-stain synthesis.</div></div>","PeriodicalId":50631,"journal":{"name":"Computerized Medical Imaging and Graphics","volume":"129 ","pages":"Article 102723"},"PeriodicalIF":5.5000,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computerized Medical Imaging and Graphics","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0895611126000261","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/2/11 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"ENGINEERING, BIOMEDICAL","Score":null,"Total":0}
引用次数: 0
Abstract
Background and Objective:
Immunohistochemistry (IHC) for lineage-defining transcription factors—such as Pit1, Tpit, and SF1—together with markers like Ki67 and ACTH, is central to classifying pituitary neuroendocrine tumors and guiding management. Yet preparing multiple IHC slides beyond hematoxylin–eosin (H&E) is costly and inconsistent across sites. We aim to produce clinically reliable virtual IHC stains from a single H&E image under unpaired supervision.
Methods:
We develop a diffusion-based one-to-many virtual staining framework that transforms a single H&E image into five key IHC stains. Our approach fuses multi-scale structural features into a unified conditional representation, processed by a shared backbone with stain-specific decoders to enable mutually reinforcing learning across stains. The model incorporates perception-prioritized, timestep-aware diffusion loss and a stain-consistency term during training, combined with classifier-guided sampling during inference, to achieve exceptional fidelity in both cellular structure and chromogenic style. For clinical validation, we further introduced the nuclear positivity rate as a slide-level endpoint to quantitatively evaluate agreement between virtual and real IHC.
Results and Conclusion:
Compared to the best-performing baseline, our method achieves superior pixel and perceptual fidelity (PSNR +0.94 dB, SSIM +0.015; FID , LPIPS ). For the clinical endpoint, averaged across all stains, it delivers substantial improvements in mean absolute error, correlation, and accuracy relative to the baseline average—reducing MAE by approximately 28.7%, increasing correlation by 0.07, and boosting accuracy by 0.05. Coupled with roughly 80% fewer parameters and comparable throughput, these outcomes position our approach as a unified, clinically focused diffusion model for virtual multi-stain synthesis.
期刊介绍:
The purpose of the journal Computerized Medical Imaging and Graphics is to act as a source for the exchange of research results concerning algorithmic advances, development, and application of digital imaging in disease detection, diagnosis, intervention, prevention, precision medicine, and population health. Included in the journal will be articles on novel computerized imaging or visualization techniques, including artificial intelligence and machine learning, augmented reality for surgical planning and guidance, big biomedical data visualization, computer-aided diagnosis, computerized-robotic surgery, image-guided therapy, imaging scanning and reconstruction, mobile and tele-imaging, radiomics, and imaging integration and modeling with other information relevant to digital health. The types of biomedical imaging include: magnetic resonance, computed tomography, ultrasound, nuclear medicine, X-ray, microwave, optical and multi-photon microscopy, video and sensory imaging, and the convergence of biomedical images with other non-imaging datasets.