AI Bias and Data Quality in Pharma: Sources, Detection and Mitigation

Direct answer

AI bias and data quality in pharma concern systematic errors that arise when training data is unrepresentative, historically skewed, inconsistently labelled or measured differently, or when models are used outside the conditions they learned from. Bias can affect patients in clinical uses, fairness in HR and commercial uses, and reliability in manufacturing. Detection relies on subgroup and condition-specific testing, followed by mitigation and monitoring.

AI governance frameworkAI governance as an umbrella over distinct components that are not synonyms. Highlighted: Bias and data quality.AI governancePolicy, inventory, risk classification, roles, lifecycle controlsDatagovernanceModelvalidationSystemvalidationModelmonitoringChangecontrolRiskmanagementHumanoversightExplainabilityBias and dataqualitySecurityPrivacyAuditability
Illustration. All information shown is also available as text on this page.

Executive summary

AI learns patterns from data, including its gaps and distortions. In pharma, bias can affect trial recruitment, safety analysis, HR decisions, commercial targeting and manufacturing models trained on one site's conditions.

This page is part of Track A, AI for pharmaceutical manufacturers, within the AI in Pharma section. Statements describe potential applications (claim levels 1 and 2) unless a source is cited.

Definition and scope

This page is part of AI governance in Pharma. Data quality governance is covered in pharmaceutical data governance for AI.

The problem and today's process

Models are often evaluated only on overall performance, hiding poor performance for specific groups or conditions.

Sources of bias

Sources of bias and data quality problems
SourceExample
SamplingTraining data underrepresents some sites, populations or conditions
HistoricalPast decisions reflected unequal practices
LabellingInconsistent or subjective labels
MeasurementInstruments or recording differ between sources
Deployment mismatchUse in contexts different from training

Potential AI applications

Potential AI applications in AI bias and data quality (claim level: potential)
Potential applicationWhat AI may doTechnologyTypical dataDecision that remains human
Subgroup analysisComparing performance across groups and conditionsmachine learningTest data with attributesMitigation decisions
Data profilingIdentifying underrepresented segmentsmachine learningTraining dataData collection decisions

How a use case fits together

  1. Identify relevant groups and conditions
  2. Profile training data coverage
  3. Test performance by subgroup
  4. Investigate differences
  5. Mitigate through data, model or process changes
  6. Document residual limitations
  7. Monitor in use
  8. Review periodically
An illustrative application of Hello Pharma's use case relationship model.

Data requirements

Detecting bias may require attributes that are sensitive, which must be handled lawfully and securely.

See pharmaceutical data for AI.

The human role

Domain experts define relevant groups; AI specialists test; governance decides acceptability.

Regulatory considerations

Regulatory expectations for AI in medicinal product development and manufacturing are evolving, and differ by jurisdiction and use. This page describes common principles, not regulatory requirements. Organisations should identify the guidance, legislation and standards applicable to their products, markets and uses, and verify their current status.

Applicable regulatory guidance differs by product, market and use; consult current guidance from the relevant authorities and standards bodies.

Limitations

  • Some bias is hard to detect without sensitive attributes.
  • Mitigation can reduce overall performance.
  • New biases can emerge over time.

Risks and governance

Risks and typical controls
RiskTypical control
Hidden subgroup failuresSubgroup testing
Patient or employee harmOversight and restriction of use

See AI governance in Pharma.

Measuring whether it helps

Measure a baseline first, then compare. Possible measures:

  • Performance gaps between subgroups
  • Coverage of training data

No specific improvement should be assumed. See AI implementation in Pharma.

Questions to ask before implementation

  1. Which groups and conditions matter?
  2. Does data represent them?
  3. How will performance gaps be handled?
  4. Is sensitive data handled lawfully?

Related use cases are listed in the AI use cases in Pharma directory.

Frequently asked questions

What is AI bias in pharma?

It is systematic error in AI outputs that disadvantages certain groups or conditions, often because training data does not represent the situations where AI is used.

Where can AI bias affect pharma?

In clinical recruitment and analysis, pharmacovigilance, HR decisions, commercial targeting and manufacturing models trained on limited conditions.

How is AI bias detected?

Mainly by testing performance across relevant subgroups and conditions and profiling training data coverage.

Can AI bias be eliminated?

It can be reduced and managed, but rarely eliminated. Documenting limitations and monitoring remain important.