In This Article
- Executive Summary
- Where Annex 22 Stands in September 2026
- What the Draft Actually Asks For
- The CSV Package You Already Have
- The Mapping Table
- Row-by-Row Commentary
- The Genuinely New Deliverables
- Worked Example: A Static Classifier in a QC Microbiology Lab
- The Generative AI Question
- Sequencing the Work Before the Final Text Arrives
- Conclusion
- For Further Reading
- References & Sources
Executive Summary
Draft EU GMP Annex 22 on artificial intelligence went to public consultation on July 7, 2025, and the consultation closed on October 7, 2025. As of early September 2026 there is no final text, no publication date, and no implementation date. EMA’s Inspectors Working Group has set itself a target of Q4 2026 to hand a final text to the European Commission, and it held a two-day expert workshop on June 30 and July 1, 2026 to reconsider how generative AI should be treated. None of that is a deadline for regulated companies, and nobody should be building a compliance program around a date that no primary source states.
What a pharma or biotech quality team can do now is a mapping exercise. The six-page draft is short, specific, and written as a supplement to Annex 11. Almost every expectation in it has a natural home in a document that a GAMP 5 based computerized system validation package already contains. This article maps each expectation in the draft to that existing deliverable and gives a verdict for each row: covered as is, needs an added section, or needs a genuinely new deliverable. The honest count is that most rows are “add a section.” Four rows are genuinely new, and they produce five new deliverables: a baseline performance study, a test data independence record, a model description, an explainability review record, and an input drift monitoring plan.
The article walks the mapping table row by row, applies it to a worked example of a static image classifier in a QC microbiology laboratory, and then addresses the generative AI question using only what EMA has said publicly: the draft excludes generative AI and large language models from critical GMP applications, the consultation feedback pushed back, and EMA has asked experts for guardrail and risk-based proposals without yet publishing a position. The closing section sequences the work so that a team is ready whichever way the final text lands.
Where Annex 22 Stands in September 2026
Before mapping anything, it is worth being precise about status, because a lot of secondary commentary is not. The European Commission’s consultation page for the package covering Chapter 4, Annex 11, and the new Annex 22 records an opening date of July 7, 2025 and a closing date of October 7, 2025. It states that the response period has ended, and it gives no outcome, no revised text, and no next-step timeline2. The EudraLex Volume 4 page, which lists every chapter and annex of the EU GMP guide with its in-force date, does not list Annex 22 at all as of this writing. Annex 11 is still shown at its January 2011 revision.
The one primary source that gives a date is EMA’s three-year work plan for the GMDP Inspectors Working Group covering January 2026 through December 2028. It lists Annex 22 with a target date of Q4 2026 and describes the deliverable as providing the European Commission with a final text, in parallel with the update of Annex 11 and Chapter 4. The same plan commits to developing inspector training on the revised Chapter 4, Annex 11, and Annex 22 during 2026 to 20283. Read that carefully. A target for handing text to the Commission is an internal milestone for a working group. It is not a publication date, it is not an entry-into-force date, and it does not describe any transition period. Those steps belong to the Commission, and the Commission has said nothing about them.
Between those two dates, EMA did something unusual. On June 30 and July 1, 2026 it held a multistakeholder workshop under the GMDP Inspectors Working Group, in collaboration with its Quality Innovation Group, specifically to gather expert opinion on a risk-based approach to generative AI in manufacturing. The published draft agenda for the open first day lists sessions on regulatory pathways for adaptive and probabilistic models, strategic risk and compliance limits, human oversight and accountability, technical reliability and incident response, validation and lifecycle management, and cybersecurity and outsourced activities, presented by experts nominated by EFPIA, PDA, and ISPE. The second day was a closed session for the Annex 22 drafting group4. EMA said it expected the workshop to produce a report with expert input. As of this writing, the event page links only the draft agenda. No report, presentations, or recording have been published there.
What the Draft Actually Asks For
The draft runs to six pages with ten numbered sections and a glossary1. Its scope statement does most of the work. It applies to computerized systems used in the manufacture of medicinal products and active substances where AI models are used in critical applications with direct impact on patient safety, product quality, or data integrity. It describes itself as additional guidance to Annex 11 for computerized systems in which AI models are embedded. It applies to machine learning models that obtained their functionality through training with data rather than explicit programming. And it applies only to static models with deterministic output. Dynamic models that keep learning in use, and models with probabilistic output that might give different answers to identical inputs, are outside its scope and, in the draft’s words, should not be used in critical GMP applications. Generative AI and large language models are named explicitly as falling in that excluded group.
Inside that scope, the expectations fall into ten groups. The draft’s own section numbers are given here because the mapping table refers to them.
- Principles (section 2): close cooperation between process subject matter experts, QA, data scientists, IT, and consultants during algorithm selection, training, validation, testing, and operation; documentation reviewed by the regulated user whether the model was built in-house or by a supplier; and activities scaled by quality risk management.
- Intended use (section 3): a detailed description of the model’s intended use and the tasks it assists or automates, including a full characterization of the input data and all common and rare variations (the draft calls this the input sample space), identified limitations and possible erroneous or biased inputs, division of the input space into subgroups where applicable, and a process SME who approves the description before acceptance testing starts. Where a human operator uses the model output to make a decision and testing effort has been reduced on that basis, the operator’s responsibility is part of the intended use.
- Acceptance criteria (section 4): case-dependent test metrics (the draft gives a confusion matrix, sensitivity, specificity, accuracy, precision, and F1 score as examples for a classifier), acceptance criteria that may differ by subgroup, SME approval of the criteria before testing, and a “no decrease” rule: the acceptance criteria should be at least as high as the performance of the process the model replaces, which means that performance has to be known.
- Test data (section 5): representative and stratified selection across all subgroups, sufficient size for adequate statistical confidence per subgroup, verified labeling with a very high degree of correctness, pre-specified pre-processing, documented and justified exclusions, and a recommendation against generating test data or labels with generative AI.
- Test data independence (section 6): technical or procedural controls ensuring that test data is never used in development, training, or validation; if test data is split from a pool before training, the people developing and training the model must never have had access to it; the test data is protected by access control and audit trail with no copies outside the repository; a record of which data was used for testing, when, and how many times; the same rule for physical test objects; and staff independence, with a four-eyes fallback where full separation is impossible.
- Test execution (section 7): a test that shows the model generalizes to new data and is not over- or underfitted, an approved test plan containing the intended use summary, the metrics and criteria, a reference to the test data, a step-by-step script, and the metric calculation method; documented and investigated deviations; and retention of the test documentation, the intended use description, the test data characterization, the actual test data, and the access control and audit trail records.
- Explainability (section 8): during testing of models in critical applications, the system should capture and record the features in the test data that contributed to each classification or decision, using techniques such as SHAP values, LIME, or heat maps where applicable; and a review of those features should be part of the approval of test results.
- Confidence (section 9): where applicable, log the confidence score for each prediction, and set a threshold so that low-confidence outputs are flagged as “undecided” rather than returned as unreliable predictions.
- Operation (section 10): the model, the system it is implemented in, and the whole process it automates or assists go under change control before deployment; any change to the model, the system, the process, or the physical objects the model uses as input is evaluated for retest, with any decision not to retest fully justified; configuration control with measures to detect unauthorized change; regular monitoring of the defined performance metrics; regular monitoring that inputs are still within the model’s sample space, with defined drift metrics; and human review records where a human-in-the-loop arrangement reduced the testing effort.
- Glossary: the definition of an AI system tracks the wording of Article 3(1) of the EU AI Act, Regulation (EU) 2024/168910, which matters because it means the GMP text and the horizontal EU law will not disagree about what an AI system is.
Two features of this list should stand out to anyone who has managed a CSV program. First, most of it is testing discipline: metrics, criteria, data, independence, execution, records. Second, the draft repeatedly names a specific accountable role, the process subject matter expert, for approving the intended use description, the acceptance criteria, and the test plan. That is a person, not a data scientist, and not QA acting alone. Both features are why the mapping to an existing validation package works as well as it does.
The CSV Package You Already Have
The typical package for a GxP computerized system in a pharma or biotech company follows the GAMP 5 lifecycle. GAMP 5 Second Edition, published by ISPE in July 2022, kept the framework of the first edition, made explicit that its specification and verification approach supports iterative and incremental development as well as linear development, emphasized critical thinking by knowledgeable SMEs, and expanded its appendices to cover artificial intelligence and machine learning among other newer topics7. The older PIC/S guidance on computerized systems, PI 011-3 from 2007, describes the same shape in regulator language: a user requirements specification, a functional specification, design specifications, and a system build, verified in turn by installation, operational, and performance qualification, with the regulated user expected to define the relationships between the lifecycle elements for their own model11.
For the purposes of this exercise, the package consists of the following deliverables. Names vary between companies, so the function of each matters more than the label.
User Requirements Specification (URS)
What the system must do, for whom, under what conditions, and with what data. Owned by the business process, approved by QA.
Functional and Design Specifications (FS/DS) and Configuration Specification
How the system does it: functions, interfaces, configuration settings, and the technical design. Often supplier-provided and assessed rather than authored.
Risk Assessment
GxP impact and functional risk assessment, following ICH Q9 principles, used to scale the depth of verification and controls.
Supplier Assessment
Evaluation of the supplier’s quality system, development practices, and documentation, deciding how much of their evidence can be relied on.
IQ / OQ / PQ Protocols and Reports
Installation, operational, and performance qualification: test plans, scripts, executed evidence, deviations, and summary reports.
Requirements Traceability Matrix (RTM)
The link from each requirement through specification to the test that verifies it.
Validation Plan and Validation Summary Report (VP/VSR)
The plan that defines the approach and the report that states the system is fit for intended use and releases it.
SOPs, Training, Change Control, Configuration Management, Periodic Review
The operational controls that keep the validated state: procedures, competence records, change and configuration management, and scheduled review.
That is the vocabulary the mapping uses. One caution before the table: this is a mapping of the draft’s expectations to deliverables, not a claim that the deliverables as currently written satisfy the draft. The verdict column is where that distinction lives.
The Mapping Table
The table uses three verdicts. Covered means the existing deliverable already answers the expectation in substance and needs at most a wording check. Add section means the deliverable is the right home but needs new content that it does not carry today. New means no existing deliverable in a typical package answers the expectation, and pretending otherwise would leave a gap an inspector could find in minutes.
| Annex 22 expectation (draft section) | Existing CSV deliverable | Verdict | What changes |
|---|---|---|---|
| Scope and criticality determination (1) | Risk assessment; system inventory | Add section | Add a classification step: is a trained model embedded, is the application critical, is the model static and deterministic. Record the answer per system. |
| Personnel and cross-functional cooperation (2.1) | Validation plan; roles and responsibilities | Add section | Name the process SME, QA, data science, and IT roles for the model lifecycle, and the supplier where relevant. |
| Documentation reviewed by the regulated user regardless of source (2.2) | Supplier assessment; validation plan | Add section | Extend the supplier assessment to model training, validation, and test documentation, and state which supplier evidence is relied on. |
| Quality risk management scaling (2.3) | Risk assessment | Covered | The existing risk-based approach applies. Add model-specific failure modes as inputs. |
| Intended use, input sample space, limitations, biased inputs (3.1) | URS | Add section | A new URS section describing the task, the input data and its common and rare variations, known limitations, and erroneous or biased inputs. SME approval before testing. |
| Subgroups of the input space (3.2) | URS; PQ test plan | Add section | Define subgroups in the URS and carry them into the test plan and traceability matrix. |
| Human-in-the-loop operator responsibility (3.3) | URS; SOPs; training records | Add section | State the operator’s responsibility in the URS and the procedure, and monitor operator performance like any manual process. |
| Test metrics and acceptance criteria per subgroup (4.1, 4.2) | PQ protocol / test plan | Add section | Replace pass/fail scripts with statistical metrics and pre-approved criteria, by subgroup, approved by the SME. |
| No decrease versus the replaced process (4.3) | None in a typical package | New | A baseline performance study of the current manual or legacy process, before the model’s criteria are set. |
| Test data selection, size, labeling, pre-processing, exclusions (5.1 to 5.6) | PQ protocol; data governance procedures | Add section | A test data specification inside the test plan: selection rationale, stratification, sample size justification, label verification method, pre-specified pre-processing, exclusion rules. |
| Test data independence, access control, audit trail, no copies, staff separation (6.1 to 6.5) | None in a typical package | New | A test data independence record: repository, access list, audit trail, usage log, and staff separation evidence. |
| Generalization, approved test plan, deviations (7.1 to 7.3) | PQ protocol and report; deviation procedure | Covered | Structure already exists. Add over- and underfitting checks and the metric calculation method to the plan. |
| Retention of test documentation, test data, and access records (7.4) | VSR; records retention SOP | Add section | Extend retention to the actual test data set, physical test objects where relevant, and the access control and audit trail records. |
| Feature attribution captured during testing (8.1) | None in a typical package | New | An explainability output captured per test case (SHAP, LIME, heat maps as applicable) and stored with the test evidence. |
| Feature review as part of test result approval (8.2) | PQ report approval | Add section | Add an SME feature review step and sign-off to the report approval workflow. |
| Confidence score logging and undecided threshold (9.1, 9.2) | FS/DS; configuration specification; OQ | Add section | Specify the score, the threshold, and the undecided routing as functions, and verify them in OQ. |
| Change control covering model, system, process, and physical inputs (10.1) | Change control SOP | Add section | Add model-specific triggers and a mandatory retest evaluation with justified no-retest decisions. |
| Configuration control and unauthorized change detection (10.2) | Configuration management SOP; IQ | Add section | Bring the model artifact (weights, version, hash) under configuration control and verify tamper detection in IQ. |
| Performance monitoring against the defined metrics (10.3) | Periodic review SOP | Add section | Add scheduled metric recalculation and trending to the periodic review. |
| Input sample space and drift monitoring (10.4) | None in a typical package | New | A monitoring plan with defined drift metrics on the inputs, thresholds, and the response when a threshold is crossed. |
| Human review records (10.5) | SOPs; batch or lab records | Add section | Define what the operator reviews, how often, and where the record lives. |
| Traceability from intended use to metrics to test evidence (implicit throughout) | Requirements traceability matrix | Covered | Add rows for subgroups and metrics. The mechanism is unchanged. |
Counting the verdicts: three rows are covered, fifteen need an added section, and four are new. Those four rows produce five new deliverables, because the model description is derived from the scope and model selection rows rather than being a row of its own. Two of the five (the baseline study and the explainability capture) are closely tied to existing deliverables and could be folded into them by a team that prefers fewer documents. The other three (test data independence, the model description discussed below, and drift monitoring) are new in substance no matter how you file them.
Row-by-Row Commentary
The URS carries more weight than it used to
In a conventional package the URS says what the system must do. For a model, the draft asks the URS to also say what the system will see: the full input sample space, including rare variations, known limitations, and inputs that could be erroneous or biased. That is a different kind of writing. It requires the process SME to describe the data, not just the function, and the draft makes that SME responsible for the adequacy of the description. Companies whose URS templates are written by IT or by the supplier will find this the hardest section to fill, because the knowledge lives with the people who run the process. It is also the section that feeds everything downstream: subgroups come from it, test data stratification comes from it, and drift monitoring is defined against it. If the URS section is thin, every later deliverable inherits the gap.
Metrics replace scripts in the PQ
Most PQ protocols are written as scripted steps with expected results and a pass or fail. A classifier does not verify that way. The draft’s acceptance criteria section asks for suitable metrics, and for a classification task it lists a confusion matrix, sensitivity, specificity, accuracy, precision, and F1 score as examples. Criteria may differ by subgroup, and they must be approved by the SME before testing begins1. In practice this means the PQ protocol gains a statistics section: which metrics, computed how, on which subgroup, against which threshold, with what sample size justification. The rest of the protocol structure, approvals, execution records, deviations, and a report, is unchanged, which is why this row is “add section” rather than “new.”
The “no decrease” rule creates a deliverable most teams do not have
Clause 4.3 says the acceptance criteria should be at least as high as the performance of the process the model replaces, and that this implies the performance of the replaced process should be known. Very few companies have measured the sensitivity and specificity of their manual visual inspection, their manual plate reading, or their manual peak review. Without that number the model’s acceptance criteria are arbitrary. This is why the baseline study is listed as new. It is often small, it is usually informative regardless of the AI project, and it should be started early because it takes calendar time to collect enough human decisions to characterize.
Test data independence is the row with the sharpest edge
Section 6 is the most prescriptive part of the draft, and it has no counterpart in a CSV package. Test data must never be used in development, training, or validation. If it is split off before training, the people who develop and train the model must never have had access to it. The repository must be access controlled and audit trailed, there must be no copies outside it, and there must be a record of which data was used for testing, when, and how many times. Staff who have seen the test data must be kept out of training and validation, with a four-eyes rule as a fallback1.
The reason regulators care is well documented outside pharma. Kapoor and Narayanan’s 2023 review of machine-learning-based science identified leakage between training and test data as a widespread cause of results that could not be reproduced, and proposed model information sheets as a countermeasure14. The FDA, Health Canada, and MHRA’s joint 2021 guiding principles for good machine learning practice, written for medical devices but instructive here, state the principle in one line: training and test datasets are selected and maintained to be appropriately independent of one another, with all potential sources of dependence considered and addressed15. The draft turns that principle into GMP-style evidence. A team that already runs a controlled data repository with audit trails for other GxP data has the tooling. What it lacks is the record that ties the repository to this model: who could see what, when, and the log of every test run against it.
Physical test objects count as test data
Clause 6.4 extends independence to physical objects. If the model classifies images of vials, tablets, or plates, the vials, tablets, or plates used for the final test must not have been used to train or validate the model unless the features are independent. Teams that reuse the same defect library for every round of work will need a segregated, labeled, access-controlled physical set, and a log of its use. This is a warehouse and labeling problem as much as an IT problem.
Explainability is a test record, not a product feature
It is easy to misread section 8 as requiring an explainable model. It does not. It requires that during testing of a model used in a critical application, the system captures and records the features in the test data that contributed to each decision, using techniques such as SHAP values, LIME, or heat maps where applicable, and that a review of those features is part of the approval of test results1. SHAP, introduced by Lundberg and Lee in 2017, assigns each input feature a contribution value for an individual prediction12. LIME, introduced by Ribeiro, Singh, and Guestrin in 2016, fits a simple local model around an individual prediction to explain it13. Both are model-agnostic and both produce artifacts that can be stored. The new deliverable is that stored artifact plus the SME’s documented review of it, asking one question: is the model deciding on relevant and appropriate features, or on something incidental like a label position, a lighting artifact, or a site-specific background?
Confidence thresholds belong in the functional specification
Section 9 is straightforward to place. Logging a confidence score per prediction and applying a threshold that routes low-confidence outputs to “undecided” are functions. They belong in the FS and the configuration specification, and they get verified in OQ like any other function. The design decision that needs an SME is where the threshold sits and what happens to an undecided output, which links back to the human-in-the-loop description in the URS.
Change control needs new triggers, not a new procedure
Clause 10.1 puts the tested model, the system, and the whole process it automates under change control before deployment, and requires that any change to the model, the system, the process, or the physical objects the model uses as input be evaluated for retest. A decision not to retest must be fully justified1. Every company has a change control procedure. What it lacks is the trigger list: a new camera, a new media supplier, a relocated inspection station, a software update to the inference runtime, a retrained model version from the supplier. Adding those triggers and a mandatory retest evaluation is an “add section” change. The harder case is a supplier-hosted model that can change without the customer’s knowledge. Commentary on the draft has pointed out that hosted models weaken change and configuration control unless versioning, observability, and contractual terms make model updates detectable triggers for requalification6. That is a supplier assessment and contract question, which is why the supplier assessment row also gets an added section.
Periodic review gains two monitoring streams
Clauses 10.3 and 10.4 ask for two different kinds of monitoring. The first is performance monitoring: recalculating the defined metrics regularly to detect changes in the computerized system, with the draft giving deterioration or a change in lighting as examples. The second is input monitoring: checking that inputs are still within the model’s sample space and intended use, with defined drift metrics1. The first fits naturally into an existing periodic review. The second is new because a periodic review looks at the system, and drift monitoring looks at the world the system is seeing. It needs its own metrics, thresholds, and a defined response, which is why it is listed as a new monitoring plan rather than a section in the review procedure.
The Genuinely New Deliverables
Pulling the “new” verdicts together, and adding one that the draft implies rather than names, a team should expect to create five things it does not have today.
Model description
The draft’s principles section requires documentation of algorithm selection, training, validation, and testing, reviewed by the regulated user regardless of who built the model (2.1, 2.2). A conventional FS describes functions, not a trained artifact. A model description records the model type and architecture, the frozen version and its hash, the training and validation data sources and their provenance, the pre-processing pipeline, the training procedure, and the known limitations. ISPE’s GAMP Guide on artificial intelligence, published in 2025, frames this kind of documentation as part of a life cycle that bridges GAMP 5 with the characteristics of AI and treats fit-for-purpose data as a first-class concern8.
Baseline performance study
The measured performance of the process being replaced, collected before the model’s acceptance criteria are set (4.3). Small, early, and useful even if the AI project stalls.
Test data independence record
The repository identity, access control list, audit trail, usage log, physical object register, and staff separation evidence required by section 6. This is the record most likely to be asked for first in an inspection, because it is the one that proves the test result means anything.
Explainability review record
The feature attribution outputs captured during testing and the SME’s documented review of them, attached to the PQ report approval (8.1, 8.2).
Input drift monitoring plan
Defined drift metrics on the input data, thresholds, review frequency, and the action when a threshold is crossed, including the link back into change control and retest evaluation (10.4).
Everything else in the draft is an added section to a deliverable the team already owns. That is the practical message of the mapping: this is not a second validation system. It is the same system with a model in it, and the model brings its own data, its own evidence, and its own monitoring.
Worked Example: A Static Classifier in a QC Microbiology Lab
To show how the mapping behaves on a real system, take a hypothetical but typical case. A QC microbiology laboratory at a biologics site images incubated environmental monitoring plates on a bench-top imaging station and uses a static convolutional neural network to classify each image as “growth” or “no growth.” Plates flagged as growth go to a microbiologist for full reading and identification. Plates flagged as no growth are read by a microbiologist on a sampling basis rather than in full. The model was trained by the imaging station supplier on pooled images from several customers and delivered with frozen weights. Every figure below is illustrative, chosen to show the shape of the deliverable rather than to recommend a value.
Is it in scope?
Yes. It is a trained model, it is static (frozen weights, no learning in use), and it is deterministic (the same image produces the same output). It is used in a critical application, because a missed growth plate has a direct impact on product quality decisions and on the integrity of the environmental monitoring record. The human-in-the-loop arrangement reduces testing effort on the no-growth side, which means clauses 3.3 and 10.5 apply. The scope classification goes into the risk assessment.
The deliverables, one at a time
| Deliverable | What it contains for this system |
|---|---|
| URS (added section) | Task: prioritize plates for microbiologist review. Input sample space: three media types, two plate formats, incubation at two temperatures, two imaging stations in two rooms. Common variations: colony size, color, count, and position. Rare variations: condensation, cracked agar, spreading colonies, pigmented media, plate labels intruding on the image, misaligned plates. Limitations: not intended for plates from a third site with a different imaging station. Erroneous inputs: out-of-focus images, empty tray positions. Subgroups: by media type, by station, by growth versus no growth, by colony morphology class. Operator responsibility: full read of every growth-flagged plate and of a defined sample of no-growth plates. Approved by the QC microbiology SME before testing. |
| Model description (new) | Supplier model version and hash, architecture family, training data sources by customer site type and media, pre-processing (resize, normalization), the supplier’s validation data split, and the supplier’s stated limitations. Reviewed by the regulated user, with gaps recorded where the supplier would not disclose. |
| Supplier assessment (added section) | How the supplier trained and validated the model, whether their test data was independent of training, how they version the model, and whether the contract guarantees notification before any model update reaches the station. |
| Baseline study (new) | Blind re-reading of a sample of historical plates by a second microbiologist to estimate the sensitivity and specificity of the current manual process. That estimate sets the floor for the model’s criteria under clause 4.3. |
| PQ test plan (added section) | Metrics: confusion matrix, sensitivity, specificity, and F1 by subgroup. Illustrative criteria: sensitivity for growth at or above the manual baseline on every media type subgroup, specificity above a stated floor. Sample size per subgroup justified for a stated confidence. Label verification: independent reading by two microbiologists, disagreements resolved by a third. Pre-processing pre-specified to match production. Exclusion rules written before testing. |
| Test data independence record (new) | Test plates imaged only after the supplier confirmed the frozen weights, on the site’s own stations, stored in an access-controlled, audit-trailed repository that the supplier and the site data scientist cannot read. Usage log for every test run. Physical plates retained and labeled as test objects until the retention period ends. |
| Explainability review record (new) | Heat maps for every growth-flagged and every misclassified test image, reviewed by the SME to confirm the model is attending to colonies rather than plate labels, rims, or condensation. Review signed as part of PQ report approval. |
| FS and configuration specification (added section) | Confidence score logged per plate. Threshold below which the plate is routed to “undecided” and read in full. Verified in OQ. |
| Change control SOP (added triggers) | New media supplier or lot change, new plate format, camera or lighting replacement, station relocation, imaging software update, and any supplier model update. Each triggers a documented retest evaluation. |
| Configuration management and IQ (added section) | Model file hash recorded at installation and checked at a defined frequency. Tamper detection verified in IQ. |
| Periodic review (added section) | Quarterly recalculation of sensitivity and specificity from the microbiologist’s full reads of growth-flagged plates and the sampled no-growth plates, trended against the PQ result. |
| Input drift monitoring plan (new) | Weekly distribution checks on image brightness, contrast, and focus score by station; the mix of media types and plate formats against the URS sample space; the rate of undecided outputs. Thresholds defined; a breach opens a change control evaluation. |
| SOPs and human review records (added section) | The plate reading procedure states which plates the microbiologist reads in full, the sampling rule for no-growth plates, and where the review is recorded. Operator performance monitored as for any manual reading process. |
| Traceability matrix (covered) | Rows added for each subgroup and metric, linking the URS sample space to the test plan and the evidence. |
| Validation summary report (added section) | States the model version, the metrics achieved per subgroup against criteria, the explainability review conclusion, the independence record reference, and the retention of test data and physical objects. |
Two observations from working through it. First, the site’s data scientist, if there is one, is deliberately excluded from the test data repository. That feels wrong to teams who are used to the most technical person having the most access, and it is the point of section 6. Second, the largest single effort is not any document. It is producing enough verified, labeled, independent test plates across all subgroups to compute the metrics with the stated confidence. Rare variations are rare, and collecting enough cracked-agar or pigmented-media plates to test those subgroups takes time. Start collecting before the paperwork is finished.
The Generative AI Question
The mapping above applies to static, deterministic models, because that is what the draft covers. The question every leadership team asks next is what to do about generative AI, and it deserves an answer built only from what EMA has said in public.
What the draft says
The draft states that dynamic models that continuously learn and adapt during use are not covered and should not be used in critical GMP applications, that models with probabilistic output are likewise not covered and should not be used in critical GMP applications, and that, following from those two rules, the document does not apply to generative AI and large language models, which should not be used in critical GMP applications. If such models are used in non-critical GMP applications, which do not have direct impact on patient safety, product quality, or data integrity, adequately qualified and trained personnel should always be responsible for ensuring the outputs are suitable for the intended use, and the principles of the document may be considered where applicable1. The draft also, in its test data section, says that generating test data or labels by means of generative AI is not recommended and any such use should be fully justified.
What EMA has said since
EMA’s event page for the June 30 to July 1, 2026 workshop states that the 2025 stakeholder consultation suggested support for potentially enabling the use of technologies such as generative AI or large language models in medicines manufacturing, notes that the draft had indicated that dynamic, adaptive, and probabilistic models should not be used in critical GMP applications, and says the drafting group, in collaboration with the Quality Innovation Group, sought expert input on possible control and mitigation measures such as guardrails as part of a proposed risk-based approach. EMA expects the workshop to produce a report with expert input. The draft agenda shows the open day was structured around six topics, with industry associations presenting on regulatory pathways for adaptive and probabilistic models, risk and compliance limits, human oversight and accountability, technical reliability and incident response, validation and lifecycle management, and cybersecurity and outsourced activities4. Trade press coverage before the event described it as a reassessment of the draft’s generative AI position following the consultation feedback, and EMA has published no timeline for the final text5.
That is the full public record. EMA has not published a revised position, a report, or a date. Anyone who tells you the generative AI exclusion has been lifted, or that it has been confirmed, is ahead of the source.
What to do now
Three things follow from the record as it stands. First, inventory every generative AI use that touches a GMP activity and classify each one as critical or non-critical using the draft’s own test: direct impact on patient safety, product quality, or data integrity. Second, for the non-critical uses, apply the human-in-the-loop principle exactly as the draft describes it, and document the intended use, the operator’s responsibility, and the review record using the same URS and SOP sections the mapping table already identified. That way, if the final text extends scope, the documents are already in the right shape. Third, for anything critical, hold. The draft says not to, EMA has not said otherwise, and the technical problems that make a static-model mapping tractable (fixed weights, known training data, deterministic output, feature attribution that means something) are exactly the properties a hosted language model does not offer. Commentary on the draft has made the same point about why validation-style requirements such as provable test-set independence and calibrated confidence thresholds do not transfer cleanly to language models6. The interesting policy question, whether procedural guardrails and human accountability can substitute for those properties, is precisely what EMA asked its experts, and the answer is not yet public.
One more practical note. The ISPE article that accompanied GAMP 5 Second Edition’s AI appendix observed that human oversight and interpretability were not directly covered by GAMP 5, and that Appendix D11 addressed them only to some extent9. The draft Annex 22 fills exactly that gap for static models. Whatever the final text says about generative AI, the human oversight sections of the draft are the parts most likely to survive intact, and they are the parts worth building into procedures first.
Sequencing the Work Before the Final Text Arrives
The mapping is only useful if it turns into a sequence a quality team can run in the next two quarters without betting on a date. This is the order we would suggest.
Inventory and classify
List every computerized system with an embedded trained model, and every generative AI use touching GMP. For each, record critical or non-critical, static or dynamic, deterministic or probabilistic. This is a risk assessment addition, and it produces the scope list everything else depends on.
Run the mapping per system
For each in-scope static model, complete the table against the actual validation package. Most rows will be “add section.” Record the five “new” items as gaps with an owner.
Start the slow items first
The baseline performance study and the independent test data collection take calendar time and do not depend on the final text. Start them now.
Update templates, not just documents
Add the new sections to the URS, PQ protocol, supplier assessment, change control, and periodic review templates so the next system inherits them. Template changes are cheap to revise if the final wording moves.
Pilot on one model end to end
Take one system, ideally one with a human-in-the-loop arrangement, through every deliverable including the explainability review and the drift monitoring plan. Fix the templates from what you learn.
Hold a placeholder for the generative AI outcome
Keep the non-critical human-in-the-loop controls in place, track the EMA event page and the Commission’s EudraLex page for the report and the final text, and plan a template revision when either appears. Do not write the policy before the text exists.
Peer-reviewed commentary on the draft has already begun to describe it as a structured, risk-based framework defining expectations for intended use, validation, life cycle management, explainability, and human-in-the-loop oversight, and to examine its alignment with continued process verification practice16. That framing is consistent with the mapping here. The draft is not asking for a new discipline. It is asking the existing validation discipline to extend to a new kind of component and to produce evidence about data and decisions that it has not had to produce before.
Conclusion
Draft Annex 22 is short, specific, and unfinished. The consultation closed almost a year ago, EMA’s working group has given itself a Q4 2026 target to hand a final text to the Commission, the generative AI scope is being reconsidered in public, and nothing has been published about a publication date or a transition period. In that situation the wrong move is to build a standalone AI compliance program around guessed dates and guessed wording. The right move is to map the draft’s expectations onto the validation deliverables a pharma or biotech company already maintains, add the sections those deliverables are missing, and create the small number of genuinely new records the draft requires: a model description, a baseline study of the replaced process, a test data independence record, an explainability review, and an input drift monitoring plan. Done that way, the work survives whatever the final text says, because it is filed where inspectors already look and owned by the people who already sign.
Sakara Digital works with pharma and biotech organizations that are trying to bring trained models into GMP systems without building a second validation system alongside the first. If you are running this mapping against your own package and want an independent view of which rows are really covered, which need a section, and which need something new, we are happy to have that conversation.
For Further Reading
For Further Reading
- Annex 22 Mock Inspection: What a Pharma Quality Team Should Practice Now
- Annex 22 Post-Implementation Audit: The First 90 Days After Go-Live
- EMA Reopens the GenAI Question in Annex 22: Reading the June 2026 Expert Workshop
- Computer System Validation vs. AI Validation: Key Differences That Matter
- The AI Model Risk Assessment for Pharma: A Structured Checklist
References & Sources
- European Commission, Directorate-General for Health and Food Safety. “EudraLex Volume 4, Annex 22: Artificial Intelligence (draft for consultation).” July 2025. https://health.ec.europa.eu/document/download/5f38a92d-bb8e-4264-8898-ea076e926db6_en?filename=mp_vol4_chap4_annex22_consultation_guideline_en.pdf
- European Commission. “Stakeholders’ consultation on EudraLex Volume 4, Good Manufacturing Practice guidelines: Chapter 4, Annex 11 and new Annex 22.” Consultation open 7 July 2025 to 7 October 2025. https://health.ec.europa.eu/consultations/stakeholders-consultation-eudralex-volume-4-good-manufacturing-practice-guidelines-chapter-4-annex_en
- European Medicines Agency. “The 3-year work plan for the Inspectors Working Group: GMDP Inspectors Working Group, January 2026 to December 2028.” 2026. https://www.ema.europa.eu/en/documents/other/3-year-work-plan-inspectors-working-group_en.pdf
- European Medicines Agency. “Draft agenda: Annex 22 Expert Workshop, Day 1 session with interested parties, 30 June 2026.” 19 June 2026. https://www.ema.europa.eu/en/documents/agenda/annex-22-expert-workshop-draft-agenda-day-1-session-interested-parties_en.pdf
- GMP-Verlag Peither. “Annex 22: EMA Workshop on AI in GMP.” GMP-News, 2026. https://www.gmp-publishing.com/blog/annex-22-ema-workshop-on-ai-in-gmp
- Drapeau, Brian. “Europe Tried to Ban Generative AI From Critical GMP. The Ban May Not Survive. It Does Not Matter.” Pharmaceutical Technology, August 13, 2026. https://www.pharmtech.com/view/europe-tried-to-ban-generative-ai-from-critical-gmp-the-ban-may-not-survive-it-does-not-matter-
- International Society for Pharmaceutical Engineering. “ISPE GAMP 5 Guide: A Risk-Based Approach to Compliant GxP Computerized Systems (Second Edition).” July 2022. https://ispe.org/publications/guidance-documents/gamp-5-guide-2nd-edition
- Stockton, Brandi; Staib, Eric; Heitmann, Martin. “New GAMP Guide Addresses Challenges Posed by AI-Enabled Computerized Systems.” Pharmaceutical Engineering, September/October 2025. https://ispe.org/pharmaceutical-engineering/september-october-2025/new-gampr-guide-addresses-challenges-posed-ai
- Vidstrup, Anders. “New EU AI Regulation and GAMP 5.” Pharmaceutical Engineering, September/October 2023. https://ispe.org/pharmaceutical-engineering/september-october-2023/new-eu-ai-regulation-and-gampr-5
- European Parliament and Council. “Regulation (EU) 2024/1689 of 13 June 2024 laying down harmonised rules on artificial intelligence (Artificial Intelligence Act).” Official Journal of the European Union. https://eur-lex.europa.eu/eli/reg/2024/1689/oj/eng
- Pharmaceutical Inspection Co-operation Scheme. “PI 011-3: Good Practices for Computerised Systems in Regulated GXP Environments.” 25 September 2007. https://picscheme.org/docview/3444
- Lundberg, Scott M.; Lee, Su-In. “A Unified Approach to Interpreting Model Predictions.” arXiv:1705.07874, 2017. https://arxiv.org/abs/1705.07874
- Ribeiro, Marco Tulio; Singh, Sameer; Guestrin, Carlos. “‘Why Should I Trust You?’: Explaining the Predictions of Any Classifier.” arXiv:1602.04938, 2016. https://arxiv.org/abs/1602.04938
- Kapoor, Sayash; Narayanan, Arvind. “Leakage and the reproducibility crisis in machine-learning-based science.” Patterns 4(9):100804, September 2023. https://pmc.ncbi.nlm.nih.gov/articles/PMC10499856/
- U.S. Food and Drug Administration, Health Canada, and MHRA. “Good Machine Learning Practice for Medical Device Development: Guiding Principles.” October 2021. https://www.fda.gov/media/153486/download
- Stassen, M.; Schmucki, M.; Valero, F.; Manzano, T. “Bridging Guidance and Regulation: Interpreting the Draft Annex 22 on Artificial Intelligence in GMP Manufacturing.” PDA Journal of Pharmaceutical Science and Technology 80(2):248-254, 2026. https://pubmed.ncbi.nlm.nih.gov/41698693/








Your perspective matters—join the conversation.