Illustrative
Illustrative. Rheinhalt Pharma is an invented organisation. No finding, figure or person here describes a real one.
What this paper settles
Rheinhalt validates every computerised system in a regulated process. That discipline was not in question. The question was how a language model fits it, when the supplier can change the model and the model can answer the same question two ways.
Patient safety and quality assurance agreed the answer below in weeks 4 to 9. Both have signed this version. It applies to High-tier AI systems in regulated processes. Medium and Low tiers use a shorter form, set out at the end.
Three principles
- The validated thing is a configuration. A model version, a prompt version, the sampling settings, the product dictionary and the application version, together. Change any one and it is a different configuration.
- Evidence belongs to a configuration. A test result is filed against the configuration it was run on. A result with no configuration recorded is not evidence.
- A supplier's change is our change. If the supplier alters the model, Rheinhalt raises the change, runs the tests and approves the result, before the new version serves a real case.
How the gates sit on the validation lifecycle
| Validation step, as Rheinhalt already runs it | Gate | What is added for a model | Evidence filed | Signs |
|---|---|---|---|---|
| User requirements and intended use | Before Gate 1 | The purpose statement names each phase of autonomy separately. Thresholds are written and dated here | Requirements, purpose statement, dated criteria table | System owner, quality assurance |
| Risk assessment | Before Gate 1 | Each risk maps to a test or is listed as untested | Risk assessment with test references | System owner |
| Supplier assessment | Gate 1 | Notice of model changes, access to version identifiers, and the right to pin a version | Supplier assessment, contract clauses | Procurement, quality assurance |
| Test data qualification | Gate 1 | Reference set double-coded by physicians and fixed by hash. One set per language in scope | Data quality audit record | Data owner |
| Functional testing | Gate 2 | Scorecard on the reference set, by language. Challenge set owned outside the product team | Evaluation scorecard, defect log | Validation lead |
| User acceptance | Gate 3 | Review exercise with seeded errors. Return to manual intake rehearsed | Exercise record, rehearsal record | System owner |
| Release approval | Gate 3 | Monitoring thresholds, alert routes and owners in place. Configuration pinned | Gate record, configuration record | AI governance forum |
| Periodic review | Gate 4, then quarterly | Production results against the scorecard. Seeded exercise repeated | Quarterly quality report | System owner, quality assurance |
Nothing in the left-hand column is new. The fourth column is where the additions are filed, in the same evidence repository as every other validation record.
What counts as a change
| Change | Who raises it | Tests re-run before it takes effect | Approves |
|---|---|---|---|
| Model version, by Rheinhalt or by the supplier | Product owner | Reference set, challenge set, five-run stability | Quality assurance. The forum if any mandatory threshold moves by more than half a point |
| Prompt wording | Product owner | Reference set, challenge set | Quality assurance |
| Sampling settings | Product owner | Five-run stability, reference set | Quality assurance |
| Product dictionary update | Safety Systems Lead | The cases in the reference set that name an affected product | System owner |
| A language added | System owner | A new reference set for that language, then everything above | AI governance forum, through Gate 3 |
| A phase of autonomy added, such as unattended processing | System owner | A new risk assessment and all four gates | AI governance forum |
| Review screen or second-check rules | Head of Outsourced Operations | Review exercise with seeded errors | System owner |
An emergency change by the supplier, such as a security fix it will not delay, is handled as a deviation: the system returns to manual intake for the languages affected until the tests have run.
The test packs
| Pack | Size | Owned by | Run when |
|---|---|---|---|
| Reference set | 1,200 cases, five languages, fixed by hash | Safety physicians | Every change above, and each quarter |
| Challenge set | 300 cases in seven groups | Quality assurance, with two safety physicians | Every model or prompt change. Twenty new cases added each quarter |
| Stability run | 200 cases, five runs | Product team | Every model, prompt or settings change |
| Review exercise | 300 cases, 30 seeded | Head of Outsourced Operations, observed by quality assurance | Before launch, each quarter, and after any change to the review screen |
The product team may run any pack at any time. A run counts as evidence only when the configuration is recorded and someone outside the team has observed it or re-performed a sample.
Thresholds for Intake Assist, phase one
| Attribute | Threshold | Mandatory? |
|---|---|---|
| Recall on serious cases, each language in scope | At least 98.0% | Yes |
| Valid cases marked invalid | At most 0.5% | Yes |
| Narratives naming a product not in the source | None | Yes |
| Seeded wrong labels corrected in review | At least 27 of 30 | Yes |
| Hidden instructions that change seriousness | None of 40 | Yes |
| Label changes across five runs | At most 1.0% | No |
| Coded terms, first suggestion agrees | At least 80.0% | No |
These are the tolerances of the QPPV and the system owner, fixed on the date beside their signatures. They are not standards, and another company would set its own.
Medium and Low tier
| Tier | Gates | Approver |
|---|---|---|
| High | All four, as above | AI governance forum |
| Medium | Gates 2 and 3 on a shortened checklist, and a review at 30 days | Risk lead and system owner |
| Low | Intake form and a pinned configuration | System owner |
What this paper does not settle
- Whether a regulator will accept this approach. It follows Rheinhalt's existing validation procedure and adds to it. Nobody has inspected it.
- How to validate a model that learns in production. Intake Assist does not, and the criteria assume a fixed version.
- The other AI systems in regulated processes. The criteria were written on one system. The literature screening classifier is next, and we expect it to change them.