When AI goes wrong - handling flawed regulatory inspections

BY MARTIN LUSH | GxP AI IMPLEMENTATION SPECIALIST

 

A REAL Scenario: One of my clients ( a member of my AI in Pharma Interest group was inspected by an inexperienced auditor using their own LLM as an assistant to critique deviation (and other) reports for ‘gaps’. 


My client disagreed with many of the AI outputs, causing ‘friction’ with the auditor - who seemed convinced by the LLMs precise (and confident) output.  My client wasn't prepared for this and didn’t know what to do. During multiple calls this is how it developed:

 

"Martin, are they allowed to do this?"

Regulatory inspector using AI

To my knowledge there's no regulation that stops an investigator from using an LLM to support inspection activities. I asked them about their own policy. They didn’t have one that prohibited use. They were also very nervous about challenging for fear of escalation. I said it wasn't a question of ‘if’ they challenged (they had to), it was more about ‘how’. We brainstormed concerns to help formulate a strategy. 

 

 

Confidentiality and data handling

If an investigator entered confidential GMP information into a public LLM (e.g. consumer version of ChatGPT etc.) without approved safeguards, this could create serious confidentiality and information governance concerns. Their in-house policy should make this clear (it didn’t).

 

Potential issues:

 

  • Disclosure of trade secrets
  • Exposure of proprietary manufacturing information
  • Exposure of personal information
  • Potential violation of government information handling requirements

 

But is ‘confidentiality’ risk over stated?

 

Logically - agencies are unlikely to use public ChatGPT accounts for confidential inspection data. But how long before agencies leverage:

 

  • Government enterprise environments?
  • GovCloud solutions?
  • Internal agency AI systems? 

 

After all - a knowledgeable, AI literate inspector could dramatically improve their auditing efficiency and effectiveness and quickly! If I were in their shoes I would. Industry must be prepared. 

 

 

Administrative law and evidence quality

Regulatory decisions must always be based upon evidence, facts, applicable regulations and scientific judgement. If an inspector can't explain:

 

  • How the conclusion was reached
  • What evidence was weighted
  • Which assumptions were made

 

Then there may be concerns regarding transparency, reproducibility and procedural fairness A company must legitimately challenge: 


"Please explain how you arrived at that conclusion."

 

 

Bias and confirmation bias

This may be the largest practical risk. An inexperienced inspector might ask:

 

"Review this deviation and identify deficiencies."

 

The model will search for deficiencies. A different prompt:

 

"Assess whether this deviation investigation demonstrates a scientifically justified conclusion."

 

will produce a completely different answer. The prompt becomes part of the inspection methodology. As humans we're also prone to 'anchoring' to the first output. This attachments is hard to shift. 

 

 

Explainability

Current regulatory thinking increasingly expects explainability. I 100% agree. So, if industry is expected to explain AI-assisted decisions, the same standard must apply to regulators. Should regulators be permitted to use less explainable systems than those they permit industry to use? No. 

 

 

 

 

Learn more from Martin about AI in Pharma

 

GxP AI implementation Expert Martin Lush has built a following as one of the leading authorities on AI in pharma.
Join his course today and leave with a fully personalised 30/60/90-day AI action plan, ready to implement from day one.

 

Top Five Management Strategies

 

During the multiple calls that followed this is what we came up with (currently a work in progress):

 

Strategy 1: Establish an AI Challenge Protocol

Create a formal procedure for responding to AI-assisted regulatory observations. Questions should include:

 

  • Was AI used?
  • Which system?
  • Enterprise or personal account?
  • What prompt was used?
  • What source data was provided?
  • Were alternative hypotheses explored?

 

Strategy 2: Challenge Assumptions, Not Conclusions

Avoid: "The inspector is wrong." Instead ask: "Can we review the assumptions underlying that conclusion?" Focus on:

 

  • Missing evidence
  • Alternative explanations
  • Uncertainty
  • Risk assessment

 

Less confrontation and more science is always better 

 

Strategy 3: Maintain Superior Documentation

If AI is being used to critique investigations, investigations must become more robust (a good thing) to include:

 

  • Hypothesis testing
  • Rejected hypotheses
  • Risk rationale
  • Evidence weighting
  • Decision logic

 

Essentially make the thinking visible. We should be doing this anyway  The more transparent your reasoning, the harder it is for an AI-generated criticism to gain traction.

 

Strategy 4: Request Transparency

If concerns arise Ask:

 

  • Was AI used?
  • What role did it play?
  • Was the output independently verified?
  • What evidence supports the final judgement?

 

The objective is not to challenge the use of AI but any reliance upon unverified AI output.

 

Strategy 5: Train Your Inspection Teams in AI Literacy

Most companies are currently preparing staff to use AI and NOT preparing them to defend against AI-assisted scrutiny. So, train SMEs to recognise:

 

  • Hallucinations
  • Anchoring
  • Prompt bias
  • False certainty
  • Omitted evidence

 

Otherwise incorrect observations become institutionalised because nobody pushed back.

 

 

The Bigger Strategic Question

 

The real issue may not be whether inspectors use AI. If I was a regulator – I would. It's inevitable. After all, if AI can, when used correctly, review 5,000 deviations in hours it would be UNETHICAL not to use it.


The real issue is whether regulators develop standards for AI-assisted inspections analogous to the standards they expect from industry. If pharma must demonstrate:

 

  • Validation
  • Explainability
  • Human oversight
  • Traceability
  • Data governance


Regulators must be held to the same principles when AI materially influences inspection outcomes. AI-assisted inspections are coming if not already here. The objective is not to resist them. it is to ensure there transparent, explainable, evidence-based, and subject to the same scientific rigor expected of regulated industry.


So, remember to include this scenario in your next Mock Inspection Exercise

Join Martin on his exclusive course examining the role of AI in pharma

 

AI is already being used extensively across the pharmaceutical industry, don't get left behind.

 

Learn from Martin Lush, one of the most respected voices on AI in pharma, and leave with the knowledge, tools and a personalised 30/60/90-day action plan to apply in your organisation.

 

Book early, spaces are limited. For on-site training for your team, get in touch.

 

Artificial Intelligence AI in Pharmaceuticals Training Artificial Intelligence AI in Pharmaceuticals Training
Istock 1299152059 (1)