LearnQuestion bank

How do you decide how often to retrain, and what safeguards gate an automatically retrained model?

ML engineeringTechnicalMedium

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • Measure decay: backtest performance vs model age; retrain on drift/performance triggers, not a fixed calendar
  • Weigh retraining cost and label latency before committing
  • Gate promotion: data validation (no corrupted data days), offline evaluation vs champion on fixed and recent sets, slice checks
  • Shadow/canary rollout with auto-rollback; promote automatically only when evaluation clears a pre-agreed threshold, otherwise keep the champion and log the failure

In full

I treat retraining as a decision driven by measured decay, not a fixed calendar. I backtest the model’s performance against its age and against recent data, and trigger retraining when drift or performance degrades past a threshold — but only when the cost and label latency are acceptable, since a model retrained on stale or slowly labelled data can be worse than the one it replaces. Before anything ships, the candidate must clear gates: data validation, so a corrupted or partial data day cannot become training data; offline evaluation against the current champion on both fixed historical sets and recent windows; and slice-level checks to catch regressions in subgroups. It then goes through shadow or canary rollout with auto-rollback if live metrics degrade, and it is promoted automatically only when its evaluation clears a pre-agreed threshold over the champion. If any gate fails, the champion stays in place and the failure is logged for review rather than silently overridden.

Corrected by an independent AI reviewer.

What a strong answer covers

  • Measure decay: backtest performance vs model age; drift- or performance-triggered retraining.
  • Cost and label-latency constraints.
  • Gates: data validation, offline evaluation against the current champion on fixed and recent sets, slice checks, shadow or canary, auto-rollback.
  • Promotes an automatically retrained model only when its evaluation clears a predefined threshold.

Common mistakes

  • retraining on a schedule with no comparison to the incumbent
  • retraining on a corrupted data day.