Skip to content
Preprint

Extending the Horizon of Early Diagnosis: Lung Cancer Prediction with Vision Transformers

Aug 2026 · 0 citations · 26 references
Computer Science

TL;DR

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.

View source

Similar papers

Open access Sep 2026

Lungnet-RiskX: A Hybrid Deep Learning Framework for Lung Cancer Detection, Nodule Classification, and Personalized Risk Assessment

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. · 0 citations
Review Open access Sep 2026

Transformer-based deep learning models for lung cancer detection and classification: a comprehensive review

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. · 0 citations
Open access Sep 2026

Hybrid CNN-Transformer Architecture for Early Lung Cancer Diagnosis from CT scans

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 · 0 citations
Conference Aug 2026

AI-Based X-Ray Analysis for Early Thoracic Disease Detection

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. · 0 citations
Open access Sep 2026

Improving Early Detection and Diagnosis of Lung Cancer Using an Enhanced Ensemble Deep Learning Model on CT Images

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.

Subbarao Dusari, Nagendra Panini Challa · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.