Model drift in clinical AI happens when the inputs a deployed model sees, whether it is a sepsis predictor or a readmission score, no longer match the snapshot it was tested on. Detection is a log and a review against lines written before go-live. It is never a silent retrain.
Written for digital health founders and hospital CTOs running clinical models in production, it covers the kinds of drift, the baseline, review lines, outcome delay, false alarms, the review itself and who decides.
How do you detect model drift in clinical AI?
You detect model drift in clinical AI by logging the live input and score distributions against the training snapshot and opening a review when a line written before go-live is crossed. Agnotic Technologies never silent-retrains. A sepsis predictor is one example; any clinical model with a pinned snapshot can be monitored this way.
Watching a deployed clinical model?
We compare live inputs to the training snapshot and open a review when the line you wrote is crossed. We do not silent-retrain.
FDA, Health Canada, and MHRA GMLP principle 10 states that deployed models are monitored for performance and that re-training risks are managed, including dataset drift that may impact safety and performance.
- Baseline: the snapshot id the model card names.
- Live log: input counts and missingness, not PHI in the ops stream.
- Line: a difference the owner wrote before go-live. Not a number invented after the fact.
- Action: review. Retrain is a new promotion through the eval gate, not an automatic swap.
FDA's PCCP marketing submission guidance says that if predefined acceptance criteria for a modification are not met, the failure is recorded and that modification is not implemented.
What are the common mistakes in clinical model drift detection?
The common mistakes are letting detection switch the endpoint, moving the line after a bad week, and logging identifiers that turn the monitor into a second chart. Agnotic pages the owner and leaves the current version serving until a new version passes the gate.
- Do not silent-retrain.
- Do not lower the line after a bad week.
- Do not log identifiers that turn the monitor into a second chart.
- Do not report accuracy for a window whose outcomes are still being charted.
- Do not blame the population before checking the interface change log.
Which kinds of drift can a monitor see, and when?
A monitor sees changes in the inputs and the scores straight away, but changes in accuracy only after outcomes are recorded. That gap decides how the monitoring is built.
- Input shift: a feature's distribution moves away from the snapshot.
- Missingness shift: a feature that was usually present starts arriving empty.
- Score shift: the share of high scores changes even though the model has not.
- Performance shift: predictions stop matching outcomes, visible only once outcomes are charted.
Agnotic runs two loops: a fast one on inputs and scores, and a slower one that joins predictions to outcomes once those exist.
What should the drift baseline contain?
The baseline should contain summary statistics for each input and for the score, computed on the pinned snapshot and stored with its id. It should not contain patient-level rows.
- Numeric inputs: binned distributions and missing rates.
- Coded inputs: the frequency of each code, plus a bucket for codes not seen in training.
- Score: the distribution of model output on the snapshot.
- Context: snapshot id, code-set versions and the date the baseline was computed.
Agnotic also computes the baseline per site and per subgroup the model card names. A shift that only appears at one site disappears in a pooled view, and it is often the first sign of an upstream change.
How should the review line be written?
The review line should be written by the model owner before go-live, per input, as a named statistic, a window and a minimum count. A line that only appears after an alarm is an opinion.
- Statistic: a distance measure the team understands, such as a population stability index or a two-sample test.
- Window: the period of live data compared with the baseline.
- Minimum count: below this volume the comparison is skipped, so a quiet weekend does not page anyone.
- Change rule: moving a line is a reviewed change with a written reason, never an edit after a noisy week.
The owner also writes down what each line is for. A line on an input the score leans on heavily can page someone, while a line on a minor input can wait for the routine review.
When does outcome data arrive, and what does that change?
Outcome data arrives late, sometimes long after the prediction, so performance can only be checked for predictions whose outcomes are known. The monitor must not report accuracy for a window that is still filling.
- Label delay: written down per model, based on when the outcome is reliably charted.
- Performance window: closed only after that delay has passed.
- Report: performance by window, alongside the input shift seen in the same window.
- Missing outcomes: patients transferred or lost to follow-up are counted, not dropped, so the performance view is not quietly skewed.
Input drift with stable performance is a reason to watch. Input drift with falling performance is a reason to open a new version through the eval gate.
Which upstream changes cause false drift alarms?
Many drift alarms come from upstream changes rather than from patients: an interface update, a code remap, a new lab analyser or a new site. Check the data path before concluding that the population changed.
- Interface update: a field moves and arrives empty.
- Code remap: a local lab code is replaced, so the feature looks missing.
- Unit change: a new analyser reports in different units.
- New site: a hospital joins with a different patient mix and different documentation habits.
Agnotic asks the integration team for its change log and checks it first in every review.
What happens during a drift review?
A drift review confirms whether the change is real, decides whether it matters clinically and records the decision. The monitor opens the review; people close it.
Under their transparency principle, the FDA, Health Canada and MHRA PCCP guiding principles list monitoring, detection, and response to deviations in device performance as information that keeps stakeholders aware of performance before and after changes.
- Step 1, confirm: rule out pipeline faults using the integration change log.
- Step 2, locate: find which inputs, sites or subgroups moved.
- Step 3, judge: the clinical owner decides whether outputs are still fit for the intended use.
- Step 4, act: no action, a note to users, a pause the clinical owner decides on, or a new version through the gate.
The review record keeps the evidence for each step: the charts examined, the change log entries checked and the decision with its reason. A later reviewer should reach the same conclusion from the record alone.
A worked example: a lab code change after an interface update
A worked example: a deployed deterioration score uses a recent lactate value. After an interface update at one hospital, the monitor shows lactate missingness rising there while other sites stay flat.
The review checks the integration change log and finds the hospital now sends a new local lab code that the feature pipeline does not map. The model is not wrong. It is simply not receiving the input.
The integration team adds the mapping, the missing rate returns to its baseline range, and the review records the cause. No retrain happens, because the population did not change.
Who receives the alert, and who decides?
The alert goes to the model owner and the data engineer on call. The clinical owner decides whether the model keeps serving, because that is a clinical judgement rather than an engineering one.
- Data engineer: checks the pipeline and the integration change log.
- Model owner: analyses which inputs moved and whether performance followed.
- Clinical owner: decides on notes, pauses or a new version.
- Integration team: fixes upstream faults the review finds.
How is the monitor itself kept honest?
Test the monitor with synthetic data that carries a known shift, and watch for the monitor going quiet. A monitor that has stopped receiving data looks exactly like a model with no drift.
- Injected shift: a scheduled synthetic run with a deliberate change must open a test review.
- Heartbeat: an alert fires when the monitor receives no data for longer than the owner allows.
- Line history: every change to a line sits in version control with its reason.
Agnotic also checks that the monitor reads the same feature code the model serves with. A monitor that computes inputs its own way can report drift the model never sees, or miss drift it does see.
How should clinicians hear about drift?
Clinicians who use the score should hear about drift only when it changes what they should do with the output, and then in plain language from the clinical owner. A raw drift statistic means little at the bedside.
- No change in use: no message. The review record is enough.
- Known gap: a short note, such as a warning that results at one site may be less reliable until a data fix ships.
- Pause: the score is hidden or marked unavailable, with a reason and a contact.
- New version: users are told what changed when the promoted version goes live.
Agnotic keeps the wording of each notice with the review, so the message and the evidence behind it stay together.
How do you know drift monitoring is working?
Drift monitoring is working when every alert ends in a recorded decision, injected test shifts are caught, and no line has moved without a reason. Those are checks on the review record, not on the model.
- Every review has a cause, a decision and a named decider.
- Every injected test shift was detected.
- No line changed without a merged change and a written reason.
- No model version changed without passing the eval gate.
How does Agnotic watch the model?
Agnotic builds the monitor for the client: the baseline per site and subgroup, the review lines the owner writes, the two loops for inputs and outcomes, the heartbeat, and the injected test shifts that keep the monitor honest.
Log, line, review. No silent swap.
GMLP asks for monitoring. The detection loop works for any clinical model.
Related reading on Agnotic
The term in the glossary, utility metrics, the promotion gate and the model registry.


