PHARAOH: A collaborative crowdsourcing platform for phenotyping and regional analysis of histology

Kevin Faust, Min Li Chen, Parsa Babaei Zadeh, Dimitrios G. Oreopoulos, Alberto J. León, Ameesha Paliwal, Evelyn Rose Kamski‐Hennekam, Marly Mikhail, Xianpi Duan, Xianzhao Duan, Mugeng Liu, Narges Ahangari, Raul Cotau, Vincent Francis Castillo, Nikfar Nikzad, Richard James Sugden, Patrick L. Murphy, Safiyh S. Aljohani, Philippe Echelard, Susan J. Done, Kiran Jakate, Zaid Saeed Kamil, Yazeed Alwelaie, Mohammed J. Alyousef, Noor Alsafwani, Assem Saleh Alrumeh, Rola Saleeb, Maxime Richer, Lidiane Vieira Marins, George M. Yousef, Phedias Diamandis

Abstract

Deep learning has proven capable of automating key aspects of histopathologic analysis. However, its context-specific nature and continued reliance on large expert-annotated training datasets hinders the development of a critical mass of applications to garner widespread adoption in clinical/research workflows. Here, we present an online collaborative platform that streamlines tissue image annotation to promote the development and sharing of custom computer vision models for PHenotyping And Regional Analysis Of Histology (PHARAOH; https://www.pathologyreports.ai/). Specifically, PHARAOH uses a weakly supervised, human-in-the-loop learning framework whereby patch-level image features are leveraged to organize large swaths of tissue into morphologically-uniform clusters for batched annotation by human experts. By providing cluster-level labels on only a handful of cases, we show how custom PHARAOH models can be developed efficiently and used to guide the quantification of cellular features that correlate with molecular, pathologic and patient outcome data. Both the custom model design and feature extraction pipelines are amenable to crowdsourcing, positioning PHARAOH to become a fully scalable, systems-level solution for the expansion, generalization and cataloging of computational pathology applications.

Introduction

Deep learning holds immense promise for transforming histopathology, yet it faces a significant "data tax." Training robust models typically requires tens of thousands of expert-annotated Whole Slide Images (WSIs). Given that pathologists are highly trained and time-constrained, the manual collection of these massive datasets remains a primary bottleneck. Furthermore, many existing AI tools operate as "black boxes" or "one-size-fits-all" solutions that lack the flexibility to adapt to specific research cohorts or rare diseases. There is a critical need for a scalable, interpretable framework that links specific tissue patterns (phenotypes) to clinical outcomes without requiring months of manual labeling.

Methods

The PHARAOH platform utilizes a multi-step computational pipeline designed to minimize human effort while maximizing model performance.

  1. Unsupervised Clustering (HAVOC): The system employs a pre-trained Convolutional Neural Network (CNN) to extract "histomorphologic fingerprints," or Deep Learning Feature Vectors (DLFVs), from small tissue patches. These patches are automatically grouped into clusters based on visual similarity.
  2. Human-in-the-Loop (HITL) Labeling: Instead of annotating thousands of individual patches, a pathologist reviews the clusters and assigns a label to the entire group (e.g., "Tumor," "Stroma," "Inflammation"). This batched annotation process significantly reduces the time required per slide to just 1–2 minutes.
  3. Weakly Supervised Training: These cluster-level labels are used to fine-tune a custom CNN for automated tissue segmentation across entire cohorts.
  4. Feature Extraction: Following segmentation, the platform integrates tools like HoVer-Net and CellProfiler to extract over 160 morphometric features, including nuclear size, shape, and texture.
The PHARAOH pipeline leverages deep learning feature vectors (DLFVs) extracted from image patches to organize tissue into clusters for efficient human labeling.

Results

The PHARAOH platform was validated across several high-profile datasets, including TCGA-SKCM (melanoma) and TCGA-KIRC (renal cell carcinoma), as well as local validation cohorts.

Phenotypic Correlation and Interpretability

A key strength of PHARAOH is its ability to identify interpretable morphometric features that align with pathological understanding. For instance, cellularity metrics extracted from the segmented regions showed significant differences across identified tissue types, such as inflammation and tumor regions, providing a bridge between AI outputs and clinical intuition.

Quantification of cellularity across distinct tissue phenotypes (e.g., inflammation, tumor, normal) identified through the PHARAOH framework.

Clinical and Prognostic Utility

  • Melanoma Survival: PHARAOH-derived scores for Tumor Infiltrating Lymphocytes (TILs) successfully stratified patients into high- and low-survival groups (median survival 109 vs. 66 months, $p = 0.00016$).
  • Kidney Cancer Grading: A 3-feature model measuring nuclear atypia, size, and staining aligned significantly with traditional Fuhrman grading.
  • Superior Prognosis: An XGBoost model trained on PHARAOH’s morphometric features outperformed traditional hand-crafted models in predicting survival for kidney cancer patients ($p < 0.0001$).
  • Efficiency: High spatial agreement with ground-truth manual annotations was achieved with labeling as few as seven cases.

Discussion

PHARAOH addresses the "data tax" of digital pathology by shifting the focus from individual patch annotation to cluster-level labeling. This "human-in-the-loop" approach not only accelerates model development but also ensures that the resulting models are interpretable, identifying specific morphometric drivers of disease progression. By providing an online portal for sharing custom models, PHARAOH aims to become a "Wikipedia" for computational pathology, enabling a crowdsourced library of diagnostic and prognostic tools.

Future work will explore the integration of Vision Transformers (ViTs) and active learning to further refine cluster homogeneity and model accuracy. While currently a powerful research tool, further regulatory validation is required for primary clinical diagnostic use.

Summary updated

BibTeX
@inproceedings{faust2025pharaoh,
  author = {Kevin Faust and Min Li Chen and Parsa Babaei Zadeh and Dimitrios G. Oreopoulos and Alberto J. León and Ameesha Paliwal and Evelyn Rose Kamski‐Hennekam and Marly Mikhail and Xianpi Duan and Xianzhao Duan and Mugeng Liu and Narges Ahangari and Raul Cotau and Vincent Francis Castillo and Nikfar Nikzad and Richard James Sugden and Patrick L. Murphy and Safiyh S. Aljohani and Philippe Echelard and Susan J. Done and Kiran Jakate and Zaid Saeed Kamil and Yazeed Alwelaie and Mohammed J. Alyousef and Noor Alsafwani and Assem Saleh Alrumeh and Rola Saleeb and Maxime Richer and Lidiane Vieira Marins and George M. Yousef and Phedias Diamandis},
  title = {{PHARAOH: A collaborative crowdsourcing platform for phenotyping and regional analysis of histology}},
  booktitle = {Nature Communications},
  year = {2025},
  doi = {10.1038/s41467-024-55780-z},
}
Figure