Rhizome

AI and Machine Learning in GMP Drug Manufacturing: FDA and EU Regulatory Expectations

Chetan Mishra
Chetan Mishra
Nov 1, 2026

Manufacturers are using AI and machine learning for process control, visual inspection, deviation triage and batch-record review, but GMP frameworks were written for deterministic, rule-based computerized systems. Quality, regulatory and validation teams need to know how FDA and EU inspectors will judge these tools, because regulators expect validation evidence, data controls and human oversight that hold up under inspection.

The analysis below reviews what FDA has published on AI in drug manufacturing, including its 2023 discussion paper, its draft credibility-framework guidance and recent enforcement. It sets these against the EU and PIC/S position in draft GMP Annex 22, the revised Annex 11 and Chapter 4, and EMA's reflection paper. It then compares how each region approaches intended use, model validation, test-data independence, change control, performance monitoring and data governance.

Rhizome did this research. Let it help you with your most critical decisions by creating a free account.

AI and machine learning in GMP drug manufacturing: what FDA and EU regulators expect

Neither FDA nor the EU has a stand-alone binding rule on artificial intelligence (AI) in pharmaceutical manufacturing. Regulators on both sides apply existing GMP principles to AI and add AI-specific expectations through discussion papers, draft guidance and draft GMP text. The positions are already concrete:

  • FDA consulted on AI in drug manufacturing in 2023. Its January 2025 draft guidance sets out a risk-based credibility framework that covers manufacturing uses. A 2026 warning letter shows that CGMP quality-unit obligations apply in full to AI-generated content.
  • The EU and PIC/S published draft Annex 22 (Artificial Intelligence) on 7 July 2025, together with a revised Annex 11 and a revised Chapter 4. Annex 22 is the most prescriptive text so far on how to validate AI models in GMP. EMA's 2024 reflection paper adds lifecycle-wide principles.

The two regions reach similar conclusions on model validation and data governance. Both require a defined intended use or context of use, test data kept independent of training data, risk-proportionate validation, change control, ongoing performance monitoring, and human accountability for decisions.

FDA

The 2023 discussion paper "Artificial Intelligence in Drug Manufacturing"

FDA announced the discussion paper in a Federal Register notice published 1 March 2023, with a request for information and comments 31. The paper set out areas FDA had identified as it evaluated how its existing risk-based regulatory framework applies to AI in pharmaceutical manufacturing. Its focus was drugs marketed under an NDA, ANDA or BLA, and it invited both CDER and CBER stakeholders to respond 175176. The notice states that AI may play a significant role in monitoring and controlling advanced manufacturing processes 177. Comments were initially due 1 May 2023 under docket FDA-2023-N-0487 180181, and FDA later reopened the comment period 33.

Example applications described in the paper 523524:

  • Advanced process control that adjusts manufacturing parameters using real-time data.
  • Models that support in-process or final-product testing, real-time release testing, or prediction of in-process quality attributes.
  • Trend monitoring of complaints and deviation reports to find clusters of problems and set improvement priorities.

Areas of consideration 521522:

  • How cloud applications could affect oversight of manufacturing data and records.
  • How the greater volume of AI-generated data could affect data management.
  • How AI applications could challenge regulatory oversight.
  • AI-model elements in a CGMP environment, validation and maintenance of self-learning models, and appropriate data management.

FDA also noted that there were limited standards and guidance for establishing a model's credibility 134135.

Stakeholder comments asked for clearer guidance on model validation, maintenance and documentation, and for harmonization with other regulators 136137. Industry groups asked FDA to separate manufacturing/CGMP uses from other drug-development AI, to make submission and inspection documentation proportionate to risk, and to clarify controls for third-party AI and cloud services 138139140. These were requests from industry, not FDA requirements.

FDA leadership has spoken positively about adoption. In September 2023, then-CDER director Patrizia Cavazzoni said AI combined with advanced manufacturing could strengthen quality control, reduce defects and potentially help prevent quality-related shortages 141.

The 2025 draft guidance on AI to support regulatory decision-making

