Pharma · · 9 min read
How to evaluate AI for protocol deviations in clinical trials
Acumen Editorial · Updated November 27, 2026
To evaluate AI for protocol deviations in clinical trials, test whether it flags and classifies deviations the way your senior clinical quality reviewers would. Build a labeled set from past studies, set the reference with two or more adjudicated experts, measure recall on important deviations first, and keep humans accountable for every final call.
Deviation review is slow, repetitive and inconsistent. Sites describe the same event in different words, monitors log it in free text, and two reviewers can classify it differently. That makes it a natural target for language models. It also makes evaluation hard, because the reference labels are themselves judgment calls.
What counts as a protocol deviation in clinical trials?
FDA's December 2024 draft guidance, "Protocol Deviations for Clinical Investigations of Drugs, Biological Products, and Devices," adopts the ICH E3(R1) definition: any change, divergence or departure from the procedures, requirements or study design in the protocol (ACRP). It singles out important protocol deviations, the subset that might significantly affect data completeness, accuracy or reliability, or a participant's rights, safety or well-being.
Most deviations are unintentional and turn up during monitoring, such as a missed visit or an assessment that was not completed (ACRP). The guidance pushes sponsors toward clearer, risk-based assessment, categorization and reporting. As of ACRP's March 2026 review, it was still a draft.
For AI, that definition sets the task. The tool is not just spotting deviations. It is deciding which ones are important, and for which reason.
What does the evidence say about AI deviation review?
There is little published evidence, and the best study shows both the promise and the limits. In Therapeutic Innovation & Regulatory Science (2025), a Roche team used Llama 2 to label free-text deviation descriptions from phase II and III solid tumor studies as likely, possibly or not affecting disease progression assessment.
- Reference standard: two senior quality leads reviewed each of 309 deviations independently, then reconciled differences.
- Best result: 85.44% recall and 49.44% precision. The team chose recall over precision so experts would see more candidates.
- Speed: the model processed the set in about two minutes. The manual baseline took about 1.5 working days.
- Human noise: the two experts disagreed about 20% of the time, with 5–10% inconsistency within the same reviewer.
The authors describe the model as decision support, with quality staff accountable for final decisions. They also flag open questions on prompt sensitivity, larger datasets and GxP validation. That is the right frame for any buyer.
Which deviation tasks need different evaluations?
Split the workflow and test each step on its own. A tool can be good at extraction and poor at judgment.
| Task | What the AI does | Who sets the reference | Main metric | Hard fail example |
|---|---|---|---|---|
| Detection | Finds deviations in EDC, visit data and monitoring notes | CRAs and clinical data managers | Recall on known deviations | Missing a dosing error |
| Classification | Labels important vs. not important | Senior clinical quality reviewers | Recall on important deviations | Calling an eligibility violation minor |
| Impact tagging | Links a deviation to safety, consent or endpoints | Medical monitors, statisticians | Agreement with adjudicated tags | Missing endpoint impact |
| Trending | Groups deviations by site, category, study | Clinical operations leads | Correct grouping, stable counts | Hiding a site-level pattern |
| Narrative drafting | Writes deviation summaries for reports | Medical writers, QA | Factual accuracy | Inventing a corrective action |
How do you build a protocol deviation test set?
Use your own history. Past studies already hold thousands of logged deviations with final classifications.
- Sample across studies. Mix therapeutic areas, phases and sponsors' protocol templates. A model tuned on oncology language may stumble on rare disease visit schedules.
- Keep the raw text. Test on what sites and monitors actually wrote, including terse and messy entries. Sparse descriptions were a limit in the Roche study.
- Re-adjudicate the reference. Historical labels drift with reviewer and SOP. Have two senior reviewers relabel a sample blind and resolve disagreements.
- Oversample important deviations. They are a minority. Without oversampling you cannot measure misses with any confidence.
- Lock the protocol context. Give the model the protocol version in force at the time, not the latest amendment.
Our guide to AI in clinical data management covers related data quality checks.
How should reviewers grade AI deviation outputs?
Grade blind, with at least two qualified reviewers, and report their agreement next to the model's scores. If your experts disagree 20% of the time, a model that matches one of them 80% of the time may be doing as well as a human. Our piece on inter-rater reliability in medical AI shows how to report this.
Score each output on four questions:
- Did it find the deviation?
- Is the importance call correct against the adjudicated reference?
- Is the stated reason correct (safety, consent, data reliability)?
- Is the explanation accurate to the source record, with nothing invented?
What counts as a hard fail?
A hard fail is a miss or error that would change what reaches regulators or what happens to a participant.
Protocol deviation AI hard-fail checklist
- An important deviation classified as not important
- A consent or eligibility violation missed
- A safety-relevant dosing or visit error missed
- An explanation that cites facts not in the record
- A site-level pattern hidden by inconsistent grouping
- Different answers on the same input across runs, with no flag
How do you validate it before go-live?
Run the tool beside your current process on live studies, without letting its output replace human decisions. Compare every disagreement and log the cause. Set acceptance criteria in advance: recall on important deviations, hard-fail ceiling, run-to-run consistency and reviewer time saved.
Treat the model as a computerized system in a GxP process. Document intended use, version, prompts and test results, and re-test after any model or prompt change. Our guides to GxP AI validation and AI in clinical operations cover the wider controls.
What should you ask a protocol deviation AI vendor?
Vendor demos tend to show clean examples. Ask for evidence on your kind of data.
- Who labeled the reference set? Ask for reviewer roles, years in clinical quality and how disagreements were resolved.
- What was reviewer agreement? Without it, an accuracy figure has no baseline.
- How does recall hold on important deviations? Overall accuracy can hide misses in the category that matters most.
- Does it read raw site text? Many tools are tested on cleaned summaries, not the notes monitors actually write.
- How does it handle protocol amendments? The right answer depends on the version in force on the visit date.
- Is output stable across runs? Ask for repeat-run results on the same inputs.
- What changes ship without notice? A new model or prompt version can shift results. Ask how you will be told, and what re-testing they support.
The answers tell you how much of the validation you will have to do yourself.
How Acumen helps
We build expert-labeled evaluation sets for clinical development AI. Our clinical research associates, clinical quality reviewers and medical monitors relabel deviations blind, adjudicate disagreements, grade model outputs and document reviewer agreement for audit. See our medical affairs and regulatory data service.
For related reading, see our guides to AI clinical protocol design, AI for clinical study reports and AI model change control in pharma.
FAQ
What are protocol deviations in clinical trials?
A protocol deviation is any change, divergence or departure from the procedures, requirements or study design in the protocol. FDA's December 2024 draft guidance adopts this ICH E3(R1) definition. Most are unintentional and found during monitoring, such as a missed visit or an assessment that was not completed as scheduled.
What is an important protocol deviation?
An important protocol deviation is one that might significantly affect the completeness, accuracy or reliability of study data, or a participant's rights, safety or well-being. FDA's draft guidance asks sponsors to identify and categorize these consistently. They are the deviations an AI tool must not miss or downgrade.
Can AI classify protocol deviations?
It can help with a first pass. A 2025 Roche study used Llama 2 to flag deviations affecting disease progression assessment and reached 85.44% recall at 49.44% precision, processing 309 cases in about two minutes. The authors treat it as decision support, with quality staff making final calls.
How accurate are human reviewers at classifying deviations?
Less consistent than many teams assume. In the same 2025 study, two senior quality leads disagreed on about 20% of deviations, and individual reviewers were inconsistent with themselves 5 to 10% of the time. Report reviewer agreement alongside model accuracy so you judge the AI against a realistic baseline.
Who should label a protocol deviation test set?
Senior clinical quality reviewers should set importance labels, with clinical research associates and data managers checking detection and medical monitors tagging safety and endpoint impact. Use at least two reviewers per item, label blind and adjudicate disagreements. Relabel historical data, because past classifications vary by reviewer and SOP.
Is FDA's protocol deviation guidance final?
Not as of ACRP's March 2026 review. FDA issued the draft guidance in December 2024 and it remained a draft. It still signals what reviewers expect: consistent definitions, risk-based classification and clear reporting of important deviations. Build AI evaluation around those expectations now rather than waiting for the final text.