Literature DB >> 35765602

Source Code for Optimized Parallel Inception: A Fast COVID-19 Screening Software.

Alireza Tavakolian1, Farshid Hajati2, Alireza Rezaee1, Amirhossein Oliaei Fasakhodi1, Shahadat Uddin3.   

Abstract

COVID-19 and swine-origin influenza A (H1N1) are both pandemics that sparked significant concern worldwide. These two viruses have the same symptoms and occur at a collision timeline. Optimized Parallel Inception (OPI) presents a new strategy to screen the COVID-19 from H1N1 with use of only symptoms. In this paper, the process of preprocessing, screening, and specifying feature importance by OPI and particle swarm optimization is presented. Experimental results indicate 98.88 accuracy for screening COVID-19, H1N1, and Neither COVID-19 Nor H1N1.
© 2022 The Author(s).

Entities:  

Keywords:  COVID-19; Coronavirus; Deep Learning; H1N1 virus; Outbreak; Screening

Year:  2022        PMID: 35765602      PMCID: PMC9221174          DOI: 10.1016/j.simpa.2022.100337

Source DB:  PubMed          Journal:  Softw Impacts        ISSN: 2665-9638


Code metadata

Introduction

In the last days of 2019, the novel coronavirus with code name COVID-19 emerged in Wuhan, China. COVID-19 spread through the world rapidly and caused 6,297,362 by 20th of May 2022 [1]. Various variants of COVID-19 caused major issues in the autumn and winter. The influenza virus is notable for its periodic occurrence, and yearly economic impact [2]. The annual seasonal influenza epidemic infects 3–5 million people with serious conditions worldwide [3]. Number of infections for both diseases rose between October and April. Due to the body immune system reaction, common symptoms of H1N1 include high fever, coryza, and myalgia. In severe cases, viral pneumonia, superimposed bacterial pneumonia, and hemorrhagic bronchitis have been reported [4]. The most common COVID-19’s symptoms are cough, weakness, myalgia, fever, headache, impaired sense of smell, impaired sense of taste, sore throat, runny nose, and nasal congestion [5]. The common symptoms of both COVID-19 and H1N1 are similar, which makes their screening task challenging [6]. Optimized Parallel Inception is a new deep learning model that aims to solve this challenge by using symptoms like: ‘Breathing Problem’, ‘Fever’, ‘Dry Cough’, ‘Headache’, ‘Sore Throat’, ‘Running Nose’, ‘Fatigue’, ‘Asthma’, ‘Chronic Lung Disease’, ‘Heart Disease’, ‘Diabetes’, ‘Hypertension’, ‘Gastrointestinal’, ‘Abroad Travel’, ‘Contact with COVID-19 Patients’, ‘Attended Large Gathering’, ‘Visited Public Exposed Places’, and ‘Family Working in Public Exposed Places’. In this paper, we propose a novel deep learning model with the name of Optimized Parallel Inception (OPI) [7] with combination of Particle Swarm Optimization (PSO) [8] to choose best sets of features and discriminate between COVID-19 and H1N1 patients from Neither COVID-19 Nor H1N1. Proposed model helps healthcare system to detect patient with 98.88% accuracy in total with screening accuracy of 99.2% and 99.6% for COVID-19 and H1N1, respectively only using 18 features. Proposed structure is well tuned against null values and can use 10 features and report 97% accuracy still.

Description of OPI with PSO

OPI is composed of a 3 heads Convolutional Neural Network (CNN) [9] that uses a combination of symptoms information to screen COVID-19 and H1N1 patients from Neither COVID-19 Nor H1N1. Proposed structure uses 1-dimension convolutional layer and uses three different paths to extract distinguishable features. Each head predicts a class individually and based on achieved accuracy by each head soft or hard voting is used at the end. Proposed structure is shown in Fig. 1.
Fig. 1

Architecture of Optimized Parallel Inception (OPI).

Inception layer

Proposed structure composed of conventional 1-dimension convolutional layer at the beginning. Then a set of inception layers is used throughout the OPI with different kernel sizes. These inception layers are responsible to extract the relationship between co-occurring and comorbidities symptoms. Earliest inception layers composed of convolutional layers with 7 and 9 kernel sizes. The upper layers of OPI are composed of convolutional layers with 3 and 5 kernel sizes. The opposite hierarchy is occurring for filter sizes. Architecture of Optimized Parallel Inception (OPI).

Decision layer

The last layer of the OPI is the decision layer. The aim of this layer is to choose the best strategy for predicting classes of instances. The first strategy uses the difference between accuracy of the main and two auxiliary paths in the training phase. If the difference is >= 0.1%, then output of the path with the maximum accuracy will determine the model’s decision in the testing phase. If the difference is < 0.1 in the training phase, then soft voting of all paths determines the OPI’s decision in the testing phase.

PSO

