Literature DB >> 33519321

COVID-19 classification by CCSHNet with deep fusion using transfer learning and discriminant correlation analysis.

Shui-Hua Wang1,2,3, Deepak Ranjan Nayak4, David S Guttery5, Xin Zhang6, Yu-Dong Zhang2,7.   

Abstract

AIM: : COVID-19 is a disease caused by a new strain of coronavirus. Up to 18th October 2020, worldwide there have been 39.6 million confirmed cases resulting in more than 1.1 million deaths. To improve diagnosis, we aimed to design and develop a novel advanced AI system for COVID-19 classification based on chest CT (CCT) images.
METHODS: : Our dataset from local hospitals consisted of 284 COVID-19 images, 281 community-acquired pneumonia images, 293 secondary pulmonary tuberculosis images; and 306 healthy control images. We first used pretrained models (PTMs) to learn features, and proposed a novel (L, 2) transfer feature learning algorithm to extract features, with a hyperparameter of number of layers to be removed (NLR, symbolized as L). Second, we proposed a selection algorithm of pretrained network for fusion to determine the best two models characterized by PTM and NLR. Third, deep CCT fusion by discriminant correlation analysis was proposed to help fuse the two features from the two models. Micro-averaged (MA) F1 score was used as the measuring indicator. The final determined model was named CCSHNet.
RESULTS: : On the test set, CCSHNet achieved sensitivities of four classes of 95.61%, 96.25%, 98.30%, and 97.86%, respectively. The precision values of four classes were 97.32%, 96.42%, 96.99%, and 97.38%, respectively. The F1 scores of four classes were 96.46%, 96.33%, 97.64%, and 97.62%, respectively. The MA F1 score was 97.04%. In addition, CCSHNet outperformed 12 state-of-the-art COVID-19 detection methods.
CONCLUSIONS: : CCSHNet is effective in detecting COVID-19 and other lung infectious diseases using first-line clinical imaging and can therefore assist radiologists in making accurate diagnoses based on CCTs.
© 2020 Elsevier B.V. All rights reserved.

Entities:  

Keywords:  COVID-19; Chest CT; Deep fusion; Discriminant correlation analysis; Micro-averaged F1; pretrained model; transfer learning

Year:  2020        PMID: 33519321      PMCID: PMC7837204          DOI: 10.1016/j.inffus.2020.11.005

Source DB:  PubMed          Journal:  Inf Fusion        ISSN: 1566-2535            Impact factor:   12.975


Introduction

COVID-19 (coronavirus disease 2019) was declared as a Public Health Emergency of International Concern on 30/Jan/2020, and a worldwide pandemic on 11/March/2020. Up to 18/Oct/2020, globally there have been 39.6 million confirmed cases and more than 1.1 million deaths (including US 222.5k Brazil 153.6k, India 114.0k, Mexico 86.0k, UK 43.5k, etc.) [1]. Two prevailing diagnostic methods are available for COVID-19 detection. One is viral testing by nasopharyngeal swabs [2] to test the existence of viral RNA fragments using real-time reverse-transcriptase PCR (rRT-PCR) and the other is imaging methods such as chest X-ray (CXR) [3] and chest computed tomography (CCT) [4]. Compared to viral testing, CCT can avoid the problem of sample contamination. For example, the swab can touch contaminated surfaces or gloves, samples can be cross-contaminated, etc. It was reported that in March 2020, due to the problem of reagent contamination, the US Center for Disease Control and Prevention (CDC) withdrew testing kits [5]. As an alternative, CCT scans can help to detect hazy, patchy, “ground glass” white spots in the lung, a tell-tale sign of COVID-19 infection, which can provide a more accurate result than viral tests. Furthermore, previous studies have shown that CCT can detect 97% of COVID-19 infections; whereas viral testing only detected 52% of patients with COVID-19 infection [6]. There are currently two imaging modalities that are used to detect COVID-19 infection. CXR is the most widely used diagnostic X-ray examination in medical practice, producing images of the blood vessels, airways, lungs, heart, bones of the spine, and chest. On the other hand, CCT uses computer-processed combinations of numerous X-ray images taken at different angles to produce a cross-sectional image of the region being scanned and to examine abnormalities. CCT is able to detect very small nodules in the lung compared to CXR [7]. In addition, CCT has advantages over CXR since it generates high-quality, detailed images by taking a 360-degree image of the chest and its internal organs. Moreover, CXR provides a 2D image that contains less information; whereas CCT provides 3D volumetric data that can highlight additional spatial features and abnormalities. For diagnosis of COVID-19, CXR is sub-optimal since important abnormalities are undetectable due to the normal black appearance of the lung. However, CCT can clearly show a combination of multifocal peripheral lung changes of ground-glass opacity (GGO) [8] and/or consolidation [9], which indicate infection with COVID-19. Hence, in this study we used CCT to aid diagnosis of COVID-19 infection. Nevertheless, manual labeling by radiologists is tedious and time-consuming, while being affected by inter- and/or intra-expert factors (e.g., emotion, tiredness, lethargy, etc.). Further, diagnostic throughputs of radiologists are not comparable with digital methods and early symptoms are more difficult to measure and hence can potentially be missed by experts. Improved diagnostic systems using image processing and machine learning can potentially benefit patients, experts, radiologists, consultants, and hospitals. Currently, most AI methods can differentiate COVID-19 infection in images from healthy subjects and/or community acquired pneumonia (CAP). Deep learning (DL) approaches are an emerging new type of machine learning, which consists of stacks of convolution layers and fully connected layers (FCLs). For example, Li and Liu [10] employed wavelet packet Tsallis entropy as a feature descriptor, and used a real-coded biogeography-based optimization (RCBO) approach as a classifier. Lu [11] employed bat algorithm to optimize extreme learning machine. Their method was called ELM-BA. Jiang [12] proposed a six-level convolutional neural network (6L-CNN) towards therapy and rehabilitation, while improving performance by replacing the traditional rectified linear unit with leaky rectified linear unit. Guo and Du [13] used ResNet-18 (RN-18) to classify thyroid ultrasound standard plane (TUSP), achieving a classification accuracy of 83.88%. Their experiment verified the effectiveness of RN-18. Fulton, et al. [14] utilized ResNet-50 to classify Alzheimer's disease (RN-50-AD) with and without imagery. The authors stated that ResNet-50 models might help identify AD patients prior to provider review. Although these previous five studies did not analyze COVID-19 positive patients, their algorithms can be easily transferred to the multi-class classification task of COVID-19 diagnosis in this study. Numerous cutting-edge AI methods have been proposed to diagnose COVID-19 using either CXR or CCT. For CXR, Loey, et al. [15] employed generative adversarial network (GAN) to produce new simulated images showing that the combination of GAN and GoogleNet (GAN-GN) is optimal for two-class classification than AlexNet and ResNet-18. Togacar, et al. [16] utilized SqueezeNet and MobileNetV2 to obtain image descriptors. The authors chose social mimic optimization (SMO) as a feature selection tool. The obtained features were then combined and passed into support vector machines. Cohen, et al. [17] employed a sizable non-COVID-19 CXR set to improve extracted features from images of CXRs from COVID-19 patients and predicted two scores: (i) lung opacity score; and (ii) geographic extent score. Their method could gage severity of COVID-19. The method (termed COVID severity score or CSS) achieved a mean absolute error (MAE) of 1.14 on geographic extent score, and a MAE of 0.78 on lung opacity score. Tabik, et al. [18] built COVIDGR-1.0, a homogeneous and balanced database that includes all levels of severity, and presented a novel COVID-SDNet in order to classify COVID-19 based on CXR images. For CCT, Ni, et al. [19] proposed NiNet, utilizing both 3D U-Net and MVP-Net on more than 90 COVID-19 patients in CCT scanning, for the aim of (i) pulmonary lobe segmentation, (ii) lesion segmentation, and (iii) lesion detection. The authors found the deep learning algorithm could assist radiologists to make quicker diagnosis (all p values are less than 0.01%) with first-class performances. Ko, et al. [20] presented a straigtforward 2D fast-track deep learning system for single CCT image termed FCONet (fast-track COVID-19 classification network). They analyzed 4 pretrained models: ResNet-50, VGG16, Xception, and Inception-V3, finding that ResNet-50 performed the best when classifying COVID-19 positive patients. They used two augmentation methods: zoom and image rotation, while proposing extra layers consisting of a flatten layer, a FCL (32 neurons), and a FCL (3 neurons). The final FCL has 3 neurons since their task is to classify 3 categories: COVID-19, other pneumonia, and non-pneumonia. As validation, the authors tested the FCONet approaches on an external set from embedded low-quality CCT images of COVID-19 patients. Li, et al. [21] developed COVNet, choosing ResNet50 as the backbone network. In their study, the deep representations were merged by a max-pooling procedure, with the obtained feature map being passed into a FCL to produce the probability score of three categories: (i) COVID-19 infection, (ii) CA), and (iii) non-pneumonia. Wang, et al. [22] proposed DeCovNet, a weakly-supervised DL framework via three-dimensional CT data for (i) lesion localization; and (ii) COVID-19 classification. The lung region was firstly segmented via a pre-trained UNet. Next, the segmented 3D lung region was passed to a three-dimensional deep network to predict the probability of COVID-19. When using a probability threshold of 0.5, the DeCovNet yielded an accuracy of 90.1%, a negative predictive value of 98.2%, and a positive predictive value of 84.0%. Satapathy, et al. [23] proposed a seven-layer CNN by stochastic pooling. Their method achieved a specificity of 93.63%, a sensitivity of 94.44%, and an accuracy of 94.03%. Wu [24] combined wavelet Renyi entropy with a three-segment biogeography-based optimization (TSBO). Their proposed TSBO can optimize weights, biases, and order of Renyi entropy at the same time. The inspiration for this study was to improve detection of COVID-19 infection in CCT images by developing a novel method to fuse the features from two neural network models. The main contributions of this paper are that: (i) We proposed a novel (L, 2) transfer feature learning (L2TFL) approach to elucidate the optimal layers to be removed prior to selection by testing various pretrained networks with various settings. (ii) We developed a novel selection algorithm of pretrained network for fusion (SAPNF) approach that can determine the best two pretrained models and proved it gives better performance than the proposed greedy selection algorithm for fusion (GSAF). (iii) We introduced a deep CCT fusion discriminant correlation analysis (DCFDCA) fusion method that gives better performance than traditional addition and concatenation fusion methods; and (iv) we improved performance over current methods by implementing multiple-way data augmentation. The structure of the paper is organized as below. Section 2 introduces the dataset, imaging protocol, slice selection method, ground-truth labeling, and preprocessing of the images. Section 3 describes every component of the proposed AI model for COVID-19 detection, and Section 4 presents the experimental results and discussions. Finally, Section 5 concludes the paper.