On 7 January 2025, FDA issued the draft guidance Considerations for the Use of Artificial Intelligence To Support Regulatory Decision-Making for Drug and Biological Products 4634. It is nonbinding and marked "Draft — Not for Implementation" 228229.

Scope. The guidance covers AI models used in the drug product lifecycle to produce information or data that support regulatory decisions on safety, effectiveness or quality. Manufacturing is in scope when an AI use serves that purpose. Two uses are excluded: drug discovery, and uses aimed only at operational efficiency that do not affect patient safety, drug quality or the reliability of study results 405406.

Seven-step credibility framework 206407408:

  1. Define the question of interest.
  2. Define the context of use (COU).
  3. Assess model risk.
  4. Develop a credibility assessment plan.
  5. Execute the plan.
  6. Document results and deviations.
  7. Determine whether the model is adequate for the COU.

Model risk. Model risk combines model influence, meaning how much the AI output contributes relative to other evidence, with decision consequence, meaning how serious an adverse outcome from a wrong decision would be. It describes the risk that a wrong decision follows from the model's output, not risk intrinsic to the model 389.

Manufacturing example. The guidance uses AI-based visual inspection of fill level in every vial of a multidose injectable, where fill volume is a critical quality attribute. Decision consequence is high. Separate fill-volume measurement on a representative sample from each batch lowers model influence, so overall model risk is medium. FDA notes that its examples cover only steps 1 to 3 406391383.

Data expectations:

  • Development data should be relevant to the COU, including sufficiently representative manufacturing-process data, and reliable, meaning accurate, complete and traceable 230231.
  • In proportion to model risk, the credibility plan should describe how data were selected, collected, processed, annotated, stored and controlled, how labels were set, and how data were split into training, tuning and other subsets. These descriptions also help identify algorithmic bias 203232.
  • Test data should be independent of training and tuning data, for example drawn from a different batch or product. Any overlap must be justified 204.
  • Performance metrics should be reported with confidence intervals for all estimates. Sponsors should explain how prediction uncertainty was estimated and describe limitations, including potential biases. Where a human is in the loop, the human–AI team should be evaluated together 204.

Lifecycle maintenance. FDA states that lifecycle maintenance is particularly important in pharmaceutical manufacturing, because model performance can change over time or across deployment environments 400. Its expectations:

  • Monitor performance on an ongoing basis.
  • Evaluate model changes, and manufacturing changes that could affect the model, through the change-management system within the pharmaceutical quality system 400.
  • Keep risk-proportionate maintenance plans (metrics, monitoring frequency, retesting triggers) available in the site quality system. For product- or process-specific models, include a summary in the marketing application.
  • Report model changes that affect performance in line with applicable requirements. The postapproval reporting category can depend on the effect on both model performance and product quality 397466.
  • Sponsors may use ICH Q12 tools, such as proposing model-related established conditions and a change-management plan 397.

FDA strongly encourages early engagement to agree on credibility activities 467.

Enforcement and inspection signals

In January 2026, Tina Kiang of FDA's Office of Pharmaceutical Quality said that AI produces outputs, not decisions, and that the quality control unit remains responsible for how those outputs are used 108109. She said manufacturers should:

  • Use AI in accordance with CGMP.
  • Validate models for their specific manufacturing context of use.
  • Keep records available for inspectors.
  • Scale the validation effort to model risk, decision consequence and model influence 110111.

On 2 April 2026, CDER issued a warning letter to Purolea Cosmetics Lab 182. The firm had used AI agents to create drug product specifications, procedures and master production or control records 236. FDA wrote that "if you use AI as an aid in document creation, you must review the AI generated documents to ensure they were accurate and actually compliant with CGMP." It cited the failure to do so as a violation of 21 CFR 211.22(c). FDA also gave an example of overreliance: the firm had not performed process validation under 21 CFR 211.100 because its AI agent "never told you it was required" 237. FDA stated that any AI output or recommendation used for CGMP activities "must be reviewed and cleared by an authorized human representative of your firm's QU" 238.

European Union and PIC/S

