1 Introduction

Abstract

In this paper, we present our system for the RSNA Intracranial Hemorrhage Detection challenge, which is based on the RSNA 2019 Brain CT Hemorrhage data set. The proposed system is based on a lightweight deep neural network architecture composed of a convolutional neural network (CNN) that takes as input individual CT slices, and a Long Short-Term Memory (LSTM) network that takes as input multiple feature embeddings provided by the CNN. For efficient processing, we consider various feature selection methods to produce a subset of useful CNN features for the LSTM. Furthermore, we reduce the CT slices by a factor of , which enables us to train the model faster. Even if our model is designed to balance speed and accuracy, we report a weighted mean log loss of on the final test set, which places us in the top 30 ranking (2%) from a total of 1345 participants. Although our computing infrastructure does not allow it, processing CT slices at their original scale is likely to improve performance. In order to enable others to reproduce our results, we provide our code as open source at https://github.com/warchildmd/ihd. After the challenge, we conducted a subjective intracranial hemorrhage detection assessment by radiologists, indicating that the performance of our deep model is on par with that of doctors specialized in reading CT scans. Another contribution of our work is to integrate Grad-CAM visualizations in our system, providing useful explanations for its predictions. We therefore consider our system as a viable option when a fast diagnosis or a second opinion on intracranial hemorrhage detection are needed.

intracranial hemorrhage detection; intracranial hemorrhage subtype classification; convolutional neural networks; Long Short-Term Memory networks.
\firstpage

1 \pubvolumexx \issuenum1 \articlenumber5 2020 \copyrightyear2020 \historyReceived: date; Accepted: date; Published: date \TitleAccurate and Efficient Intracranial Hemorrhage Detection and Subtype Classification in 3D CT Scans with Convolutional and Long Short-Term Memory Neural Networks \AuthorMihail Burduja , Radu Tudor Ionescu * and Nicolae Verga * \AuthorNamesMihail Burduja, Radu Tudor Ionescu and Nicolae Verga \corresCorrespondence: raducu.ionescu@gmail.com

1 Introduction

According to Urden et al. Urden et al. (2019), intracranial hemorrhages account for roughly 10% of strokes in the United States. Although hemorrhagic strokes are less frequent than ischemic strokes (87%), the former ones present a higher mortality rate. Indeed, it seems that between 37% and 38% of hemorrhagic strokes result in death within 30 days. With approximately 795,000 strokes per year in the United States alone, the number of yearly death cases caused by intracranial hemorrhage is in the range of 30,000. Therefore, intracranial hemorrhage is considered one of the most critical health conditions, demanding rapid intervention and intensive post-traumatic healthcare. Rapid intervention requires an urgent diagnosis for this life-threatening condition. Severe headache or loss of consciousness are neurological symptoms often associated with intracranial hemorrhage. When a patient shows such symptoms, highly trained radiologists typically analyze CT scans of the patient’s brain to find and determine the type of hemorrhage. However, the manual analysis performed by radiologists is complicated and usually time consuming, inherently and undesirably postponing the intervention. In these circumstances, the fast and automatic detection and classification of intracranial hemorrhage is of utter importance.

In this paper, we propose an accurate and efficient system based on a lightweight deep neural network architecture composed of a convolutional neural network (CNN) (LeCun et al., 1998; Krizhevsky et al., 2012) that takes as input individual CT slices, and a Long Short-Term Memory (LSTM) network (Hochreiter and Schmidhuber, 1997) that takes as input multiple feature embeddings (corresponding to an entire CT scan) provided by the CNN. To our knowledge, there are only a handful of works that employed a similar neural architecture, based on convolutional and recurrent layers, for intracranial hemorrhage detection (Grewal et al., 2018; Patel et al., 2019; Vidya et al., 2019; Ye et al., 2019). Among these, there is only one prior work that classifies intracranial hemorrhage into subtypes (Ye et al., 2019). The main novelty of our work, differentiating it from the prior literature, consists in integrating a feature selection method for more efficient processing. As such, we consider various ways of selecting useful features from the penultimate layer of the CNN. First of all, we select features by considering the weight assigned by the Softmax layer of the CNN to each feature, with respect to each subtype of intracranial hemorrhage. Second of all, we consider Principal Component Analysis (PCA) as an alternative approach for feature selection. The selected features are given as input to the LSTM, irrespective of the feature selection method. By taking into account slices from an entire CT scan, the LSTM mimics the review process performed by doctors, thus improving the slice-level predictions. In addition, another novelty of our framework is to feed the CNN predictions as input to the Softmax classification layer of the LSTM, concatenating them with the LSTM feature vectors. This brings an accuracy boost with negligible computational overhead. Furthermore, we downscale the CT slices by a factor of , which allows us to train the model faster. Certainly, reducing the input size and performing feature selection also translates into faster inference times.

Motivated by the goal of providing fast diagnosis and constrained by our computing infrastructure, we designed a system that is focused on minimizing the computational time. Nevertheless, we present empirical results indicating that, using our system, we ranked in the top (27th place) in the RSNA Intracranial Hemorrhage Detection challenge1, from a total of 1345 participants. In the challenge, the systems were ranked by the weighted mean log loss, and our best score was . However, this score is not indicative of how well the system performs in comparison to highly trained radiologists. Therefore, after the challenge, we conducted a subjective intracranial hemorrhage detection assessment by radiologists, indicating that the classification accuracy rate of our deep model is on par with that of doctors specialized in reading CT scans.

In order to allow further developments and results replication, we provide our code as open source in a public repository2. Another contribution of our work is to integrate Grad-CAM visualizations (Selvaraju et al., 2017) in our system, providing useful explanations for its predictions. In this paper, we also provide interpretations by a team of radiologists for some of the visualizations produced for difficult or controversial cases. Considering the presented facts, we believe that our system is a viable option when a fast diagnosis or a second opinion on intracranial hemorrhage detection are needed.

In summary, we make four contributions:

  • We propose a joint convolutional and recurrent neural model for intracranial hemorrhage detection and subtype classification, which incorporates a feature selection method that improves the computational efficiency of our model.

  • We conduct a human evaluation study to compare the accuracy level of our system to that of highly trained doctors.

  • We provide our code online for download, allowing our results to be easily replicated.

  • We provide interpretations explaining the decisions of our model.

The rest of this paper is organized as follows. We present related work in Section 2. We describe our method in detail in Section 3. Our experiments and results are presented in Section 4. We provide interpretations and visualizations to explain our model’s decisions in Section 5. Finally, we draw our conclusions in Section 6.

2 Related Work

After the initial success of deep learning (LeCun et al., 2015) in object recognition from images (He et al., 2016; Krizhevsky et al., 2012), deep neural networks have been adopted for a broad range of tasks in medical imaging, ranging from cell segmentation (Ronneberger et al., 2015) and cancer detection (Coudray et al., 2018; Hosny et al., 2018; Li et al., 2018; Sirinukunwattana et al., 2017; Wahab et al., 2019) to intracranial hemorrhage detection (Arbabshirani et al., 2018; Grewal et al., 2018; Kuo et al., 2019; Lee et al., 2019; Phong et al., 2017; Rao et al., 2020; Ye et al., 2019) and CT/MRI super-resolution (Chen et al., 2018; Georgescu et al., 2020; Oktay et al., 2016; Zhao et al., 2019). Since we address the task of intracranial hemorrhage detection, we consider related works that are focused on the same task as ours (Arbabshirani et al., 2018; Chang et al., 2018; Flanders et al., 2020; Grewal et al., 2018; Ker et al., 2019; Kuo et al., 2019; Lee et al., 2019; Patel et al., 2019; Phong et al., 2017; Rao et al., 2020; Saab et al., 2019; Vidya et al., 2019; Ye et al., 2019), as well as works that study intracranial hemorrhage segmentation (Bhadauria et al., 2013; Cho et al., 2019a, b; Chung et al., 2019; Gautam and Raman, 2019; Hssayeni et al., 2020; Islam et al., 2018; Kwon et al., 2019; Patel et al., 2019; Pszczolkowski et al., 2019; Ray et al., 2018; Shahangian and Pourghassem, 2016; Soltaninejad et al., 2014; Sun et al., 2015).

While most of the recent works proposed deep learning approaches such as convolutional neural networks (Arbabshirani et al., 2018; Chang et al., 2018; Islam et al., 2018; Ker et al., 2019; Lee et al., 2019; Phong et al., 2017; Rao et al., 2020; Saab et al., 2019), fully-convolutional networks (FCNs) (Cho et al., 2019a, b; Hssayeni et al., 2020; Kuo et al., 2019; Kwon et al., 2019; Patel et al., 2019) and hybrid convolutional and recurrent models (Grewal et al., 2018; Patel et al., 2019; Vidya et al., 2019; Ye et al., 2019), there are still some recent works based on conventional machine learning methods, e.g. superpixels (Soltaninejad et al., 2014; Sun et al., 2015), fuzzy C-means (Bhadauria et al., 2013; Gautam and Raman, 2019), level set (Soltaninejad et al., 2014; Shahangian and Pourghassem, 2016), histogram analysis (Ray et al., 2018), thresholding (Pszczolkowski et al., 2019) and continuous max-flow (Chung et al., 2019).

