AI use case

AI review of batch records and process data for quality deviations in pharma manufacturing

AI batch record and deviation review reads and correlates batch records, sensor data and quality certificates from a pharmaceutical manufacturing line to flag quality deviations. It compares each new batch against a profile of the best performing past batches and flags the process parameters and deviations that explain a change in yield or quality, so manufacturing science and quality teams can act on a cause instead of reading records line by line after the fact.

By Len Debets · Last verified 29 September 2026 · 5 public deployments

15%
Reported throughput uplift
Lonza, organization claim.
2%
Reported cost reduction
Recordati, vendor claim.
USD 3600 to USD 72,000
Indicative value per year
A manufacturing line producing 100 batches a year. Worked example, see how it is calculated.

What problem does it solve?

A batch record in pharmaceutical manufacturing documents every step, parameter and sign off needed to prove a batch was made under good manufacturing practice (GMP): temperatures, timings, operator initials, in process test results and any deviation from the written procedure. Reviewing it, and comparing it against sensor and process data from many separate systems, has traditionally been a manual, paper heavy job, which is slow, and which finds a quality problem only after the batch is already made.

The same fragmentation makes root cause analysis hard when yield or quality drifts. Process data sits in SCADA and historian systems, batch records sit on paper or in a manufacturing execution system, and certificates of analysis sit as PDFs, so tracing a yield drop back to a cause, such as one operator's performance or a seasonal change in raw material or utility temperature, can take a specialist team a long stretch of manual correlation, by which time several more batches may have run the same way.

How does it work?

  1. Bring the data together. Batch records, sensor and historian data, material attributes and certificates of analysis are consolidated into one platform, including digitizing paper records and PDFs where that is still how a site works.
  2. Build a reference, or "golden batch", profile. The system learns the parameter footprint of the best performing batches for a product, such as the ideal pressure or temperature curve during a critical step.
  3. Compare every new batch against it. Each batch is scored against the reference profile, and process parameters that most strongly correlate with a good or bad outcome are ranked together, instead of each being flagged on its own.
  4. Surface deviations and root causes to a person. A quality or manufacturing science reviewer sees which batches strayed from the profile, on what parameter, and what in the underlying data most likely explains it, instead of a raw list of exceptions.
  5. Feed fixes back into the batch record. Confirmed causes, such as a drying time that needs to change or an instruction that needs to be clearer, are turned into revised batch record instructions and monitored in the next campaign.
Audience
Employee facing
Autonomy
Assist
Adoption
Early adopters
Channels
Internal tools

What is it worth?

Benchmarks are computed from the public deployments below: one data point per organization per KPI, with who made each claim.

Value benchmarks for AI review of batch records and process data for quality deviations in pharma manufacturing
KPIMedianReported rangeData pointsClaimed by
Throughput upliftToo few to pool
1.5% to 15%
21 organization, 1 vendor
Cost reductionToo few to pool
2%
11 vendor
Cycle time reductionToo few to pool
60%
11 organization

Value drivers: Lower cost to serve, Risk and loss reduction, Employee productivity.

Indicative value

A manufacturing line producing 100 batches a year

USD 3600 to USD 72,000

Quality and manufacturing science hours cost avoided per year

How this is calculated

Formula: batchesPerYear * reviewHoursSavedPerBatch * costPerHour. The low scenario uses every low input, the high scenario every high input.

InputLowHighBasis
Batches produced per year batchesPerYear, batches per year60150Editorial assumption for a single mid sized production line. Replace with your own batch schedule.
Quality and manufacturing science hours saved per batch on record review and deviation investigation reviewHoursSavedPerBatch, hours per batch14Editorial assumption, replace with your own time studies; this range is deliberately conservative and does not assume AI removes batch record review, only the manual correlation work behind it.
Fully loaded cost of a quality or manufacturing science specialist costPerHour, USD per hour60120Editorial assumption, replace with your own fully loaded cost.

What it leaves out: Gross time saved on review and root cause work only. It leaves out the cost of the platform and the data integration work to feed it, and it does not put a number on the separate value of fewer non conforming batches, which depends too much on a site's own product mix and margins to generalize into a formula here.

Who already uses it?

5 public deployments, strongest evidence first. Grades: A regulator or audit, B the organization itself, C vendor case study, D anonymous or estimate.

Catalent

United States · Pharma and life sciences · 2026

ProductionGrade B

Catalent, a contract development and manufacturing organization, launched Qai in June 2026 as its first enterprise AI solution, built with Microsoft on Azure with Foundry and Fabric. Qai uses Catalent's enterprise data to help quality teams classify deviations, find the relevant past deviations, procedures and corrective actions, and work out root causes. The CTO says final quality decisions stay with people. No outcome figure is disclosed.

