The External Validation Gap: Medical AI Beyond Its Home Data

Nov 26, 2026 | Health Tech

Image Source: Dr Leon Kaufman / Wikimedia Commons (public domain)
Independent Contributor
Written by: Dr K. Mithra, Independent Researcher
On behalf of: N/A

Every medical AI paper I review (and I review a lot of them) has the same shape. A model is trained on data from one hospital, one scanner, one population. It is tested on a held-out slice of that same data. The score is excellent. The paper concludes, without any external validation, that the model is ready to help clinicians.

Maybe it is. But nothing in that experiment tells us so. A held-out test set from the same source is not the outside world. It is the same world, reshuffled. The question that actually matters for a patient is different: take the model, freeze it, carry it to another hospital (different scanners, different technicians, different patients) and see what survives. That experiment is called external validation, and in medical AI it is still surprisingly rare. When it is done, the results are often sobering.

What happens when the model leaves home

Radiology has the clearest numbers. A systematic review of external validation studies in radiologic diagnosis looked at 86 deep learning algorithms that had been tested both internally and externally. Eighty-one per cent performed worse on the external data. In a quarter of cases, the drop was large: a tenth of the AUC scale or more [1]. A more recent review found the average AUC drop looks modest, around 0.03, but the average hides the damage: specificity fell by as much as 24 percentage points in some studies [2]. Specificity is not an abstract number. When it falls, healthy people get flagged, referred and scanned again. The cost lands on patients and clinics, not on the model’s scorecard.

The study I find myself citing most is older. In 2018, Zech and colleagues trained a pneumonia detector on chest X-rays from one hospital system and tested it at two others. Performance fell: an AUC of 0.802 at home became 0.717 and 0.756 away [3]. The uncomfortable part is why. The network had learned to recognise which hospital an image came from, reading clues in parts of the image that had nothing to do with lungs. It had partly learned the site instead of the disease. Every model trained on one site’s data has the opportunity to make the same mistake, quietly.

It is not only the scanner. It is the patients.

Ophthalmology shows the other half of the problem. Diabetic retinopathy screening is one of medical AI’s flagship applications, and the models look superb at home. In one recent study, a network trained on Brazilian data reached an internal AUROC of 0.989. Tested on images from Uganda and Kenya, it scored between 0.514 and 0.610 (at the bottom of that range, close to guessing), with poor sensitivity and calibration that would not stay still [4]. A second study took a retinopathy framework validated on the Indian APTOS dataset and ran it on the European Messidor-2 dataset. Agreement with graders fell from 0.873 to 0.455, and sensitivity for referable disease (the cases screening exists to catch) collapsed from 92.7 per cent to 35.0 per cent [5].

Same disease. Same task. What changed was everything around the model: the cameras, yes, but also the population, the case mix, the stage at which people present. A threshold tuned on one population is a decision about who gets referred, and that decision does not automatically travel. In my own work on retinal images I have seen how much image appearance varies between sources before any disease enters the picture [6]; a model meets all of that variation at once when it moves.

Pathology: my own field’s version of the same story

In digital pathology, the variation has a visible form: the pink and purple of an H&E slide differs from laboratory to laboratory, scanner to scanner. A systematic review of 102 studies of AI in colorectal cancer histopathology, published in November 2026, found that only 21.6 per cent had tested a fixed model on an independent external cohort at all. Performance usually fell when they did, and not one study had evaluated its system prospectively in routine practice [7]. Stain normalisation and augmentation can narrow the gap (recent work shows a self-supervised normalisation method can match centrally trained models across centres without moving the data [8]), but these are ways of coping with the gap, not substitutes for measuring it.

I include my own work in this criticism. The segmentation models I have benchmarked were validated with careful five-fold cross-validation, every fold kept strictly separate. That is good internal validation. It is still not external validation, and I would not claim otherwise for it. (My earlier article for Life Science Daily News covered the separate problem of leakage and honest internal benchmarking; this piece is about what happens after a model passes those tests.)