Dataset and preprocessing

Table 10 in Appendix.A and Table 11 in Appendix.B list the abbreviation and variable meanings exercised for easy reading.
Table 10

Abbreviation List.

AbbreviationFull Name
(M)DA(multiple-way) data augmentation
BCSbetween-class scatter
BSCbetween-set covariance
CAPcommunity-acquired pneumonia
CCAcanonical correlation analysis
CCTchest computed tomography
DAFdata augmentation factor
DCAdiscriminant correlation analysis
DCFDCAdeep CCT fusion by discriminant correlation analysis
DDMdiagonally dominant matrix
DLdeep learning
DLFdecision-level fusion
FCLfully-connected layer
FLFfeature-level fusion
GSAFgreedy selection algorithm for fusion
HChealthy control
ISPincompatible size problem
L2TFL(L,2) transfer feature learning
MRLmaximum removable layer
MVMajority voting
NLRnumber of layers to be removed
OHNNone-hidden layer neural network
PFparallel fusion
PTMpre-trained model
SAPNFselection algorithm of pretrained networks for fusion
SFserial fusion
SPTsecondary pulmonary tuberculosis
SVDsingular value decomposition
TLtransfer learning
Table 11

Symbol List.

SymbolMeaning
X0raw dataset
x0raw slice CCT image
[W0,H0,C0]size of x0
[w,h,c]index of [W,H,C]
Zlabeling
Bradiologist
Cclass (viz., COVID, CAP, SPT, HC)
FGgrayscale operation
alminimum grayscale of an image
ahmaximum grayscale of an image
FCcrop operation
(ct,cb,cl,cr)crop values in unit of pixel from four directions
X4preprocessed dataset
x4preprocessed slice CCT image
[W4,H4,C4]size of x4
δ1storage compression ratio
δ2size compression ratio
{XS,LS,OS}data, labeling, and classifier of source domain
{XT,LT,OT}data, labeling, and classifier of target domain
errerror function
lrlearning rate
NPTMnumber of PTMs
MPTMa specified model among all six models. See Table 3.
M0a pretrained model
M1M0 with last L layers removed
M2M1 with 2 new fully connected layers added
M3retrained M2
M(k)k-th PTM
M11st model
M22nd model
Lnumber of last layers to be removed
LM1number of last layers to be removed at 1st model
LM2number of last layers to be removed at 2nd model
L0number of learnable layers of M0
L2number of learnable layers of M2
Lmaxmaximum removable layer
M(a:b)layers from a to b in network M
fMfeatures learnt from network M
Frlremove layer function
Fafcladd fully-connected layer function
Frtretrain function
Facactivation function
NFCL(1)node number of first added FCL layer
NFCL(2)node number of second added FCL layer
{Y1,Y2,Y3}training, validation, and test set of a dataset Y.
NHLnumber of hidden neurons
Biinitialized OHNN
Bttrained OHNN
FSDsort function in descending way
Rrank list
I(k,L)indicator by k-th PTM and removing L layers
Iindicator vector
FL2TFLproposed L2TFL operation
O2output on validation set
O3output on test set
FMImeasuring indicator function
fFfused feature
FDFdeep fusion function
(fM1,fM2)features to be fused from two models (M1,M2)
FSFserial fusion operation
FPFparallel fusion operation
qlength of feature
NTFnumber of trained features.
FCCOVcross-covariance operation
WCCA,M1transformation matrix of CCA for model 1
WCCA,M2transformation matrix of CCA for model 1
(fM1¯,fM2¯)transformed features by CCA
fCCCAconcatenation of CCA features
fSCCAsummation of CCA features
fM1ijfeature extracted from i th image of j-th category via model M1
SBCSbetween-class scatter matrix
POEmatrix of orthogonal eigenvectors
Λ^diagonal matrix of real and non-negtive eigenvalue in decreasing order.
Frankrank function
fM1projection of fM1 where the BCS matrix is I
SM1,M2between-set covariance matrix of transformed feature sets
WDCA,M1transform matrix of DCA for model 1
WDCA,M2transform matrix of DCA for model 2
(gM1,gM2)transformed feature sets by DCA
gCDCAconcatenation of DCA features
gSDCAsummation of DCA features
cDAnumber of different DA techniques
nDAnumber of generated images by each offline MDA technique
xtr(i)one training image
Xtrtraining set
Xvavalidation set
hmNImean of Gaussian noise injected
hvNIvariance of Gaussian noise injected
FNInoise injection operation
FHShorizontal shift transform function
FVSvertical shift transform function
FGCGamma correction operation
FROimage rotation operation
FRTrandom translation operation
hrhsrandom horizontal shift
hrvsrandom vertical shift
MSRmaximum shift range
Vuniform distribution
FSCimage scaling operation
FMIRmirror function
FCONconcatenation operation
xDA(i)collection of generated MDA images with original image
XDAset of all augmented images
aDAdata augmentation factor
X4ntestnon-test set of preprocessed dataset
X4testtest set of preprocessed dataset
Nkntestnumber of samples of non-test set in k-th class
Nktestnumber of samples of test set in k-th class.
LValIideal confusion matrix over validation set
LTestIideal confusion matrix over test set
Rvnumber of runs on validation set
Rtnumber of runs on test set
F1μmicro-averaged F1
Prcμmicro-averaged precision
Senμmicro-averaged sensitivity
rirun index
fifold index

Slice selection

Four types of CCT were used in this study: (i) COVID-19 positive; (ii) community-acquired pneumonia (CAP); (iii) second pulmonary tuberculosis (SPT); (iv) healthy control (HC). The three diseased classes were chosen since they are all infectious diseases of the chest regions. Our aim was to develop an AI system that can automatically predict the four categories. For each subject, slices were chosen and a slice level selection (SLS) method was employed: For the three diseased groups, the slice displaying the largest number of lesions and size was chosen. For healthy subjects, any slice of the 3D image was randomly chosen. The resolutions of all images were . In total, we enrolled 521 subjects, and generated 1164 slice images using the SLS method, viz., 284 COVID-19 images, 281 CAP images, 293 SPT images; and 306 HC images. Image collection is challenging since it is expensive and labor-intensive, as well as requiring expert curation. Table 1 lists the demographics of the four-category subject cohort.
Table 1

Subjects and images of four categories.

