bio.rodeo
ModelsOrganizationsLeaderboardAboutSign in
bio.rodeo

The authoritative source for evaluating biological foundation models. No hype, just honest analysis.

Categories
  • DNA & Gene
  • RNA
  • Protein
  • Small molecule
  • Single-cell
  • Spatial omics
  • Pathology
  • Imaging
  • Metabolomics
  • Biosignals
  • Language model
bio.rodeoModelsOrganizationsLeaderboardAboutFAQSubmit a modelContact
© 2026 Pulsatance. All rights reserved. ~
Built by Pulsatance
Pathology foundation models
Pathology

UNI

Mahmood Lab

Computational pathology foundation model (ViT-L/16, DINOv2) pretrained on over 100 million H&E tiles from more than 100,000 whole-slide images.

Released: March 2024
Parameters: 307 Million

UNI is a general-purpose computational pathology foundation model developed by the Mahmood Lab at Harvard Medical School and Brigham and Women's Hospital. Published in Nature Medicine in March 2024, UNI established a new benchmark for self-supervised learning in digital pathology by training on a dataset of unprecedented scale and tissue-type diversity. At the time of publication, it achieved state-of-the-art performance across 34 representative pathology tasks, spanning patch-level classification, slide-level classification, survival prediction, and pathology visual question answering.

The model addresses a longstanding bottleneck in computational pathology: the scarcity of labeled training data. Annotating histopathology images requires expert pathologists and is expensive and time-consuming. By learning rich, transferable representations from unlabeled H&E slides through self-supervised pretraining, UNI enables strong downstream performance with minimal labeled data — including competitive results in few-shot and low-data regimes where prior models struggled.

UNI represents a shift from task-specific or organ-specific pathology models toward a single general-purpose backbone that can be fine-tuned or linearly probed for a wide range of clinical and research tasks. A successor model, UNI2, with a larger ViT-H backbone pretrained on approximately 200 million tiles, was released in January 2025 and represents the current recommended checkpoint for new projects.

#Key Features

  • Massive pretraining scale: Trained on over 100 million H&E-stained image tiles extracted from more than 100,000 whole-slide images sourced from the Mass General Brigham pathology archive, one of the largest pretraining datasets in computational pathology at the time of publication.
  • Broad tissue-type coverage: Pretraining spans 20 distinct tissue types — including lung, breast, colon, prostate, kidney, liver, skin, and brain — enabling generalizable representations that transfer across diverse anatomical sites.
  • DINOv2 self-supervised training: Uses self-distillation with no labels (DINOv2) as the training objective, producing features with strong linear probing performance well-suited to the dense visual recognition requirements of pathology workflows.
  • Strong low-data performance: Demonstrates competitive zero-shot and few-shot results, substantially reducing the annotation burden needed to train reliable downstream classifiers.
  • Comprehensive evaluation: Benchmarked across 34 pathology tasks at publication, outperforming prior self-supervised pathology models including CONCH-vision, PLIP, CTransPath, and Phikon on the majority of benchmarks.
  • Active development: UNI2-h (ViT-H backbone, ~200M tiles) released January 2025 further advances performance and is available on HuggingFace alongside the original UNI weights.

#Technical Details

UNI uses a Vision Transformer Large (ViT-L/16) backbone with approximately 307 million parameters, trained using the DINOv2 self-supervised learning framework. DINOv2 employs a teacher-student self-distillation objective without any labels, and has been shown to produce feature representations with superior linear probing performance compared to masked image modeling approaches such as MAE — an important advantage for patch-level pathology tasks.

Input patches are 224x224 pixels extracted at 20x magnification (0.5 microns per pixel), the standard resolution used in surgical pathology workflows. The model outputs fixed-dimensional patch-level embeddings that can be aggregated into slide-level representations using multiple-instance learning (MIL) frameworks such as ABMIL. Training data consisted exclusively of hematoxylin and eosin (H&E) stained slides from the de-identified Mass General Brigham clinical archive, covering 20 tissue types. At publication, UNI outperformed all prior self-supervised pathology models on the majority of its 34-task benchmark suite.

#Applications

UNI is designed as a general-purpose feature extractor for computational pathology pipelines. Researchers use it for cancer subtyping — for example, distinguishing lung adenocarcinoma from squamous cell carcinoma — and for biomarker prediction tasks such as inferring microsatellite instability or HER2 status directly from H&E morphology. Slide-level prognostic modeling benefits from UNI embeddings aggregated via MIL, enabling survival prediction without molecular assays. The model's strong few-shot capability makes it particularly valuable for rare disease classification, where labeled pathology data is scarce. UNI also serves as a visual backbone for multimodal models that align histology image features with pathology text, supporting pathology report grounding and visual question answering.

#Impact

