Expert clinical and scientific data review for healthcare and life sciences AI evaluation

Pharma AI evaluation · · 9 min read

Pharmaceutical serialization and AI: what to validate

Acumen Editorial · Updated November 28, 2026

Why does serialization need AI at all?

Serialization stopped being a packaging project once the data started moving. Under the US Drug Supply Chain Security Act (DSCSA), manufacturers, repackagers, wholesale distributors and dispensers exchange transaction data at the package level. In Europe, the Falsified Medicines Directive pairs a unique identifier with verification at the point of dispense.

The hard part is not printing codes. It is the exceptions. Pharmaceutical Commerce reported in December 2025 that when EPCIS data does not line up between partners, the errors stop product movement, and the manufacturer is responsible for supporting the data with its direct trading partners. Every stuck shipment becomes a ticket for a person who knows the standards, the partner and the product.

That queue is where AI vendors now pitch: classify the exception, suggest the root cause, draft the partner message, and recommend release or quarantine. Done well, that clears the backlog. Done badly, it releases a suspect product or quarantines a good one.

What changed in DSCSA enforcement this year?

The phased exemption period FDA announced in October 2024 has ended for most trading partners, according to Pharmaceutical Commerce. FDA's exemptions page, current as of August 26, 2026, sets a different clock for the smallest pharmacies:

Trading partnerStatus per FDA (Aug 2026)What it means for AI tools
Manufacturers, repackagers, wholesale distributors, large dispensersNo blanket exemption; individual waivers, exceptions or exemptions may be requestedProduction systems already face live exceptions; AI is judged on today's queue
Small dispensers (25 or fewer full-time pharmacists and technicians)Exempt from certain requirements until November 27, 2027Headcount is measured as of November 27, 2026; partner data quality will be tested as they onboard
Trading partners of small dispensersExempt where applicable, same end dateExpect mixed-maturity data across the network for another year

Two more pressures sit on the horizon. Tracing requests after a recall or suspect-product investigation carry a one-business-day turnaround, per Pharmaceutical Commerce. And the move to a 12-digit NDC is expected to take five to six years, touching barcodes, packaging and databases. Each change creates a new class of exception that a model trained on last year's data has never seen.

What should an AI serialization tool actually be graded on?

Grade the decisions, not the dashboard. We break serialization AI into five tasks, each with its own truth source and its own expert grader.

  1. Exception classification. Is this a data mismatch, an aggregation error, a master data problem (GTIN or GLN), a timing issue or a genuine suspect product? Graded by serialization analysts against resolved tickets.
  2. Root-cause suggestion. Did the model name the cause a senior analyst would name, and the system or partner that owns the fix? Graded by analysts who worked the original case.
  3. Release or quarantine recommendation. The highest-stakes call. Graded by quality assurance with release authority, never by the vendor.
  4. Partner communication drafts. Is the message accurate, specific and free of admissions the regulatory team would not make? Graded by trade relations and regulatory reviewers.
  5. Tracing assembly. Can the tool assemble the transaction history for a lot within the one-business-day window, with nothing missing? Graded against a manually assembled trace.

How do you build a test set for serialization AI?

Start with your own resolved exceptions. They carry the partner quirks, product mix and edge cases that synthetic examples miss. Then fill the gaps with cases written by experts.

Serialization AI test set checklist

  • Pull resolved exceptions from at least two quarters, stratified by type, partner and product family
  • Remove the resolution fields so the model sees only what the analyst saw at the time
  • Have two senior analysts independently label category, root cause and correct action; adjudicate disagreements with QA
  • Add expert-written cases for rare types: suspect product, illegitimate product notifications, recalled lots in transit, saleable returns
  • Add forward-looking cases for changes the model has not seen, such as small-dispenser onboarding errors and NDC format changes
  • Hold out a partner the model was never tuned on to test generalization
  • Record grader identity, role and rationale for every label so the set survives an audit
  • Version the set and freeze it before any vendor sees results

We treat this as a golden dataset: small, expert-labeled, versioned and never used for training. The same discipline we apply to inter-rater reliability in medical AI applies here. If two analysts cannot agree on the label, the model cannot be graded on it.

Which metrics matter most?