Bhadauria et al. Bhadauria et al. (2013) employed fuzzy C-means and region-based active contour for brain hemorrhage segmentation. The authors automatically estimated the parameters that control the propagation of contour through fuzzy C-means clustering. Gautam et al. Gautam and Raman (2019) used fuzzy C-means with a different purpose, that of removing the skull, applying wavelet transform and thresholding on the remaining tissue. Two other recent methods are based on the idea of thresholding (Pszczolkowski et al., 2019; Ray et al., 2018). Pszczolkowski et al. Pszczolkowski et al. (2019) used the mean and the median intensity in T2-weighted MRI to compute a segmentation threshold, while Ray et al. Ray et al. (2018) analyzed the density of pixels at different levels of intensity to find the desired threshold. Some methods (Soltaninejad et al., 2014; Sun et al., 2015) partitioned the 2D or 3D images into small segments known as superpixels or supervoxels, respectively. Sun et al. Sun et al. (2015) obtained supervoxels by using C-means clustering and by removing the smaller clusters. Soltaninejad et al. Soltaninejad et al. (2014) applied their method on both 2D or 3D images, grouping the superpixels and supervoxels based on their average intensity. They determined the final contour of the hemorrhage region by a distance-regularized level set method. Another method based on the distance-regularized level set method was proposed by Shahangian et al. Shahangian and Pourghassem (2016). In addition to hemorrhage segmentation, Shahangian et al. Shahangian and Pourghassem (2016) performed classification of segmented regions by extracting shape and texture features. Chung et al. Chung et al. (2019) solved a convex optimization function using the continuous max-flow algorithm. They used an edge indicator for regularization. The methods based on statistical or standard machine learning approaches presented so far (Bhadauria et al., 2013; Chung et al., 2019; Gautam and Raman, 2019; Pszczolkowski et al., 2019; Ray et al., 2018; Soltaninejad et al., 2014; Shahangian and Pourghassem, 2016; Sun et al., 2015) are not suitable for large-scale data sets, requiring manual adjustment of parameters and careful monitoring of the results. Indeed, Chung et al. Chung et al. (2019) acknowledge that such methods can only be used in a semi-automatic scenario. Unlike these methods, we employ deep neural networks, which exhibit a strong generalization capacity and are able to provide accurate and robust results on large image databases.

One of the first works to adopt deep learning for intracranial hemorrhage detection is that of Phong et al. Phong et al. (2017). The authors found that convolutional neural networks pre-trained on ImageNet (Russakovsky et al., 2015) can successfully be used for intracranial hemorrhage diagnosis. Lee et al. Lee et al. (2019) proposed a system composed of four different CNN models pre-trained on ImageNet, while also integrating a method to explain the decisions through Grad-CAM visualizations (Selvaraju et al., 2017). Different from Phong et al. Phong et al. (2017) and Lee et al. Lee et al. (2019), Arbabshirani et al. Arbabshirani et al. (2018) trained CNNs from scratch on a large data set of nearly 50 thousands images. Islam et al. Islam et al. (2018) trained a VGG-16 model with atrous (dilated) convolutions on CT slices. The output corresponding to each CT slice is subsequently processed by a 3D conditional random field that provides the final result considering entire CT scans. Chang et al. Chang et al. (2018) employed a modified Mask R-CNN architecture (He et al., 2017), in which the backbone is a hybrid 3D and 2D version of Feature Pyramid Networks (Lin et al., 2017). Ker et al. Ker et al. (2019) applied image thresholding to improve the results of a 3D CNN that takes as input multiple consecutive slices. As the 3D convolutions are rather computationally expensive, the authors adopted a shallow architecture with three convolutional and two fully-connected layers. Saab et al. Saab et al. (2019) formulated intracranial hemorrhage detection as a multiple-instance learning task, in which the labels are provided at the scan level instead of the slice level. This allows them to incorporate data from a large number of patients. Rao et al. Rao et al. (2020) used a deep CNN in a framework that finds misdiagnosis of intracranial hemorrhage in order to mitigate the impact of negative patient outcomes. Unlike the methods that employed CNNs for intracranial hemorrhage detection (Arbabshirani et al., 2018; Chang et al., 2018; Islam et al., 2018; Ker et al., 2019; Lee et al., 2019; Phong et al., 2017; Rao et al., 2020; Saab et al., 2019), with or without pre-training, we take our model a step further and use the CNN activations maps from the penultimate layer as input to an LSTM network that processes entire CT scans. This gives our model the ability to correct erratic predictions at the slice level.

For intracranial hemorrhage segmentation, there are a few works (Cho et al., 2019a; Hssayeni et al., 2020; Kwon et al., 2019; Patel et al., 2019) that employed the U-Net model (Ronneberger et al., 2015), a fully-convolutional network shaped like an auto-encoder with skip connections. Hssayeni et al. Hssayeni et al. (2020) used the standard U-Net model, their main contribution being a data set of 82 CT scans. Cho et al. Cho et al. (2019a) combined the conventional U-Net architecture with an affinity graph to learn pixel connectivity and obtain smooth (less noisy) segmentation results. Kwon et al. Kwon et al. (2019) proposed a Siamese U-Net architecture, in which the long skip-connections are replaced by a Siam block. They reported better results than a conventional U-Net. In order to alleviate the class imbalance problem in their data set, Patel et al. Patel et al. (2019) introduced a weight map for training a U-Net model with 3D convolutions. Cho et al. Cho et al. (2019b) proposed a cascaded framework for intracranial hemorrhage detection and segmentation. For the detection task, they employed a cascade of two CNN models. The positively labeled examples are passed through two FCN models and the corresponding segmentation maps are summed up into a final and more accurate segmentation map. Kuo et al. Kuo et al. (2019) trained a patch-based fully convolutional neural network based on a ResNet architecture with 38 layers and dilated convolutions. The authors reported accuracy rates comparable to that of trained radiologists for acute intracranial hemorrhage detection. The state-of-the-art methods based on FCN models (Cho et al., 2019a, b; Hssayeni et al., 2020; Kuo et al., 2019; Kwon et al., 2019; Patel et al., 2019) are mainly focused on the segmentation task, whereas our focus is on the detection task. Some of the FCN models are based on 3D convolutions, obtaining better segmentations by considering adjacent CT slices. For the detection task, we propose a more efficient architecture that processes 3D CT scans without requiring 3D convolutions. While being more computationally efficient, our CNN and LSTM architecture is not suitable for segmentation, although we can interpret the Grad-CAM visualizations as some sort of rough segmentation maps.

One of the first works to propose a joint CNN and LSTM model for intracranial hemorrhage detection is that of Grewal et al. Grewal et al. (2018). Their method performs segmentation at multiple levels of granularity and binary classification of intracranial hemorrhage. Another method based on a similar architecture is proposed by Patel et al. Patel et al. (2019). The authors trained the model on a larger data set of over 25 thousand slices. Vidya et al. Vidya et al. (2019) employed a CNN on CT sub-volumes, combining the outputs at the sub-volume level into an output at the scan level through a recurrent neural network (RNN). Their method is designed to identify hemorrhage, without being able to classify it into the corresponding subtype. Unlike these related methods (Grewal et al., 2018; Patel et al., 2019; Vidya et al., 2019), we propose a method that is able to classify intracranial hemorrhage into subtypes: epidural, intraparenchymal, intraventricular, subarachnoid, subdural. To our knowledge, the only method with a similar design and the same capability of detecting the five subtypes of intracranial hemorrhage is that of Ye et al. Ye et al. (2019). They employed a cascaded model, with an RNN for intracranial hemorrhage detection and another RNN for subtype classification. We propose a more efficient model that detects intracranial hemorrhage and classifies it into the corresponding subtype in a single shot. Setting our focus on efficiency and novelty, we employ a feature selection method in order to find the most useful features learned by our CNN, obtaining a compact representation to be used as input to our bidirectional LSTM. This aspect differentiates our model from the related literature.

3 Materials & Methods

Figure 1: Preprocessing flow of a single CT slice in DICOM format. Each DICOM file is processed by extracting three different intensity windows (brain window, subdural window, soft tissue window), which are treated as three different channels. The resulting image is what the neural model takes as input. In order to illustrate the final image as an RGB image, we used the following correspondence: brain red, subdural blue, soft tissue green. Best viewed in color.