CategoryPatients (n)CCT Images (n)
COVID-19125284
CAP123281
SPT134293
HC139306

(n = number).

Subjects and images of four categories. (n = number).

Ground-truth labelling

Three radiologists (Two juniors: and , and one senior: ) were assigned to curate all the images. Suppose means one CCT scan, means the labeling of each individual expert, and the final labeling of the CCT scan is obtained by Where denotes the labeling of all radiologists, viz., MV denotes majority voting. The above equation means the situation of disagreement between the analyses of two junior radiologists , we need to consult a senior radiologist to reach a consensus.

Preprocessing

Preprocessing has already shown its success in medical image analysis [25, 26]. The original dataset contained slice images . The size of each image was . Fig. 1 shows the pipeline for preprocessing of our dataset.
Fig. 1

Illustration of preprocessing. (CAP: community-acquired pneumonia; SPT: secondary pulmonary tuberculosis; HC: healthy control; CCT: chest CT; HS: histogram stretching).

Illustration of preprocessing. (CAP: community-acquired pneumonia; SPT: secondary pulmonary tuberculosis; HC: healthy control; CCT: chest CT; HS: histogram stretching). First, the color CCT images from four classes were converted into grayscale by retaining the luminance channel, and yielding the grayscale data set :where means the grayscale operation. Note that Second, the histogram stretching (HS) [27, 28] was utilized to increase the contrast of all images. Take the i th image as an example, its minimum and maximum grayscale values and were calculated as:here (w, h, c) means the index of width, height, and channel directions along image , respectively. The new histogram stretched image set was calculated as: Third, cropping was carried out to remove the checkup bed at the bottom area, and to remove the texts at the margin areas. The cropped dataset is obtained aswhere represents crop operation. Parameter means pixels to be cropped in unit of pixel from four directions. The subscript is the initial letter of top, bottom, left, and right, respectively. After this step, the resolution of each image . Fourth, we down-sampled each image to a size of , obtaining the resized image set aswhere represents the downsampling (DS) function, in which b is a down-sampled image of the raw image a. After the preprocessing procedure, each image was approximately 1.64% (explained below) of its original storage or size. The compression ratio (CR) rates of i th image of the final stage to the raw stage was measured by two variables: the storage CR and size CR We can have , and . Hence, we can obtain , . Hence, it proves the importance of preprocessing. Furthermore, Fig. 2 displays four samples from the preprocessed set . The top row presents the preprocessed images, and the bottom row the delineated results in red curves. Overall, the advantages of preprocessing is three-fold: (i) Compression ratio helps to minimize the storage size; (ii) Histogram stretching helps to normalize the contrast of all samples; (iii) Cropping removes irrelevant contents from CCT images, so the AI model will focus on the lung region. Table 2 compares the storage and size of every image at each preprocessing step.
Fig. 2

Samples of X4. (CAP: community-acquired pneumonia; SPT: secondary pulmonary tuberculosis; HC: healthy control).

Table 2

Storage and size per preprocessing step.

Preprocessing StepVariableWHCStorage*Size*
Rawx0(i)10241024312,582,9123,145,728
Grayscalex1(i)1024102414194,3041,048,576
HSx2(i)1024102414194,3041,048,576
Cropx3(i)72472412096,704524,176
DSx4(i)2272271206,11651,529

* Storage and size are measured per image.

Samples of X4. (CAP: community-acquired pneumonia; SPT: secondary pulmonary tuberculosis; HC: healthy control). Storage and size per preprocessing step. * Storage and size are measured per image.

Methodology

The motivation of our algorithm was to use pretrained models to generate features from CCT images, and fuse those features using the discriminant correlation analysis (DCA) method. Section 3.1 introduces what transfer learning is. Section 3.2 briefs several state-of-the-art pretrained models and proposes a novel (L, 2) transfer feature learning (L2TFL) algorithm, to answer the question of how to extract features using pretrained networks. Section 3.3 determines how to choose the optimal two pretrained models, and proposes a novel selection algorithm of pretrained networks for fusion (SAPNF). Section 3.4 details how to fuse, and introduces the DCA technology. Section 3.5 presents a novel data augmentation method to further improve the performance. Section 3.6 presents the experimental setup and measures. Section 3.7 summarizes and gives the pseudocode of the proposed algorithms.

Transfer learning

The basic ideas of transfer learning (TL) are utilizing a complicated and successfully pre-trained model (PTM) [29], taught from a sizable amount of source data, viz., (1000 categories from ImageNet), and then “transfer” the learnt knowledge [30] to the relatively simple task (4 categories of COVID-19, CAP, SPT and HC in this study) with a small quantity of data. Mathematically, suppose the source data is representing ImageNet, the source label the 1000-category labeling, and means the source objective-predictive function (i.e., the classifier), we have the source domain knowledge as a triple variable of Now we have the triple target: target data represents the training set, presents the 4-class labeling (COVID-19, CAP, SPT, or HC), and represents the classifier to be established. Using TL, the classifier to be created can be written as . Without using transfer learning, the classifier is written as . Then we can say is expected to be much closer to the ideal classifier than the classifier using only the target domain , viz. suppose we have a large number of samples and its labels . Where is an error function measuring the two inputs and . In practice, three elements are vital to help transfer learning improve its performance than building and training a network [31] from scratch: (i) Successful PTM can help the user remove hyper-parameter tuning; (ii) The initial layers in PTM can be thought of as feature descriptors, which extract low-level features, e.g., tints, edges, blobs, shades, and textures; (iii) The target model may only need to re-train the last several layers of the pre-trained model, since we believe the last several layers carry out the complex identification tasks. The basic idea of transfer learning is shown in Fig. 3 .
Fig. 3

Idea of transfer learning. (PTM: pretrained mode; CAP: community-acquired pneumonia; SPT: secondary pulmonary tuberculosis; HC: healthy control).

Idea of transfer learning. (PTM: pretrained mode; CAP: community-acquired pneumonia; SPT: secondary pulmonary tuberculosis; HC: healthy control).

Novelty 1: (L, 2) transfer feature learning

As shown in Table 3 , pretrained models were tested in this study: AlexNet, DenseNet201, ResNet50, ResNet101, VGG16, and VGG19. Traditional transfer learning usually modifies the neuron number of the last fully connected layer. Then the user may choose to retrain the whole network (The weights of reserved layers may be initialized by either pretrained models or re-initialization) or only retrains the modified layer.
Table 3

Candidate pretrained models.

PTMPTM SymbolParameters (millions)Input Size
AlexNetMPTM(1)61.0227×227
DenseNet201MPTM(2)20.0224×224
ResNet50MPTM(3)25.6224×224
ResNet101MPTM(4)44.6224×224
VGG16MPTM(5)138224×224
VGG19MPTM(6)144224×224
Candidate pretrained models. In this study, we proposed a new (L, 2) transfer feature learning algorithm (abbreviated as L2TFL). The motivation for L2TFL is two-fold: (i) We make , the number of layers to be removed (NLR), adaptive, and the value of was optimized to improve performance. (ii) We chose to add two newly fully connected layers due to the arbitrary width case of universal approximation theorem. For ease of understanding, the pseudocode of proposed L2TFL algorithm is presented in Algorithm 1, where is a parameter and its value was optimized.where means remove layer function, and parameter means the number of last layers to be removed. If there are shortcuts with their outputs located within the last learnable layers, those shortcuts must be removed.
Algorithm 1

Proposed L2TFL algorithm.

Step 1 Read one raw PTM network M0,
Step 2 Remove the last NLR l-learnable layers from M0 and get M1, M1=Frl(M0,L),
Step 3 Add two new fully connected layers, M2=Fafcl(M1,2),
Step 4 Freeze early layers, lr[M2(1:L0L)]0,
Step 5 Let last two layers retrainable, lr[M2(L21:L2)]1,
Step 6 Retrain the whole network, and obtain the new network M3=Frt(M2,X),
Step 7 Output learnt features fN=Fac(M3,L21).
Step 1. Read the PTM network in Table 3, and store it into variable , suppose its number of learnable layers is . Step 2. Remove the last NLR -learnable layers from and get , Step 3. Add 2 new fully connected layerswhere means add fully-connected layer function, and the constant 2 means the number of fully-connected layers to be appended to . Here the number of learnable layers of network can be calculated as . The first layer FCL layer has nodes, and the second FCL layer has nodes. Step 4. Keep the learning rate [32] of all the transfer layers zero, in order to freeze those layers Where means the leaning rate, and means the layers from to in network , in total layers are considered in . Step 5. Let the last two added new fully connected layers be retrainable, i.e., set their learning rate as 1 Step 6. Retrain the whole network using our four-class data and get the trained network .where is some dataset, and means the retrain function. Step 7. Using to generate learnt featureswhere is the activation function, means to extract the activation functions from network at the -th layer, means features learnt from network by removing learnable layers. Take ResNet18 as an example, Fig. 4 shows the diagram of our L2TFL algorithm, where . Fig. 4(a) shows the part of ResNet18 with the last two learnable layers. Fig. 4(b) shows the structure of using our L2TFL, by which the last two learnable layers of ResNet18 were replaced by two newly added FCL layers with number of nodes of and , respectively.
Fig. 4