PSO is used with a combination of OPI to choose the smallest subsets of features to achieve an acceptable level of accuracy for screening. PSO uses the OPI with a random subset of features and try predict the class of instances. Then PSO increases the search area and evaluate the OPI with various combination of features. PSO choses best sets of features based on screening accuracy and loss.

Framework

Whole process of using OPI with PSO for using optimal subsets of features and screen the COVID-19 and H1N1 patient from Neither COVID-19 Nor H1N1 is implemented in a forward path. First model is trained on 10 batches of training and validation sets then based on difference between accuracy of each path one of the strategies is used for predicting unlabeled instances. Proposed structure is trained with ADAM, batch size of 32 for training and evaluation and learning rate equals to 0.0001. To train the model properly exponential scheduling is put in place to reduce learning rate by 0.1 with 30 epochs intervals without any change to the learning process. Whole framework is trained on 10 loops with an initial population of 20 individuals. The framework repeats these loops with maximum 10 iteration for each individuals’ particles (Proposed set of features) to find best sets of features. Finally based on best result and sets of features weight of the OPI is going to be updated and saved for real time testing phase.

Empirical result

OPI has been evaluated with use of combined COVID-19, H1N1 datasets. NVIDIA CUDA version 10.1 and higher are the requisites for optimized and fast solutions. We recommend users to set the hyperparameters into default settings. The information about required libraries, visualization format, example scripts is provided in the meta data environment of the code ocean.

Detailed result

To investigate the achieved result in detail we report precision, sensitivity, Specificity, and Area under Receiver Operating Characteristic (AUROC) in Table 1. Based on Table 1, result of achieved specificity in class “Neither COVID-19 Nor H1N1” and class “COVID-19” shows that the detection rate for true negative case in “COVID-19” class is higher than the class of “Neither COVID-19 Nor H1N1”. Although, based on achieved sensitivity, the detection rate for true positive case in “Neither COVID-19 Nor H1N1” is much higher than the class of “COVID-19”. Also, detection of H1N1 in patients with proposed OPI is more accurate than COVID-19. The comparison between proposed model and similar researches is shown in Table 2.
Table 1

Results of screening using the OPI for each class.

Class namePrecisionSensitivitySpecificityAUROC
Neither COVID-19 Nor H1N1100%100%95.46%0.998
H1N1100%100%99.71%0.998
COVID-1996.48%96.82%100%0.991
Table 2

Comparison of proposed model with similar work for COVID-19 detection.

AuthorModel’s nameAccuracySensitivitySpecificityMost important features
Zoabi et al. (2021)Gradient-Boosting87.30%71.98%Fever and cough
Iwendi et al. (2020)RF94%75%Fever, cough and cold
Khanday et al. (2020)LR96.2%96%chest pain and lung disease
de Moraes Batista et al. (2020)SVM68%85%Number of lymphocytes, leukocytes and eosinophils in blood test
Shi et al. (2021)RF87.9%90.7%83.3%Number of infected segments in lungs
Canas et al. (2021)Bayesian Network73%72%Loss of smell, chest pain, persistent cough, abdominal pain, blisters on the feet, eye soreness, and unusual muscle pain
Proposed ModelOPI98.88%98.90%98.39%Dry cough and breathing problem
Results of screening using the OPI for each class. The empirical results of framework demonstrate following features: Comparison of proposed model with similar work for COVID-19 detection. Higher performance: The proposed OPI detects the COVID-19 and H1N1 patients with accurate precision and high sensitivity. In case of COVID-19 detection the OPI outperforms ML and Deep Learning (DL) algorithms such as Gradient-Boosting [10], RF [11], Logistic Regression (LR) [12], Supported Vector Machine (SVM) [13], and Bayesian network [14]. Intelligent feature selection: The OPI is compatible with newly seen data and can be used to fill null values or only use subsets of available symptoms for screening COVID-19 and H1N1 patient from Neither COVID-19 Nor H1N1.

Impact and future applications

