A generalized deep learning framework for whole-slide image segmentation and analysis

Histopathology tissue analysis is considered the gold standard in cancer diagnosis and prognosis. Whole-slide imaging (WSI), i.e., the scanning and digitization of entire histology slides, are now being adopted across the world in pathology labs. Trained histopathologists can provide an accurate diagnosis of biopsy specimens based on WSI data. Given the dimensionality of WSIs and the increase in the number of potential cancer cases, analyzing these images is a time-consuming process. Automated segmentation of tumorous tissue helps in elevating the precision, speed, and reproducibility of research. In the recent past, deep learning-based techniques have provided state-of-the-art results in a wide variety of image analysis tasks, including the analysis of digitized slides. However, deep learning-based solutions pose many technical challenges, including the large size of WSI data, heterogeneity in images, and complexity of features. In this study, we propose a generalized deep learning-based framework for histopathology tissue analysis to address these challenges. Our framework is, in essence, a sequence of individual techniques in the preprocessing-training-inference pipeline which, in conjunction, improve the efficiency and the generalizability of the analysis. The combination of techniques we have introduced includes an ensemble segmentation model, division of the WSI into smaller overlapping patches while addressing class imbalances, efficient techniques for inference, and an efficient, patch-based uncertainty estimation framework. Our ensemble consists of DenseNet-121, Inception-ResNet-V2, and DeeplabV3Plus, where all the networks were trained end to end for every task. We demonstrate the efficacy and improved generalizability of our framework by evaluating it on a variety of histopathology tasks including breast cancer metastases (CAMELYON), colon cancer (DigestPath), and liver cancer (PAIP). Our proposed framework has state-of-the-art performance across all these tasks and is ranked within the top 5 currently for the challenges based on these datasets. The entire framework along with the trained models and the related documentation are made freely available at GitHub and PyPi. Our framework is expected to aid histopathologists in accurate and efficient initial diagnosis. Moreover, the estimated uncertainty maps will help clinicians to make informed decisions and further treatment planning or analysis.

[1]  Rui Chai,et al.  Large-scale tissue histopathology image segmentation based on feature pyramid , 2018, EURASIP J. Image Video Process..

[2]  W. N. Street,et al.  Machine learning techniques to diagnose breast cancer from image-processed nuclear features of fine needle aspirates. , 1994, Cancer letters.

[3]  Nicolas Pinchaud,et al.  Camelyon17 challenge , 2019 .

[4]  Andrew Janowczyk,et al.  Deep learning for digital pathology image analysis: A comprehensive tutorial with selected use cases , 2016, Journal of pathology informatics.

[5]  Gorjan Alagic,et al.  #p , 2019, Quantum information & computation.

[6]  Vladlen Koltun,et al.  Efficient Inference in Fully Connected CRFs with Gaussian Edge Potentials , 2011, NIPS.

[7]  Shaoqun Zeng,et al.  From Detection of Individual Metastases to Classification of Lymph Node Status at the Patient Level: The CAMELYON17 Challenge , 2019, IEEE Transactions on Medical Imaging.

[8]  Anant Madabhushi,et al.  A Deep Convolutional Neural Network for segmenting and classifying epithelial and stromal regions in histopathological images , 2016, Neurocomputing.

[9]  Li Fei-Fei,et al.  ImageNet: A large-scale hierarchical image database , 2009, CVPR.

[10]  C Wählby,et al.  Combining intensity, edge and shape information for 2D and 3D segmentation of cell nuclei in tissue sections , 2004, Journal of microscopy.

[11]  Ferdinando Mannello,et al.  Benign breast diseases: classification, diagnosis, and management. , 2006, The oncologist.

[12]  T. Hermanns,et al.  Automated Gleason grading of prostate cancer tissue microarrays via deep learning , 2018, Scientific Reports.

[13]  J. Elmore,et al.  Diagnostic concordance among pathologists interpreting breast biopsy specimens. , 2015, JAMA.

[14]  E. Feuer,et al.  SEER Cancer Statistics Review, 1975-2003 , 2006 .

[15]  Liron Pantanowitz,et al.  Artificial Intelligence and Digital Pathology: Challenges and Opportunities , 2018, Journal of pathology informatics.

[16]  Fucang Jia,et al.  Automatic Segmentation of Liver Tumor in CT Images with Deep Convolutional Neural Networks , 2015 .