Our framework is formed of a convolutional neural network, a feature selection method and a recurrent neural network, the training being divided into three stages. In the first stage, we train (fine-tune) our convolutional neural network for predicting intracranial hemorrhage types at the CT slice level. For the slice-level classification task, we start from a ResNeXt-101 architecture (Xie et al., 2017) that was pre-trained using a large-scale image data set unrelated to CT imaging (Mahajan et al., 2018). Our next training stage consists in selecting useful features from the penultimate layer of the CNN. As feature selection method, we consider using either PCA or the weights assigned by the Softmax classification layer already included in the CNN. The resulting features are provided as input to the recurrent neural network. In the third and last training stage, we train our recurrent neural network for predicting intracranial hemorrhage types at the CT scan level. For the scan-level classification task, we employ a bidirectional LSTM, training it from scratch. By considering the CT slices from a CT scan all at once, the proposed model is able to improve its predictive capacity, eliminating inconsistent annotations at the slice level. Since doctors also look at multiple neighboring slices when providing their diagnostic, it seems natural to design a machine learning model based on the same principle. Indeed, our experiments indicate that considering information form multiple neighboring slices provides a boost in performance with respect to all the metrics considered in our evaluation. We further describe in detail the proposed joint CNN and LSTM architecture, loss function, data augmentation procedure and feature selection methods.

3.1 Data Preprocessing and Augmentation

The common format for storing and transmitting medical CT images is DICOM® (Digital Imaging and Communications in Medicine), which contains metadata alongside the pixel data. The RSNA data set (Flanders et al., 2020) contains 16-bit images, meaning that each image is represented on a scale with levels of gray. The value of each pixel represents the density of the tissue measured in Hounsfield units (HU). Since most monitors can only display 256 levels of gray (8-bit images), specialized DICOM software allows radiologists to focus on different intensity windows of HU, which are used to study different tissue types and various pathologies. An intensity window is commonly defined through its center (WC) and its width (WW), specifying a linear conversion from HU to pixels values to be displayed. Radiologists usually look at predefined intensity windows in order to detect a specific pathology. Following the recommendation of trained radiologists for intracranial hemorrhage detection, we consider three HU windows, each focusing on different types of tissue: brain window (, ), subdural window (, ) and soft tissue window (, ). By applying a single HU window on a CT slice, we obtain a grayscale (8-bit) image. The images resulted after applying the three intensity windows recommended by radiologists are combined into a single three-channel image, as shown in Figure 1. While the original CT slices are formed of pixels, we reduce their spatial dimension to cope with the large training set of over 700 thousand slices (Flanders et al., 2020). The CT slices are reduced to pixels using linear interpolation. Hence, the input of our neural network is . Following the standard preprocessing procedure in training CNN models (Simonyan and Zisserman, 2014), we normalize all the resulting images by subtracting the mean () and dividing them by the standard deviation () with respect to each channel.

Figure 2: Various image transformations (rotation, scaling, shifting, brightness changes) used for data augmentation. Each column contains random transformations applied to the corresponding CT slice displayed on the first row. Best viewed in color.

We applied some transformations to augment the data set, generating multiple variations of the images in order to increase our model’s generalization capacity. Using the Albumentations library (Buslaev et al., 2020), the transformations that we chosen for data augmentation are: horizontal flipping, shifting, rotation, scaling and brightness adjustment. Some images before and after data augmentation are shown in Figure 2.

3.2 Model and Feature Selection

Figure 3: Proposed model architecture comprised of a CNN model (ResNeXt ), a feature selection method and a bidirectional LSTM. The slices from a CT scan are fed into the CNN, which outputs 2048-dimensional feature vectors and 6-way class probabilities (5 types of intracranial hemorrhage and 1 for hemorrhage presence). A feature selection method is applied to reduce the CNN feature vectors to 120 dimensions. The resulting feature vectors are fed into a bidirectional LSTM network that outputs 256-dimensional feature vectors. A Softmax classifier takes the 6-way class probabilities of the CNN and the 256-dimensional feature vectors of the bidirectional LSTM as input, providing the final 6-way class probabilities. The ResNeXt model treats the slices independently, while the BiLSTM treats the slices jointly (an input example for the BiLSTM is a whole CT scan, which contains multiple slices). Best viewed in color.

Convolutional neural networks (LeCun et al., 1998; Krizhevsky et al., 2012) are a type of deep neural networks mainly used in computer vision. The popularity of CNN models has grown lately due the availability of large annotated data sets and the advances in GPU computing, allowing the efficient training of neural models on large data sets. The main advantage of deep models over previously-used methods for solving computer vision tasks is represented by that fact that deep models do no require domain experts to handcraft useful features, automatically learning to extract interesting features through end-to-end training. The main building blocks of CNN models are the convolutional layers, which are typically organized sequentially. Convolutional layers are formed of filters (kernels) that learn to detect various features, producing activation maps after applying the convolution operation on their input. The layers closer to the input image usually learn low-level features, e.g. edges, bars, corners or stains. Going at deeper convolutional layers, we typically observe more complex features, e.g. texture patterns, object parts, which are obtained by convolving lower-level features. Convolutional neural networks achieved state-of-the-art results on a broad range of computer vision (Krizhevsky et al., 2012; Georgescu et al., 2019; He et al., 2016; Simonyan and Zisserman, 2014; Soviany and Ionescu, 2018; Szegedy et al., 2015; Girshick, 2015) and medical imaging (Ronneberger et al., 2015; Georgescu et al., 2020; Kuo et al., 2019) tasks. In many cases, their success is in large part due to the availability of pre-trained models on large-scale data sets, which are highly transferable to other tasks, requiring only some fine-tuning. For instance, there are many works (De Fauw et al., 2018; Gulshan et al., 2016; Lee et al., 2019; Phong et al., 2017; Raghu et al., 2019; Xie and Richmond, 2018) tackling medical imaging tasks with models pre-trained on ImageNet (Russakovsky et al., 2015). In fact, Raghu et al. Raghu et al. (2019) stated that “transfer learning from natural image data sets using standard large models and corresponding pre-trained weights has become a de-facto method for deep learning applications to medical imaging”. Following this de-facto standard in medical imaging, we started with a recent pre-trained CNN model introduced by Xie et al. Xie et al. (2017), namely a ResNeXt-101 . This model was trained by Xie et al. Xie et al. (2017) on 940 million public images (Mahajan et al., 2018).

The ResNeXt architecture of Xie et al. Xie et al. (2017) is a highly modularized network architecture for image classification inspired by VGG (Simonyan and Zisserman, 2014), Inception (Szegedy et al., 2015) and ResNet (He et al., 2016). ResNeXt is comprised of residual blocks that share the same topology with one another. The design that we employed, ResNeXt-101 , is similar to ResNet-101 (He et al., 2016), which is comprised of 101 layers. As the name implies, the chosen architecture has a cardinality of 32 and a bottleneck width of 8. Xie et al. Xie et al. (2017) define cardinality as the size of the set of transformations (alternative neural pathways), which seems to play a more important role than the width or the depth of the neural network. Each ResNeXt block contains three convolutional layers, with the first and the last layers having filters with a spatial support of and the second one having filters with a spatial support of , respectively. The number of filters in the second convolutional layer is typically much smaller, hence, the layer acts as a bottleneck layer. The bottleneck width refers to the number of filters in the bottleneck layer. We refer the reader to Xie et al. Xie et al. (2017) for additional details on the concepts of cardinality and bottleneck width. The number of learnable parameters is approximately 88 million, generating a complexity of 16B FLOPS. The ResNeXt is pre-trained in a weakly supervised manner, as explained by Mahajan et al. Mahajan et al. (2018). We feed the chosen CNN with singular CT slices in order to fine-tune it on the task of predicting the presence and the type of intracranial hemorrhage per CT slice. To fine-tune the network for our task, we removed the pre-trained classification layer and replaced it with our own Softmax classification layer, which is initialized with random weights.

Long Short-Term Memory networks (Hochreiter and Schmidhuber, 1997) are a type of recurrent neural networks that are suited for sequences of data points. LSTM networks have produced notable results in language modeling, machine translation and other problems that rely on sequences as input. In CT brain hemorrhage detection, we can interpret a CT scan as a sequence of CT slices, that have a natural (spatial) order. We note that taking into account neighboring slices can provide a performance boost to the model, as shown in the experiments. The LSTM does not need a fixed number of slices as input, i.e. CT scans with various numbers of slices are automatically handled by the model.

Combining the CNN with the LSTM is usually done by extracting features from the CT slices using the CNN and then feeding the features to the LSTM, thus taking into account the CT scan as whole. Our complete architecture is illustrated in Figure 3. The ResNeXt-101 produces a 2048-dimensional feature vector for each input CT slice. As a CT scan can contain tens of slices, the input size for the LSTM, which receives all the slices of a CT scan at once, could rapidly reach more than 100 thousand components, e.g. . In order to reduce the training time and the need for computing power for the LSTM, we decided to apply a feature selection method to reduce the 2048-dimensional vectors to a manageable size. We tried two different methods of feature selection. Our first method is based selecting features with the lowest or highest weights (in absolute value) for each output class, the considered weights being those learned by the Softmax classification layer of ResNeXt-101 . The features with higher weights should be more informative for the intracranial hemorrhage classes. On the other hand, we observed that these features have very low variance. Hence, we also considered selecting the features with the lowest weights. As an alternative approach for feature selection, we considered PCA, a dimensionality reduction method that projects the data points in a new subspace, in which the features (components) are orthogonal and in decreasing order of variance. In the experiments, we applied PCA on a subset of 30,000 feature vectors. The number of components (120 or 192) was chosen to optimize the size of the output embeddings, while explaining as much of the variance in data as possible.

