MLOps
Continuous Training and Retraining Policy
Design trigger, qualification, approval, deployment, and retirement policies for recurring model updates.
By the end you can
- Distinguish scheduled, event-triggered, and evidence-triggered retraining
- Design retraining gates that prevent degraded data from producing automatic releases
- Separate retraining, recalibration, threshold changes, and policy updates
- Control feedback loops, label delay, test wear-out, and model churn
Freshness is not the same as improvement
A demand model retrains every night to remain current. A source outage leaves one category underrepresented. The pipeline still qualifies and deploys the candidate because the job completed and the aggregate metric remains acceptable.
Continuous training should automate how evidence is gathered and candidates built, not assume that newer is better. That is not only an engineering opinion. On 27 October 2021 the FDA, Health Canada and the UK Medicines and Healthcare products Regulatory Agency jointly issued guiding principles for machine learning in medical devices. Principle 10 is titled “Deployed models are monitored for performance and retraining risks are managed”. It does not describe training after deployment as an upgrade. It describes it as an exposure to be controlled: “Additionally, when models are periodically or continually trained after deployment, there are appropriate controls in place to manage risks of overfitting, unintended bias, or degradation of the model (for example, dataset drift) that may impact the safety and performance of the model as it is used by the Human-AI team.”
Read the nightly pipeline against that sentence. The periodic training is there. So is the degradation it names: an unrepresentative category, arriving through the data source rather than the code. What is missing is the control. A job that completed and an aggregate metric that stayed acceptable are the two things a degraded candidate produces without effort.
Visual
The continuous-training decision loop
A safe loop separates observation, candidate creation, qualification, and release. Observe data quality, drift, labels, outcomes, incidents and business change. Decide whether to train, under a trigger policy with cooldown, minimum evidence and owner review. Build the candidate with data, code, configuration, environment and evaluation plan frozen. Qualify against baseline, slices, cost, stability and the operational contract. Then promote progressively, retain the current model, or change a different component.
The separation exists so that each stage can refuse something the previous stage produced. A stage that cannot reject its input is not a stage. It is a conveyor with a name.
- 1
Observe
Collect data quality, drift, labels, outcomes, incidents, and business change.
- 2
Decide whether to train
Apply trigger policy, cooldown, minimum evidence, and owner review.
- 3
Build candidate
Freeze data, code, configuration, environment, and evaluation plan.
- 4
Qualify
Compare against baseline, slices, cost, stability, and operational contract.
- 5
Release or reject
Promote progressively, retain the current model, or change another component.
The trigger should match the reason for change
Scheduled retraining is simple and can capture predictable seasonality. Event triggers respond to new labels, source changes, or policy events. Evidence triggers react to measured deterioration, drift, or opportunity.
These triggers create candidates, not automatic truth. Qualification must check data validity, comparison fairness, operational readiness, and whether a smaller intervention — recalibration or a threshold update — would address the issue.
The line between a change you declared in advance and one you improvised is no longer only an engineering preference. Article 43(4) of Regulation (EU) 2024/1689, the EU AI Act, provides: “For high-risk AI systems that continue to learn after being placed on the market or put into service, changes to the high-risk AI system and its performance that have been pre-determined by the provider at the moment of the initial conformity assessment and are part of the information contained in the technical documentation referred to in point 2(f) of Annex IV, shall not constitute a substantial modification.”
Run that backwards and it is a specification for a trigger policy. Retraining whose scope the provider wrote into the technical documentation under point 2(f) of Annex IV, before the initial conformity assessment, sits inside the assessment already made. Retraining outside that written scope is a substantial modification. The scope has to exist as text, before deployment. An undocumented nightly job has no such text. Its trigger was never declared, so every candidate it ships is justified after the fact by its own result.
Example
Retraining learns from its own selective labels
A pretrial release decision leaves a hole in the data. You learn what happened to the defendants a judge released. You learn nothing about the ones the judge detained. Kleinberg and four co-authors met that hole in a file of 1,460,462 New York City arrest cases covering 1 November 2008 to 1 November 2013, of which 758,027 — the cases subject to a pretrial release decision — formed the analysis sample. They stated the obstacle in one sentence: “We only observe crime outcomes for released defendants, not for those judges detained.” A loop that retrains on outcomes inherits whatever the incumbent policy allowed to happen.
- Selective outcome: The label exists only where the incumbent policy acted. In the 2018 Quarterly Journal of Economics study, crime outcomes exist for released defendants and for nobody the judges detained. The detained population supplies features and no target at all.
- Policy feedback: The active model determines which labels later exist, and the effect has been measured in a live deployment. Lum and Isaac simulated PredPol on Oakland police data, in Significance in October 2016, and found that black people would be targeted at roughly twice the rate of whites: “Rather than correcting for the apparent biases in the police data, the model reinforces these biases. The locations that are flagged for targeted policing are those that were, by our estimates, already over-represented in the historical police data.”
- Automated retraining: New candidates train on the increasingly selected population. The loop is self-reinforcing by construction rather than by accident. Ensign and four co-authors proved the mechanism formally in 2018: data made of discovered incidents sends police back to the same neighbourhoods regardless of the true crime rate.
- Apparent stability: Offline metrics improve because the difficult unseen cases disappear from the data the loop is allowed to see. That is why the arrest-file study had to simulate a policy rather than read an improvement off a held-out set. Its published simulation reports crime reductions of up to 24.7% with no change in jailing rates, or jailing-rate reductions of up to 41.9% with no increase in crime. The earlier NBER working paper, in February 2017, gave 24.8% and 42.0%.
- Required control: Preserve exploration, external data, causal assumptions, or explicit limits on what can be learned. The counterfactual is not in the labels. It has to be supplied from outside the loop or bounded by policy, because no amount of retraining on the observed population will reconstruct it.
Steps
Write a retraining policy
The policy should define when to create a candidate and when not to deploy it. Define the trigger evidence: schedules, label volume, drift, performance, incidents, domain events. Set guardrails: data quality, cooldown, minimum coverage, feedback-loop review. Choose the intervention: retrain, recalibrate, change policy, repair data, or do nothing. Qualify fairly against controlled baselines, with fresh evaluation, slices, stability and cost. Release with churn control: progressive exposure, rollback, monitoring and minimum-improvement rules.
Those five steps have a published counterpart. In October 2023 the FDA, Health Canada and the MHRA jointly set out five principles for predetermined change control plans — Focused and Bounded, Risk-based, Evidence-Based, Transparent, and Total Product Lifecycle Perspective — and the document states that these five draw in particular on principle 10, the monitoring-and-retraining principle this lesson opened with. The first of the five turns the last step above from a recommendation into a requirement. A focused and bounded plan means “plans in place to safely modify the device within the bounds of the PCCP, including methods for verifying and validating the changes and mechanisms to detect and revert or stop implementation of a change that fails to meet specified performance criteria” — Guiding Principle 1, “Focused and Bounded”.
Progressive exposure and rollback are the engineering names for a detect-and-revert mechanism. The regulators' formulation adds the part teams skip. The mechanism has to be part of the plan, in advance. Otherwise the change was never bounded in the first place.
1. Define trigger evidence
Specify schedules, label volume, drift, performance, incidents, or domain events.
2. Set guardrails
Require data quality, cooldown, minimum coverage, and feedback-loop review.
3. Choose the intervention
Retrain, recalibrate, change policy, repair data, or do nothing.
4. Qualify fairly
Use controlled baselines, fresh evaluation, slices, stability, and cost.
5. Release with churn control
Apply progressive exposure, rollback, monitoring, and minimum improvement rules.
Comparison
Four update mechanisms should not be conflated
The smallest adequate intervention can reduce risk and cost, and the four are not interchangeable. Retraining updates learned parameters from a new training dataset. It addresses representation or conditional changes, requires full qualification, and can introduce model churn. Recalibration adjusts the probability mapping while preserving ranking behavior. It targets calibration drift, needs recent representative labels, is usually cheaper, and does not fix missing features. A threshold or policy update changes the action rule applied to model outputs. It responds to cost or capacity changes, must be versioned independently, can alter fairness and workload, and does not improve the model score. Data or feature repair corrects source, label, or transformation defects. It may restore the current model, is often safer than retraining on bad data, and requires backfill and impact analysis.
The fourth column has the best-documented case. A commercial algorithm ranked patients for extra care, and at the 97th percentile of risk score Black patients had 26.3% more chronic illnesses than White patients — 4.8 versus 3.8 distinct conditions, P<0.001. Removing the disparity would raise the share of Black patients receiving extra help from 17.7% to 46.5%. That measurement appeared in Science on 25 October 2019. The defect was in what the model had been asked to predict. Obermeyer and three co-authors kept the same sample, the same predictors and the same training process, and changed the target: “Rather than future cost, we created an index variable that combined health prediction with cost prediction. This approach reduced the number of excess active chronic conditions in Blacks, conditional on risk score, to 7758, an 84% reduction in bias.”
No retraining schedule would have found that. Refitting parameters on the old label, nightly and forever, reproduces the bias every night with a fresh timestamp on it. And the cost of not intervening is on the record. The same day, the New York State Department of Financial Services and Department of Health wrote jointly to UnitedHealth Group about the same algorithm, Optum's Impact Pro.
Retraining
Update learned parameters from a new training dataset.
- Addresses representation or conditional changes
- Requires full qualification
- Can introduce model churn
- Use when evidence supports parameter change
Recalibration
Adjust probability mapping while preserving ranking behavior.
- Targets calibration drift
- Needs recent representative labels
- Usually cheaper than retraining
- Does not fix missing features
Threshold or policy update
Change the action rule applied to model outputs.
- Responds to cost or capacity changes
- Must be versioned independently
- Can alter fairness and workload
- Does not improve the model score
Data or feature repair
Correct source, label, or transformation defects.
- May restore the current model
- Often safer than retraining on bad data
- Requires backfill and impact analysis
- Use when the evidence pipeline is wrong
Key idea
Repeated qualification can wear out the test
If every daily candidate is evaluated against the same fixed test set, and teams tune the pipeline on those results, the test becomes part of development. Reported generalization can drift optimistic without any explicit data leak.
Use rotating or prospective evaluation, nested governance, hidden challenge sets, or periodic external validation according to consequence.
Recht and three co-authors tested that risk in 2019. They built new test sets “by closely following the original dataset creation processes” for CIFAR-10 and ImageNet, and they “find accuracy drops of 3% - 15% on CIFAR-10 and 11% - 14% on ImageNet”. Their own reading matters, and it does not flatter the story a worried engineer would prefer: “the accuracy drops are not caused by adaptivity, but by the models’ inability to generalize to slightly ‘harder’ images than those found in the original test sets”. Take the measured drop and the authors' explanation together. Either way, a number carried forward from a much-reused test set was not describing the next distribution the model would meet.
Automation can overfit the evaluation process even when the training code never reads the test labels.
“Do nothing” is a valid automated outcome
A mature loop can conclude that the active model remains the safest option. Candidate generation is cheap. Production change, label feedback and operational instability are not.
Track rejected candidates and trigger history, so the team can distinguish genuine deterioration from noisy alarms. A loop with no rejections in its history has not demonstrated that it is careful. It has demonstrated that it cannot decline, which is the same thing as having no qualification stage at all. Detect-and-revert, in the sense the 2023 guiding principles require, presupposes that stopping a change is one of the outcomes the system knows how to produce.
Case
A holdout set that survives being reused
An evaluation holdout can be reused many times and still mean something, if the reuse is protected by arithmetic rather than by good intentions. Dwork and five co-authors published such a mechanism, the reusable holdout, in Science on 7 August 2015. Their premise is the condition every retraining loop satisfies daily: “data analysis is an intrinsically adaptive process, with new analyses generated on the basis of data exploration, as well as the results of previous analyses on the same data”. The existing guarantees of validity assume a procedure fixed before the data are seen. Borrowing “insights from privacy-preserving data analysis”, they “show how to safely reuse a holdout data set many times to validate the results of adaptively chosen analyses”. The safeguard is arithmetic, not discipline. That is what makes it usable by a pipeline that runs while nobody is watching.
Position
Retraining nightly is a way of not deciding when to retrain
Once the schedule exists, the decision stops being taken. It was taken once, by whoever set the cadence, and it is then re-executed every night whatever the evidence says that night. This lesson opens with the argument in miniature. A source outage leaves one category underrepresented. The pipeline qualifies and deploys the candidate anyway, because the job completed and the aggregate metric remained acceptable. Freshness had been read as improvement. Nothing in the machinery was positioned to notice the difference. Principle 10 of the 2021 FDA, Health Canada and MHRA guiding principles names that gap exactly: periodic or continual training after deployment carries risks of overfitting, unintended bias or degradation, and what is required is controls.
A schedule is not useless. It is simple, and it can capture predictable seasonality. What it cannot do is choose among the interventions, and this lesson lists four: retrain the parameters, recalibrate the probability mapping, change the threshold or policy, or repair the data. A calendar selects retraining every time. That includes the nights when the safest available outcome is to keep the current model. It also includes the nights when the defect is in the label rather than the parameters — which is where changing what the model was asked to predict achieved an 84% reduction in bias, with the sample, the predictors and the training process left alone.
One regulator has already made the alternative binding. On 4 December 2024 the FDA announced in the Federal Register the availability of its final guidance on predetermined change control plans for AI-enabled device software functions: “This guidance recommends that a PCCP describe the planned AI-DSF modifications, the associated methodology to develop, validate, and implement those modifications, and an assessment of the impact of those modifications.” FDA reviews that plan as part of the marketing submission, and each modification described in it can then be implemented without an additional marketing submission. Notice the order. The judgement is exercised once, in advance, in writing — which changes are permitted, how they will be qualified, what their impact is expected to be — and what is automated afterwards is the execution. A nightly cadence has the same shape and none of the content. It also decides once and repeats, but the only thing it decided was the frequency. Article 43(4) of the EU AI Act draws the line in the same place, treating pre-determined, documented change as inside the existing conformity assessment and anything else as a substantial modification.
The safeguards around adaptive evaluation are built the same deliberate way. Dwork and five co-authors published a mechanism in Science in August 2015 for reusing one holdout many times under adaptive analysis, borrowed from privacy-preserving analysis, so that the protection is arithmetic rather than good intentions. The direct measurement in this lesson refuses to flatter the case. Recht and three co-authors built new test sets for CIFAR-10 and ImageNet by closely following the original collection procedures, reported “accuracy drops of 3% - 15% on CIFAR-10 and 11% - 14% on ImageNet”, and attributed those drops to harder images rather than to adaptivity. The argument against the calendar does not need that result. It rests on the outage that shipped.
A schedule answers how often. It has never once answered whether.
Key takeaways
- Continuous training should automate candidate creation, not assume automatic promotion. Principle 10 of the FDA, Health Canada and MHRA guiding principles of 27 October 2021 asks for controls against overfitting, unintended bias and degradation whenever models are trained after deployment.
- Scheduled, event and evidence triggers serve different reasons for change. Article 43(4) of the EU AI Act requires the permitted scope to be pre-determined at the initial conformity assessment and documented under point 2(f) of Annex IV rather than settled afterwards.
- Retraining, recalibration, policy changes and data repair are distinct interventions. Replacing future cost with a combined health-and-cost index cut measured bias by 84%, leaving the sample, predictors and training process untouched.
- Selective labels and product feedback can corrupt recurring learning loops. Crime outcomes existed only for released defendants across a file of 1,460,462 New York City arrest cases, and Lum and Isaac found the flagged locations were already over-represented in the historical police data.
- Repeated selection can wear out a fixed test set without direct training leakage. Dwork and five co-authors answered that with a reusable-holdout mechanism, published in Science on 7 August 2015.
- Keeping the current model can be the correct outcome of a mature retraining policy. The October 2023 predetermined change control plan principles require mechanisms to detect and revert or stop a change that fails its specified performance criteria.