No outcome disclosed.

Sanofi

France · Pharma and life sciences · 2023

ProductionGrade B

Sanofi's manufacturing and supply organization gives site teams AI and machine learning tools that search for similar deviations at other sites and in the past, and that automate the review and trending of minor deviations, the largest category of deviations. The executive vice president for manufacturing and supply reports that this cut deviation closure time. The same article describes SimplY, an AI powered yield analytics platform that flags production outliers, but states no number for it.

  • Cycle time reduction: 60%, deviation closure time, as reported in June 2023
    "By equipping Sanofians with AI & ML capabilities that allow us to search for and learn from similar deviations at other sites, or in the past while automating the review and trending of minor deviations, we’ve managed to reduce closure time by 60%, lowering cycle times and boosting productivity while strengthening quality and supply reliability."
    Claimed by: organization

Grifols

Spain · Pharma and life sciences · 2026

ProductionGrade C

Grifols, a global plasma derived medicines manufacturer, ran a "crawl, walk, run" program spanning several years with Aizon to bring together manual batch record data (phase pH, reactor and phase duration) with SCADA process time series data into one contextualized, batch level view across multiple fractionation and purification sites. AI models then ran multivariate analysis to explain yield and impurity variability and flag the process parameters driving it, such as coordinated pH adjustments during purification, with digitizing the batch records themselves, through Aizon Execute, still in progress. Aizon's case study reports a significant yield increase across three sites and three products from more than 30 process optimizations, without giving a quotable number for the increase or the value captured.

No outcome disclosed.

Lonza

Switzerland · Pharma and life sciences · 2026

PilotGrade C

Lonza, a contract development and manufacturing organization, uses AI on its archive of batch records. For a large pharma customer it analyzed more than 100 historical batches across reactor conditions, raw materials, feeding profiles and outcomes to find the process signals that drive titer and yield, and a manufacturing science expert decided on the changes. Lonza's CEO described the result at the ISPE annual meeting. Lonza has also set up a Lonza AI Factory to build and govern AI across the company.

  • Throughput uplift: 15%, output of one customer process, after analysis of more than 100 historical batches
    "“Together with the customer, based on a number of historic data, we have been able through AI to actually increase the output by 15% by identifying relevant signals in historical batches between process parameters and output through a human-in-the-loop, [Manufacturing Science and Technology] expert, make decisions which led to significantly improved output,” Wienand said."
    Claimed by: organization

Recordati

Italy · Pharma and life sciences · 2025

ProductionGrade C

Recordati faced a sudden yield drop of more than 4% at a single drug manufacturing facility, with data scattered across paper based batch records, third party production systems and quality certificates stored as PDFs. It partnered with Aizon to consolidate process data, material attributes, batch records and sensor data into one GxP cloud platform, then used AI driven root cause analysis and time series clustering to find which process parameters, such as drying time and operator performance, were driving the variability, and to refine batch record instructions so operators work more consistently. Aizon also digitized manual data entry from certificates of analysis with OCR, which the case study says reduces the errors that come from copying data by hand.

  • Cost reduction: 2%, within three months of implementation, single manufacturing facility
    "Within three months of implementing the solution, Recordati achieved a 1.5% increase in yield, reducing cost of goods sold (COGS) by 2%."
    Claimed by: vendor
  • Throughput uplift: 1.5%, within three months of implementation
    "Within three months of implementing the solution, Recordati achieved a 1.5% increase in yield, reducing cost of goods sold (COGS) by 2%."
    Claimed by: vendor

How do you implement it?

A model agnostic playbook: what to prepare, the order to build in, and what goes wrong.

Data you need

  • Structured or digitized batch records for the product and process in scope
  • Historian or SCADA process data (temperatures, flows, pressures, timings) for the same batches
  • A validated set of "good" reference batches to build the comparison profile from

Systems to integrate

  • Manufacturing execution system (MES) or electronic batch record system
  • Process historian or SCADA system
  • Laboratory information management system (LIMS) for certificates of analysis and quality data
  • Quality management system for deviations and CAPA follow up

Complexity: High