[17]  Jian Sun,et al.  Deep Residual Learning for Image Recognition , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[18]  O. Abe,et al.  Deep Learning with Convolutional Neural Network for Differentiation of Liver Masses at Dynamic Contrast-enhanced CT: A Preliminary Study. , 2017, Radiology.

[19]  Vito Paolo Pastore,et al.  Convolutional autoencoder based model HistoCAE for segmentation of viable tumor regions in liver whole-slide images , 2021, Scientific reports.

[20]  Luc Van Gool,et al.  The Pascal Visual Object Classes (VOC) Challenge , 2010, International Journal of Computer Vision.

[21]  Alex Kendall,et al.  What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision? , 2017, NIPS.

[22]  David J. Hawkes,et al.  Deep residual networks for automatic segmentation of laparoscopic videos of the liver , 2017, Medical Imaging.

[23]  Emmanuelle Gouillart,et al.  scikit-image: image processing in Python , 2014, PeerJ.

[24]  A. Padma Nanthagopal,et al.  Classification of benign and malignant brain tumor CT images using wavelet texture parameters and neural network classifier , 2013, J. Vis..

[25]  Jacob Cohen,et al.  The Equivalence of Weighted Kappa and the Intraclass Correlation Coefficient as Measures of Reliability , 1973 .

[26]  Lana X. Garmire,et al.  Deep Learning based multi-omics integration robustly predicts survival in liver cancer , 2017, bioRxiv.

[27]  Constantine Katsinis,et al.  Large-scale computations on histology images reveal grade-differentiating parameters for breast cancer , 2006, BMC Medical Imaging.

[28]  Nasir M. Rajpoot,et al.  Locality Sensitive Deep Learning for Detection and Classification of Nuclei in Routine Colon Cancer Histology Images , 2016, IEEE Trans. Medical Imaging.

[29]  Gustavo E. A. P. A. Batista,et al.  A study of the behavior of several methods for balancing machine learning training data , 2004, SKDD.

[30]  A. Giuliano,et al.  Axillary dissection vs no axillary dissection in women with invasive breast cancer and sentinel node metastasis: a randomized clinical trial. , 2011, JAMA.

[31]  Yilong Li,et al.  U-net Ensemble Model for Segmentation inHistopathology Images , 2019 .

[32]  Martín Abadi,et al.  TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems , 2016, ArXiv.

[33]  Kilian Q. Weinberger,et al.  Densely Connected Convolutional Networks , 2016, 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[34]  Mahadev Satyanarayanan,et al.  OpenSlide: A vendor-neutral software foundation for digital pathology , 2013, Journal of pathology informatics.

[35]  Jürgen Schmidhuber,et al.  LSTM: A Search Space Odyssey , 2015, IEEE Transactions on Neural Networks and Learning Systems.

[36]  Jon C. Aster,et al.  Robbins & Cotran Pathologic Basis of Disease , 2014 .

[37]  Nicolas Pinchaud,et al.  CAMELYON17 GRAND CHALLENGE , 2018 .

[38]  A. Sahin,et al.  Benign breast diseases: classification, diagnosis, and management. , 2006, The oncologist.

[39]  Mingyue Ding,et al.  Deep learning based classification of focal liver lesions with contrast-enhanced ultrasound , 2014 .

[40]  Ganapathy Krishnamurthi,et al.  2D-Densely Connected Convolution Neural Networks for automatic Liver and Tumor Segmentation , 2018, ArXiv.

[41]  Dumitru Erhan,et al.  Going deeper with convolutions , 2014, 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[42]  Mbbs Md FRCPath Donald N. Pritzker Vinay Kumar Robbins and Cotran pathologic basis of disease , 2015 .

[43]  I. Tomek,et al.  Two Modifications of CNN , 1976 .

[44]  Hao Chen,et al.  MILD‐Net: Minimal information loss dilated network for gland instance segmentation in colon histology images , 2018, Medical Image Anal..

[45]  Dayong Wang,et al.  Deep Learning for Identifying Metastatic Breast Cancer , 2016, ArXiv.

[46]  Ingerid Reinertsen,et al.  FastPathology: An Open-Source Platform for Deep Learning-Based Research and Decision Support in Digital Pathology , 2020, IEEE Access.

[47]  V. Yajnik,et al.  Pathology and genetics of tumors of the digestive system , 2001 .

[48]  Zhiqiang Hu,et al.  Signet Ring Cell Detection with a Semi-supervised Learning Framework , 2019, IPMI.

[49]  Nasir Rajpoot,et al.  Deep Learning With Sampling in Colon Cancer Histology , 2019, Front. Bioeng. Biotechnol..

