OT-StainNet: Optimal Transport Driven Semantic Matching for Weakly Paired H&E-to-IHC Stain Transfer

Abstract

Immunohistochemistry (IHC) examination is essential for characterizing tumor subtypes, providing prognostic information, and developing personalized treatment plans. However, IHC staining preparation is more complex and expensive compared to Hematoxylin and Eosin (H&E) staining, limiting its widespread clinical application. Transforming H&E images into IHC images presents a promising solution. In this paper, we propose OT-StainNet, a novel virtual IHC staining method. OT-StainNet employs a pre-trained diffusion model with richer prior knowledge as the generator and fine-tunes it with LoRA adapters through adversarial training. Given that adjacent images of the same tissue stained with H&E and IHC are not precisely aligned at the pixel level, existing methods struggle to fully utilize the supervisory information from weakly paired IHC images. To address this issue, we propose an optimal transport-driven semantic matching (OTSM) mechanism, establishing accurate semantic correspondences between H&E-IHC image pairs. By leveraging the real IHC features obtained through the OTSM mechanism, we design a semantic consistency constraint (SCC) to ensure that the correlations among virtual IHC features remain consistent with those among real IHC features, thereby preserving valuable correlation information during stain transfer. We validate OT-StainNet using four types of IHC staining across two datasets. Extensive experiments demonstrate the effectiveness of our method compared to state-of-the-art approaches.

Cite

Text

Guan et al. "OT-StainNet: Optimal Transport Driven Semantic Matching for Weakly Paired H&E-to-IHC Stain Transfer." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I3.32329

Markdown

[Guan et al. "OT-StainNet: Optimal Transport Driven Semantic Matching for Weakly Paired H&E-to-IHC Stain Transfer." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/guan2025aaai-ot/) doi:10.1609/AAAI.V39I3.32329

BibTeX

@inproceedings{guan2025aaai-ot,
  title     = {{OT-StainNet: Optimal Transport Driven Semantic Matching for Weakly Paired H&E-to-IHC Stain Transfer}},
  author    = {Guan, Xianchao and Wang, Yifeng and Zhang, Ye and Zhang, Zheng and Zhang, Yongbing},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {3194-3202},
  doi       = {10.1609/AAAI.V39I3.32329},
  url       = {https://mlanthology.org/aaai/2025/guan2025aaai-ot/}
}