The AI itself is a fairly standard correlation and anomaly detection problem. What makes this hard is the data: process data, batch records and quality documents usually sit in different systems, often including paper, and every model used for a GMP critical decision has to be validated, documented and kept under change control like any other GxP system.

  1. 1

    Start with one line and one known problem

    Pick a single product line with a real, recent quality or yield problem rather than building a general purpose system first; a concrete problem gives the model a clear reference set of good and bad batches to learn from.

  2. 2

    Consolidate the data before the model

    Integrate batch records, historian data, material attributes and certificates of analysis into one place, digitizing paper records and PDFs with document processing where that is still how the site works, before asking the model to correlate anything.

  3. 3

    Build and validate the reference profile

    Define the golden batch profile from a validated set of good batches, and document how the model was trained and tested, since any model used in a GMP critical application needs a change control and validation record like any other system.

  4. 4

    Route findings to a person, not a batch disposition

    The model's output is a ranked list of parameters and batches to review, not an automatic release or reject decision; a qualified person makes the disposition call using the model's evidence.

  5. 5

    Feed confirmed causes back into the batch record

    When an investigation confirms a cause, update the batch record instructions or process parameters, and track whether the change actually reduces deviations in the following batches.

Guardrails

  • Models used for a GMP critical decision (release, reject, deviation classification) are static and validated, with any dynamic or adaptive model kept to non critical, advisory use only, per PIC/S Annex 22
  • Every flagged batch shows the reasoning and the underlying data points, never a bare pass or fail score
  • A qualified person, not the model, makes every batch disposition and deviation classification decision

KPIs to instrument

  • Non conforming or out of specification batches per period
  • Hours spent per batch on record review and deviation investigation
  • Time from a yield or quality shift to a confirmed root cause
  • Model prediction confidence against the human reviewer's own conclusion, tracked over time

Human in the loop

Quality and manufacturing science teams review every deviation and root cause finding the model surfaces, confirm or reject the model's explanation against their own process knowledge, and are the ones who sign off any change to a batch record or process parameter. The model narrows what a person has to look at; it does not decide.

Common failure modes

A dynamic model used in a critical decision
An adaptive model that keeps learning after deployment is used to gate batch release or reject a batch, which the draft PIC/S and EU Annex 22 says should not be used in critical GMP applications. Keep any model used in a critical application static and validated, and route dynamic or generative models to advisory, non critical use only.
Correlation mistaken for cause
The model finds a parameter that correlates with poor yield but is not the actual cause (for example, both drift with the season). Treat every finding as a hypothesis for a person to test, not a conclusion.
Golden batch profile built on a biased sample
If the "good" batches used to build the reference profile share some other flaw, every new batch is compared against the wrong standard. Revalidate the reference profile whenever the process, raw material source or equipment changes.

What are the risks and rules?

EU AI Act

Depends on design

Reviewing internal manufacturing quality data on its own is not listed in Annex III, and pharmaceutical products are not covered by the AI Act's Annex I product safety legislation the way machinery or medical devices are, so a deployment limited to that stays minimal risk.

The tier moves to high risk under Annex III point 4(b), monitoring and evaluating the performance of workers, if the design attributes findings to, or is used to evaluate, a named operator: batch records carry operator initials, and the Recordati evidence on this page shows this kind of root cause analysis can surface "differences in operator performance".

Keep any per operator finding aggregated or advisory rather than used to evaluate a named person, and treat it as high risk the moment that changes. Good manufacturing practice regulation, not the AI Act, sets the everyday bar for the system itself (see PIC/S Annex 22 below).

Rules that apply

Guidance

  • Annex 22: Artificial Intelligence (Pharmaceutical Inspection Co-operation Scheme (PIC/S), Global). Draft annex to the PIC/S GMP Guide setting out requirements for AI and machine learning used in manufacturing medicinal products and active substances. Criticality turns on direct impact on patient safety, product quality or data integrity, not on who makes the final call. The annex restricts critical GMP applications to static models with deterministic outputs, and in three separate sentences says dynamic models, models with a probabilistic output, and generative AI and large language models each "should not be used in critical GMP applications." Human in the loop is a design element the annex expects within scope, not an exemption from it: sections 3.3 and 10.5 both apply where a model is used "to give an input to a decision made by a human operator" (what the annex calls human in the loop, HITL) "and where the effort to test such model has been diminished", but each then sets a separate requirement. Section 3.3 requires the intended use description to include the operator's responsibility, and "the training and consistent performance of the operator should be monitored like any other manual process." Section 10.5 requires that "records should be kept from this process" and that, "depending on the criticality of the process and the level of testing of the model, this may imply a consistent review and/or test of every output from the model, according to a procedure."
  • Considerations for the Use of Artificial Intelligence To Support Regulatory Decision-Making for Drug and Biological Products (US Food and Drug Administration, North America). Draft guidance (January 2025) on a risk based credibility framework for AI models used to produce information that supports a regulatory decision on the quality of a drug.