[50]  A. Madabhushi,et al.  Histopathological Image Analysis: A Review , 2009, IEEE Reviews in Biomedical Engineering.

[51]  Kay R. J. Oskal,et al.  A U-net based approach to epidermal tissue segmentation in whole slide histopathological images , 2019, SN Applied Sciences.

[52]  Tanmoy Bhattacharya,et al.  The need for uncertainty quantification in machine-assisted medical decision making , 2019, Nat. Mach. Intell..

[53]  Jimmy Ba,et al.  Adam: A Method for Stochastic Optimization , 2014, ICLR.

[54]  Sergey Ioffe,et al.  Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning , 2016, AAAI.

[55]  Marcial García-Rojo,et al.  Automatic segmentation of whole-slide H&E stained breast histopathology images using a deep convolutional neural network architecture , 2020, Expert Syst. Appl..

[56]  Thomas Brox,et al.  U-Net: Convolutional Networks for Biomedical Image Segmentation , 2015, MICCAI.

[57]  Andrew Y. Ng,et al.  CheXNet: Radiologist-Level Pneumonia Detection on Chest X-Rays with Deep Learning , 2017, ArXiv.

[58]  Demetri Terzopoulos,et al.  Snakes: Active contour models , 2004, International Journal of Computer Vision.

[59]  R. Melo,et al.  Whole Slide Imaging and Its Applications to Histopathological Studies of Liver Disorders , 2020, Frontiers in Medicine.

[60]  Hanlin L. Wang,et al.  Colorectal carcinoma: Pathologic aspects. , 2012, Journal of gastrointestinal oncology.

[61]  Kumardeep Chaudhary,et al.  Deep Learning–Based Multi-Omics Integration Robustly Predicts Survival in Liver Cancer , 2017, Clinical Cancer Research.

[62]  Meyke Hermsen,et al.  1399 H&E-stained sentinel lymph node sections of breast cancer patients: the CAMELYON dataset , 2018, GigaScience.

[63]  Cancer Metastasis Detection With Neural Conditional Random Field , 2021 .

[64]  Konstantinos N. Plataniotis,et al.  HistoSegNet: Semantic Segmentation of Histological Tissue Type in Whole Slide Images , 2019, 2019 IEEE/CVF International Conference on Computer Vision (ICCV).

[65]  B. Stewart,et al.  World Cancer Report , 2003 .

[66]  Ce Zhang,et al.  Predicting non-small cell lung cancer prognosis by fully automated microscopic pathology image features , 2016, Nature Communications.

[67]  A. Giuliano,et al.  Effect of Axillary Dissection vs No Axillary Dissection on 10-Year Overall Survival Among Women With Invasive Breast Cancer and Sentinel Node Metastasis: The ACOSOG Z0011 (Alliance) Randomized Clinical Trial , 2017, JAMA.

[68]  Yi Li,et al.  Cancer Metastasis Detection With Neural Conditional Random Field , 2018, ArXiv.

[69]  N. Otsu A threshold selection method from gray level histograms , 1979 .

[70]  C. Compton,et al.  AJCC Cancer Staging Manual , 2002, Springer New York.

[71]  G. Miller Carcinoma of the Colon and Rectum. , 1942, Canadian Medical Association journal.

[72]  Kyunghyun Paeng,et al.  A Robust and Effective Approach Towards Accurate Metastasis Detection and pN-stage Classification in Breast Cancer , 2018, MICCAI.

[73]  Ganapathy Krishnamurthi,et al.  Fully convolutional multi‐scale residual DenseNets for cardiac segmentation and automated cardiac diagnosis using ensemble of classifiers , 2018, Medical Image Anal..

[74]  B. van Ginneken,et al.  Deep learning as a tool for increased accuracy and efficiency of histopathological diagnosis , 2016, Scientific Reports.

[75]  Minsoo Kim,et al.  A Unified Framework for Tumor Proliferation Score Prediction in Breast Histopathology , 2016, DLMIA/ML-CDS@MICCAI.

[76]  Ryanne A. Brown,et al.  Impact of a deep learning assistant on the histopathologic classification of liver cancer , 2020, npj Digital Medicine.

[77]  Klaus-Robert Müller,et al.  Resolving challenges in deep learning-based analyses of histopathological images using explanation methods , 2019, Scientific Reports.

