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

Olivera Kotevska, Ian Goethert, Michael McGee, Maria Mahbub, Sean R. Wilkinson +9 more
8/21/2026
cs.CV
transformer-attention

No confident code implementation found for this paper.

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.

Show full abstract

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 on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kotevska2026extending,
  title  = {Extending the Horizon of Early Diagnosis: Lung Cancer Prediction with Vision Transformers},
  author = {Olivera Kotevska and Ian Goethert and Michael McGee and Maria Mahbub and Sean R. Wilkinson and Rowena Yip and Myvizhi Esai Selvan and Zeynep H. Gumus and Claudia Henschke and Robert J. Klein and Providencia Morales and Samuel M Aguayo and Ioana Danciu and Mayanka Chandrashekar},
  year   = {2026},
  eprint = {2608.21571},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.21571v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.21571.svg)](https://codeofpaper.com/paper/2608.21571)

Discussion