Pharma · · 9 min read
AI for the trial master file: how to evaluate it
Acumen Editorial · Updated November 27, 2026
AI for the trial master file should be tested on your own documents before it files anything an inspector will see. Measure classification and metadata accuracy by artifact type, route low-confidence records to people, check that QC flags are real, and have experienced TMF specialists grade every result against the TMF Reference Model.
What does AI do in the trial master file?
The TMF is the record that shows a trial was run as planned. It holds thousands of documents per study, each filed to the right artifact, with the right metadata, on time. Most of that work has been manual.
AI now touches several parts of it. In an October 2025 Clinical Leader column, GCP consultant Donatella Ballerini described the main uses:
- Classification. A model suggests the TMF Reference Model artifact for an incoming document, such as a site initiation visit report.
- Metadata extraction. It pulls site number, visit date and other fields for a person to confirm.
- Quality control. It flags missing signatures and mismatched dates across every document, not just a sample.
- Completeness monitoring. Dashboards map completeness and filing lag against site risk.
- Generative tasks. Inspection summaries, filing-lag analysis and natural-language search.
In an earlier Clinical Leader piece (April 2025), Ballerini added audit trail review, such as spotting unusual-hour access, and duplicate or overdue record detection.
Why does TMF AI need its own evaluation?
Because the cost of an error is asymmetric. A misfiled document looks fine until an inspector asks for it. A missing signature that the model did not flag is the kind of finding that inspection readiness work exists to prevent.
The same column cites figures that set the bar. It describes 95% to 98% classification accuracy as achievable, notes that manual classification and tagging takes about 10 minutes per document, and says validation thresholds are often 95% or higher for critical artifacts. It gives 85% as an example confidence threshold for handing a record to a person.
Those numbers are useful targets. They are not evidence for your TMF. Accuracy depends on your document mix, languages, scan quality, sponsor templates and how strictly you apply the Reference Model.
Regulation points the same way. ICH E6(R3) took effect in the EU on July 23, 2025, according to Ireland's HPRA, and encourages a risk-based, proportionate approach to trial conduct. A risk-based approach means knowing where the AI is weak, not only its average score.
What should a TMF AI evaluation include?
Use this checklist with your eTMF vendor or internal team.
| Step | What to test | Who grades it |
|---|---|---|
| 1. Pick the tasks | Classification, metadata, QC flags, completeness, summaries. Test each one separately | TMF lead |
| 2. Build a gold set | A sample of your own documents, filed and checked by experienced TMF specialists | Two TMF specialists, adjudicated |
| 3. Stratify | Include every high-risk artifact, each language, poor scans and site-specific templates | TMF lead |
| 4. Score by artifact | Accuracy per artifact and zone, not one overall number | Clinical operations analytics |
| 5. Test the threshold | Check that records below the confidence cutoff really are the hard ones | TMF specialists |
| 6. Audit the flags | Are QC flags real? What did the model miss? | QA and TMF specialists |
| 7. Grade generated text | Inspection summaries checked line by line against the source records | Senior TMF or QA reviewer |
| 8. Validate and monitor | Document results for computerized system validation and re-test after retraining | QA |
Build the gold set from real work
The gold set is the core of the evaluation. Pull documents across studies, phases and regions. Have two experienced TMF specialists file each one and record the metadata independently. Where they disagree, a third resolves it. That disagreement rate is worth reporting: if experts disagree on 5% of records, a model cannot be held to 99%.
Score where the risk is
Overall accuracy hides the documents that matter. Report results for essential, high-risk artifacts on their own: signed protocols and amendments, informed consent versions, ethics approvals, delegation logs, safety reports and monitoring visit reports. A model that is 97% accurate overall but weak on consent versions is not ready.
Check the confidence threshold
Routing low-confidence records to people only works if confidence tracks difficulty. Sample records just above the cutoff and have specialists grade them. If errors cluster there, the threshold is too low.
How do you test AI quality control and inspection summaries?
QC flags and summaries need a different test from filing.
Flags. For missing signatures, wrong dates and expired versions, measure both precision and recall. Seed known errors into a test batch and see how many the model finds. Too many false flags and reviewers start ignoring them, which is a form of automation bias.
Summaries. Generative inspection summaries can state that a record is complete when it is not. Have a senior reviewer check every claim against the source documents. Count unsupported statements, not just readability. Ballerini's first column names hallucination as a core risk for generative TMF tools.
What should you ask an eTMF AI vendor?
Bring these questions to any demo. The answers tell you how much of your own testing is still ahead.
- What documents was the model trained on, and does any of our data feed future training?
- What is accuracy by artifact, and which artifacts are weakest?
- How is the confidence threshold set, and can we change it per artifact?
- How often is the model retrained, and what re-validation evidence do we get after each update?
- What does the audit trail record for each suggestion and human decision?
- Which languages and scan qualities were tested?
A vendor that can only quote one overall accuracy figure has not done the stratified testing your inspection team will need. Ask for the breakdown, then repeat it on your own gold set. Ballerini's October 2025 column also lists vendor data misuse among the core risks, so settle data rights in the contract before the pilot.
Where does human oversight sit?
The working rule in the October 2025 column is "AI suggests; humans confirm." Build your process around that:
- People confirm every classification for high-risk artifacts.
- Low-confidence records go to a specialist queue.
- Randomized human QC runs on batches the AI has already reviewed.
- An audit trail logs each AI suggestion and the human decision.
Our guide to GxP AI validation covers how to document this for computerized system validation, and our article on AI in clinical operations shows where TMF fits in the wider workflow.
How Acumen helps
Acumen sources experienced TMF specialists, clinical trial associates, QA auditors and clinical operations leads. They build gold sets from representative documents, file and adjudicate them against the TMF Reference Model, seed QC test batches, and grade generated summaries claim by claim. Every item carries reviewer role and agreement. See our regulatory and medical affairs data for pharma AI teams.
For related reading, see AI in clinical data management, how to evaluate AI for clinical study reports and how to evaluate AI agents in clinical trials.
FAQ
What is AI for the trial master file?
AI for the trial master file is software that classifies incoming documents to TMF Reference Model artifacts, extracts metadata, flags quality issues such as missing signatures, tracks completeness and drafts inspection summaries. It speeds filing and checks, but people still confirm high-risk records and own the final TMF.
How accurate is AI eTMF classification?
A 2025 Clinical Leader column describes 95% to 98% classification accuracy as achievable and notes validation thresholds of 95% or higher for critical artifacts. Results depend on your documents, languages and templates, so test on your own gold set and report accuracy by artifact, not as one number.
How does AI help with TMF inspection readiness?
It checks every document instead of a sample, flags missing signatures, mismatched dates and overdue filings, and maps completeness against site risk. Generative tools can draft inspection summaries. Each output still needs human review, because a confident but wrong summary is worse than none before an inspection.
How do you validate AI in an eTMF?
Build a gold set of your own documents filed by two experienced TMF specialists, score the model by artifact and zone, test the confidence threshold, seed known errors to measure QC recall and grade generated text against sources. Document the results for computerized system validation and re-test after each model retraining.
Does ICH E6(R3) allow AI in the TMF?
ICH E6(R3), effective in the EU from July 23, 2025, encourages a risk-based, proportionate approach to trial conduct and does not bar technology. Sponsors remain responsible for essential records, so any AI used in the TMF needs validation, human oversight and an audit trail of its suggestions and human decisions.
Who should review AI output in the trial master file?
Experienced TMF specialists and clinical trial associates for filing and metadata, QA auditors for quality flags and audit trails, and senior clinical operations or QA reviewers for generated summaries. Use two reviewers per gold-set item with a third to adjudicate, and record each reviewer's role.