Skip to main content
QUICK REVIEW

[Paper Review] Self-Supervised Vision Transformers Learn Visual Concepts in Histopathology

Richard J. Chen, Rahul G. Krishnan|arXiv (Cornell University)|Mar 1, 2022
AI in cancer detectionComputer Science43 citations
TL;DR

The paper benchmarks self-supervised learning for pathology patch and slide-level tasks, showing DINO-based Vision Transformers learn interpretable, morphology-specific visual concepts and often outperform ImageNet-pretrained baselines, especially in data-scarce settings.

ABSTRACT

Tissue phenotyping is a fundamental task in learning objective characterizations of histopathologic biomarkers within the tumor-immune microenvironment in cancer pathology. However, whole-slide imaging (WSI) is a complex computer vision in which: 1) WSIs have enormous image resolutions with precludes large-scale pixel-level efforts in data curation, and 2) diversity of morphological phenotypes results in inter- and intra-observer variability in tissue labeling. To address these limitations, current efforts have proposed using pretrained image encoders (transfer learning from ImageNet, self-supervised pretraining) in extracting morphological features from pathology, but have not been extensively validated. In this work, we conduct a search for good representations in pathology by training a variety of self-supervised models with validation on a variety of weakly-supervised and patch-level tasks. Our key finding is in discovering that Vision Transformers using DINO-based knowledge distillation are able to learn data-efficient and interpretable features in histology images wherein the different attention heads learn distinct morphological phenotypes. We make evaluation code and pretrained weights publicly-available at: https://github.com/Richarizardd/Self-Supervised-ViT-Path.

Motivation & Objective

  • Evaluate a range of self-supervised models as instance-level pretraining encoders for whole-slide image (WSI) phenotyping tasks in histopathology.
  • Assess how inductive biases of self-supervised methods affect downstream patch-level and weakly-supervised tissue phenotyping tasks.
  • Compare self-supervised pretraining (SimCLR, DINO) to ImageNet transfer learning on diverse pathology datasets.
  • Investigate interpretability of learned representations, particularly whether attention heads localize histopathological concepts.

Proposed method

  • Pretrain phi on 256x256 histology patches (20x) using self-supervised methods (SimCLR with ResNet-50 and DINO with Vision Transformer).
  • Evaluate on weakly-supervised breast cancer subtyping (IDC vs ILC) and patch-level tissue phenotyping (CRC-100K, BreastPathQ) across varying training data fractions (100%, 75%, 50%, 25%).
  • Use MIL framework with CLAM as the bag classifier to aggregate patch embeddings for slide-level predictions.
  • Compare to ResNet-50 pretrained on ImageNet as baseline; visualize attention heads in DINO to interpret learned visual concepts.
  • Analyze global structure via UMAP and assess data-efficiency and robustness of self-supervised features.

Experimental results

Research questions

  • RQ1Do self-supervised pretraining methods on histology patches yield representations that outperform ImageNet-pretrained encoders for patch- and slide-level pathology tasks?
  • RQ2How do SimCLR and DINO compare in weakly-supervised cancer subtyping and patch-level tissue phenotyping under varying data availability?
  • RQ3Can DINO's attention heads localize meaningful histopathology concepts (cells, stroma, fat/air pockets) and reflect part-whole hierarchies in tissue patches?

Key findings

  • ImageNet features are a strong baseline and can be competitive with self-supervised methods on several tasks.
  • In BRCA subtyping, DINO achieves the highest AUC among self-supervised methods and is close to or slightly below the ImageNet baseline depending on training data fraction.
  • On CRC-100K patch-level phenotyping, self-supervised methods (especially DINO) show robust performance and can surpass or closely match ImageNet-based features, with improved global structure preservation in embeddings.
  • DINO outperforms SimCLR across most tasks, particularly under data-scarce conditions, suggesting knowledge-distillation pretraining better captures histology-specific morphology.
  • Visualization indicates DINO's multi-head attention localizes distinct morphological phenotypes (e.g., cell locations, stroma, fat/air pockets), supporting interpretable, part-whole representations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.