As a CT scan contains multiple slices, reducing the false positive and false negative rates is possible by training on multiple slices of the same scan together as input, e.g. a spurious detection in one slice can be corrected by considering neighboring CT slices. The number of slices in a CT scan varies, but we opted for a model that can adapt to different numbers of slices as input. More precisely, we employed an LSTM model that takes as input a sequence of CNN embeddings and outputs 256-dimensional LSTM embeddings. Our recurrent model is a 3-layer bidirectional LSTM with a dropout rate of and a cell state vector of 256 components. As a final attempt to boost the performance of our model, we concatenated the class probabilities of the ResNeXt-101 model to the 256-dimensional LSTM feature vectors that go into the Softmax classification layer of the bidirectional LSTM, as illustrated in Figure 3.

Both CNN and LSTM models perform two classification tasks at once. The first classification task is to classify whether the CT scan/slice contains an intracranial hemorrhage (this is referred to intracranial hemorrhage detection), while the second task is to classify the type of hemorrhage into five classes (this is referred to intracranial hemorrhage subtype classification).

3.3 Loss and Optimization

Intracranial hemorrhage detection and subtype classification can be considered jointly as a multi-label classification problem. This means that one data sample, e.g. a CT slice or a CT scan, can have multiple types of hemorrhage present in the same time. We train our models jointly on detection and 5-way subtype classification. Our models output values between 0 and 1 indicating the probability of occurrence for each type of intracranial hemorrhage as well as the probability of having intracranial hemorrhage (any subtype). In total, a neural model contains six units on the last (classification) layer, giving as output six independent class probabilities. We use the multi-label log loss, summing the binary cross-entropy (BCE) loss for each type of hemorrhage for a given input sample:

(1)

where represents the ground-truth label for a class and represents the prediction (class probability) for class . There are 5 subtype classes (epidural, intraparenchymal, intraventricular, subarachnoid and subdural) and one generic class for intracranial hemorrhage, so .

The main factor contributing to choosing the multi-label log loss function was that systems competing in the RSNA Intracranial Hemorrhage Detection challenge were ranked by using a weighted average version of this loss as the performance metric. The best way to achieve a good performance for a specific metric is to optimize directly for the respective metric.

Our CNN and LSTM models were trained separately, using the Adam optimizer (Kingma and Ba, 2015) for both models, but with different learning rates. We trained (fine-tuned) the CNN for three epochs, using a learning rate of for the first two epochs and a learning rate of for the third epoch. We trained the LSTM for four epochs using a learning rate of .

4 Experiments and Results

4.1 Data Set

The Radiological Society of North America (RSNA) 2019 Brain CT Hemorrhage data set (Flanders et al., 2020) was built from scratch for the 2019 RSNA Intracranial Hemorrhage Detection challenge held on Kaggle3. The data set is comprised of CT scans from three institutions: Stanford University, Universidade Federal de Sao Paulo and Thomas Jeffereson University Hospital. It contains 25,272 CT examinations (scans) with a total of 870,301 CT slices. Each CT scan was labeled by annotators, using five brain hemorrhage types as labels: epidural (EPH), intraparenchymal (IPH), intraventricular (IVH), subarachnoid (SAH), subdural (SDH). If a slice contains at least one type of intracranial hemorrhage, it is automatically labeled as having intracranial hemorrhage (ICH). The annotators did not have information on medical history, acuity of symptoms, age of the patient or previous examinations.

Subtype Training Set Validation Set Test Set
Slices Scans Slices Scans Slices Scans
Any 104199 8563 3734 319 - -
Epidural 3066 344 79 10 - -
Intraparenchymal 34826 5130 1292 191 - -
Intraventricular 25381 3566 824 126 - -
Subarachnoid 34431 3788 1244 144 - -
Subdural 45479 3669 1687 143 - -
None 624314 12437 20556 425 - -
Total 728513 21000 24290 744 121232 3528
Table 1: Statistics regarding the number of scans and number slices for each hemorrhage type in the RSNA 2019 Brain CT Hemorrhage data set. Our validation set is a subset of the official training set. The labels for the test set are unknown to participants.

The data set is split into a training set of 752,803 slices and a test set of 121,232 slices, as shown in Table 1. We further split the official training data into a training set of 728,513 slices and a validation set 24,290 slices. Although the slices are provided independently, we note that the slices can be grouped by the scan ID, which is provided in the DICOM metadata. On average, each CT scan contains about 35 slices. In total, the training set contains 21,000 CT scans, the validation set contains 744 CT scans and the test set contains 3,528 CT scans. As illustrated in Figure 4, the class distribution in the data set is not balanced, the EPH type being underrepresented. We note that the test labels are not known, the evaluation on the test set being possible only by submitting predictions through Kaggle.

Figure 4: Distribution of hemorrhage types in the official training set, which is selected using stratified sampling from the RSNA 2019 Brain CT Hemorrhage data set. Best viewed in color.

4.2 Experimental Setup

Implementation Details

We trained our models using a single NVIDIA P100 GPU provided on the Kaggle platform, using NVIDIA Apex for Automatic Mixed Precision (AMP). All images were downsampled to pixels, allowing us to train on larger mini-batches and to reduce the training time. We used mini-batches of 32 samples for training the CNN model, and mini-batches of slices from an entire CT scan (with a variable amount of slices) for training the bidirectional LSTM. The resulting CNN embeddings have 2048 features, which were reduced in numbers by selecting the top 120 (or top 192) features using a feature selection method. The code was implemented in Pytorch, using the Adam optimizer (Kingma and Ba, 2015) with multi-label mean log loss.

Evaluation Metrics

We employed multiple evaluation metrics for assessing the performance levels of our models, both at the slice level and at the whole scan level. First of all, we used the multi-label weighted mean log loss as an evaluation metric at the slice level, which is the same metric used to rank participants in the RSNA Intracranial Hemorrhage Detection challenge. Although this is the official metric, it does not provide any useful insights about our model. We therefore include a set of more informative metrics, namely the accuracy, the area under the ROC (Receiver Operating Characteristics) curve (AUC), the sensitivity and the specificity. Since we do not have access to the test labels, we reported the values for the whole set of metrics only on the validation set.

Method BiLSTM Features Feature Loss Rank on
model count Kaggle
EfficientNet-B4 - Full feature vectors 2048 0.07212 278
ResNeXt-101 - Full feature vectors 2048 0.06259 191
ResNeXt-101 + BiLSTM ResNeXt-101 predictions 6 0.05540 64
ResNeXt-101 + BiLSTM Features with largest standard deviations 192 0.05212 37
ResNeXt-101 + BiLSTM Features of weights with largest magnitude 192 0.05365 42
ResNeXt-101 + BiLSTM Features of weights with smallest magnitude 192 0.05136 34
ResNeXt-101 + BiLSTM Features of weights with smallest magnitude 120 0.05035 29
ResNeXt-101 + BiLSTM PCA features 192 0.05207 36
ResNeXt-101 + BiLSTM PCA features 192 0.05198 35
ResNeXt-101 + BiLSTM PCA features 192 0.05096 30
ResNeXt-101 + BiLSTM PCA features 120 0.05022 29
ResNeXt-101 + BiLSTM PCA features + ResNeXt-101 predictions 120 0.04989 27
Table 2: Multi-label weighted mean log loss on the official test set of the RSNA Intracranial Hemorrhage Detection challenge for different deep learning models. Results are reported for different CNN and LSTM architectures with and without feature selection. The Kaggle rank of each submission is also reported here. The best results are highlighted in bold.

4.3 Results on the Official Test Set

We present results with various preliminary versions of our framework, emphasizing the effect of various components over the overall performance. We experimented with different CNN and LSTM architectures, as well as various feature selection methods. The corresponding results obtained on the official test set of the RSNA Intracranial Hemorrhage Detection challenge are presented in Table 2.

As our CNN model, we considered two options, namely ResNeXt-101 (Xie et al., 2017) and EfficientNet-B4 (Tan and Le, 2019). From the range of EfficientNet architectures proposed by Tan et al. Tan and Le (2019), we opted for the largest architecture that we could afford to train on our data set, which is EfficientNet-B4. After fine-tuning both ResNeXt-101 and EfficientNet-B4 on the training set, we observed that ResNeXt-101 attains a much lower log loss (). We therefore opted for this CNN model in the subsequent experiments.

