Skip to main content
QUICK REVIEW

[Paper Review] Virchow2: Scaling Self-Supervised Mixed Magnification Models in Pathology

Eric Zimmermann, Eugene Vorontsov|arXiv (Cornell University)|Aug 1, 2024
Body Composition Measurement TechniquesMedicine40 citations
TL;DR

The paper introduces Virchow2 and Virchow2G, pathology-adapted self-supervised ViT models trained on 3.1M WSIs, scaling data and model size to achieve state-of-the-art tile-level performance across 12 tasks.

ABSTRACT

Foundation models are rapidly being developed for computational pathology applications. However, it remains an open question which factors are most important for downstream performance with data scale and diversity, model size, and training algorithm all playing a role. In this work, we propose algorithmic modifications, tailored for pathology, and we present the result of scaling both data and model size, surpassing previous studies in both dimensions. We introduce three new models: Virchow2, a 632 million parameter vision transformer, Virchow2G, a 1.9 billion parameter vision transformer, and Virchow2G Mini, a 22 million parameter distillation of Virchow2G, each trained with 3.1 million histopathology whole slide images, with diverse tissues, originating institutions, and stains. We achieve state of the art performance on 12 tile-level tasks, as compared to the top performing competing models. Our results suggest that data diversity and domain-specific methods can outperform models that only scale in the number of parameters, but, on average, performance benefits from the combination of domain-specific methods, data scale, and model scale.

Motivation & Objective

  • Motivate foundation models for computational pathology with data scale and diversity as key performance drivers.
  • Develop pathology-adapted self-supervised training methods that improve upon prior Virchow models.
  • Evaluate the impact of data diversity, model size, and training algorithm on tile-level benchmarks.
  • Provide scalable, public ViT-based pathology models with broad tissue and stain coverage.

Proposed method

  • Propose domain-inspired augmentations, notably extended-context translation (ECT) and diverse regularization using KDE for entropy regularization.
  • Adopt stabilization techniques for large ViT training, including dual patch normalization (DPN) and query-key normalization (QKN), plus StableAdamW optimization.
  • Scale data from 1.5M to 3.1M WSIs with diverse tissues, institutions, and stains, and extend model size from 632M (Virchow) to 1.9B (Virchow2G).
  • Train mixed-magnification tiles (5x–40x) with global and local views following a DINOv2-inspired multi-view recipe, using KDE-based diversity regularization over KoLeo.
  • Balance the training data across tissue types, diagnoses, stains, and magnifications to mitigate long-tail effects.
  • Provide 2B unbalanced tiles for Virchow2 and 2B balanced tiles for Virchow2G, with architecture and hyperparameters tuned for stability.

Experimental results

Research questions

  • RQ1How do data scale and model scale interact to influence tile-level performance in pathology foundation models?
  • RQ2Do domain-specific augmentations and regularization methods outperform standard natural-image SSL pipelines when applied to mixed-magnification pathology data?
  • RQ3What is the effect of mixed magnification training and diversity-oriented objectives on in-distribution versus out-of-distribution tile benchmarks?
  • RQ4Can larger ViT models (e.g., 1.9B parameters) provide additional gains over smaller pathology-tailored models when trained with diverse WSIs?
  • RQ5How do stabilization techniques (DPN, QKN, StableAdamW) affect training stability and final performance at scale?

Key findings

  • Virchow2 improves average in-distribution weighted F1 from 0.944 (Virchow) to 0.966.
  • Virchow2G further increases average in-distribution weighted F1 to 0.971.
  • Out-of-distribution average weighted F1 rises from 0.877 (Virchow) to 0.885 (Virchow2) and 0.894 (Virchow2G).
  • A log-linear trend is observed in average OOD performance with model and data scale across models.
  • Domain-inspired adaptations (ECT, KDE) with data and model scaling achieve state-of-the-art results on multiple tile benchmarks across 12 tasks.
  • Virchow2G attains top performance on all benchmark tasks among the evaluated models in this study.

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.