# OpenMidnight: Closing the Performance Gap Between Open and Proprietary Pathology Foundation Models

arXiv: https://arxiv.org/abs/2611.00064 · HTML: https://mlsanity.com/paper/2611.00064/

## Key facts

- Cited by 2 papers in the map (data through 26 Nov 2026).
- Builds on 8 of its 16 references that are in the map.
- Submitted 13 Oct 2026.

## Builds on (most cited first, 8 of 8)

- [Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere](https://mlsanity.com/paper/2005.10242/) (2020)
- [Virchow2: Scaling Self-Supervised Mixed Magnification Models in Pathology](https://mlsanity.com/paper/2408.00738/) (2024)
- [HEST-1k: A Dataset for Spatial Transcriptomics and Histology Image Analysis](https://mlsanity.com/paper/2406.16192/) (2024)
- [Hibou: A Family of Foundational Vision Transformers for Pathology](https://mlsanity.com/paper/2406.05074/) (2024)
- [PathBench: A comprehensive comparison benchmark for pathology foundation models towards precision oncology](https://mlsanity.com/paper/2505.20202/) (2025)
- [Training state-of-the-art pathology foundation models with orders of magnitude less data](https://mlsanity.com/paper/2504.05186/) (2025)
- [THUNDER: Tile-level Histopathology image UNDERstanding benchmark](https://mlsanity.com/paper/2507.07860/) (2025)
- [Pathology Foundation Models](https://mlsanity.com/paper/2407.21317/) (2024)

## Built on by (most cited first, 2 of 2)

- [Nanopath: Fast, Fair, Open Experimentation for Pathology Foundation Models](https://mlsanity.com/paper/2611.10014/) (2026)
- [Contrastive fine-tuning against stain and scanner bias improves robustness and downstream performance across pathology foundation models](https://mlsanity.com/paper/2611.10093/) (2026)

## Abstract (arXiv)

Pathology foundation models offer transferable representations for a range of downstream tasks in computational pathology, but reliance on proprietary data, substantial compute requirements, and limited availability of training code and preprocessing pipelines hinder independent validation and further methodological development. We present OpenMidnight 1.1, an open-source replication and refinement of Midnight trained on approximately 12,000 publicly available whole-slide images from The Cancer Genome Atlas. Using an encoder initialized with pretrained DINOv2 weights, OpenMidnight 1.1 uses approximately 320 H100 GPU-hours for pathology pretraining, a 34-fold reduction relative to the compute reported for Midnight. Across 16 classification and four segmentation datasets in THUNDER, OpenMidnight 1.1 achieves the highest mean segmentation Dice (69.7) and ranks fourth among 14 models, ahead of Midnight, with performance that matches or exceeds models trained on substantially larger datasets in several tasks. Our ablation studies additionally examine how initialization, data volume, model size, and tissue composition affect downstream performance, providing empirical evidence to inform the development of future training recipes. Our release of the training code, preprocessing pipeline, and model weights lowers barriers to reproducible research and further development of competitive pathology foundation models.