As previously mentioned, the CNN does not take into account the neighboring slices, making predictions on a slice by slice basis. In order to have a model that considers all slices in a CT scan at once, we introduced a bidirectional LSTM in our framework. We initially trained the bidirectional LSTM on the class probabilities provided by the ResNeXt-101 model, attaining a log loss of . The LSTM would benefit from having more values in the input vectors, which leads to the idea of using the 2048-dimensional features from the penultimate layer of the ResNeXt-101 model. However, we were not able to perform this experiment, being constrained by the computing infrastructure provided by Kaggle. A good alternative, however, is to apply a feature selection method first, reducing the dimensionality of the feature vectors from 2048 to something more manageable. Our first method of feature selection was to consider the features with the largest standard deviation, resulting in a log loss of . Another option to select features was to consider the weights from the Softmax layer of the ResNeXt-101 model. We tried using the top 192 features for the bidirectional LSTM, selecting the features corresponding to either the largest or the smallest weights in absolute value. Interestingly, we obtained a lower log loss with the features having the smallest absolute values. The third feature selection method that we tried in the experiments is PCA. Using the same bidirectional LSTM architecture as before and the same number of features (192), we obtained a log loss of . Shallower or slimmer bidirectional LSTM architectures provide slightly worse results. From the considered feature selection methods, we opted for PCA for our final submissions. Another attempt was to reduce the dimensionality of the CNN features vectors even more. We obtained an improved log loss of with 120-dimensional CNN features vectors, suggesting that a more aggressive feature selection is useful. In order to confirm this hypothesis on another case, we applied it for the feature selection method based on the weights having smallest absolute values, reaching a log loss of , down from . We thus conclude that selecting the top 120 features is more effective that selecting the top 192 features. Although this does not imply that our performance would be worse without feature selection (we were not able to perform experiments without feature selection on our computing infrastructure), it surely points in this direction. To gain some performance boost, we tried to feed the predictions of the ResNeXt-101 as input to the Softmax classification layer of the bidirectional LSTM, concatenating the class probabilities to the 256-dimensional feature vectors resulted from the penultimate layer of the bidirectional LSTM. This furthered lowered our log loss score down to . With this score, we rank on 27th place out of 1345 participants.

Although we were not able to train our framework without feature selection on images of pixels until convergence, we trained it for a couple of iterations, comparing its computational time with respect to our final model, which relies on PCA to reduce the feature vectors to 120 dimensions, taking images of pixels as input. The model trained on full-resolution images requires 128 milliseconds per image, while our model requires only 36 milliseconds for one image. For one epoch over the training set (728,513 slices), the model trained on full-resolution images requires about 26 hours. Our model passes through the entire training set in only 7 hours, staying under the maximum of 9 hours for one run on the Kaggle platform. This is the main constraint that forced us to design a lighter neural framework.

4.4 Results on the Validation Set

In Table 3, we present additional metrics for our best model versus the plain ResNeXt-101 on the validation set. Our accuracy rates and ROC AUC scores at the slice level are typically above . We generally observe that our scores for these metrics are lower at the scan level than at the slice level. For the EPH subtype, we obtain the lowest sensitivity at the slice level () and at the scan level (), most likely because this subtype is underrepresented in the data set (see Figure 4). Our highest sensitivity at both slice and scan levels is attained on the IVH subtype, the values being slightly above . Our model seems to produce very high specificity scores, surpassing the threshold in many cases. We note that the main advantage of using the bidirectional LSTM is represented by the significant performance gains in terms of sensitivity at the slice level. Indeed, for EPH, IPH and SAH subtypes, the improvements brought by the bidirectional LSTM are higher than .

5 Assessment by Radiologists and Discussion

ICH type ResNeXt-101 and bidirectional LSTM
Accuracy ROC AUC Sensitivity Specificity
on slices on scans on slices on scans on slices on scans on slices on scans
Any 0.9600 0.9516 0.9843 0.9792 0.8605 0.9436 0.9781 0.9576
Epidural (EPH) 0.9970 0.9892 0.9851 0.9414 0.4430 0.4000 0.9988 0.9973
Intraparenchymal (IPH) 0.9832 0.9368 0.9927 0.9834 0.8142 0.8639 0.9927 0.9620
Intraventricular (IVH) 0.9920 0.9651 0.9970 0.9866 0.9102 0.9127 0.9948 0.9757
Subarachnoid (SAH) 0.9752 0.9220 0.9821 0.9609 0.6624 0.6944 0.9921 0.9767
Subdural (SDH) 0.9627 0.9140 0.9682 0.9451 0.6817 0.7203 0.9837 0.9601
ResNeXt-101
Any 0.9543 0.9409 0.9752 0.9782 0.7866 0.9436 0.9848 0.9388
Epidural (EPH) 0.9967 0.9879 0.9703 0.9479 0.2405 0.4000 0.9992 0.9959
Intraparenchymal (IPH) 0.9809 0.9449 0.9883 0.9806 0.6865 0.8377 0.9974 0.9819
Intraventricular (IVH) 0.9905 0.9570 0.9953 0.9889 0.8325 0.9127 0.9960 0.9660
Subarachnoid (SAH) 0.9697 0.9126 0.9644 0.9582 0.5024 0.7222 0.9949 0.9583
Subdural (SDH) 0.9604 0.9086 0.9576 0.9408 0.5993 0.8182 0.9873 0.9301
Table 3: Accuracy, ROC AUC, sensitivity and specificity on the validation set for our best model, namely a bidirectional LSTM trained on 120-dimensional feature vectors obtained by applying PCA on the 2048-dimensional features vectors produced by a ResNeXt-101 network. The same metrics are reported for the plain ResNeXt-101 model. Results are report for all intracranial hemorrhage subtypes.
Label EPH IPH IVH SAH SDH Any (ICH)
Positive 0 29 16 25 32 52
Negative 100 71 84 75 68 48
Table 4: Distribution of hemorrhage subtypes in the data set of 100 scans that were held out for the subjective assessment by radiologists.

Although our best system attains an impressive log loss value of , placing us in the top 30 ranking from a total of 1345 participants in the RSNA Intracranial Hemorrhage Detection challenge, it is hard to assess how well it performs with respect to trained radiologists, without a direct comparison. Therefore, we decided to use CT scans (24,290 slices), held out from the validation set, to compare our deep learning models with three specialists willing to participate in our study. Some statistics regarding the ground-truth labels for the selected scans are provided in Table 4. We note that some CT scans can have multiple subtypes of ICH. Hence, the sum of positive labels for all subtypes () is higher than the number of scans labeled as ICH ().

Doctor #1
EPH IPH IVH SAH SDH Any
Accuracy 0.92 0.70 0.87 0.71 0.71 0.81
Sensitivity - 1.0 0.50 0.04 0.62 0.98
Specifity 0.92 0.58 0.94 0.93 0.75 0.62
ROC-AUC - 0.79 0.72 0.49 0.69 0.80
Doctor #2
EPH IPH IVH SAH SDH Any
Accuracy 0.97 0.89 0.95 0.91 0.94 0.95
Sensitivity - 0.90 0.88 0.64 0.81 0.94
Specifity 0.97 0.89 0.96 1.00 1.00 0.94
ROC-AUC - 0.89 0.92 0.82 0.91 0.95
Doctor #3
EPH IPH IVH SAH SDH Any
Accuracy 0.96 0.91 0.97 0.83 0.91 0.96
Sensitivity - 0.90 0.94 0.40 0.81 0.96
Specifity 0.96 0.92 0.98 0.97 0.96 0.96
ROC-AUC - 0.90 0.95 0.68 0.88 0.96
ResNeXt-101
EPH IPH IVH SAH SDH Any
Accuracy 1.00 0.90 0.94 0.86 0.90 0.98
Sensitivity - 0.90 0.94 0.72 0.78 0.98
Specifity 1.00 0.90 0.94 0.91 0.96 0.98
ROC-AUC - 0.90 0.94 0.81 0.87 0.98
ResNeXt-101 and bidirectional LSTM
EPH IPH IVH SAH SDH Any
Accuracy 1.00 0.92 0.95 0.83 0.93 0.97
Sensitivity - 0.90 0.94 0.48 0.78 0.96
Specifity 1.00 0.93 0.95 0.95 1.00 0.98
ROC-AUC - 0.91 0.94 0.71 0.89 0.97
Table 5: Performance metrics for annotations collected from three radiologist versus the predictions of the ResNeXt-101 and our joint ResNeXt-101 and bidirectional LSTM framework. To prevent cheating, the doctors did not see the ground-truth labels. Results are reported on 100 CT scans held out from the validation set.