Why is the harder test still the exception?

Partly, it is logistics wearing the mask of principle. Patient data cannot simply be pooled. Moving it between institutions needs data-sharing agreements and ethics approval at every site, and that process is measured in months or years, not weeks. Hospitals increasingly, and understandably, treat their data as an asset they will not export. Even when the data does move, the work is not finished: formats differ, labels differ, the reference standard itself may differ, and harmonising all of that costs money nobody budgeted for.

And partly, it is incentives. A strong internal result is still enough to publish, still enough to top a leaderboard, still enough to announce. External validation is slow, expensive, and carries a real risk of an embarrassing number. It is not hard to see why it gets postponed.

There are ways through. The most promising is to move the model instead of the data. In the EXAM study, twenty institutions trained a shared model by federated learning (each site’s data stayed where it was), and the shared model beat the single-site models by 16 per cent in average AUC, with a 38 per cent gain in generalisability [9]. Shared, prospectively collected external test sets would help too: a common away fixture that every model has to play. And reporting needs to grow up. Papers should show not just discrimination but calibration, and performance at the fixed operating point they recommend, so a reader can see whether the threshold travels, not only whether the ranking does [10].

The test that counts

None of this is an argument against medical AI. It is an argument about what counts as evidence. A model that has only ever been tested at home has demonstrated one thing: it works at home. The claim made for these systems is bigger than that, and the claim deserves the bigger test.

So the question I would put to every impressive result in this field, including my own, is a short one. Does it work there, on their patients, their scanners, their case mix? Until asking that becomes routine, a headline score is a promise. External validation is how the promise gets kept.

 

