Although performance remains below clinical deployment thresholds, the results support further development of ViT-based triage systems to flag high-risk patients for earlier evaluation and demonstrate the potential of ViTs for early lung cancer risk prediction from routine chest X-rays.
Abstract
Lung cancer remains a leading cause of cancer-related mortality worldwide, and early diagnosis is critical for improving survival. However, early-stage malignancies can be subtle on chest X-rays, creating challenges for radiologists. This study evaluates Vision Transformers (ViTs) for predicting lung cancer one to two years before clinical diagnosis. We analyzed 259,361 chest X-rays from 91,020 imaging studies at the Jamaica Plains VA Hospital in Boston, MA. The dataset showed extreme class imbalance, approximately 1:150 cancer to non-cancer, which was addressed using hybrid under- and over-sampling and class-weighted loss optimization. Three ViT configurations were evaluated: a model trained from scratch, an ImageNet-pretrained model, and a Corona-pretrained model fine-tuned on the lung cancer dataset. Transfer learning improved performance, with pretrained models exceeding the scratch baseline by 6-10 percentage points in AUC and about 10-12 percent in balanced accuracy. ImageNet-pretrained models showed the most stable overall performance, while Corona-pretrained models achieved higher sensitivity in some settings but greater variability. Moderate resampling ratios, including 1:1 undersampling and 1.5:2 oversampling, provided favorable trade-offs between sensitivity, precision, and computational efficiency, reducing runtime by up to 70 percent without major performance loss. These findings demonstrate the potential of ViTs for early lung cancer risk prediction from routine chest X-rays. Although performance remains below clinical deployment thresholds, the results support further development of ViT-based triage systems to flag high-risk patients for earlier evaluation.
Background: Lung cancer remains one of the most common causes of cancer-related death globally, yet catching it early is still a significant challenge in clinical practice. Standard imaging tools such as CT scans and chest X-rays have real limitations: low-contrast lesions are easy to miss, and even experts can disagre...
Noshin Un Noor, J. Sarker, M. Riaj et al.· Bangladesh Journal of Medici...· 0 citations
A review of transformer-based architectures applied to lung cancer detection and classification highlights potential future directions, including model optimization, data standardization, and validation across diverse clinical environments, to enhance the reliability and integration of transformer-based models in healt...
Neha Thakur, Pradeep Chouksey, P. Sadotra et al.· Discover Artificial Intellig...· 0 citations
The proposed hybrid CNN-Transformer architecture is effective in combining local and global features to produce reliable early detection of lung cancer and is more effective compared to conventional CNN and Transformer methods and is highly interpretable.
Adeiza Victor Nicholas· International Journal of Com...· 0 citations
Thoracic diseases remain among the leading causes of death worldwide, with over 20.5 million cardiovascular and 3.5 million pulmonary deaths reported in 2021. Chest X-ray (CXR) diagnosis still relies heavily on radiologists, whose varying expertise can lead to slow, subjective, and inconsistent reports. Deep learning o...
Pranav Harish Nathani, Troy Poetra Prajoga, Edward Kowanda et al.· International Conferences on...· 0 citations
The proposed models beat existing CNN-based models in terms of speed and number of training parameters, which means that using CT scan images to diagnose lung cancer automatically is a suitable option and a strong selection for extensive use in medical environments.