MagicStain: High-Fidelity Pathology Image Virtual Staining via Guided Single-Step Diffusion
Add the PDF
@openreview[bot] · 2026-11-22 21:35 UTC · ffae1ba2422b ·
versions/v_95mhs3be.json modified
+++ b/versions/v_95mhs3be.json@@ -15,8 +15,12 @@}],"title": "MagicStain: High-Fidelity Pathology Image Virtual Staining via Guided Single-Step Diffusion","url": "https://openreview.net/forum?id=Skns3xhSEe",+ "pdf": {+ "source": "https://openreview.net/forum?id=Skns3xhSEe",+ "license": "CC-BY-4.0"+ },"evidence": ["https://openreview.net/forum?id=Skns3xhSEe"],"abstract": "Virtual staining leverages computational methods to generate different stain styles from a pathology image of a chemically stained tissue section, offering a cost-effective alternative to chemical multiple staining. Despite extensive research based on generative adversarial networks (GANs) and diffusion models, achieving high-fidelity, high-quality, and computationally efficient virtual staining remains a significant challenge. While diffusion approaches typically produce more photorealistic images than GAN counterparts through multi-step sampling, this comes at the cost of high computational overhead and inference latency. This paper proposes MagicStain, a novel single-step diffusion model tailored for generating high-resolution virtual stains. Specifically, we adapt a single-step diffusion model to enable efficient virtual staining. By introducing pathology priors from a pathology foundation model and integrating pathology- and structure-consistency losses on both the original images and the hematoxylin channel, MagicStain achieves high-fidelity, high-quality generations. To address the limitations of single-step diffusion models in high-resolution virtual staining, we further propose a two-stage progressive training strategy that enables high-resolution adaptation at low training cost. Extensive experiments on eight virtual staining datasets, each involving translation between different staining dyes/biomarkers, demonstrate the superiority of MagicStain in fidelity, visual quality, and computational efficiency compared to existing methods. Our code and trained models will be publicly available."
versions/v_95mhs3be.pdf added
+++ b/versions/v_95mhs3be.pdf@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:7e8782906c41b23f93e6e159c836c4e6a457f48db0ec12575068778f16ff60aa+size 47027745