Draft EU GMP Annex 22 (Artificial Intelligence)

The European Commission proposed Annex 22 to EudraLex Volume 4, together with revisions to Annex 11 and Chapter 4. The consultation ran from 7 July to 7 October 167171172102. The drafts also appear in the PIC/S publications listing, dated 7 July 2025 and still shown as draft status 183201186. Annex 22 provides additional guidance to Annex 11 for computerised systems with embedded AI models 298. The Annex 11 currently in force dates from 2011 (in operation since 30 June 2011) 115.

Scope. Annex 22 applies to machine-learning models embedded in computerised systems used to manufacture medicinal products and active substances, where the model is used in a critical application with a direct impact on patient safety, product quality or data integrity 373. The table below summarises what is covered.

Model typeDraft Annex 22 position
Static models (do not adapt during use) with deterministic outputs (identical output for identical input)In scope 374
Dynamic models that continuously learn during useNot covered; should not be used in critical GMP applications 374
Models with probabilistic outputsNot covered; should not be used in critical GMP applications 374
Generative AI and large language modelsNot covered; should not be used in critical GMP applications. In non-critical uses, qualified personnel must remain responsible for outputs (human-in-the-loop) 375

Principles. Process subject-matter experts (SMEs), QA, data scientists, IT and consultants should cooperate throughout model selection, training, validation, testing and operation 376. The regulated user must have access to, and review, the documentation for these activities, including for supplier-provided models 377. All activities follow quality risk management based on risk to patient safety, product quality and data integrity 378.

Model validation requirements:

  • Intended use. Describe the model's tasks and characterise its input data, including common and rare variations, limitations and possible biased inputs. A process SME is accountable for this description, which must be approved before acceptance testing 324325.
  • Acceptance criteria. Use case-appropriate metrics. For classification models, examples are a confusion matrix, sensitivity, specificity, accuracy, precision and F1 score. Criteria may be set per subgroup and must be at least as high as the known performance of the process the model replaces 326.
  • Test data. Use stratified data that cover the full intended-use sample space. The dataset must be large enough for statistically confident metrics, and labels must be verified to a very high degree of correctness. Any pre-processing must be pre-specified, and any exclusions fully justified. Generating test data or labels with generative AI is not recommended 327328.
  • Test data independence. Use technical and/or procedural controls to keep test data out of development, training and validation. Repositories must be access-controlled and audit-trailed. Record which data were tested and when. Staff with access to test data should not train or validate the same model, except under a four-eyes arrangement where separation is impossible 329.
  • Test execution. Follow a pre-approved test plan that includes metrics, criteria and an executable script. Deviations and failures must be investigated and justified. Test records are retained together with the access-control and audit-trail records 330331.
  • Explainability. For critical applications, record which features drove each decision during testing, using methods such as SHAP, LIME or heat maps where applicable. A risk-based review of those features forms part of approving test results 425.
  • Confidence. Log a confidence score for each outcome where applicable. Set thresholds, and consider flagging very low-confidence outcomes as "undecided" 426.

Operation:

  • Change and configuration control. The model, its implementing system and the process it supports must be under change and configuration control before deployment. Any decision not to retest after a change must be fully justified 427.
  • Monitoring. Performance metrics must be monitored regularly, and input-data drift must be monitored against the model's sample space 428429.
  • Human review. Where testing effort was reduced because a human reviews outputs, records of that human-in-the-loop review must be kept 430.

Draft revised Annex 11 and Chapter 4: the data governance foundation

Draft revised Annex 11 sets the general controls for computerised systems 201:

  • Audit trails must capture who, what, when and why, remain enabled and protected from editing, and be reviewed in a risk-based way, normally before batch release 305306.
  • Security expectations include an information security management system, least privilege, segregation of duties, MFA for remote access to critical systems, and network segmentation 307308309310311.
  • Service providers. Relying on a vendor or service provider does not remove the regulated user's responsibility. Oversight is expected through audits, SLAs, KPIs and contracts 312.
  • Periodic review must be documented and its frequency justified by risk to product quality, patient safety and data integrity 301313.