UNI's publication in Nature Medicine marked a significant milestone in establishing general-purpose foundation models for digital pathology, demonstrating that large-scale self-supervised pretraining on diverse tissue types could produce representations competitive with or superior to task-specific approaches. The model has been widely adopted by the computational pathology community as a standard feature extractor baseline. Notable limitations include its restriction to H&E staining (performance on IHC or special stains requires adaptation), processing at a single magnification level (20x), and a gated access model on HuggingFace that restricts use to research under agreed terms. The pretraining data reflects the patient population of a major US academic medical center, which may affect generalization to globally diverse datasets. These limitations are areas of active work in the field, and the release of UNI2 in early 2025 represents the Mahmood Lab's continued investment in scaling and improving the foundation model.

Citation

Towards a general-purpose foundation model for computational pathology

Chen, R. J., et al. (2024) Towards a general-purpose foundation model for computational pathology. Nature Medicine.

DOI: 10.1038/s41591-024-02857-3

Recent citations

Papers that recently cited this model.

  • Pathological feature stratification as a key to unlocking weakly supervised multi-instance learning for lung cancer classification

    Tiandong Chen, Xiaoyu Li, Jixiang Xu, et al.

    Engineering applications of artificial intelligence · Oct 2026

    0
  • Dual-path Asymptotic Multimodal Fusion Network for cancer survival prediction

    Yanglei Ge, Yanjun Peng, Bowen Sun

    Biomedical Signal Processing and Control · 2026

    0
  • An enhanced spatial-frequency fusion modulation for multi-instance learning on whole slide images

    Bin Deng, Yonghong Yin, Chuanbo Qin, et al.

    Knowledge-Based Systems · Sep 2026

    0

Top citations

The most-cited papers that cite this model.

  • A whole-slide foundation model for digital pathology from real-world data

    Hanwen Xu, N. Usuyama, Jaspreet Bagga, et al.

    Nature · May 2024

    842
  • A foundation model for clinical-grade computational pathology and rare cancers detection

    E. Vorontsov, A. Bozkurt, Adam Casson, et al.

    Nature Medicine · Jul 2024

    485Influential
  • A Pathology Foundation Model for Cancer Diagnosis and Prognosis Prediction

    Xiyue Wang, Junhan Zhao, Eliana Marostica, et al.

    Nature · Sep 2024

    484
  • Vision-language models for medical report generation and visual question answering: a review

    Iryna Hartsock, Ghulam Rasool

    Frontiers Artif. Intell. · Mar 2024

    246
  • A Vision-Language Foundation Model for Precision Oncology

    Jinxi Xiang, Xiyue Wang, Xiaoming Zhang, et al.

    Nature · Jan 2025

    245

Related models

Models with similar goals, methods, or subject matter.

  • UNIStainNet

    University of Texas at Arlington / St. Jude Children's Research Hospital

    Virtual staining model that generates four IHC markers, HER2, Ki67, ER, and PR, from H&E using a generator conditioned on a frozen UNI encoder.

    Pathology
  • Uni-Hema

    Information Technology University of the Punjab / Chughtai Lab

    Digital hematopathology foundation model unifying blood-cell detection, classification, segmentation, and visual question answering.

    Pathology
  • Hibou

    HistAI

    Histopathology foundation models pretrained with DINOv2 on over 1 million whole-slide images, released as Hibou-B and Hibou-L under Apache 2.0.

    Pathology
  • UniBiomed

    Hong Kong University of Science and Technology / Weill Cornell Medicine / Harvard University

    Universal foundation model that jointly generates diagnostic text and segments the corresponding targets across ten biomedical imaging modalities.

    ImagingLanguage model
  • Virchow

    Paige AI

    Histopathology foundation models: self-supervised vision transformers pretrained on millions of whole-slide images for tile-level feature extraction.

    Pathology
  • Phikon

    Owkin

    Self-supervised histopathology foundation models for H&E whole-slide images. Phikon-v2 is a ViT-L/16 DINOv2 encoder used for biomarker prediction.

    Pathology

Citations

Total Citations1.6K
Influential202
References80

GitHub

Stars761
Forks90
Open Issues32
Contributors4
Last Push1y ago
LanguageJupyter Notebook

HuggingFace

Downloads60K
Likes332
Last Modified1y ago
Pipelineimage-feature-extraction

Fields of citing research

  • Computer Science27%
  • Medicine26%
  • Biology6%
  • Engineering3%
  • Materials Science0%
  • Mathematics0%
  • Physics0%
  • Education0%

Share of papers citing this model.

Openness

bio.rodeo opennessOpen weights · open weights, closed recipe
46Partial
Usability — can I run it?65
Reproducibility — can I retrain it?14
Model Openness Framework
Unclassified
Restrictive license on core components

Tags

dinofoundation_modelhistologyself_supervisedvision_model

Resources

GitHub RepositoryResearch PaperHuggingFace ModelHuggingFace Model