Comparative Analysis of Transfer Learning and Few-Shot Learning with CNN Architectures for Chest X-Ray Classification under Data Constraints
Abstract
This study focuses on the early and accurate diagnosis of life-threatening lung diseases such as COVID-19, pneumonia, and lung opacity using deep learning. Since deep learning requires large datasets that are often limited in medical imaging, the work applies transfer learning to overcome this challenge. Six pre-trained CNN models—VGG19, VGG16, ResNet50, MobileNetV2, InceptionV3, and DenseNet201—are used to classify chest X-ray images through feature extraction and fine-tuning techniques. In the evaluation phase, a range of classifiers, including Random Forest, K-Nearest Neighbors, Extra Trees, and Decision Tree, were employed to assess the predictive capabilities of the CNN-derived features. The outcomes revealinsights into the compatibility of these classifiers with different transfer learning strategies. Furthermore, this study delves into the realm of few shot learning, utilizing a limited subset of 15 images from each class. The efficacy of both transfer learning and few-shot learning in the context of this constrained dataset isexamined, shedding light on the adaptability of these techniques to scenarios with limited training samples. The results showcase the strengths and limitations of each approach, providing valuable insights into the intricate landscape of chest X-ray classification.Results show that for the dataset having a total of 3707 images comprising four different classes, the fine-tuned method has outperformed the feature-extractedmethod for all the deep learning models executed, giving a high accuracy of 98.89% for the DenseNet201model with data augmentation and Extra Tree classifier. For the case where only 15 images have beentaken from each of the four classes, Siamese Networks type few-shot learning has outperformed both a basemodel and two types of transfer learning models, yielding the best accuracy of 96.84% for the DenseNet201 model.This work contributes to the ongoing efforts to develop reliable and efficient diagnostic toolsamidst the evolving challenges posed by the recent COVID-19 pandemic.DOI:
https://doi.org/10.31449/inf.v49i4.7751Downloads
Published
Issue
Section
License
I assign to Informatica, An International Journal of Computing and Informatics ("Journal") the copyright in the manuscript identified above and any additional material (figures, tables, illustrations, software or other information intended for publication) submitted as part of or as a supplement to the manuscript ("Paper") in all forms and media throughout the world, in all languages, for the full term of copyright, effective when and if the article is accepted for publication. This transfer includes the right to reproduce and/or to distribute the Paper to other journals or digital libraries in electronic and online forms and systems.
I understand that I retain the rights to use the pre-prints, off-prints, accepted manuscript and published journal Paper for personal use, scholarly purposes and internal institutional use.
In certain cases, I can ask for retaining the publishing rights of the Paper. The Journal can permit or deny the request for publishing rights, to which I fully agree.
I declare that the submitted Paper is original, has been written by the stated authors and has not been published elsewhere nor is currently being considered for publication by any other journal and will not be submitted for such review while under review by this Journal. The Paper contains no material that violates proprietary rights of any other person or entity. I have obtained written permission from copyright owners for any excerpts from copyrighted works that are included and have credited the sources in my article. I have informed the co-author(s) of the terms of this publishing agreement.
Copyright © Slovenian Society Informatika







