A visual-language foundation model for computational pathology

Ming Y. Lu, Bowen Chen, Drew Fk Williamson, Richard J. Chen, Tong Ding, Guillaume Jaume, Long Phi Le, Anil Parwani, Andrew Zhang, Faisal MahmoodNature Medicine 2024

Abstract

CONCH (CONtrastive learning from Captions for Histopathology) is a vision-language foundation model pretrained on 1.17 million histopathology image-caption pairs. By integrating contrastive alignment and generative captioning, CONCH bridges the gap between visual morphology and medical text. It achieves state-of-the-art performance across 13 benchmarks, demonstrating robust zero-shot capabilities for classification, retrieval, and segmentation, significantly reducing the reliance on task-specific expert annotations.

Introduction

In computational pathology (CPath), the standard paradigm involves training "specialist" models for specific tasks, such as cancer detection or grading. This approach is limited by the high cost of expert annotations for gigapixel whole-slide images (WSIs) and the lack of flexibility across different tissue types. Furthermore, most models are vision-only, ignoring the descriptive language pathologists use in reports and textbooks. CONCH addresses these challenges by creating a foundation model that understands both histology images and complex biomedical language.

Methods

CONCH is built on the CoCa (Contrastive Captioners) architecture, which combines two powerful learning objectives: contrastive alignment and generative captioning. Contrastive alignment maps images and text into a shared representation space, ensuring that visual patterns (e.g., "invasive ductal carcinoma") are mathematically close to their textual descriptions. Simultaneously, a multimodal decoder learns to predict the actual text of a caption given an image, forcing the model to capture fine-grained morphological details.

CONCH architecture and performance radar chart

Datasets and Curation

The model was pretrained on a massive, newly curated dataset of 1.17 million image-caption pairs filtered to include only human tissue. This data was sourced from PMC-Path (PubMed Central Open Access articles) and high-quality online pathology educational resources (EDU). To ensure data quality, the authors developed an automated pipeline using a YOLOv5 object detector to extract histology images from multi-panel figures and a GPT-style model to split complex captions into specific sub-captions for each image.

Data curation pipeline and dataset statistics by organ system

Results and Key Insights

CONCH demonstrates powerful zero-shot capabilities, performing tasks without explicit training on task-specific labels. By providing text prompts (e.g., "An image of invasive lobular carcinoma"), the model can classify images with high accuracy. For instance, on the difficult TCGA BRCA subtyping task, CONCH achieved 84.0% accuracy, while other models performed near random chance (~50-55%).

Key results include:

  • Few-Shot Efficiency: In scenarios with very few labels, CONCH reached performance levels that other models required 8x more data to achieve.
  • Cross-Modal Retrieval: CONCH showed a massive leap in finding the right image for a text query, achieving a mean recall of 44.0% compared to the next best model's 17.3%.
  • Scaling to Gigapixels: Using the MI-Zero technique, the model can aggregate scores from thousands of tiles to make slide-level diagnoses on whole-slide images.
  • Prompt Ensembling: Averaging the model's understanding of multiple descriptive variations for a disease significantly boosts performance.

Conclusion

CONCH represents a significant advancement toward generalist AI in pathology. By leveraging language as a teacher and scaling to massive datasets, it reduces the need for expensive custom-labeled data for every new clinical task. Future work will focus on increasing data scale, improving granularity for sub-cellular features, and expanding to a wider variety of histological stains beyond standard H&E.

Summary updated

BibTeX
@inproceedings{lu2024visual,
  author = {Ming Y. Lu and Bowen Chen and Drew FK Williamson and Richard J. Chen and Tong Ding and Guillaume Jaume and Long Phi Le and Anil Parwani and Andrew Zhang and Faisal Mahmood},
  title = {{A visual-language foundation model for computational pathology}},
  booktitle = {Nature Medicine},
  year = {2024},
  url = {https://openreview.net/forum?id=hTWirmBgOz},
}
Figure