[Paper Review] Immunocto: a massive immune cell database auto-generated for histopathology
Immunocto is a large-scale, automatically generated database of 6.8 million human cells, including 2.3 million immune cells across four subtypes (CD4+ T cells, CD8+ T cells, B cells, macrophages), created using matched H&E and immunofluorescence images with the Segment Anything Model (SAM). Trained on this dataset, a simple classifier achieves an F1 score of 0.74 for immune cell subtyping and 0.84 for lymphocyte detection—significantly outperforming state-of-the-art models.
As a first step towards building models that can recognise immune cells in WSIs, we introduce Immunocto, a high-resolution (40 x magnification) massive database of 2,282,818 immune cells distributed across 4 immune cell subtypes (CD4 T-cells, CD8+ T-cells, B-cells, and macrophages). To our knowledge, Immunocto is the largest available dataset of immune cells extracted from H\&E WSIs by an order of magnitude. All models trained with this database can be tried at www.octopath.ai
Motivation & Objective
- To address the critical need for large-scale, high-quality datasets for immune cell classification in histopathology, particularly for H&E-stained whole slide images.
- To overcome the limitations of existing datasets, which rely heavily on time-consuming manual annotations and suffer from low scalability and inter-observer variability.
- To develop a scalable, automated pipeline for generating a massive, fully annotated immune cell database using co-registered immunofluorescence data and deep learning segmentation.
- To enable robust training of models for tumour immune microenvironment analysis, supporting prognosis prediction and immunotherapy response assessment.
- To demonstrate that leveraging immunofluorescence data for label generation can significantly improve model performance on H&E-only classification tasks.
Proposed method
- Utilized matched H&E and immunofluorescence (IF) whole slide images from the Orion platform, focusing on colorectal cancer tissue sections.
- Applied the Segment Anything Model (SAM) to automatically generate cell instance segmentation masks from H&E images at 40× magnification.
- Used co-located IF data to assign accurate cell type labels (CD4+ T, CD8+ T, B cells, macrophages) to segmented cells, minimizing manual annotation.
- Generated a total of 6,848,454 cells, including 2,282,818 immune cells and 4,565,636 non-immune cells, each with a 64×64 pixel H&E patch, nucleus mask, and cell type label.
- Trained a simple convolutional neural network classifier on the H&E patches to evaluate performance on immune cell subtyping and lymphocyte detection.
- Evaluated model performance on hold-out regions from the Orion dataset, comparing against the state-of-the-art HoVer-Net model using precision, recall, and F1 scores.

Experimental results
Research questions
- RQ1Can a large-scale, automatically generated immune cell database significantly improve the performance of automated immune cell classification in H&E-stained whole slide images?
- RQ2To what extent does using co-registered immunofluorescence data for label assignment enhance the accuracy and robustness of H&E-based cell classification models?
- RQ3How does the performance of models trained on Immunocto compare to state-of-the-art models like HoVer-Net in lymphocyte detection and subtyping tasks?
- RQ4What is the impact of training data size and label quality on the generalization and performance of immune cell classification models in digital pathology?
- RQ5Can the proposed auto-generation pipeline be extended to other cell types and cancer types beyond colorectal cancer?
Key findings
- The Immunocto dataset contains 6,848,454 cells, including 2,282,818 immune cells across four subtypes, making it the largest publicly available H&E-based immune cell database by an order of magnitude.
- A classifier trained on Immunocto achieved an average F1 score of 0.74 for distinguishing the four immune cell subtypes on H&E images alone.
- For the binary task of lymphocyte detection, the Immunocto-trained model achieved an F1 score of 0.84, compared to only 0.10 for the state-of-the-art HoVer-Net model.
- The model trained on Immunocto outperformed HoVer-Net in both sparse (ROI 1) and dense (ROI 2) lymphocyte regions, with F1 scores of 0.84 and 0.84 respectively, versus HoVer-Net’s 0.10 overall.
- The use of IF data for label assignment resulted in more robust and reliable annotations, reducing inter-observer variability and improving model generalization.
- Contextual features (256×256 patches) did not significantly improve performance over 64×64 patches for lymphocyte detection, suggesting that morphological features alone are sufficient for this task when trained on high-quality data.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.