Pneumonia is a common disease caused by different microbial species such as Bacteria, virus and Fungi as shown in Fig 1. The word “Pneumonia” comes from the Greek word “Pneumon” which translates to lungs. Thus, the word pneumonia is associated to lung disease. In medical terms, pneumonia is a disease that causes inflammation of either one or both lung’s parenchyma [1]. However, pneumonia often result from infection or not, such as food aspiration and exposure to chemicals. Based on infection, pneumonia occur as a result of inflammation caused by pathogens which lead the lung’s alveoli to fill up with fluid or puss and thereby leading to decrease of Carbon dioxide and Oxygen exchange between blood and the lungs, making it hard for infected persons to breathe. Some of the symptoms of pneumonia are: shortness of breath, fever, cough, chest pain etc. Moreover, the people at risk of pneumonia are elderly people (above 65 years), children (below the age of 5 years) and people with other complications such as HIV/AIDS, diabetes, chronic respiratory diseases, cardiovascular diseases, cancer, hepatic disease etc. [2, 3, 4, 5]. Table 1 presents classification of pathogens that causes pneumonia.
Table 1. Classification of pneumonia based on Pathogens
Pathogen
|
Specie
|
Bacterial
|
Streptococcus pneumoniae
|
|
Legionella pneumophila
|
|
Mycoplasma pneumoniae
|
|
Chlamydophila pneumoniae
|
Viruses
|
Influenza virus
|
|
Severe Acute Respiratory Syndrome Coronavirus (SAR-CoV-1 and 2)
|
|
Middle East Respiratory Syndrome (MERS) Coronavirus
|
|
Respiratory Syncytial virus (RSV)
|
|
Adenovirus
|
|
Hantavirus
|
|
Rhinovirus
|
|
Varicella-zoster virus
|
|
Human metapneumovirus
|
|
Enteroviruses
|
Fungi
|
Pneumocystis jirovecii
|
|
Aspergillus spp
|
|
Mucoromycetes
|
|
Histoplasmosis
|
|
Coccidioidomycosis
|
|
Cryptococcus
|
1.1 Diagnosis and Treatment of Pneumonia
There are different approaches for the diagnosis of pneumonia, some of these approaches include Chest X-rays and CT Scan (which form the basis of our contribution), sputum test, pulse oximetry, Thoracentesis, blood gas analysis, bronchoscopy, pleural fluid culture, complete blood count etc. Mostly, pneumonia infection is treated based on the causative pathogen. For bacterial pneumonia, antibiotics are used, for viral pneumonia such as influenzas, SARS and MERS, antiviral drugs are used while antifungal drugs are used for fungal pneumonia [5, 6, 7].
1.2 COVID-19 and Pneumonia
COVID-19 is an extremely contagious disease caused by Severe Acute Respiratory Syndrome Coronavirus 2 (SAR-CoV-2), it is the recent and buzzing disease that is caused by one of the family members of Coronaviridae family. In the past, 2 members of this family known as Severe Acute Respiratory Syndrome (SARS) and Middle East Respiratory Syndrome (MERS) have caused global epidemic. The first case of COVID-19 was reported in Wuhan, Hubei province of mainland China on 31st December, 2019. The virus spread from city to city and from one country to another leading to global health crisis. However, it was not until March 11, 2020 that WHO declared it as pandemic [8, 9, 10].
COVID-19 can be transmitted through respiratory droplets that are exhaled or secreted by infected persons. Coronaviruses invade the lung’s alveoli (an organ responsible for exchange of O2 and CO2, thus causing pneumonia. The symptoms of COVID-19 include dry cough, fatigue, fever, septic shock, organ failure, anorexia, dyspnea, myalgias, sputum secretion severe pneumonia, Acute Respiratory Distress Syndrome (ARDS) etc. [11, 12, 13, 14]. The pandemic caused by SAR-CoV-2 is alarming due to the fact there is no approved drug or vaccine [15].
In order to curb further spread of the virus, parliaments or governments of various countries and states imposed city lockdowns, flight cancellations, border restrictions, closure of workplaces, restaurants, postponement of sport, religious, cultural and entertainment event and activities, wearing of face mask, social distancing of 1-2m, and creating awareness on hygiene. Many countries are facing challenges regarding number of reported cases of COVID-19 as a result of the lack of RT-PCR test kit and delay in test kit. This delay is detrimental as it leads to more cases due to interaction between infected patients waiting for result with healthy population [16, 17].
1.3 Deep Learning (DL) and Transfer Learning (TL)
Deep Learning is a branch of machine learning (ML), a subset of Artificial intelligence (AI) inspired by the make-up of the human brain. It is termed as a sub-field of Machine Learning (ML) that works similar to the biology of human brains by taking data and processing the data through networks and neural networks. Many biomedical health issues such as cancer (brain tumor and breast cancer) detections are using computer aided diagnosis base on AI models. Precisely, DL Models can detect hidden features in images which are not apparent or cannot be detected by medical expert. In terms of DL, Convolutional Neural Network (CNN) is the leading DL tool that is popularly used in different sub-field of healthcare system due to their ability to extract features and learn to distinguish between different classes (i.e. positive and negative, infected and healthy, cancer and non-cancer etc. Transfer learning has provided easier approach to quickly retrain neural networks on selected dataset with high accuracy [18, 19, 20].
1.3.1 AlexNet
AlexNet model is a DL model proposed by Alex Krizhevsky which utilize Rectified Linear Unit (ReLu) in place of Sigmoid function which is used in traditional neural networks. The model achieved 84% accuracy in 2012 ImageNet Large Scale Visual Recognition Challenge (ILSVRC). It contains 5 convolution (CONV) blocks or layer with convolutional filters size 3x3 without padding and 2x2 window size of 2X2 for Max pooling operation. The last 3 layers are 2 fully connected layers (FCL) and output layer. Other terms include Batch Normalization (BN) and Feature Map (FM). SoftMax activation function is utilized in the output layer for classification. Minibatch optimization is a gradient descent that is used to improve the model [21, 22].
1.4 Challenges
As the number of COVID-19 patient grows exponentially, there is high need massive detection which is critical for prevention and control. Medical practitioners all over the world required sophisticated system to accurately diagnose COVID-19. Different approaches are currently in used for detection of different types of pneumonia. However, detection of different strains of pathogens using molecular testing is still not up to standard of point of care diagnostics. Instead, specimens are collected from site of infections are transfer to equipped or specialized laboratories for diagnosis using RT-PCR sequencing approach which is the current gold standard [23]. This method is expensive and often lead to false result. Moreover, underdeveloped countries and remote areas with limited testing kit and equipped hospitals with ventilators have become the epicenter of the disease. Thus, there is high need for developing an alternative approach which is fast, cheap, simple and reliable. The use of X-ray has proven to be an alternative; however, this method is sometimes tedious for qualified radiologist [24]. These challenges can be addressed by computer aided detection method using DL approach which is accurate, fast and precise.
1.5 Contribution
Accordingly, our contributions have been summed up as follows.
- We suggested the use of Pretrained (transfer learning) AlexNet Model to detect COVID-19 pneumonia non-COVID-19 viral pneumonia, bacterial pneumonia and normal/healthy patients using CXR image.
- We trained the models separately to differentiate:
Between COVID-19 pneumonia and normal/healthy patient
Between non-COVID-19 Viral pneumonia and normal/healthy patient
Between Bacterial pneumonia and normal/healthy Patient
Between COVID-19 pneumonia and non-COVID-19 Viral pneumonia
Between COVID-19 pneumonia, Bacterial pneumonia and normal/healthy Patient
Between COVID-19 pneumonia, non-COVID-19 viral pneumonia, bacterial pneumonia and normal/healthy Patient
- We assessed the performance of the network based on accuracy, sensitivity and specificity
1.6 Related Work
The last decade has seen exponential rise for the application of DL in healthcare system. Different studies have shown that DL models can be used for pathological cancer images, diabetic retinopathy, CT scan of pneumonia and tuberculosis as well as microbial slide images. In the field of pathology, pathologist, Computer scientist and radiologist have been working together to detect diseases such as cancer, pneumonia and tuberculosis using computer aided diagnosis [25, 26, 27].
In terms of application of DL models for detection of Pneumonia using CT scan and Xray images, we provided literature review based on studies that:
- Classified/distinguished between COVID-19, non-COVID-19 viral pneumonia (VP) and healthy CXR images or between COVID-19, bacterial pneumonia (BP) and healthy images (i.e. multiclass).
- Classified/distinguished between COVID-19 and Non-COVID-19 viral pneumonia (VP) or COVID-19 and healthy CXR images (i.e. 2 classes).
- Classified/distinguished between Non-COVID-19 Viral Pneumonia (VP) and Healthy CXR images
Chest Scan based on Chest X-ray or Computed Tomography (CT) scan is an approach radiologist used to distinguish between patient suffering from pneumonia and healthy person. The difference is based on the presence of white hazy patches which is known as “Ground-glass opacity” in infected patient which is absent in healthy person. However, as a result of scarcity of test for diagnosing COVID-19 as well as the high cost (120-130 USD), time consuming, low sensitivity, laborious of RT-PCR method, scientist turn to chest scan such as CT scans and X-rays as an alternative approach for diagnosis of severe pneumonia caused by SAR-CoV-2 and Bacterial Pneumonia [28]. Moreover, this approach has its own challenges such as shortage of expert (i.e. radiologist) that can interpret the result and the tediousness of interpreting thousands of CT scan and Xray images. These challenges are addressed by AI driven models which have shown high efficiency in assisting medical expert in classification and prediction of disease [29, 30].
Many studies have reported the use of CXR and CT scans along with Deep Learning models in order to achieve automated detection of COVID-19 pneumonia and other type of pneumonia such as non-COVID-19 viral pneumonia and bacterial pneumonia. Moreover, many studies have shown the viability of using TL models which are deep networks pretrained on the ImageNet database for classification of for classification of pneumonia from healthy CT scans [31, 32, 33].
The approach of TL in DL is utilized by Chowdhury et al., 2020 [17] to differentiate between COVID-19 and viral pneumonia based on dataset acquired from public database. The models were trained using 423 COVID-19, 1458 viral pneumonia and 1579 normal Chest X-ray images on 2 basis (I) augmentation and (II) without augmentation. The models achieved higher accuracies, sensitivities and specificities. A multi dilation CNN is utilized by Mahmud et al., 2020 [34] to classify COVID-19 and other forms of pneumonia. The study utilized a deep CNN as COVXNet with modifications base on varying dilation rates for feature extraction, optimization, stacking algorithms and gradient-based discriminative localization to train dataset containing 1493 Non-COVID-19 viral pneumonia, 305 COVID-19 pneumonia, 2780 bacterial pneumonia. The Model achieved 97.4% accuracy for COVID-19 vs normal, 96.9% for COVID-19 Vs non-COVID-19 viral pneumonia, 94.7% for COVID-19 vs bacterial pneumonia and 90% for multi-class.
In order to show the difference between COVID-19 and Community Acquired Pneumonia (CAP), Li et al 2020 [35] utilized 3-Dimensional DL framework know as COVID-19 detection neural network (COVNet) using 4352 CT scans (1292 of COVID-19, 1735 of CAP and 1325 normal CT scans). The model achieved 90% sensitivity and 96% specificity for detection of COVID-19 and 87% sensitivity and 92% specificity for detection of CAP. Apostolopoulos et al., 2020 [31] utilized TL approach on dataset that contain 1427 x-ray images (504 Normal Xray Images, 700 Bacterial Pneumonia and 224 COVID-19 Xray Images). The model was able to achieved 96.78% accuracy, 96.46% specificity and 98.66% sensitivity. The summary of application of AI for detection of pneumonia is presented in Table 2.
Table 2. Detection of different types of Pneumonia using AI-driven tools.
Classification
|
Reference
|
Type of pneumonia
|
Dataset
|
Result
|
COVID-19, non-COVID-19 VP, BP and normal CT scans
|
[35]
|
COVID-19 and Community Acquired Pneumonia (CAP)
|
4352 CT scans (1292 of COVID-19, 1735 of CAP and 1325 normal CT scans)
|
90% *SV and 96% *SF for detection of COVID-19 and 87% *SV and 92% *SF for detection of CAP
|
[17]
|
COVID-19 and non-COVID-19 VP
|
423 COVID-19, 1458 viral pneumonia and 1579 normal Chest X-ray images
|
The models achieved higher accuracies, sensitivities and specificities
|
[34]
|
COVID-19, non-COVID-19 VP, BP
|
1493 non-COVID-19 viral pneumonia, 305 COVID-19 pneumonia, 2780 bacterial pneumonia
|
The Model achieved 97.4% *AC for COVID-19 vs normal, 96.9% for COVID-19 Vs non-COVID-19 VP, 94.7% for COVID-19 vs BP and 90% for multi-class
|
Non-COVID-19 VP, BP and normal CT scans
|
[36]
|
Non-COVID-19 VP (strain not specified)
|
5856 X-ray images
|
Average *Ac of 94.81% training and 93.01% for validation
|
[37]
|
Non-COVID-19 VP
|
453 CT scan images
|
The model achieved validation *AC of 82.9%, *SV of 84% and *SF of 80.5%, testing *AC of 73.1%, *SV of 74% and *SF of 67%.
|
[38]
|
Viral pneumonia (strain not specified)
|
5863 Chest X-Ray Images
|
*AC of 95.30%
|
[39]
|
VP (COVID-19, Influenza-A)
|
618 CT scan Images
|
*AC of 86.7%.
|
Non-COVID-19 VP and BP
|
[40]
|
Non-COVID-19 VP and BP (strains not specified)
|
5856 chest X-Ray
|
*Ac of 96.2% accuracy for BP and 93.6% for non-COVID-19 VP
|
*Ac is Accuracy, *BP is Bacterial pneumonia *Sv is Sensitivity, *Sf is Specificity *VP is Viral Pneumonia