Multistain Pretraining for Slide Representation Learning in Pathology

Guillaume Jaume, Anurag Vaidya, Andrew Zhang, Andrew H. Song, Richard J. Chen +5 more
2/14/2026

No official code found. Best implementation: mahmoodlab/MADELEINE (67 stars, last commit 2025-02-18).

Abstract

Developing self-supervised learning (SSL) models that can learn universal and transferable representations of H&E gigapixel whole-slide images (WSIs) is becoming increasingly valuable in computational pathology. These models hold the potential to advance critical tasks such as few-shot classification, slide retrieval, and patient stratification. Existing approaches for slide representation learning extend the principles of SSL from small images (e.g., 224 x 224 patches) to entire slides, usually by aligning two different augmentations (or views) of the slide. Yet the resulting representation remains constrained by the limited clinical and biological diversity of the views. Instead, we postulate that slides stained with multiple markers, such as immunohistochemistry, can be used as different views to form a rich task-agnostic training signal. To this end, we introduce Madeleine, a multimodal pretraining strategy for slide representation learning. Madeleine is trained with a dual global-local cross-stain alignment objective on large cohorts of breast cancer samples (N=4,211 WSIs across five stains) and kidney transplant samples (N=12,070 WSIs across four stains). We demonstrate the quality of slide representations learned by Madeleine on various downstream evaluations, ranging from morphological and molecular classification to prognostic prediction, comprising 21 tasks using 7,299 WSIs from multiple medical centers. Code is available at https://github.com/mahmoodlab/MADELEINE.

View on arXivView PDF

Code Implementations(1)

MADELEINE: multi-stain slide representation learning (ECCV'24)

676Shell, PythonJul 16, 20241 years agoNOASSERTION
cancermolecular-status-predictionmultimodal-foundation-modelpathologyslide-representation-learning+1 more

Similar Papers

Cite this paper

@article{jaume2026multistain,
  title  = {Multistain Pretraining for Slide Representation Learning in Pathology},
  author = {Guillaume Jaume and Anurag Vaidya and Andrew Zhang and Andrew H. Song and Richard J. Chen and S. Sahai and Dandan Mo and Emilio Madrigal and L. Le and Faisal Mahmood},
  year   = {2026},
  eprint = {2408.02859},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2408.02859},
  journal = {ECCV 2024 2024}
}

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/2408.02859.svg)](https://codeofpaper.com/paper/2408.02859)

Discussion