Multi-Site External Validation
Why external validation across multiple sites and populations is the gold standard for demonstrating generalizability, and practical approaches to building multi-site collaborations.
2.6 Multi-Site and Multi-Device Data explained why a model that does well at home often does worse elsewhere, and what to do about it while building the training set. This article is about the study that tests it: taking a finished model to institutions that had no part in its development and measuring what happens.
It is the most informative study most AI projects can afford, and it's still rarely done. In 2019 Dong Wook Kim and colleagues reviewed 516 published studies evaluating AI for the analysis of medical images, and found that 6% (31 studies) had done any external validation. None of those 31 had all three of the design features they were looking for: a diagnostic cohort design, more than one institution, and prospective data collection.
What counts as external
The word gets used loosely, so it helps to sort the options by how far the test data is from the training data.
| Validation | Test data comes from | What it shows |
|---|---|---|
| Internal | A held-out part of the development dataset | The model didn't just memorize its training cases |
| Temporal | The same sites, a later period | It survives the passage of time at home |
| External | Sites that contributed nothing to development | It works on other equipment, populations and practice |
Only the last one is external. A random split of pooled data from five hospitals is internal validation of a five-hospital dataset, however many sites are named in the methods. Data from a different building of the same hospital network, on the same scanners with the same protocols and radiologists, is technically external and not very far from home.
Public datasets can work as external test sets, with two cautions. Their labels were often produced by a method you wouldn't accept for your own test set, and popular public datasets may have been part of the pretraining data of the model you started from, in which case the test isn't independent at all.
Choosing sites
The temptation is to pick the collaborators who are easiest to work with, who are usually people who trained at your institution and practice the same way. A more useful question is: on which dimensions might the model fail, and which sites would test them?
The dimensions to think about are the ones from 2.6. Scanner vendors and models other than the ones in training. A different care setting, such as a community hospital if the model was developed at an academic center. A different patient population in age, ancestry, body habitus and disease prevalence. A different country, if the product is meant to be used internationally. The classic demonstration is the mammography study by Scott McKinney and colleagues at Google, published in 2020, which used screening data from the United Kingdom and from the United States, where screening intervals, reading practice and population all differ, and reported how well the system carried over from the UK to the US.
You won't cover everything. Three sites chosen to differ from the development site and from each other tell you a lot more than ten that resemble it. And sites where the model is expected to struggle are the most useful ones to include, though it takes some nerve.
The design
Lock the model and ship it
The model, preprocessing and threshold are frozen before any external data is seen, exactly as in 5.2 Designing Retrospective Validation Studies. The point of the study is to test the model as it is.
This rules out tuning at the external sites. Fine-tuning on local data, picking a new threshold from local results, or normalizing with statistics computed from the external set all turn an external validation into something else. If your intended product includes a local calibration step, that's a legitimate design, and then the calibration procedure is part of the device: fix it in advance, apply it using a small separate sample from each site, and test on cases that weren't used for it.
Move the model or move the data
There are two ways to run it. The sites can send de-identified data to you, which keeps the analysis simple and means negotiating data transfer with every institution (see 2.7 De-Identification, Privacy, and Regulatory Compliance for Research Data). Or you can send the model to the sites, packaged so it runs on their hardware, and receive only the outputs or the summary results.
Sending the model is often quicker to get approved, because patient data never leaves the building. It has a side benefit too: it tests whether the model can be installed and run by someone other than the engineer who built it, which is a fair preview of deployment. The cost is that you can't inspect failures directly, so agree in advance on what the sites will send back. Per-case outputs with basic metadata (scanner, age band, sex, reference label) are much more useful than a single AUC.
One reference standard
Every site needs the same reference standard, defined the same way and applied by the same method. If each site uses its own clinical reports as truth, the differences you measure between sites are partly differences in how the sites report. Central re-reading of all cases by one panel under one protocol is the cleanest option. Where that isn't affordable, central re-reading of a random sample from each site at least lets you measure how much local labels diverge (see 5.7 Reference Standards and Ground Truth in Medical AI).
Same eligibility, consecutive cases
Use the same inclusion criteria at each site and take consecutive cases, so that differences in case mix between sites are real differences in their populations and not differences in how somebody picked cases. Record prevalence at each site. It will vary, and predictive values will vary with it.
Enough cases at each site
A multi-site study is several small studies, and each needs enough positive cases to give a confidence interval that means something. Thirty positives per site produces intervals so wide that every site is compatible with every other, and the study can't detect the very thing it was set up to find. The sample size reasoning in 4.5 applies per site, at least for the primary metric.
Analysing it
Report each site separately. This is the one rule we'd insist on. A pooled estimate across sites hides the result of interest, which is the variation. A model with sensitivity of 94%, 92% and 71% at three sites has a pooled sensitivity in the mid-80s and a serious problem at site three.
A forest plot, with one row per site showing the estimate and its interval, is the natural display, and readers of clinical journals already know how to read it. If you want a summary across sites, the methods of meta-analysis apply: a random-effects model treats the sites as a sample of possible sites and gives a wider and more truthful interval than simple pooling, along with an estimate of between-site heterogeneity.
Then break results down by the technical factors: scanner manufacturer and model, slice thickness or other acquisition parameters, and by patient subgroups. When a site underperforms, this is how you find out why.
Check calibration at each site as well as discrimination. It's common for the ranking of cases to hold up, so AUC barely moves, while the probabilities are off because the prevalence or case mix is different (see 4.4 Calibration). A fixed threshold then gives a different sensitivity and specificity at each site, which is a real nuisance in use even though the AUC looks stable.
When performance drops
It usually does, somewhat. In 2022 Alice Yu and colleagues reviewed 83 studies covering 86 deep learning algorithms for radiologic diagnosis that reported both internal and external performance. About four in five of the algorithms showed some decrease on external data, and about a quarter showed a substantial one.
So a modest drop is the expected result, and it isn't a failure of the study. Report it plainly. A paper showing an AUC of 0.94 internally and 0.89 across three external sites, with the reasons explored, is more useful and more credible than one reporting 0.94 alone.
A large drop at one site is worth investigating before publishing. Have a clinician and an engineer look at that site's errors together. The usual suspects are an acquisition difference (a reconstruction kernel, a different detector), a preprocessing mismatch (the DICOM issues described in 2.5 Data Preprocessing and Augmentation), a difference in the population, or a difference in the reference standard.
Whatever the cause, there's a rule about what happens next. If you fix the model using what you learned from the external data, those sites have become development data. The revised model needs a new external validation, at sites it hasn't seen. This is annoying and unavoidable, and it's a good reason to hold one or two sites in reserve at the planning stage.
Getting sites to say yes
The statistics are the easy part of a multi-site study. The work is in the collaboration.
Find a clinical champion at each site, someone who wants the answer and will chase the local approvals. Offer them real authorship and a real role, such as leading the local reference standard reads.
Start the agreements first. Ethics approval at each site, a data sharing or data use agreement, and often a separate agreement covering the software all take months, and they run in parallel only if somebody starts them in parallel. A common protocol with site-specific appendices saves a lot of repeated negotiation.
Make the local work small. A site asked to extract, de-identify and label two thousand studies with no funding will agree warmly and deliver in eighteen months. Provide the extraction scripts and de-identification tools, pay for the reader time if you can, and ask for the minimum dataset that answers the question.
Settle in advance what happens to the results. Sites should know that per-site performance will be published, whether sites will be named, and that an unflattering result at their institution still gets reported.
Existing research networks and consortia in your specialty are worth approaching, since they have already solved the agreement problem once. And a reciprocal arrangement, where you validate their model on your data in exchange, gives both groups something to publish.
What it means for regulators
The FDA's Good Machine Learning Practice principles ask for test data that is independent of training data and representative of the intended population, and reviewers increasingly ask where the test data came from and how many sites and scanner types it covers (see 6.7 Good Machine Learning Practice). For a product intended for the US market there is no outright requirement for US data, but the FDA's January 2025 draft guidance on AI-enabled devices suggests validating at three or more geographically diverse US sites, and asks sponsors who use data from elsewhere to explain how it compares with the US population and US medical practice. Planning the external validation with those expectations in mind lets one study serve both the paper and the submission.
Key takeaways
- External validation means testing on sites that contributed nothing to development. A held-out split of pooled multi-site data is internal validation.
- Choose sites to differ from the development site in scanners, setting and population. A few different sites are worth more than many similar ones.
- Lock the model, preprocessing and threshold beforehand, and do no tuning at the external sites unless a fixed calibration procedure is part of the intended product.
- Sending the model to the sites is often easier to approve than moving data, and it tests installability. Ask for per-case outputs back.
- Use one reference standard, the same eligibility criteria and consecutive cases at every site, with enough positives per site for a usable interval.
- Report every site separately, show a forest plot, and check calibration as well as discrimination.
- Some drop in performance is the normal finding. If you change the model in response, it needs a fresh external validation.
- The agreements and local workload decide whether the study happens. Start them early and keep the sites' burden small.
What to read next
- 2.6 Multi-Site and Multi-Device Data: The Generalization Challenge: why performance changes between sites
- 4.6 Cross-Validation Strategies for Medical Data: leave-one-site-out during development
- 5.7 Reference Standards and Ground Truth in Medical AI: making the reference standard consistent across sites
- 7.3 Generalization Across Devices, Sites, and Geographies: generalization as a fairness question
- 8.6 Monitoring AI Performance in Production: external validation that never ends
This article is part of the AI in Clinical Research Knowledge Base.