AppliedAIPrep logoAppliedAI/Prep
MLOps & ML Engineering / 01
medium★ EssentialDatabricksAmazonMicrosoft

How do you decide when to retrain a production model: on a schedule, or triggered by drift?

The naive answer is 'retrain weekly.' The senior answer is a hybrid: drift-triggered retraining with a max-staleness fallback, plus a gate that a fresh model must beat the incumbent. Here is how to reason about it.

Updated Aug 2026 · Grounded in real Applied AI Engineer interview loops and written to a senior-engineer editorial bar.

TL;DR: Neither pure schedule nor pure trigger. Run a drift detector as the primary signal (retrain when input or prediction distributions shift, or when monitored performance decays), with a maximum-staleness schedule as a fallback so the model never goes stale silently. Every retrain must pass an offline gate and a canary before it replaces the incumbent.

DATA DRIFT (shift the live distribution)
dashed = baseline, solid = livePSI 0.000
The baseline is what the model trained on; the live bars are today's inputs. Population Stability Index measures the gap. Under 0.1 is stable, 0.1 to 0.25 is worth watching, above 0.25 is a real shift. Right now PSI is 0.000 (stable).

How to approach it. Reframe the question to "what should cause a new model to ship," and the honest answer combines triggers, a fallback, and a promotion gate. Separate data drift from concept drift early, because they demand different responses, and ask how fast labels arrive, because label latency decides which signals you can even trust.

A strong answer. A schedule-only policy retrains on the calendar regardless of need: wasteful when nothing changed, and dangerously late when the world shifts mid-cycle. A trigger-only policy can go silent if the detector misses slow decay. So build a hybrid with three parts.

  • Primary: drift and performance triggers. Monitor input feature distributions and the prediction distribution against a reference window (PSI or KS per feature), and where labels arrive, the live metric (AUC, calibration, business KPI). Distinguish data drift (inputs move, e.g. a new traffic source) from concept drift (the input-to-label relationship changes, e.g. fraud patterns evolve). Concept drift is the one that genuinely demands retraining; data drift sometimes just needs recalibration.
  • Fallback: max staleness. A ceiling (say, retrain at least every N weeks) catches slow decay the detector underweights.
  • Promotion gate. A retrained model is a candidate, not a release. It must beat the incumbent on a held-out, time-correct eval set, then survive a shadow or canary on live traffic before promotion. Skip this and an automated retrain on a bad-data day silently ships a worse model.

Label latency shapes everything. If ground truth takes weeks (churn, conversions), you cannot trigger on live accuracy quickly, so input-drift detection and proxy metrics (model confidence, prediction-distribution shift) carry more weight.

rendering diagram…
SignalWhat it meansFirst response
Data driftInputs moved, label relationship intactInvestigate source; recalibrate often suffices
Concept driftInput-to-label mapping changedRetrain on recent labeled data
Slow decay, no triggerDetector underweights itMax-staleness fallback fires

Key takeaways

  • Drift trigger as primary, max-staleness schedule as fallback, never one alone.
  • A retrain is a candidate; promotion requires beating the incumbent offline plus a canary.
  • Concept drift demands retraining; data drift may only need recalibration.
  • Label latency dictates whether you can trust live accuracy or must lean on proxies.

What interviewers probe next.

  • "What exactly do you monitor for drift?" Per-feature PSI/KS against a training reference, prediction-score distribution, and when available the realized metric; alert on sustained shifts, not single-batch noise.
  • "Concept vs data drift response?" Concept drift means retrain on recent labeled data. Data drift means investigate the source first; recalibration or input fixes may suffice without a full retrain.
  • "How do you avoid retraining on a feedback loop?" The model's own outputs influence future data; hold out exploration traffic or use logged-propensity correction so you do not amplify your own bias.
  • "Reproducibility?" Version data, features, code, and model artifacts together (DVC, MLflow, Delta) so any production model can be rebuilt and audited.

Common mistakes.

  • "Retrain weekly" with no trigger and no promotion gate.
  • Triggering on drift but auto-promoting without an offline-beats-incumbent check, so a bad-data day ships a worse model.
  • Conflating data drift and concept drift, and retraining when recalibration was the fix.
  • Ignoring label delay, then claiming you will trigger on live accuracy that arrives weeks too late.
HOW DID IT GO?
0
UP NEXT ON YOUR JOURNEY
DISCUSSION · 0

No comments yet — be the first to share your approach.