A simplistic example of L2TFL algorithm for ResNet18 (Here NLR L = 2). (ReLU: rectified linear unit; FCL: fully-connected layer; L2TFL: (L, 2) transfer feature learning; NLR: number of layers to be removed).

A simplistic example of L2TFL algorithm for ResNet18 (Here NLR L = 2). (ReLU: rectified linear unit; FCL: fully-connected layer; L2TFL: (L, 2) transfer feature learning; NLR: number of layers to be removed). Diagram of our proposed fusion method, indicating the relation among SAPNF, L2TFL, and DCFDCA. (SAPNF: selection algorithm of pretrained networks for fusion; L2TFL: (L, 2) transfer feature learning; DCFDCA: deep CCT fusion by discriminant correlation analysis; CCT: chest CT; PTM: pretrained model). To search the optimal value of NLR , we set a range of , where we searched the optimal NLR value from this range for each PTM. is the maximum removable layer (MRL). Note that SqueezeNet [33] and GoogleNet [34] were not considered since their structure contains parallel branches and were not appropriate in our L2TFL algorithm.

Novelty 2: selection algorithm of pretrained networks for fusion

Previously, we discussed how to extract features from PTMs. Now the question is how to select the two pretrained models? The naive idea is to use greedy selection algorithm for fusion (GSAF), i.e., select the best two pretrained models, and extract their features, and fuse those two features. Suppose there is a dataset will be split into a training set , a validation set , and a test set , resulting in . The GSAF uses to create a performance rank list , choose the best two PTMs from that list, and fuse their corresponding features. The procedure of GSAF is briefly described as: For a given -th PTM , we use L2TFL via data and removing layers to obtain where is our proposed L2TFL operation. Subsequently, an empty one-hidden layer neural network (OHNN) [35] was created for validation. The initial and trained one-hidden neural network are symbolized as and , respectively. The input of is , and the number of hidden neurons is symbolized to . Performance indicator was calculated by comparing the output of over validation set , viz.,with its ground truth labels , so is calculated as Where is the measuring indicator function. It can be accuracy or sensitivity or specificity or any other measuring indicators. The is gathered overall all possible hyperparametric combination, so we get indicator vector The indicator vector is used to compare all the possible models and all possible removable layers, and we obtain the rank list by Where is the sort function in descending way, and means the indicator by learnt features from k-th PTM with removing NLR learnable layers. Now and means the index of the top two best models by GSAF method, as shown in Table Algorithm 2.
Algorithm 2

Proposed GSAF for PTM selection.

Step 1 Input: Training set Y1 and validation set Y2
Step 2 for k = 1: NPTM (k is the index of PTM)
for L=1:Lmax (L is the index of NLR)
Step 2.1 PTM Retrain
Import k-th PTM M0(k),
Use L2TFL via data Y1 and removing L layers,
Obtain M3(k,L),
Step 2.2 Feature Extraction
Generate features fM(k,L) from M3(k,L).
Step 2.3 Train OHNN
Initialize OHNN Bi(k,L),
Train OHNN Bi(k,L) using input as fM(k,L),
Obtain Bt(k,L),
Step 2.4 Obtain Indicator
Obtain performance indicator I(k,L) over validation set Y2
end
end
Step 3 Generate and sort the indicator vector I(k,L),
Step 4 Obtain the rank list RGSAF,
Step 5 Choose the top two best models (determine PTM and NLR):
M[RGSAF(1)] and M[RGSAF(2)]
Nevertheless, this greedy selection algorithm cannot ensure the fused feature can obtain the best performance. For example, if the two best models are all focusing on one region, their fusion does not help improve the performance. Hence, we proposed a novel selection algorithm of pretrained networks for fusion (SAPNF) to help choose the best two pretrained models that can specifically improve the performance of the fused features. The difference between SAPNF and GSAF is the former will investigate a larger search space that covers both PTM candidates to be fused, while the latter only searches a smaller space which contains only one PTM candidate. The pseudocode of SAPNF is presented in Algorithm 3.
Algorithm 3

Proposed SAPNF for PTM selection.

Step 1 Input: Training set Y1 and validation set Y2
Step 2 for k1=1:NPTM (k1 is the index of PTM of 1st model)
for LM1=1:Lmax (LM1 is the index of NLR of 1st model)
for k2=1:NPTM (k2 is the index of PTM of 1st model)
for LM2=1:Lmax (LM2 is the index of NLR of 1st model)
Step 2.1 1st model Retrain
Import k1-th PTM M0(k1),
Use L2TFL via data Y1 and removing LM1 layers,
Obtain M3(k1,LM1),
Step 2.2 2nd model Retrain
Import k2-th PTM M0(k2),
Use L2TFL via data Y1 and removing LM2 layers,
Obtain M3(k2,LM2),
Step 2.3 Feature Extraction from two retrained PTMs
Generate features fM(k1,LM1) from M3(k1,LM1),
Generate features fM(k2,LM2) from M3(k2,LM2),
Step 2.4 Feature Fusion
Obtain fF(k1,LM1,k2,LM2)
Step 2.5 Train OHNN
Initialize OHNN Bi(k1,LM1,k2,LM2),
Train OHNN Bi(k1,LM1,k2,LM2) using input as fF(k1,LM1,k2,LM2),
Obtain Bt(k1,LM1,k2,LM2),
Step 2.6 Obtain Indicator
Obtain performance indicator I(k1,LM1,k2,LM2) over validation set Y2
end
end
end
end
Step 3 Generate and sort the indicator vector I(k1,LM1,k2,LM2),
Step 4 Obtain the rank list RSAPNF,
Step 5 Choose the top two best models (determine PTM and NLR)
M[RSAPNF(1)] and M[RSAPNF(2)]
Mathematically, we retrained two models (with hyperparameters as PTM and NLR) in SAPNF. Hence, Eq (19) was updated aswhere the subscript in and means the index of candidate model. Note we should guarantee Which helped ensure the two candidate models are not the same one. Now we can generate two features and from two different models and , respectively. We used some fusion operation to generate a fused feature as Where is the deep fusion function, which will be discussed in next Section. The indicator vector is updated as Similarly, we obtain the rank list by

Novelty 3: deep CCT fusion by discriminant correlation analysis