[78]  et al.,et al.  Identifying the Best Machine Learning Algorithms for Brain Tumor Segmentation, Progression Assessment, and Overall Survival Prediction in the BRATS Challenge , 2018, ArXiv.

[79]  C. la Vecchia,et al.  Liver cancer: descriptive epidemiology and risk factors other than HBV and HCV infection. , 2009, Cancer letters.

[80]  Sanghun Lee,et al.  AUTOMATIC CLASSIFICATION ON PATIENT-LEVEL BREAST CANCER METASTASES , 2017 .

[81]  L. Sobin,et al.  World Health Organization classification of tumors , 2000, Cancer.

[82]  J. Kai,et al.  Can machine-learning improve cardiovascular risk prediction using routine clinical data? , 2017, PloS one.

[83]  N. Hawkes Cancer survival data emphasise importance of early diagnosis , 2019, British Medical Journal.

[84]  A. Padma Nanthagopal,et al.  Classification of benign and malignant brain tumor CT images using wavelet texture parameters and neural network classifier , 2013 .

[85]  George Lee,et al.  Image analysis and machine learning in digital pathology: Challenges and opportunities , 2016, Medical Image Anal..

[86]  V. Band,et al.  Histological, molecular and functional subtypes of breast cancers , 2010, Cancer biology & therapy.

[87]  Zoubin Ghahramani,et al.  Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learning , 2015, ICML.

[88]  J. Vencovský,et al.  Plasma Hsp90 levels in patients with systemic sclerosis and relation to lung and skin involvement: a cross-sectional and longitudinal study , 2021, Scientific Reports.

[89]  François Chollet,et al.  Xception: Deep Learning with Depthwise Separable Convolutions , 2016, 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[90]  Andrew H. Beck,et al.  Diagnostic Assessment of Deep Learning Algorithms for Detection of Lymph Node Metastases in Women With Breast Cancer , 2017, JAMA.

[91]  Nitesh V. Chawla,et al.  SMOTE: Synthetic Minority Over-sampling Technique , 2002, J. Artif. Intell. Res..

[92]  Siegfried Wahl,et al.  Leveraging uncertainty information from deep neural networks for disease detection , 2016, Scientific Reports.

[93]  George Papandreou,et al.  Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation , 2018, ECCV.

[94]  Fabio A. González,et al.  Automatic detection of invasive ductal carcinoma in whole slide images with convolutional neural networks , 2014, Medical Imaging.

[95]  Dmitrii Bychkov,et al.  Deep learning based tissue analysis predicts outcome in colorectal cancer , 2018, Scientific Reports.

[96]  Andy Liaw,et al.  Classification and Regression by randomForest , 2007 .

[97]  Hong Liu,et al.  A Fast and Refined Cancer Regions Segmentation Framework in Whole-slide Breast Pathological Images , 2019, Scientific Reports.

[98]  Daniel S. Kermany,et al.  Identifying Medical Diagnoses and Treatable Diseases by Image-Based Deep Learning , 2018, Cell.

[99]  N. Niles Pathologic Basis of Disease , 1974 .

[100]  James Diamond,et al.  The use of morphological characteristics and texture analysis in the identification of tissue composition in prostatic neoplasia. , 2004, Human pathology.

[101]  Forrest N. Iandola,et al.  DenseNet: Implementing Efficient ConvNet Descriptor Pyramids , 2014, ArXiv.

[102]  L. Sobin,et al.  TNM Classification of Malignant Tumours , 1987, UICC International Union Against Cancer.

[103]  Liangqun Lu,et al.  Prognostic analysis of histopathological images using pre-trained convolutional neural networks: application to hepatocellular carcinoma , 2020, PeerJ.

[104]  Faezehsadat Shahidi,et al.  Breast Cancer Histopathology Image Super-Resolution Using Wide-Attention GAN With Improved Wasserstein Gradient Penalty and Perceptual Loss , 2021, IEEE Access.

[105]  George Papandreou,et al.  Rethinking Atrous Convolution for Semantic Image Segmentation , 2017, ArXiv.

[106]  Constantino Carlos Reyes-Aldasoro,et al.  Predicting survival from colorectal cancer histology slides using deep learning: A retrospective multicenter study , 2019, PLoS medicine.

[107]  Begonya Garcia-Zapirain,et al.  Breast Cancer Histopathology Image Classification Using an Ensemble of Deep Learning Models , 2020, Sensors.

[108]  Aleksey Boyko,et al.  Detecting Cancer Metastases on Gigapixel Pathology Images , 2017, ArXiv.