TY - JOUR
T1 - Vision Transformer Model for Multiclass Classification and Localization of Thoracic Abnormalities in Chest X-rays
AU - Talab, Mohammed Ahmed
AU - Al-Obaidi, Sumia Abdulhussien Razooqi
AU - Hammadi, Othman I.
AU - Awang, Suryanti
AU - Nafis, Nur Syafiqah Mohd
AU - Kahtan, Hasan
N1 - Publisher Copyright:
© 2026 The Author(s).
PY - 2026
Y1 - 2026
N2 - Chest X-rays (CXRs) have been utilized as an important tool for diagnosing thoracic diseases because of their cost-effectiveness and accessibility. However, subtle signs of diseases, anatomical overlap and lack of expert radiologist in certain areas lead to difficulty in reading the CXRs. This indicates the needs of automated diagnostic systems to be accurate. Existing deep learning methods have shortcomings because they require pixel-level annotations to train models well. To address this problem, this study proposes Vision Transformers (ViT) with transfer learning for multiclass classification and weakly supervised localization of thoracic diseases in chest X-ray images. The technique uses patching, positional embedding, and transformer encoding all at once. Subsequently, a Multi-Layer Perceptron (MLP) head and score-weighted class activation mapping (Score-CAM) are implemented to make predictions process efficient. Thus, this technique makes diagnoses more accurate and makes it easier to find small lesions based on the experiment imposed to the ChestX-ray14 dataset. The results show that the accuracies are reliable: 0.83 for cardiomegaly, 0.85 for edema, 0.80 for consolidation, 0.87 for pleural effusion, 0.75 for atelectasis, and 0.89 for pneumonia. This study shows how Vision Transformers could help physicians find thoracic diseases earlier and make better decisions.
AB - Chest X-rays (CXRs) have been utilized as an important tool for diagnosing thoracic diseases because of their cost-effectiveness and accessibility. However, subtle signs of diseases, anatomical overlap and lack of expert radiologist in certain areas lead to difficulty in reading the CXRs. This indicates the needs of automated diagnostic systems to be accurate. Existing deep learning methods have shortcomings because they require pixel-level annotations to train models well. To address this problem, this study proposes Vision Transformers (ViT) with transfer learning for multiclass classification and weakly supervised localization of thoracic diseases in chest X-ray images. The technique uses patching, positional embedding, and transformer encoding all at once. Subsequently, a Multi-Layer Perceptron (MLP) head and score-weighted class activation mapping (Score-CAM) are implemented to make predictions process efficient. Thus, this technique makes diagnoses more accurate and makes it easier to find small lesions based on the experiment imposed to the ChestX-ray14 dataset. The results show that the accuracies are reliable: 0.83 for cardiomegaly, 0.85 for edema, 0.80 for consolidation, 0.87 for pleural effusion, 0.75 for atelectasis, and 0.89 for pneumonia. This study shows how Vision Transformers could help physicians find thoracic diseases earlier and make better decisions.
KW - Chest X-ray (CXR)
KW - Convolutional neural network (CNN)
KW - Deep learning
KW - Vision transformers
UR - https://www.scopus.com/pages/publications/105052709934
U2 - 10.58496/2958-6453.1079
DO - 10.58496/2958-6453.1079
M3 - Article
AN - SCOPUS:105052709934
SN - 2958-6453
VL - 6
SP - 46
EP - 59
JO - Mesopotamian Journal of Big Data
JF - Mesopotamian Journal of Big Data
IS - 1
ER -