Cancer image classification based on DenseNet model

Ziliang Zhong, Muhang Zheng, Huafeng Mai, Jianan Zhao, Xinyi Liu

TL;DR

This paper introduces a novel approach for classifying metastatic cancer in small digital pathology image patches using the DenseNet model. By leveraging DenseNet's dense connectivity and employing data augmentation, the model achieves superior performance compared to traditional CNN architectures like ResNet and VGG, demonstrating its effectiveness for automated cancer diagnosis.

What Problem Does This Paper Address?

Accurate and efficient diagnosis of cancer, particularly identifying metastatic cancer in medical images, is crucial for effective treatment. Traditional methods often involve labor-intensive manual feature extraction and segmentation, which can be time-consuming and prone to human error. While deep learning has shown promise, challenges remain in developing models that can automatically and accurately identify subtle signs of cancer in small image patches extracted from larger digital pathology scans. This paper aims to address this by proposing a robust and automated framework for metastatic cancer image classification.

Methods

The core of this research lies in the application of the Dense Convolutional Network (DenseNet) architecture for metastatic cancer image classification. DenseNet is characterized by its "dense connectivity," where each layer receives feature maps from all preceding layers. This design is intended to alleviate the vanishing-gradient problem, enhance feature propagation, and reduce the number of parameters compared to models like ResNet and VGG.

Specifically, the authors utilize the DenseNet201 model. To further improve performance and robustness, they implement a Test-Time Augmentation (TTA) strategy. This involves augmenting the test dataset through techniques like random resizing, rotation, cropping, and flipping, and then averaging predictions from these augmented images. This approach aims to increase the diversity of samples and enhance the model's ability to generalize.

Datasets

The study utilizes a modified version of the PatchCamelyon (PCam) benchmark dataset. This dataset is derived from the original PCam dataset, which was provided by Kaggle for a metastasis detection challenge. The modification primarily involves removing duplicate images present in the original PCam dataset. The modified dataset comprises 220,025 image samples, with 89,117 positive samples (indicating cancer) and 130,908 negative samples (indicating no cancer). The input image dimensions are 96x96 pixels. The dataset is split into training (80%) and testing (20%) sets, with a 4-fold cross-validation approach for training.

Key Insights and Ideas

  • DenseNet's Advantage in Pathology: The dense connectivity of DenseNet appears particularly well-suited for capturing subtle and hierarchical features present in small pathology image patches, which is critical for identifying metastatic cancer.
  • TTA for Robustness: Employing Test-Time Augmentation significantly boosts the model's performance, suggesting that increasing the diversity of input during inference can lead to more reliable predictions, especially in the context of medical imaging where variations are common.
  • Automated Feature Learning: The research highlights the power of deep learning in automating the feature extraction process, moving away from laborious manual methods and enabling more efficient and potentially more accurate diagnoses.
  • Loss Curve Dynamics: The study observes that the loss value decreases significantly initially during training but then plateaus. This suggests that while extensive training is beneficial, there's a point of diminishing returns, and finding an optimal training duration is important for efficiency.

Key Results

The proposed DenseNet-based models, particularly DenseNet201 (TTA), demonstrated superior performance compared to benchmark models like ResNet34 and VGG19 on the modified PCam dataset.

  • DenseNet201 (TTA) achieved an Auc-Roc score of 0.971 and an Accuracy of 0.989.
  • This represents a 2.37% higher Auc-Roc score and a 2.4% higher Accuracy compared to the VGG19 model.
  • The DenseNet201 model (without TTA) also outperformed VGG19, achieving an Auc-Roc score of 0.965 and an Accuracy of 0.980.

Limitations and Future Work

  • Dataset Specificity: While the PCam dataset is a relevant benchmark, the authors acknowledge that future work could involve testing the model on other datasets to further validate its generalizability.
  • Model Improvement: The authors express their intention to further improve the DenseNet-based model for metastatic cancer image classification, aiming to achieve even higher metric scores and more accurate recognition. This could involve exploring different DenseNet variants, hyperparameter tuning, or integrating other advanced deep learning techniques.
  • Training Efficiency: The observation about the plateauing loss curve suggests potential for optimizing training time and computational resources without sacrificing performance.

Summary updated

Abstract

Abstract Computer-aided diagnosis establishes methods for robust assessment of medical image-based examination. Image processing introduced a promising strategy to facilitate disease classification and detection while diminishing unnecessary expenses. In this paper, we propose a novel metastatic cancer image classification model based on DenseNet Block, which can effectively identify metastatic cancer in small image patches taken from larger digital pathology scans. We evaluate the proposed approach to the slightly modified version of the PatchCamelyon (PCam) benchmark dataset. The dataset is the slightly modified version of the PatchCamelyon (PCam) benchmark dataset provided by Kaggle competition, which packs the clinically-relevant task of metastasis detection into a straight-forward binary image classification task. The experiments indicated that our model outperformed other classical methods like Resnet34, Vgg19. Moreover, we also conducted data augmentation experiment and study the relationship between Batches processed and loss value during the training and validation process.
BibTeX
@article{zhong2020cancer,
  author = {Ziliang Zhong and Muhang Zheng and Huafeng Mai and Jianan Zhao and Xinyi Liu},
  title = {{Cancer image classification based on DenseNet model}},
  journal = {Journal of Physics Conference Series},
  year = {2020},
  doi = {10.1088/1742-6596/1651/1/012143},
}
Figure