Accurate cancer diagnosis in resource-limited settings is often challenging. However, early diagnosis is vital to enhancing treatment outcomes and reducing morbidity of patients.
Study results presented at the annual meeting of the American Association for Cancer Research (AACR), held April 25-30, 2025, in Chicago, Illinois, demonstrate that artificial intelligence (AI) models, pretrained on vast datasets, may significantly outperformed a standard baseline model in identifying nonmelanoma skin cancers (NMSC) from digital images of tissue samples.[1][2]
The researchers suggest that these advanced, pretrained machine learning models could expand the reach of machine learning-based cancer diagnosis to resource-limited settings.
“Skin lesions suspected of being NMSC are typically resected, thinly sliced, and mounted on a slide for evaluation by an expert pathologist,” explained Steven Song, an MD. Ph.D. candidate in the Medical Scientist Training Program at Pritzker School of Medicine and the Department of Computer Science at the University of Chicago.
“In resource-limited settings, however, the lack of expert pathologists limits the ability to provide timely and widespread review and diagnosis of NMSC,” Song added.
“Artificial intelligence and machine learning have long promised to fill resource gaps, but the development and deployment of bespoke machine learning models require significant resources that may not be available in many places—namely computational experts, specialized computational hardware, and large amounts of curated data to train each model,” Song continued.