Accuracy hides the failure that matters. A tool can score well overall while releasing the one suspect product in the set. We report these separately:

MetricWhy it mattersWho sets the threshold
Missed suspect-product rateA release of illegitimate product is a patient-safety and regulatory eventQA and regulatory
False quarantine rateGood product held on the dock costs revenue and can create shortagesSupply chain and QA
Root-cause agreement with senior analystsWrong causes send fixes to the wrong teamSerialization lead
Time to tracing packageThe one-business-day clock is fixedRegulatory
Draft acceptance without editsShows whether partner messages are usableTrade relations

Set the missed-suspect threshold first and treat it as a gate, not a weighted score. Then tune for throughput.

How does this fit GxP validation?

Serialization systems sit inside the quality system, so an AI layer on top of them inherits that scope. The practical questions mirror our GxP AI validation guide: what is the intended use, what data trained and tested the model, who approved the acceptance criteria, and how is a model update controlled. FDA's January 2025 draft guidance on AI-enabled device software asks sponsors to describe data collection and test-data independence. That guidance targets devices, but quality teams increasingly use the same language for any AI that touches a regulated decision.

Keep three records: the frozen test set with expert labels, the results against pre-approved thresholds, and the change-control plan for retraining. Procurement will ask for all three, and our pharma AI procurement checklist shows where they fit.

Where do serialization AI pilots usually fail?

  • Tuned on one partner. The model learns one wholesaler's quirks and breaks on the next.
  • No suspect-product cases. Real suspect events are rare, so the test set has none and the metric looks perfect.
  • Vendor-labeled truth. The vendor grades its own outputs. Results cannot be defended.
  • Static data. Standards, partners and NDC formats change; the test set does not.

How Acumen helps

Acumen builds the expert-labeled data that makes these evaluations defensible. We recruit serialization analysts, supply chain QA and regulatory reviewers, have them label and adjudicate real and expert-written exception cases, and deliver the set with grader provenance and agreement scores. Our custom expert data collection service scopes the case mix with your QA team, then refreshes it as partners and standards change.

Request a sample dataset

For related reading, see how we approach AI in the pharma supply chain, AI in pharmaceutical quality control and GxP AI validation.

FAQ

What is pharmaceutical serialization?

Pharmaceutical serialization assigns a unique identifier to each saleable unit of a prescription drug, usually encoded in a 2D barcode with product code, serial number, lot and expiry. Trading partners exchange that data as products move, so a package can be verified and traced. In the US this is governed by DSCSA; in the EU by the Falsified Medicines Directive.

How is AI used in serialization?

AI is mostly used to triage exceptions: classifying data mismatches between trading partners, suggesting root causes, flagging possible suspect product, drafting partner messages and assembling tracing packages. It sits on top of the serialization system rather than replacing it. Every release or quarantine decision should still have a named human owner in quality assurance.

What are EPCIS data errors?

EPCIS is the GS1 standard trading partners use to share serialization events. Errors happen when the events one partner sends do not match what the receiving partner expects, such as a missing aggregation or wrong serial. Pharmaceutical Commerce reports these errors stop product movement, which is why exception queues grow quickly after enforcement.

When does the DSCSA small dispenser exemption end?

FDA's exemptions page, current as of August 26, 2026, says small dispensers with 25 or fewer full-time pharmacists and pharmacy technicians are exempt from certain requirements until November 27, 2027. Headcount is measured as of November 27, 2026. Their trading partners are exempt where applicable on the same timeline. Check FDA directly before acting.

How do you validate AI for DSCSA compliance?

Build a frozen test set from your own resolved exceptions, have senior analysts and QA label it independently, add expert-written cases for rare suspect-product events, and set pass thresholds before testing. Report missed suspects and false quarantines separately. Keep the test set, results and change-control plan as validation records.

Who should grade serialization AI outputs?

Serialization analysts grade exception categories and root causes. Quality assurance with release authority grades release or quarantine recommendations. Regulatory reviewers grade tracing packages and partner communications. The vendor should never grade its own outputs, and every label should record the grader's role and rationale so the evaluation holds up in an audit.

From the Acumen archive. Explore expert data and Healthcare & Pharma.

← Back to Insights