Skip to content
mentoor

Topic 5 of 5 · 4 min read

Change control for model and prompt updates

Goal: Write a change-control checklist that gates a model upgrade on regression evals and named sign-off.

Treat a model version, a prompt template and a tool definition as released artefacts: pin them, change them only through a recorded process, and gate every change on regression evals and a named approver. In a regulated product, "we improved the prompt" is a change to a validated system.

Check yourself · 1 of 3

Which model setting is best for a validated regulated feature?

Choose one answer

Why it matters

You validated the feature against one model and one prompt. A provider retiring a model, a new default version or a small prompt tweak can change behaviour on the cases that matter most, such as rare conditions or unusual contracts. Without change control you cannot say which version produced which output, and you cannot show that the current version was ever tested.

Regulators expect planned change. FDA's good machine learning practice principles ask for monitoring of deployed models. For AI-enabled devices, a predetermined change control plan lets a manufacturer describe in advance which modifications it will make and how it will test them.

How to do it

  1. Pin versions. Call a dated model version, never an alias like "latest". Keep the prompt template, retrieval settings and tool schemas in version control with ids.
  2. Define what counts as a change. Model swap, prompt edit, new tool, new data source, changed parameters, new chunking. Each goes through the same path.
  3. Write the plan in advance. For each change type: the eval set to run, the pass thresholds, and who approves. Include safety-critical slices, not only the average score.
  4. Run the regression evals on the candidate and compare against the current version on the same cases. Keep the results with the change.
  5. Get named sign-off from the owner of the feature, plus quality or compliance where the classification requires it.
  6. Release gradually and watch. Roll out to a small share, monitor the same metrics, and keep the old version ready for rollback.
  7. Update the record. The audit log and the validation file now point to the new version.

Before and after

Weak: "Switched to the newer model, answers look better." Fixed: "Candidate model-2026-11-02 vs current model-2026-06-20: 400 cases, 0 regressions on the 60 safety cases, citation accuracy not lower, approved by the feature owner and the quality lead, rollout 10 percent first."

What goes wrong

  • Silent alias drift. The provider moves "latest" and behaviour changes with no release.
  • Average-only evals. The mean improves while a rare, critical slice gets worse.
  • Paperwork after the fact. Sign-off happens once the new version is already live.

Examples

A provider retires a model

The provider announces a retirement date for the pinned model. The team schedules the same change process as any upgrade: run the regression set on the successor, review the slices that dropped, adjust the prompt, get sign-off, and roll out ahead of the retirement date, not on it.

A one-line prompt edit

A developer adds "be concise" to the system prompt. Summaries get shorter, and the eval shows the allergy field is now omitted in several cases. The average score barely moves. The slice report catches it because allergies were listed as a safety-critical slice.

Key points

  • Pin dated model versions and keep prompts, retrieval settings and tool schemas under version control.
  • Define every change type up front: model, prompt, tool, data source, parameters.
  • Gate each change on regression evals against the current version, with safety-critical slices reported on their own.
  • Get named sign-off before release, not after, and keep results with the change record.
  • Roll out gradually with monitoring and a ready rollback to the previous version.

Common mistakes

  • Calling a floating alias instead of a pinned version.
  • Treating prompt edits as small enough to skip testing.
  • Judging a candidate by its average score alone.
  • Collecting sign-off after deployment.

Check yourself · 2 of 3

Which of these changes goes through change control?

Choose one answer

Check yourself · 3 of 3

A candidate model raises the average eval score but fails a few dosing cases. What should the team do?

Choose one answer

Practice items, not counted towards your mastery.

Start here

Where to go in your country