Skip to main navigation Skip to search Skip to main content

Cross-stain contrastive learning for paired immunohistochemistry and histopathology slide representation learning

Yizhi Zhang, Lei Fan, Zhulin Tao*, Donglin Di, Yang Song, Sidong Liu, Cong Cong*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference proceeding contributionpeer-review

Abstract

Universal, transferable whole-slide image (WSI) representations are central to computational pathology. Incorporating multiple markers (e.g., immunohistochemistry, IHC) alongside H&E enriches H&E-based features with diverse, biologically meaningful information. However, progress is limited by the scarcity of well-aligned multi-stain datasets. Inter-stain Misalignment shifts corresponding tissue across slides, hindering consistent patch-level features and degrading slide-level embeddings. To address this, we curated a slide-level aligned, five-stain dataset (H&E, HER2, KI67, ER, PGR) to enable paired H&E-IHC learning and robust cross-stain representation. Leveraging this dataset, we propose Cross-Stain Contrastive Learning (CSCL), a two-stage pretraining framework: a lightweight adapter trained with patch-wise contrastive alignment to improve the compatibility of H&E features with corresponding IHC-derived contextual cues; and slide-level representation learning with Multiple Instance Learning (MIL), which uses a cross-stain attention fusion module to integrate stain-specific patch features and a crossstain global alignment module to enforce consistency among slide-level embeddings across different stains. Experiments on cancer subtype classification, IHC biomarker status classification, and survival prediction, show consistent gains by yielding high-quality, transferable H&E slide-level representations. The code and data are available at: https://github.com/lily-zyz/CSCL.

Original languageEnglish
Title of host publicationProceedings - 2025 IEEE International Conference on Bioinformatics and Biomedicine, BIBM 2025
EditorsJuan Liu, Jingshan Huang, Xiaowo Wang, Fa Zhang, Xiufen Zou, Tian Tian, Xiaohua Hu, Bin Hu, Yi Xiong
Place of PublicationWuhan
PublisherInstitute of Electrical and Electronics Engineers (IEEE)
Pages1458-1463
Number of pages6
ISBN (Electronic)9798331515577
ISBN (Print)9798331515584
DOIs
Publication statusPublished - 2025
Event2025 IEEE International Conference on Bioinformatics and Biomedicine, BIBM 2025 - Wuhan, China
Duration: 15 Dec 202518 Dec 2025

Publication series

NameProceedings - IEEE International Conference on Bioinformatics and Biomedicine, BIBM
PublisherIEEE
ISSN (Print)2156-1125
ISSN (Electronic)2156-1133

Conference

Conference2025 IEEE International Conference on Bioinformatics and Biomedicine, BIBM 2025
Country/TerritoryChina
CityWuhan
Period15/12/2518/12/25

Keywords

  • Contrastive Learning
  • Multi-stain
  • Slide Representation Learning

Fingerprint

Dive into the research topics of 'Cross-stain contrastive learning for paired immunohistochemistry and histopathology slide representation learning'. Together they form a unique fingerprint.

Cite this