PGx pharmacists, clinical pharmacologists and clinical geneticists evaluating pharmacogenomics AI against CPIC guidelines

Healthcare · · 8 min read

How to evaluate AI in pharmacogenomics

Acumen Editorial · Updated November 26, 2026

Evaluating AI in pharmacogenomics means testing it against guideline-grounded answers, mainly CPIC, on the tasks it will actually do: translating genotypes to phenotypes, matching genes to drugs and drafting dosing guidance. Measure allele and phenotype accuracy, unsafe recommendations and refusals on incomplete questions. Then have PGx pharmacists and clinical geneticists grade outputs blind.

Pharmacogenomic results are hard to act on. A report lists star alleles and metabolizer status, and a clinician has to turn that into a prescribing decision across dozens of gene-drug pairs. AI promises to close that gap. The evidence says it can help, and that it fails in specific, predictable places.

How accurate is AI in pharmacogenomics today?

Accurate on common questions, weak on the details that drive dosing.

General models. PGxQA, from the University of Pennsylvania and Stanford and presented at the Pacific Symposium on Biocomputing 2025, built 110,207 pharmacogenomics questions, mostly from CPIC data, and tested five LLMs. GPT-4o led most categories. But the best precision on allele definitions was 0.2599, the best accuracy on allele function was 0.5033 and GPT-4o's phenotype-to-category accuracy was 0.5635. Four PGx specialists rated GPT-4o short answers below reference answers on accuracy (3.92 vs. 4.92) and safety (4.08 vs. 4.85). The authors flagged at least one dangerous tacrolimus recommendation in a liver transplant context.

Retrieval-grounded assistants. Tools that retrieve from CPIC and related sources do better on question sets. A 2025 study of Sherpa Rx, built on CPIC guidelines and PharmGKB, scored 260 queries across 26 CPIC guidelines and reported mean accuracy of 4.6 on a five-point scale against 3.9 for ChatGPT-4o mini. A 2025 medRxiv preprint on PGxRAG, grounded in CPIC, DPWG, PharmGKB and FDA pharmacogenomic guidance, reported 95.11% accuracy for GPT-4o with retrieval on 225 expert-verified multiple-choice questions.

Read those numbers carefully. Multiple-choice and Likert scores on curated questions are not the same as safe dosing advice for a real patient. The PGxRAG authors note their tool cannot interpret raw genomic data and does not yet cover drug-drug interactions.

Where does pharmacogenomics AI fail?

The PGxQA results and the design limits of current tools point to the same weak spots.

  • Allele-level detail. Allele definitions and function are tabular and sparse in the literature, and models handle them poorly.
  • Phenotype translation. Mapping a diplotype to a metabolizer category is the step every downstream recommendation depends on.
  • Invented answers. Models answered questions with missing or fabricated details instead of refusing. GPT-4 and GPT-4o refused about 70% of misspecified questions, while Llama 3 and Gemini 1.5 Pro refused under 20% of the time.
  • Inconsistency. The same request phrased differently produced different answers.
  • Combined interactions. Drug-drug-gene interactions, where a second drug changes the effective phenotype, are outside the scope of several tools.

How do you build a pharmacogenomics AI test set?

Match each test to a task, a ground truth and the expert who already owns that decision.

TaskGround truthWhat to measureWho grades it
Diplotype to phenotypeCPIC allele function and phenotype tablesExact phenotype match, by genePGx pharmacists, clinical geneticists
Gene-drug matchingCPIC guideline gene-drug pairsPrecision and recall of listed drugsPGx pharmacists
Dosing recommendationCPIC recommendation text and strengthCorrect action, dose direction, strength of evidenceClinical pharmacists, blind
Drug-drug-gene interactionExpert-written cases with a perpetrator drugRecognized phenoconversion, safe adviceClinical pharmacologists
Patient-facing explanationExpert-written plain-language answersAccuracy, omissions, alarming wordingGenetic counselors
Incomplete questionCases with missing genotype or drugRefusal or clarifying question vs. inventionPGx pharmacists, blind

Keep a held-out set of cases built from your own consult history. Public guideline text is likely in model training data, which inflates scores on questions that copy it. Our guide to golden datasets for medical AI covers how to build and protect that set.

What should every PGx AI evaluation check?

  • Phenotype calls match CPIC tables for every gene in scope, scored per gene.
  • Recommendations name the guideline source and its version.
  • Dose direction is correct: avoid, reduce, standard or increase.
  • High-risk pairs get extra cases, for example transplant immunosuppressants and narrow therapeutic index drugs.
  • Concomitant drugs that change effective phenotype are tested.
  • The tool asks or refuses when a genotype, drug or indication is missing.
  • The same case phrased three ways gets the same answer.
  • Patient-facing text is reviewed for alarming or overconfident wording.

