Cargando…

FibroVit—Vision transformer-based framework for detection and classification of pulmonary fibrosis from chest CT images

Pulmonary Fibrosis (PF) is an immedicable respiratory condition distinguished by permanent fibrotic alterations in the pulmonary tissue for which there is no cure. Hence, it is crucial to diagnose PF swiftly and precisely. The existing research on deep learning-based pulmonary fibrosis detection met...

Descripción completa

Detalles Bibliográficos
Autores principales: Waseem Sabir, Muhammad, Farhan, Muhammad, Almalki, Nabil Sharaf, Alnfiai, Mrim M., Sampedro, Gabriel Avelino
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Frontiers Media S.A. 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10666764/
https://www.ncbi.nlm.nih.gov/pubmed/38020169
http://dx.doi.org/10.3389/fmed.2023.1282200
_version_ 1785139112959803392
author Waseem Sabir, Muhammad
Farhan, Muhammad
Almalki, Nabil Sharaf
Alnfiai, Mrim M.
Sampedro, Gabriel Avelino
author_facet Waseem Sabir, Muhammad
Farhan, Muhammad
Almalki, Nabil Sharaf
Alnfiai, Mrim M.
Sampedro, Gabriel Avelino
author_sort Waseem Sabir, Muhammad
collection PubMed
description Pulmonary Fibrosis (PF) is an immedicable respiratory condition distinguished by permanent fibrotic alterations in the pulmonary tissue for which there is no cure. Hence, it is crucial to diagnose PF swiftly and precisely. The existing research on deep learning-based pulmonary fibrosis detection methods has limitations, including dataset sample sizes and a lack of standardization in data preprocessing and evaluation metrics. This study presents a comparative analysis of four vision transformers regarding their efficacy in accurately detecting and classifying patients with Pulmonary Fibrosis and their ability to localize abnormalities within Images obtained from Computerized Tomography (CT) scans. The dataset consisted of 13,486 samples selected out of 24647 from the Pulmonary Fibrosis dataset, which included both PF-positive CT and normal images that underwent preprocessing. The preprocessed images were divided into three sets: the training set, which accounted for 80% of the total pictures; the validation set, which comprised 10%; and the test set, which also consisted of 10%. The vision transformer models, including ViT, MobileViT2, ViTMSN, and BEiT were subjected to training and validation procedures, during which hyperparameters like the learning rate and batch size were fine-tuned. The overall performance of the optimized architectures has been assessed using various performance metrics to showcase the consistent performance of the fine-tuned model. Regarding performance, ViT has shown superior performance in validation and testing accuracy and loss minimization, specifically for CT images when trained at a single epoch with a tuned learning rate of 0.0001. The results were as follows: validation accuracy of 99.85%, testing accuracy of 100%, training loss of 0.0075, and validation loss of 0.0047. The experimental evaluation of the independently collected data gives empirical evidence that the optimized Vision Transformer (ViT) architecture exhibited superior performance compared to all other optimized architectures. It achieved a flawless score of 1.0 in various standard performance metrics, including Sensitivity, Specificity, Accuracy, F1-score, Precision, Recall, Mathew Correlation Coefficient (MCC), Precision-Recall Area under the Curve (AUC PR), Receiver Operating Characteristic and Area Under the Curve (ROC-AUC). Therefore, the optimized Vision Transformer (ViT) functions as a reliable diagnostic tool for the automated categorization of individuals with pulmonary fibrosis (PF) using chest computed tomography (CT) scans.
format Online
Article
Text
id pubmed-10666764
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Frontiers Media S.A.
record_format MEDLINE/PubMed
spelling pubmed-106667642023-11-08 FibroVit—Vision transformer-based framework for detection and classification of pulmonary fibrosis from chest CT images Waseem Sabir, Muhammad Farhan, Muhammad Almalki, Nabil Sharaf Alnfiai, Mrim M. Sampedro, Gabriel Avelino Front Med (Lausanne) Medicine Pulmonary Fibrosis (PF) is an immedicable respiratory condition distinguished by permanent fibrotic alterations in the pulmonary tissue for which there is no cure. Hence, it is crucial to diagnose PF swiftly and precisely. The existing research on deep learning-based pulmonary fibrosis detection methods has limitations, including dataset sample sizes and a lack of standardization in data preprocessing and evaluation metrics. This study presents a comparative analysis of four vision transformers regarding their efficacy in accurately detecting and classifying patients with Pulmonary Fibrosis and their ability to localize abnormalities within Images obtained from Computerized Tomography (CT) scans. The dataset consisted of 13,486 samples selected out of 24647 from the Pulmonary Fibrosis dataset, which included both PF-positive CT and normal images that underwent preprocessing. The preprocessed images were divided into three sets: the training set, which accounted for 80% of the total pictures; the validation set, which comprised 10%; and the test set, which also consisted of 10%. The vision transformer models, including ViT, MobileViT2, ViTMSN, and BEiT were subjected to training and validation procedures, during which hyperparameters like the learning rate and batch size were fine-tuned. The overall performance of the optimized architectures has been assessed using various performance metrics to showcase the consistent performance of the fine-tuned model. Regarding performance, ViT has shown superior performance in validation and testing accuracy and loss minimization, specifically for CT images when trained at a single epoch with a tuned learning rate of 0.0001. The results were as follows: validation accuracy of 99.85%, testing accuracy of 100%, training loss of 0.0075, and validation loss of 0.0047. The experimental evaluation of the independently collected data gives empirical evidence that the optimized Vision Transformer (ViT) architecture exhibited superior performance compared to all other optimized architectures. It achieved a flawless score of 1.0 in various standard performance metrics, including Sensitivity, Specificity, Accuracy, F1-score, Precision, Recall, Mathew Correlation Coefficient (MCC), Precision-Recall Area under the Curve (AUC PR), Receiver Operating Characteristic and Area Under the Curve (ROC-AUC). Therefore, the optimized Vision Transformer (ViT) functions as a reliable diagnostic tool for the automated categorization of individuals with pulmonary fibrosis (PF) using chest computed tomography (CT) scans. Frontiers Media S.A. 2023-11-08 /pmc/articles/PMC10666764/ /pubmed/38020169 http://dx.doi.org/10.3389/fmed.2023.1282200 Text en Copyright © 2023 Waseem Sabir, Farhan, Almalki, Alnfiai and Sampedro. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
spellingShingle Medicine
Waseem Sabir, Muhammad
Farhan, Muhammad
Almalki, Nabil Sharaf
Alnfiai, Mrim M.
Sampedro, Gabriel Avelino
FibroVit—Vision transformer-based framework for detection and classification of pulmonary fibrosis from chest CT images
title FibroVit—Vision transformer-based framework for detection and classification of pulmonary fibrosis from chest CT images
title_full FibroVit—Vision transformer-based framework for detection and classification of pulmonary fibrosis from chest CT images
title_fullStr FibroVit—Vision transformer-based framework for detection and classification of pulmonary fibrosis from chest CT images
title_full_unstemmed FibroVit—Vision transformer-based framework for detection and classification of pulmonary fibrosis from chest CT images
title_short FibroVit—Vision transformer-based framework for detection and classification of pulmonary fibrosis from chest CT images
title_sort fibrovit—vision transformer-based framework for detection and classification of pulmonary fibrosis from chest ct images
topic Medicine
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10666764/
https://www.ncbi.nlm.nih.gov/pubmed/38020169
http://dx.doi.org/10.3389/fmed.2023.1282200
work_keys_str_mv AT waseemsabirmuhammad fibrovitvisiontransformerbasedframeworkfordetectionandclassificationofpulmonaryfibrosisfromchestctimages
AT farhanmuhammad fibrovitvisiontransformerbasedframeworkfordetectionandclassificationofpulmonaryfibrosisfromchestctimages
AT almalkinabilsharaf fibrovitvisiontransformerbasedframeworkfordetectionandclassificationofpulmonaryfibrosisfromchestctimages
AT alnfiaimrimm fibrovitvisiontransformerbasedframeworkfordetectionandclassificationofpulmonaryfibrosisfromchestctimages
AT sampedrogabrielavelino fibrovitvisiontransformerbasedframeworkfordetectionandclassificationofpulmonaryfibrosisfromchestctimages