[Paper Review] One Model is All You Need: Multi-Task Learning Enables Simultaneous Histology Image Segmentation and Classification
This paper proposes Cerberus, a multi-task deep learning model that simultaneously segments and classifies nuclei, glands, lumina, and tissue regions in whole-slide images using a single shared backbone. By leveraging data from multiple independent sources and aligning tasks by tissue type and resolution, the model achieves strong performance across all tasks—outperforming single-task baselines—and enables transfer learning for downstream tasks like nuclear classification and signet ring cell detection, while processing 599 colorectal whole-slide images from TCGA with high accuracy.
The recent surge in performance for image analysis of digitised pathology slides can largely be attributed to the advances in deep learning. Deep models can be used to initially localise various structures in the tissue and hence facilitate the extraction of interpretable features for biomarker discovery. However, these models are typically trained for a single task and therefore scale poorly as we wish to adapt the model for an increasing number of different tasks. Also, supervised deep learning models are very data hungry and therefore rely on large amounts of training data to perform well. In this paper, we present a multi-task learning approach for segmentation and classification of nuclei, glands, lumina and different tissue regions that leverages data from multiple independent data sources. While ensuring that our tasks are aligned by the same tissue type and resolution, we enable meaningful simultaneous prediction with a single network. As a result of feature sharing, we also show that the learned representation can be used to improve the performance of additional tasks via transfer learning, including nuclear classification and signet ring cell detection. As part of this work, we train our developed Cerberus model on a huge amount of data, consisting of over 600K objects for segmentation and 440K patches for classification. We use our approach to process 599 colorectal whole-slide images from TCGA, where we localise 377 million, 900K and 2.1 million nuclei, glands and lumina, respectively and make the results available to the community for downstream analysis.
Motivation & Objective
- To address the scalability and data efficiency challenges of training separate deep learning models for each histology analysis task.
- To develop a unified deep learning framework that performs simultaneous segmentation and classification of multiple histological structures (nuclei, glands, lumina, tissue regions) in whole-slide images.
- To leverage diverse data from multiple independent sources while maintaining alignment in tissue type and resolution to improve model generalization and performance.
- To demonstrate that the learned shared representation enhances performance on downstream tasks through transfer learning, including nuclear classification and signet ring cell detection.
- To release large-scale, high-accuracy segmentation and classification results on 599 colorectal whole-slide images from TCGA for community use in explainable CPath pipelines.
Proposed method
- A multi-task learning framework is designed with a shared encoder and multiple task-specific heads for segmentation and classification of nuclei, glands, lumina, and tissue regions.
- A novel sampling strategy is employed to combine data from multiple independent sources, ensuring consistency in tissue type and resolution across tasks.
- The model uses a single deep neural network (Cerberus) with shared features across tasks, reducing computational overhead and enabling end-to-end training.
- The segmentation heads include instance segmentation for nuclei, glands, and lumina, while classification heads predict tissue type and nuclear subtypes.
- Transfer learning is applied by fine-tuning the shared encoder on additional tasks such as nuclear classification and signet ring cell detection using the learned features.
- The model is trained on over 600K segmented objects and 440K classification patches, with inference performed on 599 TCGA colorectal whole-slide images at 0.5 μm/pixel resolution.
Experimental results
Research questions
- RQ1Can a single deep learning model achieve competitive performance across multiple histology analysis tasks—segmentation and classification of nuclei, glands, lumina, and tissue regions—simultaneously?
- RQ2Does multi-task learning with aligned tasks (same tissue type, resolution) improve model performance and generalization compared to single-task approaches?
- RQ3Can the shared representation learned by the multi-task model be effectively transferred to improve performance on downstream tasks such as nuclear classification and signet ring cell detection?
- RQ4To what extent does leveraging data from multiple independent sources enhance model performance without compromising consistency or introducing domain shift?
- RQ5Can the model's output enable the extraction of biologically interpretable features for explainable computational pathology pipelines?
Key findings
- The Cerberus model achieved strong performance across all segmentation and classification tasks, outperforming single-task baselines despite using a single shared network.
- The model processed 599 colorectal whole-slide images from TCGA, localizing 377 million nuclei, 900,000 glands, and 2.1 million lumina with high accuracy.
- The model's parameter count (1.4M) is significantly lower than MILD-Net (2.8M) and HoVer-Net (4.2M), enabling efficient inference on standard GPUs.
- Inference on a single TCGA whole-slide image (28,451 × 56,782 pixels) took only 11.7 minutes using an NVIDIA GeForce 1080 Ti with a batch size of 25.
- Transfer learning using the shared encoder improved performance on downstream tasks such as nuclear classification and signet ring cell detection, demonstrating the utility of the learned representation.
- The model struggled with lumen segmentation in cancerous glands and distinguishing muscle from stroma, likely due to limited context at 20× magnification and small patch size, suggesting potential for improvement with multi-scale or larger receptive field approaches.
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.