For drug-drug interactions on their own, see our guide to evaluating AI drug interaction checkers.

Who should grade pharmacogenomics AI outputs?

The people who already write PGx consult notes. Clinical pharmacists with PGx training grade phenotype calls and dosing. Clinical geneticists review allele interpretation. Clinical pharmacologists review drug-drug-gene cases. Genetic counselors review anything a patient will read.

Graders should work blind to the source, use a written rubric with a separate safety score, and record their rationale. Use at least two graders on dosing items and adjudicate disagreements. PGxQA's expert review covered only 15 answers from four specialists. A deployment decision needs far more items, sampled across genes, drugs and risk levels. Our medical AI evaluation rubric guide shows how to structure the scoring, and our guide to pharmacist AI evaluation covers pharmacy reviewers more broadly.

What does a passing result look like for PGx AI?

Set the bar before you run the test, and set it per task. A single average hides the failures that matter.

For phenotype translation, aim for near-exact agreement with CPIC tables on every gene in scope, because every later step inherits that call. For dosing recommendations, separate two scores: whether the action is right, and whether the answer is safe. An answer can be incomplete and still safe. An answer that recommends a standard dose for a poor metabolizer on a high-risk drug is a hard fail, whatever the average says.

Treat refusal as a feature. A tool that asks for the missing genotype or concomitant medication is doing its job. Count confident answers to incomplete questions as errors, even when they happen to be right.

Finally, check consistency. Run each case in three phrasings and score agreement across them. PGxQA found answers changed with rephrasing, and clinicians will phrase the same question in many ways.

Where does PGx AI fit in the workflow?

Most teams will use it as a drafting and triage layer: a first-pass consult note, a flag that a new prescription has a known gene-drug interaction, or a plain-language summary for a patient. Each placement changes the risk. A flag that a pharmacist reviews has a human check built in. A patient summary sent without review does not. Evaluate the tool in the placement you plan to use, with the reviewer who will actually see its output.

How Acumen helps

Acumen supplies the expert data layer for pharmacogenomics AI. We source credential-verified PGx pharmacists, clinical pharmacologists, clinical geneticists and genetic counselors, then build CPIC-grounded test sets, write reference answers for real-world cases, grade model output blind with a separate safety score, and adjudicate disagreements with a full rationale trail. Every label carries reviewer specialty and agreement. See medical model evaluation for scope.

Request a sample dataset

For related clinical AI testing, read our guides to testing medical AI for hallucinations, LLM medical reasoning errors and AI for rare disease diagnosis.

FAQ

What does AI in pharmacogenomics do?

AI in pharmacogenomics helps interpret genetic test results for drug response. Typical tasks are translating a diplotype into a metabolizer phenotype, matching genes to affected drugs, drafting dosing guidance from guidelines such as CPIC and explaining results to patients. Most tools combine a language model with retrieval from guideline sources, and their output still needs pharmacist review.

How accurate is AI for pharmacogenomics?

It depends on the task and the tool. In PGxQA, general LLMs were weak on allele function and phenotype mapping, with GPT-4o at 0.5635 phenotype-to-category accuracy. Retrieval-grounded assistants score higher on curated question sets, such as 95.11% for PGxRAG on multiple-choice items, but question sets do not prove safe dosing for real patients.

Can ChatGPT interpret pharmacogenomic test results?

It can explain general concepts, but it should not be trusted to interpret a result on its own. PGxQA found general models weak on allele-level detail, sometimes inconsistent across rephrasings and willing to answer questions with fabricated details. Specialists also flagged a dangerous recommendation. Use guideline-grounded tools with pharmacist review for any result that informs a prescription.

What ground truth should a PGx AI evaluation use?

Use CPIC allele function, phenotype and recommendation tables as the core ground truth, with DPWG or FDA pharmacogenomic labeling where they apply. Add expert-written cases from your own consult history, including drug-drug-gene interactions and incomplete questions. Keep that set private so the model cannot have seen it in training.

Who should review pharmacogenomics AI outputs?

Clinical pharmacists with PGx training should grade phenotype calls and dosing, clinical geneticists should review allele interpretation, clinical pharmacologists should review drug-drug-gene cases and genetic counselors should review patient-facing text. Grade blind, score safety separately, use two graders on dosing items and adjudicate disagreements with recorded rationale.

What is phenoconversion and why does it matter for AI?

Phenoconversion is when a second drug changes a patient's effective metabolizer status, for example a strong enzyme inhibitor making a normal metabolizer behave like a poor one. AI tools that read only the genotype will miss it. Test sets should include cases with a perpetrator drug and check whether the tool adjusts its advice.

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

← Back to Insights