Controls to put in place

  • Change control and a documented validation record for every model used in a GMP critical application, per PIC/S Annex 22
  • Inventory entry for the model with an accountable quality owner
  • Regular monitoring of model performance and input data drift, with a defined threshold for flagging a prediction as low confidence rather than acting on it

Frequently asked questions

Can AI decide whether a batch passes or fails?

No. Under guidance such as PIC/S Annex 22, models used in a GMP critical application like a release or reject decision have to stay static, deterministic and validated; the same guidance says dynamic, probabilistic, and generative or large language models should not be used for that, whether or not a person reviews the output. Separately, under EU GMP (Annex 16), a qualified person, not a model, certifies batch release. AI's role here is to review records and process data faster and point a reviewer at the batches and parameters most likely to explain a deviation.

How much does AI reduce non conforming batches?

No deployment on this page reports a measured fall in non conforming batches yet. The published results are about yield and cost, and both come from the vendor Aizon: it reports a 1.5% yield increase and a 2% reduction in cost of goods sold at Recordati after a yield drop was traced to specific process parameters, and a significant yield increase at Grifols across three sites and three products, without giving a number. Measure deviations and rejected batches per period before and after, on the same products, to show the effect on your own site.

Does this replace batch record review, or just speed it up?

It speeds up and focuses the manual work rather than replacing it. Recordati used AI driven root cause analysis on consolidated batch, sensor and process data to trace a yield drop to specific process parameters, and within three months of implementing the solution it reported a 1.5% yield increase and a 2% reduction in cost of goods sold. As with any tool that only advises, a person should still review and confirm every finding before it changes a batch record or process parameter; that is editorial guidance, not something the Recordati case study itself states.

What data does a batch record and deviation review model need?

Structured or digitized batch records, process historian or SCADA data for the same batches, certificates of analysis and other lab data, and a validated set of good reference batches to compare new ones against.

How to cite this page

Blits.ai AI Use Case Library, "AI review of batch records and process data for quality deviations in pharma manufacturing", last verified 29 September 2026, https://www.blits.ai/ai-use-cases/batch-record-and-deviation-review. Licensed under CC BY 4.0. Method: how we verify use cases.

Changelog
  • 12 November 2026: Added deployments: Catalent, Lonza, Sanofi.
  • 12 November 2026: Added the throughput uplift KPI, new in the taxonomy and covering yield, so the Recordati yield result counts as a benchmark.
  • 12 November 2026: Removed the AstraZeneca Wuxi record (its own note said it was a whole site result, not evidence for batch record or deviation review; its regulatory authoring claim moved to a new record on the document drafting page) and rewrote the FAQ on non conforming batches and the indicative value caveat from the remaining evidence.
  • 12 November 2026: Quality check: removed the Curia record (batch statistics; its source mentions AI only for a future product).
  • 12 November 2026: Quality check: removed a free text segment that is not an id used by other pages; the AstraZeneca source is now linked through its archived copy because the live page is gone.
  • 29 September 2026: First published

Related use cases

ManufacturingAutomotive

AI quality inspection on the production line

AI production line quality inspection is AI that inspects every unit on a production line to find defects, missing parts and wrong variants in real time. It works from camera images, sound or machine process data, and routes the few anomalies it flags to a quality inspector instead of relying on manual sampling at the end of the line.

Deployments
4 public, best grade B
Reported cost reduction
7%
Pegatron, vendor claim
Energy and utilitiesManufacturing

AI predictive maintenance for industrial and energy assets

AI predictive maintenance is machine learning that learns the normal behavior of industrial and energy equipment and flags early signs of degradation before a failure. It works from sensor and process data, flags issues weeks or months ahead, and turns them into prioritized maintenance work, so plants and utilities plan repairs instead of reacting to breakdowns.

Deployments
13 public, best grade B
Reported accuracy
at least 80%
Tenaga Nasional Berhad (TNB), organization claim
Pharma and life sciences

AI drafting of clinical study reports and regulatory documents

Generative AI that drafts clinical study reports and other regulated documents for medical writers to verify, edit and approve. It writes documents such as protocols, patient materials and submission modules from the trial's statistical tables, listings and figures and from approved template text, before anything is submitted to a regulator.

Deployments
9 public, best grade B
Reported handling time reduction
90%
Novo Nordisk, organization claim
Cross industryBanking

AI for continuous controls testing and control self assessment

AI continuous controls testing checks every transaction or record against a control's rule instead of a periodic sample, giving continuous, full population assurance. It collects evidence from source systems, maps each artifact to the control it supports, flags exceptions for a human to judge, and prepares the risk and control self assessment from incident and loss data for the business to review.

Deployments
4 public, best grade B
Autonomy
Supervised agent