Feature-level fusion (FLF) aims to combine discriminative multiple features, while decision-level fusion (DLF) combines multiple decision answers. Commonly, DLF is simpler than FLF, but FLF outperforms DLF [36, 37]. In this study we chose feature-level fusion. In our future research, we will also consider some advanced fusion rules, such as score-level fusion, DLF, and hybrid fusion methods [38]. We have discussed how to carry out transfer feature learning and how to select pretrained models. Now we need to answer the question of how to fuse those extracted features. There are two commonly used FLF methods. Based on having two -dimension features from two PTMs, the features were generated by our L2TFL method, and the selection of PTM was by SAPNF method. Assume the two features are symbolized as with length and with length , the fused feature is symbolized as . Serial fusion (SF) [39] concatenates the two features into one single featurewhere represents the SF operation. The length of equals . Parallel fusion (PF) [40] combines and into one complex vectorwhere represents the PF operation, and the imaginary unit. Sun, et al. [41] proposed a canonical correlation analysis (CCA), which finds optimal linear combination of and which have maximum correlation with each other. Suppose , , where means the number of trained features. First, we can define two covariance matrixes and aswhere is the cross-covariance operation. Also, we can define the covariance matrix as We have . The overall covariance matrix can be computed as The aim of CCA is to seek the best linear projectionwhere and are transformation matrices of CCA. The aim is to find the optimal that maximizes the pair-wise correlation over the two feature sets: Where means the pair-wise correlation, defined as The detailed derivation and solution can be found in [41]. For the optimal weights , we have , and . Hence, the combination of the transformed features is carried out by either concatenation or summation as:where and represent the concatenation and summation of CCA features, respectively. CCA has two issues: (i) The number of samples is less than the number of features in many real world scenarios: , which makes the covariance matrices non-invertible and singular. (ii) CCA neglects the class structure information. To solve these two issues, Haghighat, et al. [42] presented a discriminant correlation analysis (DCA) approach. DCA has been proven to offer improved performance than recent fusion approaches. In this study, we used DCA to fuse features from CCT images, and we named it as deep CCT fusion by discriminant correlation analysis (DCFDCA). Similar to CCA, suppose , where means the number of trained features. The columns of the data matrix can be segmented into classes, suppose columns belong to the i th class, we have Let denotes feature extracted from i th image of j-th category via model , and and denotes the mean of over i th class and the whole set, respectively. We can get Thus, the between-class scatter (BCS) matrix is defined aswhere is defined as Note the number of features is greater than the number of classes in this study, i.e., , so a method [43] is chosen here to calculate the covariance matrix of . The most significant eigenvectors of can be economically attained by mapping the eigenvectors of . Hence, it is ncessary to acquire the eigenvectros of this covraicne matrix . Assue the classes were well-separated, is a diagonal matrix aswhere denotes the matrix of orthogonal eigenvectors, the diagonal matrix of real and non-negtive eigenvalue in decreasing order. Assue entails the first eigenvectors from , so corrresponds to the largest non-zero eigenvalues in . We can deduce folowing equation as Therefore, the most significant eigenvectors of are acquired by the mapping as Assume is the transformation which uses and reduces the data's dimensionality from to , we haveandwhere denotes the projection of in a temporary space, in which the BCS matrix of the 1st feature set to be fused is and the classes are all separated. Notice thatwhere is the rank function. Similarly, to the second feature set , we can find a transform matrix , which employes the BCS matrix for the second feature sets to be fused and reduces the dimensionality of from to as The updated and are now non-square orthonormal matrices. Note that , nevertheless, the matrices and are strictly diagonally dominant matrices (DDMs), namely, if denotes the entry of a DDM, then . In our study, the diagonal entries are near to 1 and the off-diagonal entries are near to zero. So far, we have transformed and , i.e., we have finished the unitization of BCS matrices. The next step is to transform the features in one set to have nonzero correlation with their cognate features in the other set. Mathematically, the between-set covariance (BSC) matrix of the transformed features set need to be diagonalized. The singular value decomposition (SVD) approach is utilized at this step. Remember that and are of rank and is non-degenerate. We can deduce is a diagonal matrix, of which the main diagonal elements are non-zero. Assume We havewhich unitizes the BSC matrix . Finally, the DCA-transformed features can be written as Where and are the final transformation matrices of DCA for and , respectively. Similarly, the combination of the transformed DCA features is done by either concatenation or summation as:where and represent the concatenation and summation of DCA features, respectively. In this study, was chosen, since (i) summation procedure features in lower number of dimensions, and (ii) the summation and concatenation have similar results reported in [42]. In addition, feature fusion can help improve the performance compared to using a single PTM model (See Sections 4.3 and 4.4).

Data augmentation

Multiple-way data augmentation (MDA) technology [44] was used in this study. The disparity of MDA to conventional DA is that MDA utilizes a large number of different data augmentation methods. There are two types [45] of MDA, offline and online. Offline means editing and storing data on the disk, and online means on-the-fly augmentation. In this study, we chose to use offline multiple-way data augmentation, as shown in Fig. 6 . Usually, online data augmentation is mainly applied when the dataset is large. The transformations happen in mini-batches and then, the transformed data is fed into the model to improve the generalization of the model. However, we have a small dataset in this study. Therefore, we chose offline data augmentation as a preprocessing step to expand the dataset.
Fig. 6

Diagram of proposed offline MDA technology. (DA: data augmentation; MDA: multiple-way DA).

Diagram of proposed offline MDA technology. (DA: data augmentation; MDA: multiple-way DA). Suppose the number of different DA techniques used is , and there is one training image , where means the training set. Assume each offline MDA technique will generate images, so for each image, we will generate new images. Over the entire training image set , we perform the subsequent seven DA methods:

(i) noise injection

The -mean -variance Gaussian noises were added to all training images to produce new noised images. where means the noise injection function.

(ii) horizontal shear (HS) transform

New images were made by HS transform Where denotes the HS transform function. HS factors does not include the value of .

(iii) vertical shear (VS) transform

where means VS transform function, which operates similarly as ST transform. The VS factor has the same value of HS factor .

(iv) rotation

(i) Rotation angle vector skips the value of 0.where means rotation operation.

(v) gamma correction (GC)

The factor of GC skips the value of 1. Where means GC operation.

(vi) random translation (RT)

Every image in the training set is translated times with random vertical shift and random horizontal shift . The values of and are in the range of , and obey uniform distribution .where is the maximum shift range. Hence, we have

(vii) scaling

All training images are scaled with scaling factor , skipping .where is the scaling operation.

(ix) mirror

All the above results are mirrored:where represents the mirror function.

(x) concatenation

All the -way results are concatenated aswhere means concatenation operation, is the collection of generated MDA images with original image . is the set of all augmented images. is the size of the augmented dataset. the data augmentation factor (DAF), representing the ratio of size of augmented training set to the size of original training set. is calculated as We can calculate . Therefore, the MDA is a function making the enhanced training set times as large as the original training set .

Experiment setup and measures

Two types of measures were performed in our experiment. One is for validation to choose the best PTMs, and the other is on the test set to relate the unbiased performances so as to compare with state-of-the-art approaches. the whole preprocessed dataset is split into a non-test set , and a test set , i.e., . Roughly, the non-test set comprises 80% of the whole dataset, and the test set the remaining 20%. So we havewhere means the number of samples in the non-test set in k-th class and the number of samples of the test set in k-th class. Hence, , and . For the validation phase, a runs of 10-fold cross validation [46] was run to obtain the validation performance. The ideal confusion matrix combining all runs of 10 folds is In the test phase, we ran our selected best models with times, each run with various initial seeds, the ideal confusion matrix is For realistic runs, suppose is the run index, and each run we will generate either validation confusion matrix [47] or test confusion matrix . After summarizing all runs, we can obtain the summation of validation confusion matrix as And the summation of test confusion matrix as For each class , we set the that class label as “positive”, and all other three classes are “negative”. Fig. 7 shows a schematic of a multiple-class confusion matrix, where we focus on the 3rd class. Hence, the element on the 3rd row and 3rd column is TP, the summation of the remaining entries on the 3rd row is FN, and the summation of the remaining entries in the 3rd column is FP. So, we can define this measure per class as
Fig. 7

Confusion matrix of multiple class conditions.

Confusion matrix of multiple class conditions. Measures can also be given at an overall level. One is called macro-level, which computes the metric independently for each class and takes the average that gives equal weight to each class (treating all classes equally) [48]. In contrast, the other is micro-level, weighting all samples equally [49]. In this multiple classification research, we prefer the micro-averaged (MA) F1 as the dataset is slightly unbalanced. The MA F1 [50] () is defined below as the main indicator in the validation phase.where and are micro-averaged precision and micro-averaged sensitivity, defined as We used in this study, since its values equals and .

Pseudocode of CCSHNet

Algorithm 4 lists the pseudocode of proposed AI model, named CCSHNet, which is an acronym of the four categories analyzed in this study: COVID-19, CAP, SPT, and HC. The proposed algorithm and experiment setup consisted of five phases: Phase I shows the preprocessing. Phase II shows runs of ten-folds CV on the non-test set. Phase III shows the PTM selection. Phase IV presents CCSHNet model creation, and Phase V reports the test performance of the CCSHNet model.
Algorithm 4

Pseudocode of our CCSHNet algorithm.

Input: Original Image Set X0 and its ground truth label ZCCT.
Phase I: PreprocessingX0X4
Grayscaling: X0X1. See Eq. (3).
HS: X1X2, See Eq. (5).
Crop: X2X3. See Eq. (6).
Downsampling: X3X4. See Eq. (7).
Phase II: Ten-folds CV on Non-test Set
Split X4 into nontest set and test set: X4{X4ntest,X4test}
for ri=1:Rv% ri is run index
  for fi=1:10% fi is fold index
     Step II.A Split into 10 folds
    Split nontest set X4ntest into 10 folds {F4ntest(1|ri),,F4ntest(10|ri)}.
     Step II.B Create Training and Validation set
    Training Set: Xtr(ri)=F4ntest(1,fi1,fi+1,,10|ri)
    Validation Set: Xva(ri)=F4ntest(fi|ri)
     Step II.C MDA on training set
    for i=1:|Xtr|
      Training image: xtr(i,ri) and its ground truth labels ZCCT[xtr(i,ri)].