We provide the outcome of the subjective assessment study by radiologists on the held out CT scans in Table 5. We compare the annotations provided by three doctors with the labels provided by the CNN model and the joint CNN and LSTM model, respectively. The evaluation metrics are computed at the scan level. For a fair comparison with our systems, the doctors were not given access to the ground-truth labels during the annotation. We note that two of the doctors, doctor #2 and #3, are highly trained specialists, treating intracranial hemorrhage cases on a daily basis in their medical practice. This explains why their scores are much higher than the scores attained by doctor #1, who is a specialist in treating tumors through radiation therapy, rarely encountering intracranial hemorrhage cases in the day to day practice. The study reveals that our deep learning models attain scores very close to those of doctor #2 and #3, even surpassing them for the EPH subtype (our top accuracy being ) and the IPH subtype (our top accuracy being ). Our models are also better at generic ICH detection, our top accuracy being with the plain CNN model. Based on our subjective assessment study by radiologists, we concluded with the doctors that our models exhibit sufficiently high accuracy levels to be used as a second opinion in their daily medical practice. The team of doctors considered the fact that our AI-based system attains performance levels comparable to those of trained radiologists very impressive.

In order to better assess the behavior of our system with respect to the radiologists included our study, we produced Grad-CAM visualizations (Selvaraju et al., 2017) for the CT scans that were wrongly labeled by doctor #2 and by our CNN model (ResNeXt-101 ). We considered all scans that had at least one wrong label. There are wrong labels given by doctor #2 and wrong labels by our system. Interestingly, there is a high overlap (over ) between the wrong labels of doctor #2 and those of our system. Considering that there are mistakes in common, we have strong reasons to suspect that the ground-truth labels might actually be wrong. As the ground-truth labels are also given by specialists (Flanders et al., 2020), this is a likely explanation for the high overlap between the mistakes of doctor #2 and those of our CNN model. After seeing the ground-truth labels and making a careful reassessment, our team of doctors found at least ground-truth labels that are wrong and another that are disputable. Since the total number of labels for the CT scans is ( classes scans), the wrong labels identified in the ground-truth account for less than from the total amount, which is acceptable. Nevertheless, we emphasize that the CT scans selected for the Grad-CAM-based analysis are either difficult (a doctor or our system produced a wrong label) or controversial (the ground-truth labels are suspect of being wrong). In total, we gathered a set of controversial or difficult scans, with a total of controversial or difficult slices (we did not include slices without wrong labels). For each CT slice and for each positive label provided by our system, we produced a Grad-CAM visualization. Our team of doctors analyzed each and every Grad-CAM visualization, labeling each visualization as correct (the system focuses on the correct region, covering most of hemorrhage, without focusing on other regions), partially correct (the system focuses on some hemorrhage region while also focusing on non-hemorrhage regions or missing some other hemorrhage region) or incorrect (the hemorrhage region is completely outside the focus area of our system). From the total of visualizations, were labeled as correct, as partially correct and the remaining as incorrect. Considering that the slices represent difficult or controversial cases, we believe that the percentage of incorrect visualizations is not high enough to represent a serious concern.

Figure 5: A selection of Grad-CAM visualizations that are labeled as correct by our team of doctors. Best viewed in color.

For the correct and partially correct visualizations, the doctors observed that the focus region of the system is not perfectly aligned with the hemorrhage area. When the CT slices contain SAH, a general observation is that our CNN-based system seems to concentrate on the eye orbits, the sinus or the nasal cavities, which is not right. Another general observation is that, for some visualizations labeled as incorrect, the system actually focuses on blood hemorrhage outside the skull, which is not entirely a bad thing, i.e. it is good that the system detects hemorrhage anywhere in the CT image, but it should learn to look for hemorrhage inside the skull only. Doctor #2 labeled 3 CT scans as EPH, but these were false positives. After seeing the ground-truth labels and the Grad-CAM visualizations, the team of doctors (which includes doctor #2) was able to correct the false positives for EPH, confirming the ground-truth labels which indicate that the respective scans contain SDH. The doctors observed that most of the correct visualizations are produced for specific hemorrhage types, namely IPH, IVH and SAH. The worst visualizations are typically produced for the generic ICH class (any type). This is because, during training, the system is not forced to detect all hemorrhage regions in order to label a CT slice as ICH. While it is sufficient for our system to detect at least one hemorrhage region to label the corresponding slice as ICH, the doctors would have expected the system to indicate all hemorrhage regions through the visualization. In order to visualize all hemorrhage regions, the doctors concluded that it is mandatory to jointly consider the Grad-CAM visualizations for all detected types of hemorrhage.

Figure 6: A selection of Grad-CAM visualizations that are labeled as partially correct by our team of doctors. Best viewed in color.
Figure 7: A selection of Grad-CAM visualizations that are labeled as incorrect by our team of doctors. Best viewed in color.

In order to better understand how doctors classified the Grad-CAM visualizations as correct, partially correct or incorrect, we next present a detailed analysis of five particular Grad-CAM examples from each category. In Figure 5, we illustrate a set of Grad-CAM visualizations that were labeled as correct by the doctors. In the first (left-most) sample, the system concentrates on the subdural hemorrhage in the left frontal lobe. In the second sample, the system correctly concentrates its attention on two hemorrhage regions, one in the left frontal lobe and one in the left parietal lobe. In the following two samples, we observe that our system focuses on hemorrhage in various regions, namely in the posterior median (tentorial) lobe (third example) and in the temporal right lobe (fourth example). In the fifth (right-most) sample in Figure 5, the hemorrhage within the focus area is located in the right paramedian region, the slice being labeled as IPH and IVH.

In Figure 6, we show a set of Grad-CAM visualizations that were labeled as partially correct by the doctors. In the first partially correct sample, the system focuses on the hemorrhage situated in the left frontal lobe, failing to indicate the hemorrhage in the left posterior temporalis. In the second sample from the left, the system focuses on the left frontal hemorrhage, while the left parietal (posterior) hemorrhage is not sufficiently highlighted. In the third Grad-CAM visualization, the system concentrates mostly on the tentorial left (posterior latero-median) hemorrhage, and only barely on the right temporal hemorrhage. The system seems to ignore the hemorrhage in the left temporal lobe. In the fourth partially correct example, the focus region includes the left median temporal IPH and the anterior left frontal SDH, but the right temporal SAH is not sufficiently highlighted by our system. In the fifth (right-most) sample in Figure 6, our system correctly annotates the SDH in the left frontal lobe, but the SDH in the parietal right lobe is not highlighted by the system.

Finally, we illustrate a set of incorrect Grad-CAM visualizations in Figure 7. In the left-most sample, there is a bilateral posterior hemorrhage that is outside the focus area of the system, which seems to have turned its attention on extracranial hemorrhage instead. In the second incorrect example, the system focuses on the left frontal lobe, but the lesion is located in the posterior median parietal lobe. In the third example, there is no intracranial injury, and the system seems to focus mostly on the extracranial area, which is not of interest. In the fourth incorrect visualization, there is a left temporal intraparenchymal lesion outside the focus area of the system, which seems to concentrate on the anterior median region instead. In the fifth example in Figure 7, there is an anterior left temporal lesion which the system does not concentrate on. Instead, the system system focuses on the anterior and the right paramedian regions, and also on the left anterior facial and extracranial mass.

As a generic conclusion of this analysis, the doctors found the Grad-CAM visualizations very useful, considering that the best application of our system is to provide a second informative opinion for ER patients that are suspected of ICH. Here, the system could aid ER doctors in making a fast and correct diagnostic, which could prove crucial in saving a patient’s life.

6 Conclusions

In this paper, we presented an approach based on convolutional and LSTM neural networks for intracranial hemorrhage detection in 3D CT scans. Our method is able to attain performance levels comparable to those of trained specialists, in the same time reaching a loss of in the RSNA Intracranial Hemorrhage Detection challenge, which brings us on the 27th place (top ) from a total of 1345 participants. All these results were obtained while making important design choices to reduce the computational footprint of our model, namely the reduction of CT slices from to pixels and the inclusion of a feature selection method before passing the CNN embeddings as input to the bidirectional LSTM. We conclude that analyzing hemorrhage at the CT scan level, through a joint ResNeXt and BiLSTM network, is more effective than performing the analysis at the CT slice level, through a single ResNeXt model. We also deduce that performing feature selection is both efficient and effective when it comes to intracranial hemorrhage detection and subtype classification. Furthermore, we performed an analysis of Grad-CAM visualizations for some of the most difficult or controversial CT slices. The team of doctors that performed the manual annotations of the CT slices selected for their subjective assessment concluded that our system is an useful tool for their daily medical practice, providing useful predictions and visualizations.

In future work, we will work closely with the medical team to improve our model by incorporating their feedback. One of the most important problems is that our system can predict the correct label for a certain subtype of intracranial hemorrhage without considering all the locations for the respective subtype. While this behavior produces very good accuracy rates, it is not optimal for visualizing all the regions with hemorrhage. We aim to solve this issue in future work by considering pixel-level annotations, e.g. segments or bounding-boxes, allowing us to penalize the model during training when it fails to detect a certain hemorrhage region.

\authorcontributions

Conceptualization, M.B. and R.T.I.; methodology, M.B. and R.T.I.; software, M.B.; validation, M.B., R.T.I. and N.V.; formal analysis, N.V.; investigation, M.B., R.T.I. and N.V.; resources, M.B.; data curation, N.V.; writing–original draft preparation, R.T.I.; writing–review and editing, M.B., R.T.I. and N.V.; visualization, M.B.; supervision, R.T.I. and N.V.; project administration, R.T.I.; funding acquisition, R.T.I.

