CViTLNN: A Hybrid Approach based on Vision Transformer and Liquid Neural Network for COVID-19 Detection
Received: 26 February 2025 | Revised: 23 March 2025 | Accepted: 2 April 2025 | Online: 20 April 2025
Corresponding author: Muhammad Waqas
Abstract
The COVID-19 pandemic has underscored the need for accurate and rapid diagnostic tools to assist clinical decision-making. Conventional deep learning models for COVID-19 detection in Chest X-Ray (CXR) images face challenges in poor generalization across imaging conditions and high computational demands. To address these issues, this study proposes CViTLNN, a novel hybrid model combining Vision Transformers (ViTs) and Liquid Neural Networks (LNNs) to improve feature extraction and classification. Specifically, CViTLNN employs a ViT with 24 transformer encoder blocks for efficient extraction of spatial features. The self-attention mechanism of ViTs effectively captures global and local dependencies in CXR images. Furthermore, it incorporates a four-layer LNN for dynamic refinement of features for decision-making. Experimental results demonstrate a test accuracy of 94%, a precision of 95%, and a recall of 94% on a COVID dataset of 5228 CXRs, minimizing false negatives and ensuring high sensitivity. The proposed model provides an efficient and scalable AI-driven diagnostic solution, making it highly suitable for real-world clinical applications, especially in resource-constrained settings.
Keywords:
COVID-19 detection, Vision Transformers (ViTs), Liquid Neural Network (LNN), chest X-ray analysis, medical imagingDownloads
References
N. Naveed et al., "The Global Impact of COVID-19: A Comprehensive Analysis of Its Effects on Various Aspects of Life," Toxicology Research, vol. 13, no. 2, Apr. 2024, Art. no. tfae045.
K. Y. Tehseen et al., "Transformative effects of COVID-19 on global economy and internet of medical things (IoMT): current vision, role and applications," International Journal on Emerging Technologies, vol. 12, no. 2, pp. 66–76, 2021.
M. Ibrar, M. Asif, M. Kashif, N. Imran, S. Hameed, and M. Ali, "Speech Recognition System (Home Appliances Controller of Local & Remote System) using LPC & HMMs Methodologies," International Journal of Advanced Trends in Computer Science and Engineering, vol. 10, no. 3, pp. 2365–2370, Jun. 2021.
L. Wang, Z. Q. Lin, and A. Wong, "COVID-Net: a tailored deep convolutional neural network design for detection of COVID-19 cases from chest X-ray images," Scientific Reports, vol. 10, no. 1, Nov. 2020, Art. no. 19549.
I. D. Apostolopoulos and T. A. Mpesiana, "Covid-19: automatic detection from X-ray images utilizing transfer learning with convolutional neural networks," Physical and Engineering Sciences in Medicine, vol. 43, no. 2, pp. 635–640, Jun. 2020.
E. E. D. Hemdan, M. A. Shouman, and M. E. Karar, "COVIDX-Net: A Framework of Deep Learning Classifiers to Diagnose COVID-19 in X-Ray Images." arXiv, Mar. 24, 2020.
T. Ozturk, M. Talo, E. A. Yildirim, U. B. Baloglu, O. Yildirim, and U. Rajendra Acharya, "Automated detection of COVID-19 cases using deep neural networks with X-ray images," Computers in Biology and Medicine, vol. 121, Jun. 2020, Art. no. 103792.
T. Rahman et al., "Exploring the effect of image enhancement techniques on COVID-19 detection using chest X-ray images," Computers in Biology and Medicine, vol. 132, May 2021, Art. no. 104319.
R. Jain, M. Gupta, S. Taneja, and D. J. Hemanth, "Deep learning based detection and analysis of COVID-19 on chest X-ray images," Applied Intelligence, vol. 51, no. 3, pp. 1690–1700, Mar. 2021.
A. Narin, C. Kaya, and Z. Pamuk, "Automatic detection of coronavirus disease (COVID-19) using X-ray images and deep convolutional neural networks," Pattern Analysis and Applications, vol. 24, no. 3, pp. 1207–1220, Aug. 2021.
M. E. H. Chowdhury et al., "Can AI Help in Screening Viral and COVID-19 Pneumonia?," IEEE Access, vol. 8, pp. 132665–132676, 2020.
F. Ucar and D. Korkmaz, "COVIDiagnosis-Net: Deep Bayes-SqueezeNet based diagnosis of the coronavirus disease 2019 (COVID-19) from X-ray images," Medical Hypotheses, vol. 140, Jul. 2020, Art. no. 109761.
N. E. M. Khalifa, F. Smarandache, G. Manogaran, and M. Loey, "A Study of the Neutrosophic Set Significance on Deep Transfer Learning Models: an Experimental Case on a Limited COVID-19 Chest X-ray Dataset," Cognitive Computation, vol. 16, no. 4, pp. 1602–1611, Jul. 2024.
H. Alalawi, M. Alsuwat, and H. Alhakami, "A Survey of the Application of Artifical Intellegence on COVID-19 Diagnosis and Prediction," Engineering, Technology & Applied Science Research, vol. 11, no. 6, pp. 7824–7835, Dec. 2021.
A. Sufian, A. Ghosh, A. S. Sadiq, and F. Smarandache, "A Survey on Deep Transfer Learning to Edge Computing for Mitigating the COVID-19 Pandemic," Journal of Systems Architecture, vol. 108, Sep. 2020, Art. no. 101830.
A. Dosovitskiy et al., "An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale." arXiv, Jun. 03, 2021.
S. Kumar, "Covid19-Pneumonia-Normal Chest X-Ray Images." Mendeley, Jun. 14, 2022.
Downloads
How to Cite
License
Copyright (c) 2025 Muhammad Waqas, Florentin Smarandache, Muhammad Yasir, Farrukh Arslan, Anum Ali

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.