xtr(i,ri): i th training image in ri-th run
xtr(i,ri)xDA(i,ri). See Eq. (66).
end
DA enhanced training set: XDA(ri)={xDA(i,ri)|i=1,,|Xtr(ri)|}.
Enhanced training set labels: ZCCT(ri)={ZCCT[xtr(i,ri)]|i=1,,|Xtr(ri)|}.
Step II.D Model Selection by SAPNF, L2TFL, and DCFDCA.
See Algorithm 3, Algorithm 1, and Fig. 5.
Step II.E Validation confusion matrix atri-th run andfi-th fold
Record LVal(ri,fi), See Eq. (68)
End
Validation confusion matrix at ri-th run LVal(ri)=fi=110LVal(ri,fi)
end
Phase III: PTM and NLR Selection
Validation confusion matrix. See Eq. (70).
Indicator is chosen as micro-averaged F1.
Obtain F1μ. See Eq. (75)
Obtain the rank list RSAPNF. See Eq. (28).
Output the top two models, i.e., best PTM and NLR combinations.
Output M[RSAPNF(1)] and M[RSAPNF(2)] and the corresponding removed layers LM1 and LM2
Phase IV: Create CCSHNet Model
Select the two optimal models M[RSAPNF(1)] and M[RSAPNF(2)].
Feature learning by L2TFL with NLR LM1 and LM2 layers removed.
Deep CCT fusion by DCFDCA.
OHNN Bi.
Phase V: Report the test performance of the CCSHNet model
Training set is X4ntest, and its labels ZCCT(X4ntest).
Test set is X4test, and its labels ZCCT(X4test).
for ri=1:Rt% ri is run index
We initialized a random seed S(ri) at each run.
Trained CCSHNet Model trainnetwork{CCSHNet,MDA[X4ntest],ZCCT(X4ntest),S(w)}
Prediction: Pred(ri)=predict[CCSHNet,X4test];
Test confusion matrix at ri-th run: LTest(ri)=compare[Pred(ri),ZCCT(X4test)].
Calculate Indicators. See Eq. (72)-(77).
End
Test confusion matrix: See Eq. (71).
Calculate indicators.
Output: The best model CCSHNet and its test performances.
Gradient-weighted Class Activation Mapping (Grad-CAM) [51] was used to give an explainable heat map. It utilizes the gradient of the classification score in terms of the convolutional features regulated by the AI model to help users comprehend which regions of the input image are the most vital for AI model to make decisions.

Experiments, results, and discussions

Hyperparameter values

Table 4 itemizes the hyperparameter setting. The image size using slice level section was obtained as . The size of each raw image was . The crop values along four directions were all set to 150 (We tested larger values and found some important chest regions are removed). The number of PTM candidates was set to 6. The number of the first FCL was set to 512, and the number of the second FCL was set to 4, which corresponds to the number of classes in this task. The maximum removable layer was set 3, so we searched the best at the range of . The number of hidden neurons in OHNN was set to 10.
Table 4

Hyperparameter Setting.

ParameterValue
|X0||X0|=284+281+293+306=1164
W01024
H01024
C03
ct150
cb150
cl150
cr150
NPTM6
NFCL(1)512
NFCL(2)4
Lmax3
NHL10
cDA14
nDA30
hmNI0
hvNI0.01
hHSh115HS=[0.15,0.14,,0.01],h1630HS=[+0.01,+0.02,,+0.15].
hROh115RO=[30,28,,2],h1630RO=[+2,+4,,+30].
hGCh115GC=[0.4,0.44,,0.96],h1630GC=[1.04,1.08,,1.6].
MSR20
hSCh115SC=[0.7,0.72,,0.98],h1630SC=[1.02,1.04,,1.3].
aDA422
Rv10
Rt10
Hyperparameter Setting. For the offline MDA technique, the number of different DA techniques was adjusted to 14. The number of generated images by each offline MDA technique was 30. The mean and variance of Gaussian noise injected were 0 and 0.01, respectively. The HS factor ranged from −0.15 to +0.15, excluding the value of 0. The RO factor ranged from −30 to 30 excluding the value of 0. The GC factor ranged from 0.4 to 1.6 skipping the value of 1. The maximum shift range was set to 20. The SC factor ranged from 0.7 to 1.3 excluding the value of 1. Data augmentation factor was calculated as 422. The number of runs over validation and test sets were all set to 10. Table 5 itemizes the training, validation, and test set for each category. For the non-test set, 10-fold cross validation was used for validation, with 9 folds being for training and the remaining fold for validation, which repeated 10 times, so all the non-test set was used in the validation set. The above 10-fold cross validation repeat runs, and thus generated a summation of validation confusion matrix . For the test set, runs generated a summation of test confusion matrix .
Table 5

Training, validation, and test set.

Non-test (9 folds for trainingand 1-fold for validation)TestTotal
COVID-19N1ntest=227N1test=57N1=284
CAPN2ntest=225N2test=56N2=281
SPTN3ntest=234N3test=59N3=293
HCN4ntest=245N4test=61N4=306
Training, validation, and test set.

Illustration of multiple data augmentation

Fig. 8 displays the MDA results, where the hyperparameters can be found in Section 4.1. The raw image is Fig. 2(a), which generates 421 new images (1 mirror image, 210 new images obtained from the original image, and 210 new images obtained from the mirrored original image). Fig. 8(a-g) shows the noise injection, HS transform, VS transform, rotation, GC, RT, and scaling results, respectively.
Fig. 8

Results of proposed MDA.

Results of proposed MDA.

Top three models of the validation set

On the validation set, we found the best three models using GSAF were: (i) , i.e., DenseNet201 with NLR of 1; (ii) DenseNet201 with NLR of 2; and (iii) ResNet1–1 with NLR of 1. Those top best three models found by GSAF are listed in Table 6 . For the best model (DenseNet201 with NLR of 1), we observed the sensitivity of the four classes were 94.63%, 93.16%, 98.12%, and 99.18%, the precision of the four classes were 96.45%, 96.68%, 96.15%, and 96.16%, the F1 score of the four classes were 95.53%, 94.88%, 97.12%, and 97.65%. The MA F1 score was 96.35%. For the other two best models, their values were 96.06%, and 95.83%, respectively.
Table 6

Top best three models on validation set.

ModelClassSen (%)Prc (%)F1 (%)
DensetNet201(NLR=1)C194.6396.4595.53
C293.1696.6894.88
C398.1296.1597.12
C499.1896.1697.65
MA96.35
DensetNet201(NLR=2)C194.9397.0795.99
C293.9195.5794.73
C397.2694.0995.65
C497.9297.5297.72
MA96.06
ResNet101(NLR=1)C196.9196.5796.74
C296.2294.4595.33
C394.4495.7595.09
C495.7996.5096.14
MA95.83

(MA: micro-averaged; Sen: Sensitivity; Prc: Precision).

Top best three models on validation set. (MA: micro-averaged; Sen: Sensitivity; Prc: Precision).

GSAF against SAPNF

Using the greedy version GSAF to select the two models, we chose the best two models as DenseNet201 with NLR of 1, and DenseNet201 with NLR of 2. Conversely, using the non-greedy algorithm SAPNF showed the two best models to be fused were DenseNet201 with NLR of 1 and ResNet101 with NLR of 1. The comparative results are presented in Table 7 .
Table 7

GSAF against SAPNF on validation set.

SelectionApproachSelectedModelClassSen (%)Prc (%)F1 (%)
GSAFDenseNet201(NLR =1) &DenseNet201(NLR =2)C194.8096.5895.68
C293.4296.5994.98
C397.9096.2297.05
C499.0696.1197.56
MA96.37
SAPNFDenseNet201(NLR=1) &ResNet101(NLR=1)C196.4398.0797.24
C295.9597.0396.49
C397.6496.8297.23
C498.5396.8397.67
MA97.18

(MA: micro-averaged; Sen: Sensitivity; Prc: Precision).

GSAF against SAPNF on validation set. (MA: micro-averaged; Sen: Sensitivity; Prc: Precision). There are two findings we can observe from comparing Table 7 with Table 6. (i) First, fusion can give improved performance than individual models alone. The MA F1 score of the best single model was 96.35%, while the two fused model gave improved performance, with GSAF of 96.37%, and SAPNF of 97.18%. (ii) A non-greedy selection approach (SAPNF) can obtain better results than the greedy selection approach, GSAF. The reason is the two best models have similar advantages. For example, both DenseNet201 (NLR=1) and DenseNet201 (NLR=2) work optimally on the 3rd and 4th classes, so their fusion will not help to handle the weak spots (1st and 2nd classes). Nevertheless, the 3rd best model, i.e., RESNet101 (NLR = 1) shows exceptional classification ability on 1st and 2nd classes. Hence, fusing the 1st best model and 3rd best model is more logical, which is the core idea of our SAPNF.