\funding

The research leading to these results has received funding from the NO Grants 2014-2021, under project ELO-Hyp contract no. 24/2020. The article has also benefited from the support of the Romanian Young Academy, which is funded by Stiftung Mercator and the Alexander von Humboldt Foundation for the period 2020-2022.

\conflictsofinterest

The authors declare no conflict of interest.

\abbreviations

The following abbreviations are used in this manuscript:

RSNA Radiological Society of North America
DICOM Digital Imaging and Communications in Medicine
CT computed tomography
CNN convolutional neural network
LSTM Long Short-Term Memory
RNN recurrent neural network
FCN fully convolutional network
PCA Principal Component Analysis
HU Hounsfield unit
WC window center
WW window width
GPU graphical processing unit
AMP Automatic Mixed Precision
ROC Receiver Operating Characteristics
AUC area under the curve
EPH epidural hemorrhage
IPH intraparenchymal hemorrhage
IVH intreventricular hemorrhage
SAH subarachnoid hemorrhage
SDH subdural hemorrhage
\externalbibliography

yes

Footnotes

  1. https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/
  2. https://github.com/warchildmd/ihd
  3. https://www.kaggle.com/c/rsna-intracranial-hemorrhage-detection/

References

  1. Urden, L.D.; Stacy, K.M.; Lough, M.E. Priorities in Critical Care Nursing, 8th ed.; Elsevier Health Sciences, 2019.
  2. LeCun, Y.; Bottou, L.; Bengio, Y.; Haffner, P. Gradient-based learning applied to document recognition. Proceedings of the IEEE 1998, 86, 2278–2324.
  3. Krizhevsky, A.; Sutskever, I.; Hinton, G.E. ImageNet Classification with Deep Convolutional Neural Networks. Proceedings of NIPS, 2012, pp. 1097–1105.
  4. Hochreiter, S.; Schmidhuber, J. Long Short-term Memory. Neural Computation 1997, 9, 1735–1780.
  5. Grewal, M.; Srivastava, M.M.; Kumar, P.; Varadarajan, S. RADNET: Radiologist Level Accuracy using Deep Learning for Hemorrhage Detection in CT Scans. Proceedings of ISBI, 2018, pp. 281–284.
  6. Patel, A.; Van De Leemput, S.C.; Prokop, M.; Van Ginneken, B.; Manniesing, R. Image Level Training and Prediction: Intracranial Hemorrhage Identification in 3D Non-Contrast CT. IEEE Access 2019, 7, 92355–92364.
  7. Vidya, M.; Mallya, Y.; Shastry, A.; Vijayananda, J. Recurrent Sub-volume Analysis of Head CT Scans for the Detection of Intracranial Hemorrhage. Proceedings of MICCAI, 2019, pp. 864–872.
  8. Ye, H.; Gao, F.; Yin, Y.; Guo, D.; Zhao, P.; Lu, Y.; Wang, X.; Bai, J.; Cao, K.; Song, Q.; others. Precise diagnosis of intracranial hemorrhage and subtypes using a three-dimensional joint convolutional and recurrent neural network. European Radiology 2019, 29, 6191–6201.
  9. Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization. Proceedings of ICCV, 2017, pp. 618–626.
  10. LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444.
  11. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. Proceedings of CVPR, 2016, pp. 770–778.
  12. Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional Networks for Biomedical Image Segmentation. Proceedings of MICCAI, 2015, pp. 234–241.
  13. Coudray, N.; Ocampo, P.S.; Sakellaropoulos, T.; Narula, N.; Snuderl, M.; Fenyö, D.; Moreira, A.L.; Razavian, N.; Tsirigos, A. Classification and mutation prediction from non-small cell lung cancer histopathology images using deep learning. Nature Medicine 2018, 24, 1559.
  14. Hosny, A.; Parmar, C.; Coroller, T.P.; Grossmann, P.; Zeleznik, R.; Kumar, A.; Bussink, J.; Gillies, R.J.; Mak, R.H.; Aerts, H.J. Deep learning for lung cancer prognostication: A retrospective multi-cohort radiomics study. PLOS Medicine 2018, 15, 1–25.
  15. Li, X.; Chen, H.; Qi, X.; Dou, Q.; Fu, C.W.; Heng, P.A. H-DenseUNet: Hybrid Densely Connected UNet for Liver and Tumor Segmentation from CT Volumes. IEEE Transactions on Medical Imaging 2018, 37, 2663–2674.
  16. Sirinukunwattana, K.; Pluim, J.P.; Chen, H.; Qi, X.; Heng, P.A.; Guo, Y.B.; Wang, L.Y.; Matuszewski, B.J.; Bruni, E.; Sanchez, U.; others. Gland Segmentation in Colon Histology Images: The GlaS Challenge Contest. Medical Image Analysis 2017, 35, 489–502.
  17. Wahab, N.; Khan, A.; Lee, Y.S. Transfer learning based deep CNN for segmentation and detection of mitoses in breast cancer histopathological images. Microscopy 2019, pp. 216–233.
  18. Arbabshirani, M.R.; Fornwalt, B.K.; Mongelluzzo, G.J.; Suever, J.D.; Geise, B.D.; Patel, A.A.; Moore, G.J. Advanced machine learning in action: identification of intracranial hemorrhage on computed tomography scans of the head with clinical workflow integration. NPJ Digital Medicine 2018, 1, 1–7.
  19. Kuo, W.; Häne, C.; Mukherjee, P.; Malik, J.; Yuh, E.L. Expert-level detection of acute intracranial hemorrhage on head computed tomography using deep learning. Proceedings of the National Academy of Sciences 2019, 116, 22737–22745.
  20. Lee, H.; Yune, S.; Mansouri, M.; Kim, M.; Tajmir, S.H.; Guerrier, C.E.; Ebert, S.A.; Pomerantz, S.R.; Romero, J.M.; Kamalian, S.; others. An explainable deep-learning algorithm for the detection of acute intracranial haemorrhage from small datasets. Nature Biomedical Engineering 2019, 3, 173.
  21. Phong, T.D.; Duong, H.N.; Nguyen, H.T.; Trong, N.T.; Nguyen, V.H.; Van Hoa, T.; Snasel, V. Brain hemorrhage diagnosis by using deep learning. Proceedings of ICMLSC, 2017, pp. 34–39.
  22. Rao, B.; Zohrabian, V.; Cedeno, P.; Saha, A.; Pahade, J.; Davis, M.A. Utility of Artificial Intelligence Tool as a Prospective Radiology Peer Reviewer—Detection of Unreported Intracranial Hemorrhage. Academic Radiology 2020.
  23. Chen, Y.; Shi, F.; Christodoulou, A.G.; Xie, Y.; Zhou, Z.; Li, D. Efficient and accurate MRI super-resolution using a generative adversarial network and 3D multi-level densely connected network. Proceedings of MICCAI, 2018, pp. 91–99.
  24. Georgescu, M.I.; Ionescu, R.T.; Verga, N. Convolutional Neural Networks with Intermediate Loss for 3D Super-Resolution of CT and MRI Scans. IEEE Access 2020, 8, 49112–49124.
  25. Oktay, O.; Bai, W.; Lee, M.; Guerrero, R.; Kamnitsas, K.; Caballero, J.; de Marvao, A.; Cook, S.; O’Regan, D.; Rueckert, D. Multi-input Cardiac Image Super-Resolution Using Convolutional Neural Networks. Proceedings of MICCAI, 2016, pp. 246–254.
  26. Zhao, X.; Zhang, Y.; Zhang, T.; Zou, X. Channel splitting network for single MR image super-resolution. IEEE Transactions on Image Processing 2019, 28, 5649–5662.
  27. Chang, P.D.; Kuoy, E.; Grinband, J.; Weinberg, B.D.; Thompson, M.; Homo, R.; Chen, J.; Abcede, H.; Shafie, M.; Sugrue, L.; others. Hybrid 3D/2D convolutional neural network for hemorrhage evaluation on head CT. American Journal of Neuroradiology 2018, 39, 1609–1616.
  28. Flanders, A.E.; Prevedello, L.M.; Shih, G.; Halabi, S.S.; Kalpathy-Cramer, J.; Ball, R.; Mongan, J.T.; Stein, A.; Kitamura, F.C.; Lungren, M.P.; others. Construction of a Machine Learning Dataset through Collaboration: The RSNA 2019 Brain CT Hemorrhage Challenge. Radiology: Artificial Intelligence 2020, 2, e190211.
  29. Ker, J.; Singh, S.P.; Bai, Y.; Rao, J.; Lim, T.; Wang, L. Image Thresholding Improves 3-Dimensional Convolutional Neural Network Diagnosis of Different Acute Brain Hemorrhages on Computed Tomography Scans. Sensors 2019, 19, 2167.
  30. Saab, K.; Dunnmon, J.; Goldman, R.; Ratner, A.; Sagreiya, H.; Ré, C.; Rubin, D. Doubly Weak Supervision of Deep Learning Models for Head CT. Proceedings of MICCAI, 2019, pp. 811–819.
  31. Bhadauria, H.; Singh, A.; Dewal, M. An integrated method for hemorrhage segmentation from brain CT imaging. Computers & Electrical Engineering 2013, 39, 1527–1536.
  32. Cho, J.; Choi, I.; Kim, J.; Jeong, S.; Lee, Y.S.; Park, J.; Kim, J.; Lee, M. Affinity Graph Based End-to-End Deep Convolutional Networks for CT Hemorrhage Segmentation. Proceedings of ICONIP, 2019, pp. 546–555.
  33. Cho, J.; Park, K.S.; Karki, M.; Lee, E.; Ko, S.; Kim, J.K.; Lee, D.; Choe, J.; Son, J.; Kim, M.; others. Improving sensitivity on identification and delineation of intracranial hemorrhage lesion using cascaded deep learning models. Journal of Digital Imaging 2019, 32, 450–461.
  34. Chung, K.J.; Kuang, H.; Federico, A.; Choi, H.S.; Kasickova, L.; Al Sultan, A.S.; Horn, M.; Crowther, M.; Connolly, S.J.; Yue, P.; others. Semi-automatic measurement of intracranial hemorrhage growth on non-contrast CT. International Journal of Stroke 2019, p. 1747493019895704.
  35. Gautam, A.; Raman, B. Automatic Segmentation of Intracerebral Hemorrhage from Brain CT Images. In Proceedings of MISP; 2019; pp. 753–764.
  36. Hssayeni, M.D.; Croock, M.S.; Salman, A.D.; Al-khafaji, H.F.; Yahya, Z.A.; Ghoraani, B. Intracranial Hemorrhage Segmentation Using A Deep Convolutional Model. Data 2020, 5, 14.
  37. Islam, M.; Sanghani, P.; See, A.A.Q.; James, M.L.; King, N.K.K.; Ren, H. ICHNet: Intracerebral Hemorrhage (ICH) Segmentation Using Deep Learning. Proceedings of MICCAI Brainlesion Workshop, 2018, pp. 456–463.
  38. Kwon, D.; Ahn, J.; Kim, J.; Choi, I.; Jeong, S.; Lee, Y.S.; Park, J.; Lee, M. Siamese U-Net with Healthy Template for Accurate Segmentation of Intracranial Hemorrhage. Proceedings of MICCAI, 2019, pp. 848–855.
  39. Patel, A.; Schreuder, F.H.; Klijn, C.J.; Prokop, M.; van Ginneken, B.; Marquering, H.A.; Roos, Y.B.; Baharoglu, M.I.; Meijer, F.J.; Manniesing, R. Intracerebral Haemorrhage Segmentation in Non-Contrast CT. Scientific Reports 2019, 9, 1–11.
  40. Pszczolkowski, S.; Law, Z.K.; Gallagher, R.G.; Meng, D.; Swienton, D.J.; Morgan, P.S.; Bath, P.M.; Sprigg, N.; Dineen, R.A. Automated segmentation of haematoma and perihaematomal oedema in MRI of acute spontaneous intracerebral haemorrhage. Computers in Biology and Medicine 2019, 106, 126–139.
  41. Ray, S.; Kumar, V.; Ahuja, C.; Khandelwal, N. Intensity population based unsupervised hemorrhage segmentation from brain CT images. Expert Systems with Applications 2018, 97, 325–335.
  42. Shahangian, B.; Pourghassem, H. Automatic brain hemorrhage segmentation and classification algorithm based on weighted grayscale histogram feature in a hierarchical classification structure. Biocybernetics and Biomedical Engineering 2016, 36, 217–232.
  43. Soltaninejad, M.; Lambrou, T.; Qureshi, A.; Allinson, N.M.; Ye, X.; others. A Hybrid Method for Haemorrhage Segmentation in Trauma Brain CT. Proceedings of MIUA, 2014, pp. 99–104.
  44. Sun, M.; Hu, R.; Yu, H.; Zhao, B.; Ren, H. Intracranial hemorrhage detection by 3D voxel segmentation on brain CT images. Proceedings of WCSP, 2015, pp. 1–5.
  45. Russakovsky, O.; Deng, J.; Su, H.; Krause, J.; Satheesh, S.; Ma, S.; Huang, Z.; A., K.; Khosla, A.; Bernstein, M.; Berg, A.C.; Fei-Fei, L. ImageNet Large Scale Visual Recognition Challenge. International Journal of Computer Vision 2015, 115, 211–252.
  46. He, K.; Gkioxari, G.; Dollár, P.; Girshick, R. Mask R-CNN. Proceedings of ICCV, 2017, pp. 2961–2969.
  47. Lin, T.Y.; Dollár, P.; Girshick, R.; He, K.; Hariharan, B.; Belongie, S. Feature Pyramid Networks for Object Detection. Proceedings of CVPR, 2017, pp. 2117–2125.
  48. Xie, S.; Girshick, R.; Dollár, P.; Tu, Z.; He, K. Aggregated Residual Transformations for Deep Neural Networks. Proceedings of CVPR, 2017, pp. 1492–1500.
  49. Mahajan, D.K.; Girshick, R.B.; Ramanathan, V.; He, K.; Paluri, M.; Li, Y.; Bharambe, A.; van der Maaten, L. Exploring the Limits of Weakly Supervised Pretraining. ECCV, 2018, pp. 181–196.
  50. Simonyan, K.; Zisserman, A. Very Deep Convolutional Networks for Large-Scale Image Recognition. Proceedings of ICLR, 2014.
  51. Buslaev, A.; Iglovikov, V.I.; Khvedchenya, E.; Parinov, A.; Druzhinin, M.; Kalinin, A.A. Albumentations: Fast and Flexible Image Augmentations. Information 2020, 11.
  52. Georgescu, M.I.; Ionescu, R.T.; Popescu, M. Local Learning with Deep and Handcrafted Features for Facial Expression Recognition. IEEE Access 2019, 7, 64827–64836.
  53. Soviany, P.; Ionescu, R.T. Continuous Trade-off Optimization between Fast and Accurate Deep Face Detectors. Proceedings of ICONIP, 2018, pp. 473–485.
  54. Szegedy, C.; Liu, W.; Jia, Y.; Sermanet, P.; Reed, S.; Anguelov, D.; Erhan, D.; Vanhoucke, V.; Rabinovich, A. Going Deeper With Convolutions. Proceedings of CVPR, 2015.
  55. Girshick, R. Fast R-CNN. Proceedings of ICCV, 2015, pp. 1440–1448.
  56. De Fauw, J.; Ledsam, J.R.; Romera-Paredes, B.; Nikolov, S.; Tomasev, N.; Blackwell, S.; Askham, H.; Glorot, X.; O’Donoghue, B.; Visentin, D.; others. Clinically applicable deep learning for diagnosis and referral in retinal disease. Nature Medicine 2018, 24, 1342–1350.
  57. Gulshan, V.; Peng, L.; Coram, M.; Stumpe, M.C.; Wu, D.; Narayanaswamy, A.; Raman, R.; Nelson, P.C.; Mega, J.L.; Webster, D.R. Development and Validation of a Deep Learning Algorithm for Detection of Diabetic Retinopathy in Retinal Fundus Photographs. JAMA: The Journal of the American Medical Association 2016, 316, 2402–2410.
  58. Raghu, M.; Zhang, C.; Kleinberg, J.; Bengio, S. Transfusion: Understanding transfer learning for medical imaging. Proceedings of NeurIPS, 2019, pp. 3342–3352.
  59. Xie, Y.; Richmond, D. Pre-training on Grayscale ImageNet Improves Medical Image Classification. Proceedings of ECCV Workshops, 2018, pp. 476–484.
  60. Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. Proceedings of ICLR, 2015.
  61. Tan, M.; Le, Q. EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. Proceedings of ICML, 2019, pp. 6105–6114.
Comments 0
Request Comment
You are adding the first comment!
How to quickly get a good reply:
  • Give credit where it’s due by listing out the positive aspects of a paper before getting into which changes should be made.
  • Be specific in your critique, and provide supporting evidence with appropriate references to substantiate general statements.
  • Your comment should inspire ideas to flow and help the author improves the paper.

The better we are at sharing our knowledge with each other, the faster we move forward.
""
The feedback must be of minimum 40 characters and the title a minimum of 5 characters
   
Add comment
Cancel
Loading ...
414574
This is a comment super asjknd jkasnjk adsnkj
Upvote
Downvote
""
The feedback must be of minumum 40 characters
The feedback must be of minumum 40 characters
Submit
Cancel

You are asking your first question!
How to quickly get a good answer:
  • Keep your question short and to the point
  • Check for grammar or spelling errors.
  • Phrase it like a question
Test
Test description