Foundation models
Song and colleagues reasoned that machine learning models that have been previously trained on vast amounts of data (often called ‘foundation models’) in resource-rich environments might be effective off-the-shelf tools to guide NMSC diagnosis. This could allow machine learning to be used in settings with limited access to large datasets or the specialized equipment or experts needed for developing models from scratch, Song noted.
In this study, the researchers tested the accuracy of three contemporary foundation models—PRISM, UNI, and Prov-GigaPath—in identifying NMSC from digital pathology images of suspected cancerous skin lesions.
They found that all three foundation models work by converting a high-resolution digital image of a tissue pathology slide into small image tiles, extracting meaningful features from the tiles, and analyzing these features to compute the probability that the tissue contains NMSC.
Accuracy
The models’ accuracy in diagnosing NMSC was evaluated on 2,130 tissue slide images representing 553 biopsy samples from Bangladeshi individuals enrolled in the Bangladesh Vitamin E and Selenium Trial (BEST), a 2 × 2 full factorial, double-blind, randomized placebo controlled trial by the Institute for Population and Precision Health at the University of Chicago.[2]*
High levels of exposure to arsenic through contaminated drinking water increases the risk for NMSC in this population, providing a relevant real-world context for the study, Song said. Of the 2,130 hematoxylin and eosin (H&E)-stained whole slide images, 706 were of normal tissue, and 1,424 were of confirmed NMSC (638 cases of Bowen’s disease, 575 cases of basal cell carcinoma, and 211 cases of invasive squamous cell carcinoma).
Accuracy of the three foundation models was compared with that of ResNet18, an established but older architecture for image recognition.
“ResNet architectures have been used as a starting point for training vision models for nearly a decade and serve as a meaningful baseline comparison for evaluating the performance gains of newer pretrained foundation models,” Song explained.
Outperformance ResNet18
Each of the three newer foundation models significantly outperformed ResNet18—correctly distinguishing between NMSC and normal tissue in 92.5% (PRISM), 91.3% (UNI), and 90.8% (Prov-GigaPath) of cases, compared with an accuracy of 80.5% for ResNet18, representing a substantial improvement in performance.
To make the foundation models more amenable to use in resource-limited settings, Song and colleagues developed and tested simplified versions of each model. These simplified models, which require less extensive analysis of pathology image data, still significantly outperformed ResNet18, with accuracies of 88.2% (PRISM), 86.5% (UNI), and 85.5% (Prov-GigaPath), demonstrating robustness even with reduced complexity, according to the researchers.
In addition, Song and colleagues developed and applied an annotation framework designed to highlight cancerous regions on tissue slides identified by these foundation models. The framework does not require training on large datasets and instead leverages example images of cancerous tissue from a small number of biopsies. It then compares pathology image tiles against these examples to identify and annotate cancerous regions. Song explained that annotation could help guide the attention of a user towards regions of interest on each slide.
“Overall, our results demonstrate that pretrained machine learning models have the potential to aid diagnosis of NMSC, which might be particularly beneficial in resource-limited settings,” said Song. “Our study also provides insights that may advance the development and adaptation of foundation models for various clinical applications.”
Study limitation
A limitation of the study is that the models were evaluated on a single cohort of patients from Bangladesh, which may limit the generalizability of the findings to other populations. Another limitation is that, while the study approached its analyses from the perspective of resource-limited settings, it did not examine the practical details of deploying the pretrained machine learning models in such settings.
“While our study suggests foundation models as resource-efficient tools for aiding NMSC diagnosis, we acknowledge that we are still far from having a direct impact on patient care and that further work is needed to address practical considerations, such as the availability of digital pathology infrastructure, internet connectivity, integration into clinical workflows, and user training,” Song concluded.
The study was supported by the National Institutes of Health (NIH).
__
Note:* The Bangladesh Vitamin E and Selenium Trial (BEST) by the Institute for Population and Precision Health at the University of Chicago was a large-scale, randomized, double-blind, placebo-controlled trial that investigated whether vitamin E and selenium supplementation could prevent non-melanoma skin cancer (NMSC) in individuals with arsenic toxicity in Bangladesh. The trial involved 7,000 adults and evaluated the efficacy of 6-year supplementation with alpha-tocopherol (100 mg daily) and L-selenomethionine (200 μg daily). Although selenium and vitamin E supplementation have shown some evidence of a beneficial effect in the secondary prevention of NMSC, this large population-based study did not support any beneficial effect of vitamin E or selenium supplementation for the primary prevention of NMSC or mortality in an arsenic-exposed population. However, the outcomes may prove impactful in conceiving large scale cancer chemoprevention trials in low-resource settings. [2][3]
Clinical trial
Bangladesh Vitamin E and Selenium Trial (BEST) – ClinicalTrials.gov ID NCT00392561
Reference
[1] Ellis S, Song S, Reiman D, Hui X, Zhang R, Shahriar MH, Kamal M, Shea CR, Grossman RL, Khan AA, Ahsan H. Improved diagnosis of non-melanoma skin cancer in resource-limited settings. In: Proceedings of the 116th Annual Meeting of the American Association for Cancer Research; 2025 April 25-30; Chicago, IL.: AACR; 2025. Abstract nr 1141
[2] Ellis S, Song S, Reiman D, Hui X, Zhang R, Shahriar MH, Argos M, Kamal M, Shea CR, Grossman RL, Khan AA, Ahsan H. Improved Diagnosis of Non-Melanoma Skin Cancer in Resource-Limited Settings. Cancer Epidemiol Biomarkers Prev. 2025 Apr 27. doi: 10.1158/1055-9965.EPI-25-0132. Epub ahead of print. PMID: 40287980.
[3] Argos M, Dignam JJ, Parvez F, Rahman M, Hore SK, Shahriar MH, Sarwar G, Islam T, Slavkovich V, Graziano J, Gamble M, Harjes J, Anton K, Kibriya MG, Jasmine F, Kamal M, Shea CR, Yunus Md, Baron JA, Ahsan H. A randomized trial of selenium and vitamin E for primary prevention of non-melanoma skin cancer: Trial results and experience from a low-resource setting.Journal of Clinical Oncology 2017 35:15_suppl, 1511-1511 | DOI:10.1200/JCO.2017.35.15_suppl.1511
Featured image: Doctor examining. Photo courtesy: © 2016 – 2025. Fotolia/Adobe. Used with permission.
DOI