Visual explanation of fusion

Grad-CAM [51] was used to illustrate why the fusion of Heat map by DenseNet201 (NLR =1) and Heat map by ResNet101 (NLR = 1) works the best among all possible fusion model combinations. Fig. 9 displays the heat map results of a COVID-19 CCT slice by Grad-CAM over three models. Fig. 9(b, c, & d) presents the heat maps generated by DenseNet201 (NLR =1), DenseNet201 (NLR = 2), and ResNet101 (NLR = 1), respectively. We can observe that DenseNet201 networks with NLR equaling 1 & 2 capture the same GGO lesion on the bottom-half of the pictures (See Fig. 9b & c), so their fusion will not aid the other model. In contrast, ResNet101 (NLR=1) captures the top left GGO areas, which are neglected by the two DenseNet models. Thus, fusing DenseNet201 (NLR =1) and ResNet101 (NLR=1) is reasonable and has a solid visual explanation.
Fig. 9

Grad-CAM result of a COVID-19 slice. (The “jet” pseudo-color was used. Red colors mean part and parcel areas for AI diagnosis, and blue colors less important areas for AI decision.).

Grad-CAM result of a COVID-19 slice. (The “jet” pseudo-color was used. Red colors mean part and parcel areas for AI diagnosis, and blue colors less important areas for AI decision.). Fig. 10 displays the Grad-CAM heat map of a normal CCT slice using the top three models. Fig. 10(a) shows the original CCT image, and Fig. 10(b-d) gives the heat maps using DenseNet201 (NLR=1), DenseNet201 (NLR=2), and ResNet101 (NLR=1). All three AI models did not locate any strong indications of suspicious areas. Therefore, all three AI models classified this image as “normal”, which was subsequently confirmed by a radiologist.
Fig. 10

Grad-CAM result on a normal case.

Grad-CAM result on a normal case.

Performance of CCSHNet on the test set

After completing our previous experiments on the validation set, and selecting the optimal pretrained models and optimal NLR values, we ran our model CCSHNet, i.e., fusion of DenseNet201 (NLR =1) and ResNet101 (NLR=1) via DCA, on the test set and reported its performance. Test results are summarized in Table 8 . The sensitivities of four classes were 95.61%, 96.25%, 98.30%, and 97.86%, respectively. The precision values for the four classes were 97.32%, 96.42%, 96.99%, and 97.38%, respectively. The F1 scores of the four classes were 96.46%, 96.33%, 97.64%, and 97.62%, respectively. The MA F1 score of CCSHNet on test set was 97.04%, which is slight lower than the validation of 97.18% (See Table 7).
Table 8

Performance of proposed CCSHNet on test set (%).

ClassSen (%)Prc (%)F1 (%)
C195.6197.3296.46
C296.2596.4296.33
C398.3096.9997.64
C497.8697.3897.62
MA97.04

(MA: micro-averaged; Sen: Sensitivity; Prc: Precision).

Performance of proposed CCSHNet on test set (%). (MA: micro-averaged; Sen: Sensitivity; Prc: Precision).

Comparison to state-of-the-art approaches

Proposed CCSHNet method was compared with 12 state-of-the-art approaches: RCBO [10], ELM-BA [11], 6L-CNN [12], RN-18 [13], RN-50-AD [14], GAN-GN [15], SMO [16], CSS [17], NiNet [19], FCONet [20], COVNet [21], and DeCovNet [22]. All these approaches were compared using our dataset. The comparison and their MA F1 plots are presented in Table 9 and Fig. 11 , respectively.
Table 9

Comparison results of state-of-the-art methods.

MethodClassSen (%)Prc (%)F1 (%)
RCBO [10]C171.9384.1977.58
C272.8672.7372.79
C373.5676.4174.96
C480.6668.9174.32
MA74.85
ELM-BA [11]C162.6367.6165.03
C264.2965.1064.69
C371.8666.7769.22
C463.9363.5263.73
MA65.71
6L-CNN [12]C172.4683.9477.78
C278.9377.8278.37
C381.8675.0078.28
C489.8487.5488.67
MA80.94
RN-18 [13]C182.8182.6682.73
C281.0774.4377.61
C374.2476.9875.58
C482.1386.3884.20
MA80.04
RN-50-AD [14]C187.7285.0386.36
C287.6891.2689.44
C393.3989.8991.60
C484.9287.6586.26
MA88.41
GAN-GN [15]C191.7589.8690.80
C292.8691.8792.36
C389.8389.9889.91
C491.6494.2792.93
MA91.50
SMO [16]C197.0292.6394.77
C289.1195.2392.07
C394.9294.9294.92
C494.2692.8993.57
MA93.86
CSS [17]C194.0492.2593.14
C293.7595.1194.42
C391.3693.5892.45
C494.4392.7593.58
MA93.39
NiNet [19]C187.8991.5989.70
C280.8985.4783.12
C383.2282.1182.66
C492.3085.9589.01
MA86.18
FCONet [20]C192.2895.6493.93
C296.7994.4395.59
C394.7595.8895.31
C494.9292.9493.92
MA94.68
COVNet [21]C189.8286.6388.20
C289.8292.6391.21
C393.7390.6692.17
C487.3890.9689.13
MA90.17
DeCovNet [22]C191.0590.5890.81
C293.7590.9992.35
C390.5186.9788.70
C488.6995.5892.01
MA90.94
CCSHNet(Ours)C195.6197.3296.46
C296.2596.4296.33
C398.3096.9997.64
C497.8697.3897.62
MA97.04
Fig. 11

Comparison plot of MA F1 for our algorithm compared to 12 state-of-the-art methods.

Comparison results of state-of-the-art methods. Comparison plot of MA F1 for our algorithm compared to 12 state-of-the-art methods. The results in Table 9 and Fig. 11 demonstrate that our CCSHNet accomplished the best outcomes among all methods. The reason our CCSHNet obtains the best overall performance is that we have proposed several new algorithms to improve our fusion model: (L, 2) transfer feature learning (L2TFL), the selection algorithm of pretrained network for fusion (SAPNF), and deep CCT fusion discriminant correlation analysis (DCFDCA). The fusion framework demonstrates their effectiveness. Meanwhile, the proposed multiple-way data augmentation prevents our AI model from overfitting, thus increasing its performances. Our method is unique in comparison to other strategies. The RCBO [10] used real-coded strategy in traditional biogeography-based optimization method; however, their method still needs to manually select the features, and they cannot validate their manually curated features to fit this four-class classification task. ELM-BA [11] used extreme learning classifier as the backbone, which employed random features (i.e., non-tuned random hidden nodes), so its performance may not be reliable. 6L-CNN [12] was proposed for fingerspelling classification during patients’ rehabilitation. It used leaky rectified linear unit to replace traditional rectified linear unit. Nevertheless, the structure itself is shallow (only six layers), thus may not handle the complicated internal mapping from CCT images to the four class labels. RN-18 [13] and RN-50-AD [14] used two variants of ResNet to classify thyroid ultrasound standard plane and Alzheimer's disease, respectively. The weights of the corresponding two networks were already adapted to their corresponding data, so retraining of the weights is required, which results in suboptimal performance. GAN-GN [15] combined generative adversarial network (GAN) and GoogleNet, but the image size and size of the dataset affects the generated images produced by GAN. SMO [16] used social mimic optimization for feature selection and fusion. Nevertheless, SMO's performance needs further verification. CSS [17] predicted COVID severity score in their model. We transferred the score prediction in their paper to COVID-19 recognition in this task. Those geographic extent score and lung opacity score may not have direct relation to our COVID-19 recognition, so this transfer is cross-field, which makes it more challenging. NiNet [19] combined 3D U-Net and MVP-Net. However, the 3D neural network needs more samples to train; otherwise it is susceptible to overfitting. FCONet [20] is a type of fast-track COVID-19 classification network. Again, the authors used ResNet50 and trained their models on three categories. In contrast our CCSHNet used deeper models and four categories of CCT images; hence, our model is more complicated and effective. COVNet [21] chose ResNet50, which has fewer layers than our proposed models (DenseNet201 and ResNet101). They trained their models with three categories; in contrast, our model was trained with four categories, which provides an additional class such as secondary pulmonary tuberculosis. DeCovNet [22] is a weakly-supervised DL method. Nevertheless, their model needs to train a UNet to extract lung regions, which requires more samples and more precise expert annotations.

