Skip to main content
QUICK REVIEW

[Paper Review] Distilling foundation models for robust and efficient models in digital pathology

Alexandre Filiot, Nicolas Dop|ArXiv.org|Jan 27, 2025
AI in cancer detectionComputer Science4 citations
TL;DR

The paper distills a large digital pathology foundation model (H-Optimus-0) into a smaller ViT-Based model (H0-mini) to achieve competitive performance with far lower inference cost and enhanced robustness to staining/scanning variations, validated on HEST, EVA, and PLISM benchmarks.

ABSTRACT

In recent years, the advent of foundation models (FM) for digital pathology has relied heavily on scaling the pre-training datasets and the model size, yielding large and powerful models. While it resulted in improving the performance on diverse downstream tasks, it also introduced increased computational cost and inference time. In this work, we explore the distillation of a large foundation model into a smaller one, reducing the number of parameters by several orders of magnitude. Leveraging distillation techniques, our distilled model, H0-mini, achieves nearly comparable performance to large FMs at a significantly reduced inference cost. It is evaluated on several public benchmarks, achieving 3rd place on the HEST benchmark and 5th place on the EVA benchmark. Additionally, a robustness analysis conducted on the PLISM dataset demonstrates that our distilled model reaches excellent robustness to variations in staining and scanning conditions, significantly outperforming other state-of-the art models. This opens new perspectives to design lightweight and robust models for digital pathology, without compromising on performance.

Motivation & Objective

  • Investigate whether distilling a large foundation model improves cost-efficiency in digital pathology without sacrificing performance.
  • Assess robustness of distilled models to variations in staining and scanning conditions.
  • Evaluate distilled model performance on public benchmarks (HEST and EVA) and robustness dataset (PLISM).

Proposed method

  • Distill H-Optimus-0 (ViT-G) into H0-mini (ViT-Base, 86M parameters) using DINO and iBOT self-supervised objectives.
  • Followed a teacher-student distillation setup with class tokens and patch tokens supervised by separate heads.
  • Use EMA of the student and mixed precision to speed up training; remove stochastic depth and Köleo regularization as in related work.
  • Pre-training data comprise 43M tiles from 6,093 TCGA slides across 16 cancer sites.
  • Evaluate embeddings by concatenating CLS token and mean patch tokens for downstream tasks.
  • Benchmark robustness with the PLISM dataset measuring cosine similarity and Top-k accuracy across stain/scanner variations.

Experimental results

Research questions

  • RQ1Can distillation reduce model size and inference cost while preserving performance on pathology tasks?
  • RQ2Does distillation improve robustness of foundation models to staining and scanning variations in digital pathology?
  • RQ3How do distilled models compare to large foundation models on standard pathology benchmarks (HEST and EVA) and robustness datasets?

Key findings

  • H0-mini (86M) achieves competitive performance with much larger models on HEST and EVA benchmarks.
  • On HEST, H0-mini ranks comparably to larger models and beats several baseline foundation models.
  • On EVA, H0-mini demonstrates strong performance across patch-level and slide-level tasks, ranking competitively with state-of-the-art large models.
  • Robustness analyses on PLISM show H0-mini achieves high robustness to staining and scanning variations, outperforming multiple state-of-the-art models.
  • Distillation yields a lightweight model that remains robust and efficient for downstream CPath tasks.

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.