DeepHeme: A generalizable, bone marrow classifier with hematopathologist-level performance

Gregory M. Goldgof, Shenghuan Sun, Jacob Van Cleave, Linlin Wang, Fabienne Lucas, Laura Brown, Jacob D. Spector, Leonardo Boiocchi, Jeeyeon Baik, Menglei Zhu, Orly Ardon, Chuanyi M. Lu, Ahmet Doǧan, Dmitry B. Goldgof, Iain Carmichael, Sonam Prakash, Atul J. ButtebioRxiv 2023

Abstract

Morphology-based classification of cells in the bone marrow aspirate (BMA) is a key step in the diagnosis and management of hematologic malignancies. However, it is time-intensive and must be performed by expert hematopathologists and laboratory professionals. We curated a large, high-quality dataset of 41,595 hematopathologist consensus-annotated single-cell images extracted from BMA whole slide images (WSIs) containing 23 morphologic classes from the clinical archives of the University of California, San Francisco. We trained a convolutional neural network, DeepHeme, to classify images in this dataset, achieving a mean area under the curve (AUC) of 0.99. DeepHeme was then externally validated on WSIs from Memorial Sloan Kettering Cancer Center, with a similar AUC of 0.98, demonstrating robust generalization. When compared to individual hematopathologists from three different top academic medical centers, the algorithm outperformed all three. Finally, DeepHeme reliably identified cell states such as mitosis, paving the way for image-based quantification of mitotic index in a cell-specific manner, which may have important clinical applications.

Introduction

Diagnosing hematologic malignancies like leukemia or lymphoma relies heavily on the "differential count" of a bone marrow aspirate (BMA). In current clinical practice, this requires a subspecialty hematopathologist to manually categorize 200 to 500 individual cells under a microscope. This process is a significant bottleneck: it is time-consuming, inherently subjective, and limited by the number of cells a human can feasibly count. While digital pathology has revolutionized the analysis of solid tissue biopsies, BMAs have remained manual due to the complexity of identifying over 20 distinct cell types across a continuous spectrum of maturation. DeepHeme was developed to address these challenges by providing an automated, high-throughput, and highly accurate classification system.

Methodology

The researchers utilized the ResNeXt-50 architecture, a deep convolutional neural network (CNN) optimized for image classification. To ensure the model learned clinically relevant morphological features rather than laboratory-specific artifacts, the study employed several rigorous methodological safeguards:

  • Consensus Labeling: To establish a "gold standard," labels were determined by a panel of three expert hematopathologists rather than a single observer.
  • Data Augmentation: To address the natural imbalance of cell types (where some cells are significantly rarer than others), the team used up-sampling and extensive color and shape augmentations to simulate variations in slide preparation and staining.
  • Interpretability and Visualization: The team employed UMAP (Uniform Manifold Approximation and Projection) to visualize how the model clustered cells in high-dimensional space. Additionally, Saliency Mapping (Grad-CAM) was used to verify that the model's predictions were based on cellular morphology rather than background noise.

Datasets and Validation

The study was powered by a large-scale, high-quality dataset curated from two major institutions:

  1. UCSF Dataset (Internal): 41,595 single-cell images from 50 patients at the University of California, San Francisco. This dataset covers 23 morphologic classes, including rare states like mitosis and various stages of myeloid and erythroid maturation.
  2. MSK Dataset (External): 2,694 images from 10 patients at Memorial Sloan Kettering Cancer Center. This external cohort was critical for testing "generalizability"—the model's ability to maintain performance on slides prepared with different equipment and staining protocols.

Key Insights

Reconstructing the Hematopoietic "Tree of Life"

A significant finding emerged from the UMAP visualization: without any prior information regarding cell lineages, DeepHeme's internal feature representations naturally organized themselves into the biological "hematopoietic tree." The model correctly placed precursor cells (blasts) at the top, with maturing cells cascading down into their final differentiated forms. This suggests the model "learned" the underlying biological relationships of blood cell development purely from visual morphology.

Identification of Mitotic Bodies

DeepHeme successfully identified cells in the act of dividing (mitosis). This capability paves the way for an automated "mitotic index," a critical prognostic marker in many cancers that is currently too labor-intensive for humans to calculate accurately at scale.

Results

DeepHeme demonstrated performance that matched or exceeded subspecialty experts:

  • Accuracy: The model achieved a mean Area Under the Curve (AUC) of 0.99 on the internal test set and maintained an AUC of 0.98 on the external MSK validation set.
  • Man vs. Machine: In a head-to-head comparison against three subspecialty hematopathologists from top academic centers, DeepHeme outperformed all three in both precision and recall.
  • Efficiency: The model classified 575 images in 0.36 seconds. In contrast, human experts took an average of 3 hours to complete the same task, representing a 30,000x increase in speed.
  • Robustness: The model achieved high performance (defined as >0.8 precision and recall) on 19 of the 23 cell classes.

Discussion and Future Work

While DeepHeme represents a major advancement, the authors identified specific areas for future development. The model's performance slightly dipped when encountering platelet clumps in the external dataset, highlighting the impact of physical slide preparation variations. Furthermore, while the current model excels at identifying "normal" morphology and blasts, future iterations will focus on the full spectrum of dysplastic and malignant cells found in complex disease states.

The ultimate goal is the integration of DeepHeme into real-time clinical workflows, either through microscope-mounted cameras or Whole Slide Image (WSI) viewers, to provide pathologists with rapid, objective, and reproducible decision support.

Summary updated

BibTeX
@misc{goldgof2023deepheme,
  author = {Gregory M. Goldgof and Shenghuan Sun and Jacob Van Cleave and Linlin Wang and Fabienne Lucas and Laura Brown and Jacob D. Spector and Leonardo Boiocchi and Jeeyeon Baik and Menglei Zhu and Orly Ardon and Chuanyi M. Lu and Ahmet Doǧan and Dmitry B. Goldgof and Iain Carmichael and Sonam Prakash and Atul J. Butte},
  title = {{DeepHeme: A generalizable, bone marrow classifier with hematopathologist-level performance}},
  year = {2023},
  doi = {10.1101/2023.02.20.528987},
  howpublished = {bioRxiv},
}
Figure