Sub topic 3
The Four Families of Retraining Triggers
Assume you know the basic machine learning workflow: train a model, validate it, test it, and deploy it. You should also understand batch or online serving, Python basics, and the role of version control in CI/CD.
A retraining trigger is a condition that asks a pipeline to create a new model candidate. The trigger does not automatically prove that retraining will help. It starts a controlled process that should validate data, train a challenger, compare it with the current champion, and promote it only when it passes the evaluation gate.
The four trigger families
Most production systems use four families of triggers:
| Trigger family | Main question | Typical signal |
|---|---|---|
| Schedule | Has enough time passed? | Weekly or monthly calendar |
| Performance | Has model quality fallen? | Recent labeled-set metric |
| Data drift | Have inputs or predictions changed? | PSI, KS test, or distribution checks |
| Data volume | Is enough new data available? | Number of new eligible rows |
Schedule triggers are time-based. A weekly trigger is simple and predictable. It works well when the environment changes regularly or when labels arrive slowly. However, it can waste compute when the data is stable.
Performance triggers use observed outcomes. For example, a fraud model might retrain when its recent recall falls below 0.75. This trigger is often the closest to business impact, but it requires labels. Labels may arrive days or weeks after predictions, so the trigger can react late.
Data-drift triggers detect a change in the distribution of inputs or predictions. A distribution is the way values are spread across possible values. For example, a loan model may see a new income distribution after economic conditions change. Drift is a warning signal, not proof of worse accuracy. The relationship between inputs and outcomes may remain useful.
Data-volume triggers wait until enough new, eligible examples exist. A new row is eligible only when it passes data checks and, when needed, has a trusted label. Training on a very small batch can cause noise or overfitting, so a minimum volume protects the pipeline.
Choosing and combining triggers
The families answer different questions. A schedule provides regular maintenance. Performance measures actual results. Drift detects changed conditions before labels are available. Volume ensures that retraining has enough evidence.
A practical policy combines them instead of trusting one signal:
- Run at most once per week.
- Start when performance falls below its target.
- Start when drift exceeds its threshold and at least 50,000 new rows are available.
- Start when the model reaches its maximum age.
- Require data validation and an evaluation gate before promotion.
Exercise
A model has stable accuracy, but its input distribution has changed. Which trigger family can detect this before new labels arrive, and what limitation does it have?
Show answer
A data-drift trigger can detect the changed input distribution. It is only a warning because drift alone does not prove that model performance has declined.