Investigation of ConViT on COVID-19 Lung Image Classification and the Effects of Image Resolution and Number of Attention Heads

Authors

  • Pun Liang Thon Swinburne University of Technology Sarawak Campus
  • Joel C. M. Than Swinburne University of Technology Sarawak Campus
  • Norliza M. Noor Universiti Teknologi Malaysia, Johor Bahru
  • Jun Han Swinburne University of Technology Hawthorn Campus
  • Patrick Then Swinburne University of Technology Hawthorn Campus

Keywords:

COVID-19, Deep Learning, Disease Classification, Convolutional Vision Transformer

Abstract

COVID-19 has been one of the popular foci in the research community since its first outbreak in China, 2019. Radiological patterns such as ground glass opacity (GGO) and consolidations are often found in CT scan images of moderate to severe COVID-19 patients. Therefore, a deep learning model can be trained to distinguish COVID-19 patients using their CT scan images. Convolutional Neural Networks (CNNs) has been a popular choice for this type of classification task. Another potential method is the use of vision transformer with convolution, resulting in Convolutional Vision Transformer (ConViT), to possibly produce on par performance using less computational resources. In this study, ConViT is applied to diagnose COVID-19 cases from lung CT scan images. Particularly, we investigated the relationship of the input image pixel resolutions and the number of attention heads used in ConViT and their effects on the model’s performance. Specifically, we used 512x512, 224x224 and 128x128 pixels resolution to train the model with 4 (tiny), 9 (small) and 16 (base) number of attention heads used. An open access dataset consisting  of 2282 COVID-19 CT images and 9776 Normal CT images from Iran is used in this study. By using 128x128 image pixels resolution, training using 16 attention heads, the ConViT model has achieved an accuracy of 98.01%, sensitivity of 90.83%, specificity of 99.69%, positive predictive value (PPV) of 95.58%, negative predictive value (NPV) of 97.89% and F1-score of 94.55%. The model has also achieved improved performance over other recent studies that used the same dataset. In conclusion, this study has shown that the ConViT model can play a meaningful role to complement RT-PCR test on COVID-19 close contacts and patients.

Downloads

Download data is not yet available.

Downloads

Published

31-07-2023

How to Cite

Liang Thon, P. ., C. M. Than, J. ., M. Noor, N. ., Han, J. ., & Then, P. . (2023). Investigation of ConViT on COVID-19 Lung Image Classification and the Effects of Image Resolution and Number of Attention Heads. International Journal of Integrated Engineering, 15(3), 54-63. https://publisher.uthm.edu.my/ojs/index.php/ijie/article/view/12813