We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Civil & Construction Engineering/Benchmarking Transformer Architectures for Chest X-ray Classification
PeriodicalsCivil & Construction Engineering

Benchmarking Transformer Architectures for Chest X-ray Classification

Checking your access to this record.

Abstract & Overview

Lung diseases remain a major global health concern, necessitating accurate and timely diagnosis. Chest X-ray (CXR) imaging is widely used but challenging to interpret due to overlapping radiographic features and subjective variability among radiologists. Deep learning approaches, particularly Convolutional Neural Networks (CNNs), have shown promise but are limited in capturing global spatial dependencies. Vision Transformers (ViTs) overcome this limitation through self-attention, making them increasingly attractive for medical image analysis. This study systematically evaluates 13 Transformer-based architectures across three CXR datasets with distinct tasks: Pneumonia (3-class: Normal, Bacterial, Viral), COVID-QU-Ex (3-class: Normal, Non-COVID Pneumonia, COVID-19), and Tuberculosis (2-class: Normal, Tuberculosis). All models were trained under a unified setup with consistent preprocessing, augmentation, and evaluation protocols. To improve robustness, a soft voting ensemble of the top five models was also implemented. Results demonstrate that Transformer-based models provide highly competitive performance. On the Pneumonia dataset, the ensemble achieved an accuracy of 0.8743 and F1-score of 0.8615, surpassing several single models such as DeiT-Base (F1 = 0.8725). On COVID-QU-Ex, the ensemble soft voting obtained 0.9593 accuracy and 0.9582 F1-score, effectively balancing precision and recall. On Tuberculosis, ViT-B/16 and MobileViT-S achieved perfect performance (F1 = 1.0), likely influenced by dataset imbalance. These findings highlight the clinical potential of Transformer-based models, particularly when combined through ensembles, for robust and accurate CXR classification.

Cite this record

Josua Geovani Pinem, Widi Astuti, Adiwijaya (2026). Benchmarking Transformer Architectures for Chest X-ray Classification. Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), 10(1), 62–70. https://doi.org/10.29207/resti.v10i1.7132

Copy in another style

Pinem, J. G., Astuti, W., & Adiwijaya. (2026). Benchmarking Transformer Architectures for Chest X-ray Classification. Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), 10(1), 62–70. https://doi.org/10.29207/resti.v10i1.7132
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.