Abstract
Purpose
Primary central nervous system lymphoma (PCNSL) is a rare, aggressive form of extranodal non-Hodgkin lymphoma. To predict the overall survival (OS) in advance is of utmost importance as it has the potential to aid clinical decision-making. Though radiomics-based machine learning (ML) has demonstrated the promising performance in PCNSL, it demands large amounts of manual feature extraction efforts from magnetic resonance images beforehand. deep learning (DL) overcomes this limitation.
Methods
In this paper, we tailored the 3D ResNet to predict the OS of patients with PCNSL. To overcome the limitation of data sparsity, we introduced data augmentation and transfer learning, and we evaluated the results using r stratified k-fold cross-validation. To explain the results of our model, gradient-weighted class activation mapping was applied.
Results
We obtained the best performance (the standard error) on post-contrast T1-weighted (T1Gd)—area under curve \(=0.81(0.03)\), accuracy \(=0.87(0.07)\), precision \(=0.88(0.07)\), recall \(=0.88(0.07)\) and F1-score \(=0.87(0.07)\), while compared with ML-based models on clinical data and radiomics data, respectively, further confirming the stability of our model. Also, we observed that PCNSL is a whole-brain disease and in the cases where the OS is less than 1 year, it is more difficult to distinguish the tumor boundary from the normal part of the brain, which is consistent with the clinical outcome.
Conclusions
All these findings indicate that T1Gd can improve prognosis predictions of patients with PCNSL. To the best of our knowledge, this is the first time to use DL to explain model patterns in OS classification of patients with PCNSL. Future work would involve collecting more data of patients with PCNSL, or additional retrospective studies on different patient populations with rare diseases, to further promote the clinical role of our model.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
Introduction
Primary central nervous system lymphoma (PCNSL) is a rare, aggressive form of extranodal non-Hodgkin lymphoma confined to the central nervous system, including the brain, cerebrospinal fluid and eyes without evidence of systemic spread [1]. The treatment of patients with PCNSL includes two phases, induction and consolidation. Induction consists of high-dose methotrexate-based chemotherapy, while whole-brain radiotherapy (WBRT) is a consolidation option in patients with a disease response to induction [2]. However, only about \(56\%\) of patients are eligible for the consolidation and late neurotoxicity is an important issue especially when WBRT has been used [3]. The reason of this poor response to treatment remains unknown. Nevertheless, to predict the treatment response in advance is still of paramount importance as to better understand tumor behavior and aid clinical decisions. The overall survival (OS), the length of time from either the date of diagnosis or the start of treatment for a disease to the last follow-up or eventually death, is the gold standard primary endpoint to evaluate prognosis [4]. Nowadays, radiomics, a computational tool to extract high-dimensional features from medical images, has been popular in customizing treatment of oncology, powered by the development machine learning (ML) [5, 6]. However, ML requires suitable parameters, while a large number of radiomic features is extracted from images; thus, an adequate feature selection must be performed.
Deep learning (DL), which directly extracts features from the images, has emerged as one of the most powerful technologies in the past decade. It has boosted the progress in the field of computer vision [7]. In fact, DL models are data hungry due to the stack of hidden layers. In the case of small dataset, training a very deep network would lead to overfitting. Data augmentation, transfer learning and cross-validation are common methods to alleviate the problem of small dataset and overfitting. Furthermore, most existing work uses cross-validation to predict model uncertainty, which can be referred to artificial intelligence (AI) safety [8, 9]. In addition, it is important to interpret DL-based results to provide intuitive outputs for human review, thus, assess AI safety and accelerate the adoption of DL into the real-world medical application [10,11,12]. However, there are few studies to implement DL in the analysis of PCNSL while analyzing model uncertainty and explainability.
In this paper, a DL model 3D ResNet was used to perform binary OS classification of patients with PCNSL. Then, Gradient-weighted Class Activation Mapping (Grad-CAM) was tailored to visualize and explain the patterns of our model. Specifically, our main contributions were the following:
-
1.
Training from scratch vs transfer learning: We evaluated the 3D ResNet on different MRI modalities under training from scratch and transfer learning, respectively, and obtained one specific MRI modality with the best performance, which is consistent with the clinical outcome.
-
2.
Uncertainty prediction and pattern explainability: To the best of our knowledge, this is the first trial to output the uncertainty and success and failure patterns of the 3D DL model in OS classification of patients with PCNSL, which can be referred to AI safety in the medical field.
Related work
Currently, radiomics-based ML has taken advantage of magnetic resonance imaging (MRI). ML in training classifiers to distinguish between glioblastoma and PCNSL performed well with respect to area under curve (AUC) [13, 14]. However, this type of studies is limited to the differentiation of PCNSL from glioblastoma. Besides, ML requires manual feature extraction from images, which is time- and resource-consuming. It is also found that some feature extraction methods would introduce too much noise and lead to ML model unstability [15]. A famous example is that none of radiomics-based ML approaches is able to outperform the age-only baseline with cross-validation in the BraTS survival prediction challenge 2018 [16].
On the contrary, DL has been applied in medical images of brain diseases and obtained state-of-the-art results, with minimal prior medical knowledge and feature selection. A DL model containing stacked auto-encoders and a softmax output layer was designed to perform diagnosis of Alzheimer’s disease, and a significantly better performance (accuracy is 0.88) was achieved compared with support vector machine (accuracy is 0.84) [17]. A 3D U-Net for brain tumor segmentation using separable 3D convolutions achieved competitive results with Dice scores of 0.69, 0.84 and 0.78 for the enhancing tumor, the whole tumor and the tumor core, respectively [18]. These studies may have great potential to lead to a new perspective for computational medical research. However, to achieve state-of-the-art accuracy, DL models require large labeled dataset for training, which it is usually prohibitive to be acquired due to the extensive annotation efforts and the demand of expertise in the medical domain.
In the case rare tumors, there have been successful examples tackling the problem of small dataset. An EfficientNet-based convolution neural network (CNN) was used to classify primary bone tumors from preoperative radiographs with better accuracy than junior radiologists; data augmentation and cross-validation were introduced to mitigate the issue of small dataset and predict model uncertainty [19]. Low-shot DL was adopted for the detection of conjunctival melanoma on ocular surface images, and the MobileNetV2 trained under transfer learning and with generative adversarial network (GAN)-based augmentation displayed the highest accuracy of 0.97 [20]. However, there are seldom attempts to explain the patterns of the DL models in rare tumors.
Method
Dataset and image preprocessing
Multi-center brain MRI modalities with different scanners (Philips Medical System Achieva and Whole, GE Medical System/Optima MR450 and SIEMENS AERA) of 56 patients with PCNSL between January 2010 and November 2019 were retrospectively collected at San Raffaele Hospital in Milan (Italy). Different MRI modalities, namely T1-weighted (T1), T2-weighted (T2) and post-contrast T1-weighted (T1Gd), which are helpful for diagnosing different neurological pathology, were collected. Also, clinical data (the age, the level of lactate dehydrogenase, the cerebrospinal fluid total protein, the performance status, the IELSG score and the OS) of these patients was collected. In particular, the OS is positive means the OS is more than 1 year and the OS is negative means the OS is less than 1 year; in our dataset, there are 30 positive cases and 26 negative cases, respectively. Differences among these three MRI modalities are depicted in Fig. 1.
We followed standard image preprocessing techniques—bias field correction, registration, skull stripping, intensity normalization, and voxel resampling using 3D Slicer [21, 22]. Furthermore, we performed additional preprocessing, including background removing and data augmentation, to enhance the stability of the model. In fact, these images were collected from different hospitals and with different scanners, which would induce unavoidable systemic noise. In particular, the following steps were performed (Fig. 1):
-
1.
Step #1: The N4ITK MRI bias correction module was used for bias field correction. All MRI acquisitions for each patient were registered on T1Gd. The Z-score method was used to normalize image intensity by subtracting the mean of the image and then dividing by the standard deviation of all the voxels in the image. The size of each voxel after resampling was \(1\, \hbox {mm} \times 1\ \hbox {mm} \times 1\ \hbox {mm}\).
-
2.
Step #2: Regions around the brain were removed first to help the model focus on the foreground (brain and tumor only). For data augmentation, affine transformation, elastic deformation, random spatial cropping and random rotation were performed for each MRI modality. The size of random spatial cropping was \(96 \times 96 \times 96\). The degree, the axis and the probability of random rotation were \(15^{\circ }\), x-axis and 0.5, respectively. The image size was resized to \(128 \times 128 \times 128\) for each MRI modality.
Model architecture and transfer learning
The model architecture was based on the 3D voxel ResNet since our inputs are three-dimensional images (Fig. 2). Moreover, the 3D voxel network is more powerful at capturing the spatial information in natural or organic formations than its 2D version [7, 23]. Furthermore, to improve the performance of the model, transfer learning was used. First, we pre-trained the 3D ResNet on the BraTS2020 dataset for the task OS classification of patients with glioblastoma. In particular, BraTS2020 consists of multi-modal preoperative images of 235 glioblastoma patients from 19 institutions with the reported resection status and known OS [24]. Then, we fine-tuned the 3D ResNet on our PCNSL dataset for the target task OS classification of patients with PCNSL.
Cross-validation and pattern visualization
To perform convincible classification on the small dataset and avoid overfitting, we also used r stratified k-fold cross-validation. The r stratified k-fold cross-validation reports the mean result across all iterations, and the uncertainty between the mean performance and the unknown underlying performance can be estimated using the standard deviation (std). In this paper, we set hyperparameters \(r = 2\) and \(k = 5\); after choosing some specific evaluation metric, we obtained the corresponding mean and std for these 10 iterations.
To visualize the patterns of our model, we customized the original Grad-CAM to fit the 3D ResNet-based architecture and output the 3D activation map of the last convolution layer on the original input based on the prediction of the model [10]. Then, we extracted the 2D activation map of the slice near the tumor.
Experiment description
Since PCNSL is a rare cancer and it is hard to reach large dataset, we split the original PCNSL dataset into training set (45 patients) and validation set (11 patients) for each iteration of r stratified k-fold cross-validation.
To compare clinical practice with our model, we used ML models—logistic regression (LR) and support vector machine (SVM) on clinical data and radiomics data, respectively, to predict the OS of patients with PCNSL. For training from scratch (T), we trained the 3D ResNet on T1, T2 and T1Gd, respectively, to predict the OS of patients with PCNSL. The weights of the 3D ResNet were initialized using a uniform distribution [7]. For transfer learning (TL), we concatenated all MRI modalities from BraTS2020 along the channel dimension and pre-trained the 3D ResNet on these inputs and, then, fine-tuned the model on T1, T2 and T1Gd from the PCNSL dataset, respectively, to predict the OS of patients with PCNSL. In addition, for T and TL, we set a batch size of 8 and used the cross entropy as loss function. The learning rate was set to be 0.001 and was multiplied by 0.1 every 30 epochs. The Adam algorithm was used for optimization, the maximum training epoch was set to be 250, and an early stopping policy was used. The whole training process was carried out using a single NVIDIA A100 GPU (20GB). Then, we evaluated the performance of ML, T and TL: For each metric—AUC, accuracy, precision, recall and F1-score, we reported the corresponding mean and std. Last, we chose the model whose performance is the best evaluated in the above r stratified k-fold cross-validation process, retrained the model with the same hyperparameter setting mentioned in section “Experiment description” and output the patterns of this model.
Results
Quantitative analysis
In Table 1, simply using ML on clinical data, we obtained values less than 0.70 in terms of all metrics while using ML on radiomics data from T1 and T2, respectively, and we obtained larger values in terms of all metrics. For T and TL, we obtained values more than 0.70 in terms of all inputs and all metrics except for AUC. In particular, we obtained largest mean values from T1Gd under TL in terms of all metrics—AUC \( = 0.81 (0.03)\), accuracy \(=0.87(0.07)\), precision \( =0.88(0.07)\), recall \(=0.88(0.07)\) and F1-score \(=0.87(0.07)\). We also predicted the uncertainty of the model using the std. T1Gd under TL outperforms the others while maintaining the small std 0.03–0.07 in terms of all metrics. For each metric, we used the t test to test whether the samples of T1Gd under TL and any other model are statistically different [25]. In Table 1, for TL, the p value for each metric is less than the significant level 0.05 except for T2 evaluated with Precision. To sum up, we observed that T1Gd under TL learns better representation of PCNSL and may help OS classification while maintaining stability in terms of all metrics.
Qualitative analysis
From the results in section “Quantitative analysis”, T1Gd under TL may have the best performance in OS classification of patients with PCNSL on unseen dataset. Thus, we retrained the 3D ResNet on T1Gd under TL with the same hyperparameter setting mentioned in section “Experiment description” and used Grad-CAM to analyze the corresponding success and failure patterns. The success OS classification patterns of our model are given in Fig. 3. As we can see, the model mostly focuses on the tumor region while exploring the normal part of the brain. Moreover, compared with the true-positive (TP) cases (Fig. 3a), it is more difficult to distinguish the tumor boundary from the normal part of the brain in the true-negative (TN) cases (Fig. 3b). We also gave the failure OS classification patterns: the false-positive (FP) cases (Fig. 3c) and the false-negative (FN) cases (Fig. 3d).
Discussion
In this paper, we investigated the power of DL models in OS classification of patients with PCNSL from MRI. The OS reflects the treatment response and would help clinicians improve prognosis. Given that DL has circumvented the problem of feature selection in ML and has been widely applied in medical tasks, we further utilized its potential into the domain of PCNSL—we used the 3D ResNet to perform binary OS classification of patients with PCNSL. From the performance results, we can say that T1Gd under TL learns better representation of PCNSL, while compared with ML-based models on clinical data and radiomics data, respectively. In particular, we obtained the largest AUC 0.81(0.03) from T1Gd under TL, meaning that T1Gd under TL is stable for different threshold and the model ranks a random positive example (the OS is more than 1 year) more highly than a random negative example (the OS is less than 1 year), i.e., the model highlights the difference between the positive example and the negative example. The reason may be that T1Gd induces better contrast among brain tissues, and our model utilizes this contrast. This is consistent with previous clinical studies, where clinicians predicted the OS of patients with glioblastoma based on contrast-enhanced MRI and used AUC as a model evaluation metric [26]. In addition, the result that T1Gd under TL has the largest F1-score 0.87(0.07) is again consistent with previous clinical trials, where signal intensity of T1Gd has been shown to correlate with histopathology-based nuclear cell density and has been evaluated with F1-score [27]. Also, the value for each metric of T1Gd under TL is larger than under T, meaning that BraTS2020 does help the 3D ResNet learn subtle differences among T1Gd of patients with PCNSL. All these results confirm the stability of T1Gd under TL in the real PCNSL application. Furthermore, compared the performance between the models with t test, we obtained that the difference between T1Gd under TL and other models is statistically significant in most cases. In particular, for TL, the difference between T1Gd and any other model is statistically significant except for T2 evaluated with precision. This suggests that T2 would be a suboptimal choice where precision weighs more or T1Gd is missing. Also, this can be supported by the finding that precision is positively correlated with magnetic pulse duration and T2 is produced by using longer magnetic pulse duration [28]. Last, through visualizing the patterns with Grad-CAM, we observed that the model mostly focuses on the tumor region while exploring the other part of the brain, which may support the hypothesis that PCNSL is a whole-brain disease [29]. Moreover, in the cases where the OS is less than 1 year, it is more difficult to distinguish the tumor boundary from the normal part of the brain. In previous studies of glioblastoma, increasing gross total resection (GTR) rate remains a challenge to clinicians as it is difficult to distinguish the tumor boundary from normal brain parenchyma; thus, the survival rate is inferior [30, 31]. In this aspect, our model fits the regular routine of treatment of oncology. Besides, the failure patterns encourage us to include the critical clinical attributes in the future analysis of PCNSL such as the location of the tumor. This is reasonable and can be referred to AI safety in the medical field. To the best of our knowledge, this is the first time to use DL to analyze model uncertainty and explain model patterns in OS classification of patients with PCNSL. Finally, in the hope to guide future researchers, we would like to point out limitation of our study: The number of the patients is not large enough, requiring collecting a larger population to improve our model. Also, clinical data such as the location of the tumor need to be collected at the same time, to aid the decision-making procedure and enhance AI safety in PCNSL. Moreover, retrospective studies on different patient populations with rare diseases should be considered, to test the generalizability of our model and further clarify its potential clinical impact.
References
Grommes C, DeAngelis LM (2017) Primary cns lymphoma. J Clin Oncol 35(21):2410
Ferreri AJM (2017) Therapy of primary cns lymphoma: role of intensity, radiation, and novel agents. Hematol Am Soc Hematol Educ Program Book 2017(1):565–577
Korfel A, Schlegel U (2013) Diagnosis and treatment of primary cns lymphoma. Nat Rev Neurol 9(6):317–327
Driscoll JJ, Rixe O (2009) Overall survival: still the gold standard: why overall survival remains the definitive end point in cancer clinical trials. Cancer J 15(5):401–405
Gillies RJ, Kinahan PE, Hricak H (2016) Radiomics: images are more than pictures, they are data. Radiology 278(2):563
Tomaszewski MR, Gillies RJ (2021) The biological meaning of radiomic features. Radiology 298(3):505
He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp 770–778
Cai Y, Shaoju W, Zhao W, Li Z, Zheyang W, Ji S (2018) Concussion classification via deep learning using whole-brain white matter fiber strains. PLoS ONE 13(5):e0197992
Vehtari A, Lampinen J (2002) Bayesian model assessment and comparison using cross-validation predictive densities. Neural Comput 14(10):2439–2468
Selvaraju RR, Cogswell M, Das A, Vedantam R, Parikh D, Batra D (2017) Grad-cam: visual explanations from deep networks via gradient-based localization. In: Proceedings of the IEEE international conference on computer vision, pp 618–626
Zhang Y, Hong D, McClement D, Oladosu O, Pridham G, Slaney G (2021) Grad-cam helps interpret the deep learning models trained to classify multiple sclerosis types using clinical brain magnetic resonance imaging. J Neurosci Methods 353:109098
Irie R, Otsuka Y, Hagiwara A, Kamagata K, Kamiya K, Suzuki M, Wada A, Maekawa T, Fujita S, Kato S (2020) A novel deep learning approach with a 3d convolutional ladder network for differential diagnosis of idiopathic normal pressure hydrocephalus and Alzheimer’s disease. Magn Resonan Med Sci mp–2019
Nguyen AV, Blears EE, Ross E, Lall RR, Ortega-Barnett J (2018) Machine learning applications for the differentiation of primary central nervous system lymphoma from glioblastoma on imaging: a systematic review and meta-analysis. Neurosurg Focus 45(5):E5
Suh CH, Kim HS, Jung SC, Park JE, Choi CG, Kim SJ (2019) Mri as a diagnostic biomarker for differentiating primary central nervous system lymphoma from glioblastoma: a systematic review and meta-analysis. J Magn Reson Imaging 50(2):560–572
Chen C, Zheng A, Ou X, Wang J, Ma X (2020) Comparison of radiomics-based machine-learning classifiers in diagnosis of glioblastoma from primary central nervous system lymphoma. Front Oncol 10:1151
Weninger L, Haarburger C, Merhof D (2019) Robustness of radiomics for survival prediction of brain tumor patients depending on resection status. Front Comput Neurosci 13:73
Liu S, Liu S, Cai W, Pujol S, Kikinis R, Feng D (2014) Early diagnosis of Alzheimer’s disease with deep learning. In: 2014 IEEE 11th international symposium on biomedical imaging (ISBI). IEEE, pp 1015–1018
Chen W, Liu B, Peng S, Sun J, Qiao X (2018) S3d-unet: separable 3d u-net for brain tumor segmentation. In: International MICCAI Brainlesion workshop. Springer, pp 358–368
He Yu, Ian P, Bingting B, Kasey H, Marcello C, Hui L, Shuping P, Sebro Ronnie A, Jing G, Thomas Y (2020) Deep learning-based classification of primary bone tumors on radiographs: a preliminary study. EBioMedicine 62:103121
Yoo TK, Choi JY, Kim HK, Ryu IH, Kim JK (2021) Adopting low-shot deep learning for the detection of conjunctival melanoma using ocular surface images. Comput Methods Programs Biomed 205:106086
Moradmand H, Aghamiri SMR, Ghaderi R (2020) Impact of image preprocessing methods on reproducibility of radiomic features in multimodal magnetic resonance imaging in glioblastoma. J Appl Clin Med Phys 21(1):179–190
Hatamizadeh A, Tang Y, Nath V, Yang D, Myronenko A, Landman B, Roth HR, Xu D (2022) Unetr: transformers for 3d medical image segmentation. In: Proceedings of the IEEE/CVF winter conference on applications of computer vision pp 574–584
Menze BH, Jakab A, Bauer S, Kalpathy-Cramer J, Farahani K, Kirby J, Burren Y, Porz N, Slotboom J, Wiest R (2014) The multimodal brain tumor image segmentation benchmark (brats). IEEE Trans Med Imaging 34(10):1993–2024
Bonekamp D, Deike K, Wiestler B, Wick W, Bendszus M, Radbruch A, Heiland S (2015) Association of overall survival in patients with newly diagnosed glioblastoma with contrast-enhanced perfusion mri: comparison of intraindividually matched t1-and t2*-based bolus techniques. J Magn Reson Imaging 42(1):87–96
Chan H-W, Weng Y-T, Huang T-Y (2020) Automatic classification of brain tumor types with the MRI scans and histopathology images pp 353–359
Ma D, Gulani V, Seiberlich N, Liu K, Sunshine JL, Duerk JL, Griswold MA (2013) Magnetic resonance fingerprinting. Nature 495(7440):187–192
Lai R, Rosenblum MK, DeAngelis LM (2002) Primary cns lymphoma: a whole-brain disease? Neurology 59(10):1557–1562
Chen B, Wang H, Ge P, Zhao J, Li W, Huizi G, Wang G, Luo Y, Chen D (2012) Gross total resection of glioma with the intraoperative fluorescence-guidance of fluorescein sodium. Int J Med Sci 9(8):708
Yun J, Iwamoto FM, Sonabend AM (2016) Primary central nervous system lymphoma: a critical review of the role of surgery for resection. Arch Cancer Res 4(2):71
Funding
Open access funding provided by Politecnico di Milano within the CRUI-CARE Agreement.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Ethical approval
All procedures performed in studies involving human participants were in accordance with the ethical standards of the institutional and/or national research committee and with the 1964 Helsinki declaration and its later amendments or comparable ethical standards. Besides, this observational study was approved by the Ethical Committee of San Raffaele Hospital in Milan (Italy) with number 22/INT/2021.
Informed consent
Informed consent was obtained from all individual participants included in the study.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
She, Z., Marzullo, A., Destito, M. et al. Deep learning-based overall survival prediction model in patients with rare cancer: a case study for primary central nervous system lymphoma. Int J CARS 18, 1849–1856 (2023). https://doi.org/10.1007/s11548-023-02886-2
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11548-023-02886-2