Conclusions

This paper proposed a novel CCSHNet for COVID-19 detection in CCTs. Our model is based on the proposed DCFDCA algorithm of the selected two optimal models, of which we developed a SAPNF algorithm to optimally determine the best PTM and NLR. The feature learning procedures of the two models were achieved by the proposed L2TFL algorithm. Overall, our experiments showed our CCSHNet can achieve the best performance compared to 12 state-of-the-art approaches, and potentially aid radiologists in making more accurate, quicker diagnoses of COVID-19 using CCTs. The impacts of our method in hospitals and society are promising. From the experimental results, our CCSHNet system can aid decision making when diagnosing lung-related diseases using CCTs. Furthermore, our CCSHNet can be improved by integration with other AI models developed by other teams from other universities/countries. In addition; our algorithm has the potential to be re-deployed to a new hospital's server, with little costs if using cloud-computing based techniques. The shortcomings of our CCSHNet are three-fold: (i) It cannot handle heterogeneous data, such as the mixed data of CCT with CXR and patient history and other data. (ii) It has not yet been through a strict clinical verification. (iii) The dataset in this study is size-limited and category-limited. The future work contains following aspects: (i) Expand the size of the dataset and test CCSHNet model on a larger and heterogeneous dataset. (ii) Try to use some advanced PTMs, particularly those trained from medical lung images. (iii) Try some advanced data preprocessing techniques to check whether the performance of our AI system can be improved. (iv) Our AI system can be embedded into other automated healthcare systems [52], [53], [54]. (v) IoT [55], [56], [57], [58] and communication technologies [59] can help make our AI system more powerful. (vi) Some advanced or hybrid fusion rules will be tested.

CRediT authorship contribution statement

Shui-Hua Wang: Conceptualization, Methodology, Software, Validation, Data curation, Writing - original draft, Investigation, Data curation. Deepak Ranjan Nayak: Formal analysis, Writing - original draft, Writing - review & editing. David S. Guttery: Writing - original draft, Writing - review & editing. Xin Zhang: Writing - original draft, Writing - review & editing. Yu-Dong Zhang: Resources, Formal analysis, Investigation, Data curation, Writing - review & editing, Supervision, Project administration, Funding acquisition.

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
  22 in total

1.  A shape- and texture-based enhanced Fisher classifier for face recognition.

Authors:  C Liu; H Wechsler
Journal:  IEEE Trans Image Process       Date:  2001       Impact factor: 10.856

2.  Cross-validation of Actigraph derived accelerometer cut-points for assessment of sedentary behaviour and physical activity in children aged 8-11 years.

Authors:  Michael J Duncan; Emma L J Eyre; Val Cox; Clare M P Roscoe; Mark A Faghy; Jason Tallis; Alexandra Dobell
Journal:  Acta Paediatr       Date:  2020-02-08       Impact factor: 2.299

3.  A Feature-Free 30-Disease Pathological Brain Detection System by Linear Regression Classifier.

Authors:  Yi Chen; Ying Shao; Jie Yan; Ti-Fei Yuan; Yanwen Qu; Elizabeth Lee; Shuihua Wang
Journal:  CNS Neurol Disord Drug Targets       Date:  2017       Impact factor: 4.388

4.  A Pathological Brain Detection System based on Extreme Learning Machine Optimized by Bat Algorithm.

Authors:  Siyuan Lu; Xin Qiu; Jianping Shi; Na Li; Zhi-Hai Lu; Peng Chen; Meng-Meng Yang; Fang-Yuan Liu; Wen-Juan Jia; Yudong Zhang
Journal:  CNS Neurol Disord Drug Targets       Date:  2017       Impact factor: 4.388

5.  Deep transfer learning methods for colon cancer classification in confocal laser microscopy images.

Authors:  Nils Gessert; Marcel Bengs; Lukas Wittig; Daniel Drömann; Tobias Keck; Alexander Schlaefer; David B Ellebrecht
Journal:  Int J Comput Assist Radiol Surg       Date:  2019-05-25       Impact factor: 2.924

6.  COVID-19 detection using deep learning models to exploit Social Mimic Optimization and structured chest X-ray images using fuzzy color and stacking approaches.

Authors:  Mesut Toğaçar; Burhan Ergen; Zafer Cömert
Journal:  Comput Biol Med       Date:  2020-05-06       Impact factor: 4.589

7.  Classification of Alzheimer's Disease with and without Imagery using Gradient Boosted Machines and ResNet-50.

Authors:  Lawrence V Fulton; Diane Dolezel; Jordan Harrop; Yan Yan; Christopher P Fulton
Journal:  Brain Sci       Date:  2019-08-22

8.  Consolidation in a crisis: Patterns of international collaboration in early COVID-19 research.

Authors:  Caroline V Fry; Xiaojing Cai; Yi Zhang; Caroline S Wagner
Journal:  PLoS One       Date:  2020-07-21       Impact factor: 3.240

9.  Predicting COVID-19 Pneumonia Severity on Chest X-ray With Deep Learning.

Authors:  Joseph Paul Cohen; Lan Dao; Karsten Roth; Paul Morrison; Yoshua Bengio; Almas F Abbasi; Beiyi Shen; Hoshmand Kochi Mahsa; Marzyeh Ghassemi; Haifang Li; Tim Duong
Journal:  Cureus       Date:  2020-07-28
View more
  27 in total

1.  CapsCovNet: A Modified Capsule Network to Diagnose COVID-19 From Multimodal Medical Imaging.

Authors:  A F M Saif; Tamjid Imtiaz; Shahriar Rifat; Celia Shahnaz; Wei-Ping Zhu; M Omair Ahmad
Journal:  IEEE Trans Artif Intell       Date:  2021-08-16

2.  Automated diagnosis of COVID stages from lung CT images using statistical features in 2-dimensional flexible analytic wavelet transform.

Authors:  Rajneesh Kumar Patel; Manish Kashyap
Journal:  Biocybern Biomed Eng       Date:  2022-07-01       Impact factor: 5.687

Review 3.  The COVID-19 epidemic analysis and diagnosis using deep learning: A systematic literature review and future directions.

Authors:  Arash Heidari; Nima Jafari Navimipour; Mehmet Unal; Shiva Toumaj
Journal:  Comput Biol Med       Date:  2021-12-14       Impact factor: 6.698

4.  IoMT-fog-cloud based architecture for Covid-19 detection.

Authors:  Khelili Mohamed Akram; Slatnia Sihem; Kazar Okba; Saad Harous
Journal:  Biomed Signal Process Control       Date:  2022-04-13       Impact factor: 5.076

5.  An Automated Lightweight Deep Neural Network for Diagnosis of COVID-19 from Chest X-ray Images.

Authors:  Soumya Ranjan Nayak; Janmenjoy Nayak; Utkarsh Sinha; Vaibhav Arora; Uttam Ghosh; Suresh Chandra Satapathy
Journal:  Arab J Sci Eng       Date:  2021-08-09       Impact factor: 2.807

6.  Abnormality detection and intelligent severity assessment of human chest computed tomography scans using deep learning: a case study on SARS-COV-2 assessment.

Authors:  Mohamed Ramzy Ibrahim; Sherin M Youssef; Karma M Fathalla
Journal:  J Ambient Intell Humaniz Comput       Date:  2021-05-25

7.  PSSPNN: PatchShuffle Stochastic Pooling Neural Network for an Explainable Diagnosis of COVID-19 with Multiple-Way Data Augmentation.

Authors:  Shui-Hua Wang; Yin Zhang; Xiaochun Cheng; Xin Zhang; Yu-Dong Zhang
Journal:  Comput Math Methods Med       Date:  2021-03-08       Impact factor: 2.238

8.  Automated detection of COVID-19 from CT scan using convolutional neural network.

Authors:  Narendra Kumar Mishra; Pushpendra Singh; Shiv Dutt Joshi
Journal:  Biocybern Biomed Eng       Date:  2021-04-30       Impact factor: 4.314

9.  COVID-CT-Mask-Net: prediction of COVID-19 from CT scans using regional features.

Authors:  Aram Ter-Sarkisov
Journal:  Appl Intell (Dordr)       Date:  2022-01-08       Impact factor: 5.019

10.  Integration and Segregation of Dynamic Functional Connectivity States for Mild Cognitive Impairment Revealed by Graph Theory Indicators.

Authors:  Zhuqing Jiao; Peng Gao; Yixin Ji; Haifeng Shi
Journal:  Contrast Media Mol Imaging       Date:  2021-07-17       Impact factor: 3.161

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.