Deep Learning for Lung Disease Classification Using Transfer Learning and a Customized CNN Architecture with Attention

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liu, Xiaoyi, Yu, Zhou, Tan, Lianghao
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909294224474112
author Liu, Xiaoyi
Yu, Zhou
Tan, Lianghao
author_facet Liu, Xiaoyi
Yu, Zhou
Tan, Lianghao
contents Many people die from lung-related diseases every year. X-ray is an effective way to test if one is diagnosed with a lung-related disease or not. This study concentrates on categorizing three distinct types of lung X-rays: those depicting healthy lungs, those showing lung opacities, and those indicative of viral pneumonia. Accurately diagnosing the disease at an early phase is critical. In this paper, five different pre-trained models will be tested on the Lung X-ray Image Dataset. SqueezeNet, VGG11, ResNet18, DenseNet, and MobileNetV2 achieved accuracies of 0.64, 0.85, 0.87, 0.88, and 0.885, respectively. MobileNetV2, as the best-performing pre-trained model, will then be further analyzed as the base model. Eventually, our own model, MobileNet-Lung based on MobileNetV2, with fine-tuning and an additional layer of attention within feature layers, was invented to tackle the lung disease classification task and achieved an accuracy of 0.933. This result is significantly improved compared with all five pre-trained models.
format Preprint
id arxiv_https___arxiv_org_abs_2408_13180
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Deep Learning for Lung Disease Classification Using Transfer Learning and a Customized CNN Architecture with Attention
Liu, Xiaoyi
Yu, Zhou
Tan, Lianghao
Image and Video Processing
Computer Vision and Pattern Recognition
Many people die from lung-related diseases every year. X-ray is an effective way to test if one is diagnosed with a lung-related disease or not. This study concentrates on categorizing three distinct types of lung X-rays: those depicting healthy lungs, those showing lung opacities, and those indicative of viral pneumonia. Accurately diagnosing the disease at an early phase is critical. In this paper, five different pre-trained models will be tested on the Lung X-ray Image Dataset. SqueezeNet, VGG11, ResNet18, DenseNet, and MobileNetV2 achieved accuracies of 0.64, 0.85, 0.87, 0.88, and 0.885, respectively. MobileNetV2, as the best-performing pre-trained model, will then be further analyzed as the base model. Eventually, our own model, MobileNet-Lung based on MobileNetV2, with fine-tuning and an additional layer of attention within feature layers, was invented to tackle the lung disease classification task and achieved an accuracy of 0.933. This result is significantly improved compared with all five pre-trained models.
title Deep Learning for Lung Disease Classification Using Transfer Learning and a Customized CNN Architecture with Attention
topic Image and Video Processing
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2408.13180