Draft revised Chapter 4 extends data integrity to an ALCOA++ standard for paper, electronic and hybrid records 263264. It requires:

  • A documented, regularly reviewed data governance system within the pharmaceutical quality system, with assigned data ownership and controls proportionate to data criticality 265266267.
  • Governance across the full data lifecycle, from creation through processing, review, decisions, retention and destruction 270271272.
  • Retention of relevant metadata as part of complete records 273274.
  • Validation of hybrid systems, including their manual-to-computerised interfaces 275276.

EMA reflection paper on AI in the medicinal product lifecycle

EMA published the final reflection paper on 30 September 2024 78, following a July 2023 draft 79. Its manufacturing section expects AI/ML use in process design, scale-up, optimisation, in-process control and batch release to increase. It states that model development, performance assessment and lifecycle management should follow quality risk management principles, and that for human medicines ICH Q8, Q9 and Q10 should be considered "awaiting revision of current regulatory requirements and GMP standards" 539. The paper describes itself as conveying EMA's current experience and says it should be read alongside applicable legal requirements 541.

Its general expectations on validation and data overlap with Annex 22:

  • Data. Training data should be sufficiently large and balanced. Data sourcing and processing should be traceable and consistent with GxP. For high-impact or high-risk uses, GxP data and algorithm governance SOPs are expected 355356.
  • Test sets. Final performance should be assessed once on a hold-out test set. A model that is redeveloped needs a new, independent test set. Data should be split before normalisation, and high-risk models should be prospectively tested on newly acquired data 357.
  • Performance. Metrics should be insensitive to class imbalance, performance thresholds should be predefined, and performance should be monitored after deployment 358359360.
  • Explainability. Transparent models are preferred. Black-box models must be justified, and SHAP or LIME should be used where possible 361.
  • Changes. In high-risk, high-impact uses, non-trivial software or hardware changes require re-evaluation of performance 353354.

Where FDA and EU expectations converge

TopicFDAEU / PIC/S
Defining useQuestion of interest and context of use 206407Detailed intended use, owned by a process SME 324325
Risk basisModel influence combined with decision consequence 389Quality risk management on patient safety, product quality and data integrity; critical vs non-critical applications 373378
Model typesNo categorical exclusion of model types; lifecycle maintenance covers model-directed changes 400Only static, deterministic models in critical applications; dynamic models, probabilistic-output models and generative AI/LLMs excluded 374375
Test dataIndependent of training and tuning data, for example a different batch or product 204Independence enforced through technical/procedural controls, access-controlled repositories and audit trails 329
Performance metricsMetrics with confidence intervals and uncertainty estimates 204Predefined acceptance criteria at least equal to the process being replaced 326
LifecycleMonitoring, change management within the pharmaceutical quality system, ICH Q12 established conditions 400397Change and configuration control, performance and input-drift monitoring 427428429
Human accountabilityQuality-unit review of AI outputs, enforced under 21 CFR 211.22 237238Human-in-the-loop records; qualified personnel responsible for generative AI outputs 375430
Data governanceRelevant, reliable, traceable data; documented data management 230231203ALCOA++ data governance system, audit trails, oversight of service providers 263265305312

Practical implications for manufacturers

  • Classify each AI use by criticality first. Under draft Annex 22, that classification decides whether the model is allowed at all in a critical GMP application 373374. Under FDA's framework, it decides how much credibility evidence is needed 389.
  • Build test-data independence into data architecture early. Both regions expect demonstrable separation of test data, and the EU draft expects access controls and audit trails to enforce it 204329.
  • Do not treat generative AI as a substitute for quality-unit judgment. The Purolea letter shows FDA will cite AI-generated CGMP documents under existing 21 CFR Part 211 obligations when they are not adequately reviewed 237238. Draft Annex 22 keeps generative AI out of critical applications 375.
  • Plan lifecycle controls before deployment. That means monitoring metrics, drift triggers and retesting criteria, documented within the pharmaceutical quality system 400397427428.
Rhizome did this research. Let it help you with your most critical decisions by creating a free account.