shiftwatch: open, unit-tested distribution-shift detection for monitoring medical AI after deployment, with dental and retinal demonstrations (technical note, v1.0.0)
Abstract
Technical note (4 pages) for shiftwatch v1.0.0, an open-source Python package and command-line tool for detecting distribution shifts between validation data and post-deployment data of medical AI models: multiple univariate Kolmogorov-Smirnov tests (MUKS), kernel maximum mean discrepancy (MMD) with an exact permutation test, and a classifier two-sample test (C2ST); shift simulators, detection-power curves, a batch monitor and subgroup performance tables. Demonstrations on public data: an oral-health questionnaire model on NHANES 2009-2014 and an image model on RetinaMNIST. Independent implementation following the study design of Koch, Baumgartner and Berens (npj Digital Medicine 2024). Research and education use only; not a medical device.
// Source
Authors: Hossein Boustani Hezarani