OPI is an algorithm that actively works with respiratory viruses’ symptoms and screens the COVID-19 from H1N1 patients. Compared to similar research that developed only for COVID19 detection in patients, OPI can detect COVID-19 and H1N1 patients but discriminate between COVID-19 and H1N1 patients. OPI performance in case of true positive and true negative detection rate outperforms other ML and DL algorithms. The proposed models help the healthcare providers in pandemics by rapid screening and decreasing human interactions. OPI screening ability helps healthcare providers to tune the model to discriminate between various strains of COVID-19 too. The future of OPI is made up of different possibilities. Developing an online application to gather more dataset and tune the OPI based on the new dataset. OPI can be the first response application to screen precisely the new variants of COVID-19. Another potential field for OPI can be seen changing the structure of OPI itself. Making the OPI shallow and decreasing the number of layers to decrease cost for training the modified OPI and increase the convergence to optimal solution. Capability of OPI helps to disseminate other disease too. Thus, extending the screening possibilities to more than COVID-19, H1N1, and Neither COVID-19 Nor H1N1 is another path for OPI. Tuning OPI to screen H5N1, seasonal flu, B-Victoria influenza, COVID-19, and Ebola from each other extends the possible applications for OPI. Due to the capability of OPI to discriminate between disease with similar symptoms, application of OPI will be extended to detect various variants of the same viral diseases.

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.
Current code versionv1
Permanent link to code/repository used for this code versionhttps://github.com/SoftwareImpacts/SIMPAC-2022-72
Permanent link to Reproducible Capsulehttps://codeocean.com/capsule/6231633/tree/v1
Legal Code LicenseMIT License
Code versioning system usedCreated by Python with GPU support (3.7.3, miniconda 4.7.10)
Software code languages, tools, and services usedPython
Compilation requirements, operating environments dependenciesLinux operating system with NVIDIA CUDA version 10.1 and higher
If available Link to developer documentation/manualN/A
Support email for questionsalireza.tavakol@ut.ac.ir
  10 in total

1.  Seasonal Influenza Infections and Cardiovascular Disease Mortality.

Authors:  Jennifer L Nguyen; Wan Yang; Kazuhiko Ito; Thomas D Matte; Jeffrey Shaman; Patrick L Kinney
Journal:  JAMA Cardiol       Date:  2016-06-01       Impact factor: 14.676

Review 2.  Pediatric SARS, H1N1, MERS, EVALI, and Now Coronavirus Disease (COVID-19) Pneumonia: What Radiologists Need to Know.

Authors:  Alexandra M Foust; Abbey J Winant; Winnie C Chu; Karuna M Das; Grace S Phillips; Edward Y Lee
Journal:  AJR Am J Roentgenol       Date:  2020-04-30       Impact factor: 3.959

3.  Epidemiology of fatal cases associated with pandemic H1N1 influenza 2009.

Authors:  L Vaillant; G La Ruche; A Tarantola; P Barboza
Journal:  Euro Surveill       Date:  2009-08-20

Review 4.  Human genetic and immunological determinants of critical COVID-19 pneumonia.

Authors:  Qian Zhang; Paul Bastard; Aurélie Cobat; Jean-Laurent Casanova
Journal:  Nature       Date:  2022-01-28       Impact factor: 69.504

5.  Fast COVID-19 versus H1N1 screening using Optimized Parallel Inception.

Authors:  Alireza Tavakolian; Farshid Hajati; Alireza Rezaee; Amirhossein Oliaei Fasakhodi; Shahadat Uddin
Journal:  Expert Syst Appl       Date:  2022-05-20       Impact factor: 8.665

Review 6.  Public Health Policy and Experience of the 2009 H1N1 Influenza Pandemic in Pune, India.

Authors:  Vidula Purohit; Abhay Kudale; Neisha Sundaram; Saju Joseph; Christian Schaetti; Mitchell G Weiss
Journal:  Int J Health Policy Manag       Date:  2018-02-01

7.  Machine learning based approaches for detecting COVID-19 using clinical text data.

Authors:  Akib Mohi Ud Din Khanday; Syed Tanzeel Rabani; Qamar Rayees Khan; Nusrat Rouf; Masarat Mohi Ud Din
Journal:  Int J Inf Technol       Date:  2020-06-30

8.  COVID-19 Patient Health Prediction Using Boosted Random Forest Algorithm.

Authors:  Celestine Iwendi; Ali Kashif Bashir; Atharva Peshkar; R Sujatha; Jyotir Moy Chatterjee; Swetha Pasupuleti; Rishita Mishra; Sofia Pillai; Ohyun Jo
Journal:  Front Public Health       Date:  2020-07-03

9.  Machine learning-based prediction of COVID-19 diagnosis based on symptoms.

Authors:  Yazeed Zoabi; Shira Deri-Rozov; Noam Shomron
Journal:  NPJ Digit Med       Date:  2021-01-04

10.  Early detection of COVID-19 in the UK using self-reported symptoms: a large-scale, prospective, epidemiological surveillance study.

Authors:  Liane S Canas; Carole H Sudre; Joan Capdevila Pujol; Lorenzo Polidori; Benjamin Murray; Erika Molteni; Mark S Graham; Kerstin Klaser; Michela Antonelli; Sarah Berry; Richard Davies; Long H Nguyen; David A Drew; Jonathan Wolf; Andrew T Chan; Tim Spector; Claire J Steves; Sebastien Ourselin; Marc Modat
Journal:  Lancet Digit Health       Date:  2021-07-29
  10 in total
  1 in total

1.  ModInterv: An automated online software for modeling epidemics.

Authors:  Arthur A Brum; Gerson C Duarte-Filho; Raydonal Ospina; Francisco A G Almeida; Antônio M S Macêdo; Giovani L Vasconcelos
Journal:  Softw Impacts       Date:  2022-08-13
  1 in total

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