All models are local: time to replace external validation with recurrent local validation

Alexey Youssef, Michael J. Pencina, Anshul Thakur, Tingting Zhu, David A. Clifton, Nigam H. ShaharXiv 2023 · DOI

Abstract

The traditional "gold standard" for validating medical artificial intelligence (AI)—a single external validation on a static dataset—is increasingly insufficient for ensuring patient safety and model efficacy. This paper argues for a paradigm shift toward recurrent local validation. By adopting a framework inspired by Machine Learning Operations (MLOps), healthcare providers can move away from "one-size-fits-all" models toward systems that are continuously tested, fine-tuned, and monitored at the specific site of deployment. This approach accounts for the inherent volatility of healthcare data, operational differences between facilities, and the brittle nature of modern deep learning models.

Introduction

In the current clinical machine learning (ML) landscape, "external validation" is often viewed as the ultimate proof of a model's generalizability. The logic is straightforward: if a model performs well on data from a hospital system different from its training set, it is deemed safe for broader use. However, this perspective fails to account for the reality of clinical practice. Healthcare data is not merely biological; it is a product of specific administrative workflows, coding practices, and local patient demographics.

We argue that "all models are local." A model’s utility is inextricably linked to the local environment in which it operates. Relying on a single point-in-time validation check ignores the fact that model performance can degrade immediately upon deployment due to "data drift" and "distribution shifts."

The Problem: The Fallacy of Global Generalization

Healthcare data is highly volatile across time, geography, and facility type. A model trained in a high-resource academic medical center may fail in a rural clinic, not just because the patients are different, but because the "operational inputs"—how care is delivered and recorded—differ significantly.

Modern Deep Learning models are particularly susceptible to this issue. While powerful, these models are notoriously brittle, often overfitting to specific nuances of their training distributions. Even minor shifts in Electronic Health Record (EHR) templates or hospital protocols can lead to significant performance drops. The reliance on global statistics like the Area Under the Receiver Operating Characteristic curve (AUROC) often masks these local failures, failing to capture whether a model actually improves outcomes in a specific clinical context.

A New Framework: MLOps-Inspired Local Validation

To address these challenges, we propose a shift toward a lifecycle-based approach to model validation, drawing from the principles of MLOps:

  1. Site-Specific Reliability Tests: Before deployment, every model must undergo rigorous validation using the local data of the specific facility where it will be implemented.
  2. "Silent Mode" Deployment: Models should initially run in a non-active state. During this phase, predictions are recorded and compared against ground truth in real-time without influencing clinical decisions. This allows for safe, local fine-tuning before the model goes "live."
  3. Recurring Validation: Validation is not a one-time event. Automated systems must be established to perform regular checks for "concept drift" (changes in the relationship between inputs and outcomes) and "distribution shifts" (changes in the underlying data population).
  4. Local Fine-Tuning: Rather than maintaining a static global model, developers should facilitate local adaptation—adjusting model weights or retraining on local data to ensure the tool remains calibrated to the specific environment.

Evidence from Clinical Failures and Successes

The necessity of this shift is illustrated by the saga of the Epic Sepsis Model (ESM). Originally marketed with an AUC of 0.73–0.83, independent studies later found its performance plummeted to 0.60–0.64 in different clinical settings. This discrepancy eventually led the manufacturer to abandon the "one-size-fits-all" approach in favor of localizing the model to a site’s specific patient mix.

Conversely, the potential of local adaptation was demonstrated during the COVID-19 pandemic. Research indicated that non-specific deterioration models, which initially struggled with the novel virus, could be successfully fine-tuned and made clinically useful using only a few weeks of local pandemic-specific data. Furthermore, large-scale studies testing mortality models across 179 different facilities have confirmed that distribution shifts are a universal phenomenon, necessitating local oversight.

Challenges to Implementation

Transitioning to a recurrent local validation model faces several significant hurdles:

  • Technical Infrastructure: Many hospitals currently lack the MLOps infrastructure required for automated, continuous monitoring and "silent mode" testing.
  • Data Quality: Local validation requires high-quality, accessible historical data at every site, which remains a challenge for many healthcare systems.
  • Regulatory Frameworks: Current regulatory bodies, such as the FDA, are largely designed to evaluate "fixed" medical devices. Moving toward "adaptive" models that change over time requires a fundamental reimagining of how medical software is regulated.
  • Standardization: There is a lack of universal metrics for "population similarity," making it difficult to predict exactly when a model will require retraining.

Conclusion

External validation provides an initial signal of a model's potential, but it cannot guarantee ongoing safety or effectiveness. In the complex, ever-changing world of healthcare, the only way to ensure that AI remains a benefit rather than a liability is through continuous, site-specific monitoring. It is time to move past the myth of the universal model and embrace the reality that in medicine, all models are local.

Summary updated

BibTeX
@misc{youssef2023all,
  author = {Alexey Youssef and Michael J. Pencina and Anshul Thakur and Tingting Zhu and David A. Clifton and Nigam H. Shah},
  title = {{All models are local: time to replace external validation with recurrent local validation}},
  year = {2023},
  eprint = {2305.03219},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.03219},
}
Figure