Author Bio

    Dr K. Mithra is an independent researcher based in Scottsdale, Arizona. Her primary field is wireless communications, including antenna design, 5G/6G networks and signal processing, and she also works in artificial intelligence for medical imaging, including histopathology and ophthalmic imaging. She has authored more than 20 peer-reviewed publications and two published patents, and serves as a peer reviewer for IEEE, Elsevier and Springer Nature journals. LinkedIn: https://www.linkedin.com/in/mithraphd Google Scholar: https://scholar.google.com/citations?user=uNszTYoAAAAJ&hl=en
    References:

    [1] Yu AC, Mohajer B, Eng J. External validation of deep learning algorithms for radiologic diagnosis: a systematic review. Radiology: Artificial Intelligence. 2022; 4(3): e210064. https://doi.org/10.1148/ryai.210064

    [2] Suleman MU, Mursaleen M, Khalil U, et al. Assessing the generalizability of artificial intelligence in radiology: a systematic review of performance across different clinical settings. Annals of Medicine and Surgery. 2025; 87(12): 8803–8811. https://doi.org/10.1097/MS9.0000000000004166

    [3] Zech JR, Badgeley MA, Liu M, Costa AB, Titano JJ, Oermann EK. Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs: a cross-sectional study. PLOS Medicine. 2018; 15(11): e1002683. https://doi.org/10.1371/journal.pmed.1002683

    [4] Mwavu R, Kaggwa F, Arunga S, Wasswa W. Evaluating the generalisability of convolutional neural networks for diabetic retinopathy detection in Latin America and sub-Saharan Africa. Information. 2026; 17(6): 552. https://doi.org/10.3390/info17060552

    [5] Boumeshed S, Cherfa Y, Cherfa A, Belkhamsa N. A modular diabetic retinopathy analysis framework for lesion segmentation and severity grading: cross-dataset external validation from APTOS to Messidor-2. Diagnostics. 2026; 16(21): 3596. https://doi.org/10.3390/diagnostics16213596

    [6] Mithra K, Santhanam PK. Luminosity-adaptive contrast enhancement using CLAHE for retinal fundus images with multi-dataset validation, statistical analysis, and comparative benchmarking. Journal of Intelligent Medicine and Healthcare. 2026; 4(1): 87–97. https://doi.org/10.32604/jimh.2026.080288

    [7] Antzoulas A, Mulita F, Leivaditis V, et al. Artificial intelligence in colorectal cancer histopathology: from image analysis to clinical translation: a systematic review. Cancers. 2026; 18(22): 3656. https://doi.org/10.3390/cancers18223656

    [8] Wang J, Yu J, Yang H, et al. Self-supervised stain normalization empowers privacy-preserving and model generalization in digital pathology. npj Digital Medicine. 2025; 9(1): 22. https://doi.org/10.1038/s41746-025-02196-8

    [9] Dayan I, Roth HR, Zhong A, et al. Federated learning for predicting clinical outcomes in patients with COVID-19. Nature Medicine. 2021; 27(10): 1735–1743. https://doi.org/10.1038/s41591-021-01506-3

    [10] Roberts M, Driggs D, Thorpe M, et al. Common pitfalls and recommendations for using machine learning to detect and prognosticate for COVID-19 using chest radiographs and CT scans. Nature Machine Intelligence. 2021; 3: 199–217. https://doi.org/10.1038/s42256-021-00307-0

    All content is published for informational purposes only and does not constitute medical, legal, or investment advice. For more information, see our Terms and Conditions

    Articles that may be of interest

    AI in Life Sciences: From Discovery to the Clinic

    AI in Life Sciences: From Discovery to the Clinic

    Last updated: 23 November 2026 Artificial intelligence now touches every stage of how medicines and medical technologies are made. It helps pick biological targets, run trials, control production lines and read scans. Yet AI in life sciences is advancing unevenly. In...

    read more
    When the AI Is Wrong, Does the Expert Still Catch It?

    When the AI Is Wrong, Does the Expert Still Catch It?

    Almost every clinical AI proposal I review has the same safety line somewhere near the end. A qualified clinician reviews every output. It's the sentence that gets the project through committee, and I understand why. A model will be wrong sometimes, so a trained...

    read more
    Alzheimer’s Blood Tests: How Close Is Routine Screening?

    Alzheimer’s Blood Tests: How Close Is Routine Screening?

    For decades, confirming Alzheimer’s pathology meant an amyloid PET scan or a lumbar puncture. In 15 months, US regulators have cleared four blood tests that can do a similar job from a blood draw. Yet each Alzheimer’s blood test now on the US market is a diagnostic...

    read more

    Articles that may be of interest

    The Antibody Is the Easy Part

    The Antibody Is the Easy Part

    In August, Nature Biotechnology published something AI antibody design has needed for years: a blinded scorecard. The AIntibody challenge, organized by Andrew Bradbury and colleagues at Specifica, an IQVIA business, evaluated 511 AI-designed or predicted antibodies...

    read more
    AI in Life Sciences: From Discovery to the Clinic

    AI in Life Sciences: From Discovery to the Clinic

    Last updated: 23 November 2026 Artificial intelligence now touches every stage of how medicines and medical technologies are made. It helps pick biological targets, run trials, control production lines and read scans. Yet AI in life sciences is advancing unevenly. In...

    read more
    When the AI Is Wrong, Does the Expert Still Catch It?

    When the AI Is Wrong, Does the Expert Still Catch It?

    Almost every clinical AI proposal I review has the same safety line somewhere near the end. A qualified clinician reviews every output. It's the sentence that gets the project through committee, and I understand why. A model will be wrong sometimes, so a trained...

    read more
    Alzheimer’s Blood Tests: How Close Is Routine Screening?

    Alzheimer’s Blood Tests: How Close Is Routine Screening?

    For decades, confirming Alzheimer’s pathology meant an amyloid PET scan or a lumbar puncture. In 15 months, US regulators have cleared four blood tests that can do a similar job from a blood draw. Yet each Alzheimer’s blood test now on the US market is a diagnostic...

    read more