Training state-of-the-art pathology foundation models with orders of magnitude less data
Mikhail Karasikov, Joost van Doorn, Nicolas Känzig, Melis Erdal Cesur, Hugo Mark Horlings, Robert Berke, Fei Tang, Sebastian Otálora
TL;DR
This work challenges the assumption that pathology foundation models require massive unlabeled image collections. By modifying the DINOv2 SSL pipeline (including KDE regularization, HSV filtering, and HED augmentations) and applying a novel high‑resolution post‑training step, the authors train three PFMs on as few as 12k–92k WSIs and achieve competitive or superior performance on multiple downstream tasks. The Midnight series (Midnight‑12k, Midnight‑92k, Midnight‑92k/392) reach or exceed state‑of‑the‑art benchmarks such as Virchow2 and UNI‑2, with notable gains in segmentation and a strong showing on PCam 10‑shot. Ablation studies reveal the contribution of each modification, while qualitative segmentation and slide‑level tasks demonstrate practical benefits for clinical histopathology, though some tasks still require further optimization. Overall, the results indicate substantial potential to advance pathology FMs with much less data than previously thought, enabling broader research and potential clinic impact.
Abstract
The field of computational pathology has recently seen rapid advances driven by the development of modern vision foundation models (FMs), typically trained on vast collections of pathology images. Recent studies demonstrate that increasing the training data set and model size and integrating domain-specific image processing techniques can significantly enhance the model's performance on downstream tasks. Building on these insights, our work incorporates several recent modifications to the standard DINOv2 framework from the literature to optimize the training of pathology FMs. We also apply a post-training procedure for fine-tuning models on higher-resolution images to further enrich the information encoded in the embeddings. We present three novel pathology FMs trained on up to two orders of magnitude fewer WSIs than those used to train other state-of-the-art FMs while demonstrating a comparable or superior performance on downstream tasks. Even the model trained on TCGA alone (12k WSIs) outperforms most existing FMs and, on average, matches Virchow2, the second-best FM published to date. This suggests that there still remains a significant potential for further improving the models and algorithms used to train pathology FMs to take full advantage of the vast data collections.
