Healthcare AI evaluation · · 8 min read
How to evaluate AI in HIV care
Acumen Editorial · Updated November 29, 2026
Why is HIV care a hard test for clinical AI?
HIV care rewards precision and punishes small errors. Regimens are lifelong. Resistance history shapes every choice. Antiretrovirals interact with statins, anticonvulsants, contraceptives, acid reducers and many other common drugs. Guidelines update often, and a regimen that was standard five years ago may no longer be preferred.
That makes HIV a sharp test of whether a model reasons or recalls. A model can name first-line regimens and still miss that a patient's prior failure rules one out, or that a new statin needs a dose change. Patient-facing tools add stigma and privacy risk. A wrong answer about disclosure, PrEP or a missed dose can push someone out of care.
What does the current evidence show?
The research is early, but the signals are consistent.
| Study | What it tested | Who graded | What it found |
|---|---|---|---|
| HIVMedQA (arXiv, July 2025) | 10 LLMs on open-ended HIV clinical questions | Questions curated with an infectious disease physician; LLM-as-a-judge extended for clinical relevance | Gemini 2.5 Pro led most dimensions; performance fell as complexity rose; medical fine-tuned models did not always beat general ones |
| JMIR, 2026 (cardiovascular care in people with HIV) | DeepSeek-V3, DeepSeek-R1, GPT-4o and o4-mini vs 12 clinicians on 25 guideline-based questions | 6 experts, blinded to source, 4-point scale | Model means 3.44 to 3.68 vs clinician means 1.78 to 2.05; authors call for prospective validation |
| Tao, Shafer et al. (medRxiv, 2024) | Fine-tuned GPT-4o and Llama 3.1 answering 16 questions about HIV drug resistance papers | Human-curated answers as ground truth | Fine-tuning improved GPT-4o and Llama 3.1-70B, not the 8B model |
The HIVMedQA authors put it plainly: "Reasoning and comprehension were more challenging than factual recall." They also report recency and status-quo biases. The JMIR result looks strong for models, but read the design. Clinicians answered orally without references, each question had one prompt, and the study measured answer quality, not patient outcomes. A good score on a written test is not a validated tool.
Which HIV use cases should you test separately?
Each task fails differently, so each needs its own cases and its own score.
- ART regimen selection. Test treatment-naive, switch and post-failure cases. Include pregnancy, renal impairment, hepatitis B coinfection and weight concerns.
- Resistance interpretation. Give genotype reports with prior regimen history. Grade whether the model reads mutations correctly and draws the right regimen conclusion.
- Drug interactions. Plant interacting comedications in long medication lists. Our guide to evaluating AI drug interaction checkers covers the general method; HIV adds boosters and integrase inhibitor chelation.
- PrEP and PEP. Test eligibility, lab monitoring, timing windows and the move between daily oral and long-acting options.
- Comorbidity care. Cardiovascular risk, bone health, mental health and aging with HIV. The JMIR study shows cardiovascular questions are already being tested.
- Retention and patient messaging. Grade tone, accuracy, stigma and privacy. See our guide to evaluating AI patient message drafting.
How do you build an HIV evaluation set?
Start with the cases, not the model.
- Write realistic multi-turn cases. HIV specialists write cases from practice: history, prior regimens, genotype, labs, comedications and the question a clinician or patient would ask.
- Oversample the hard ones. Prior virologic failure, multiclass resistance, pregnancy, coinfection, renal decline and complex polypharmacy.
- Write rubrics, not single answers. For each case, specialists list what a good answer must include and what would cause harm. Our medical AI evaluation rubric guide shows how to structure them.
- Use two reviewers plus an adjudicator. An HIV physician and an HIV pharmacist on regimen and interaction cases. Record their agreement.
- Score harm on its own axis. A mostly correct answer that recommends a contraindicated combination fails, whatever its average score.
- Date every case to a guideline version. When guidelines change, re-grade affected cases so your benchmark does not reward outdated advice.
What should acceptance criteria look like?
- Zero harmful recommendations on critical cases, such as contraindicated combinations or regimens ruled out by resistance
- Accuracy reported per task, not one composite score
- Performance reported for complex and multi-turn cases separately from simple ones
- Interaction detection tested with long, realistic medication lists
- Patient-facing answers graded for stigma, privacy and readability
- Results re-checked after each guideline update and each model update
- Every failure reviewed by an HIV specialist and categorized
Averages hide the cases that matter. Our guide on testing clinical AI for bias explains why subgroup results belong on the scorecard too.
What should you ask a vendor?
- Which HIV tasks was the tool built and tested for, and which are out of scope?
- Who wrote and graded the test cases, with what credentials, and how often did they agree?
- How does performance change on multi-turn and multimorbid cases?
- Which guideline version does the model follow, and how fast does it update?
- How does the tool handle uncertainty? Does it defer to a specialist?
- Can we run our own cases before signing?
Then run your own test. Give the vendor a held-out set of your cases, blind, and score it with your rubric. Review every harmful answer with an HIV specialist.
How do you run a pilot of HIV AI in a clinic?
A good test set tells you whether a tool is safe to try. A pilot tells you whether it helps. Keep the two separate.
Start in shadow mode. The tool reads real de-identified or consented cases and produces recommendations, but no clinician sees them in the moment. An HIV specialist later compares the tool's output with what the care team actually did and grades both against the rubric. This shows where the tool would have helped, where it would have harmed and where it added nothing.
Next, move to a supervised phase with a small group of clinicians. Every recommendation is reviewed before it reaches a patient. Track how often clinicians accept, edit or reject the output, and why. Rising acceptance with no rise in harm flags is the signal you want. Watch for automation bias: if clinicians start accepting answers without checking resistance history or interactions, the tool is changing behavior in the wrong direction.
Patient-facing pilots need tighter rules. Limit the scope to low-risk questions first, such as appointment preparation or general education. Route anything about regimens, missed doses, side effects or PrEP to a clinician. Ask a sample of patients how the answers felt, not only whether they were correct.
Re-run the full test set at every model update and every guideline change. Log the results with your clinical governance records.
How Acumen helps
We build HIV evaluation sets with credential-verified HIV physicians, infectious disease specialists and HIV pharmacists. They write multi-turn cases from practice, build rubrics with harm criteria, grade model answers blind and adjudicate disagreement. Every item carries reviewer specialty, agreement and guideline-version metadata, so results hold up in clinical governance and procurement review. Our medical model evaluation service packages it for your pipeline.
For related work, see our guides to evaluating AI clinical decision support, pharmacist AI evaluation and LLM-as-a-judge for medical AI.
FAQ
How is AI used in HIV care?
AI is being tested for antiretroviral regimen selection, HIV drug resistance interpretation, drug interaction checks, PrEP eligibility, comorbidity management, retention risk prediction and patient messaging. Most uses are still research or decision support, with a clinician reviewing every recommendation. Each task needs its own evaluation, because strong performance on one does not carry over to another.
How accurate are LLMs on HIV clinical questions?
It depends on the question. The HIVMedQA benchmark found Gemini 2.5 Pro performed best across most dimensions, but every model got worse as questions became more complex, and reasoning was harder than recall. A 2026 JMIR study found models outscored clinicians on written guideline questions, but it did not measure patient outcomes.
Are medical LLMs better than general LLMs for HIV?
Not reliably. The HIVMedQA authors report that medically fine-tuned models did not always outperform general-purpose ones, and that larger size did not reliably predict better results. Buyers should test the specific tool on their own HIV cases rather than assume a medical label or a bigger model means better performance.
Who should grade HIV AI evaluation data?
HIV physicians or infectious disease specialists should write and grade clinical cases, with HIV pharmacists reviewing regimen and interaction cases. Use at least two reviewers per item, blinded to the model, with a third resolving disagreement. Record agreement and the guideline version each case was graded against, so it can be re-graded when guidance changes.
How do you test AI for HIV drug interactions?
Build cases with long, realistic medication lists that hide interacting drugs, such as statins, anticonvulsants, acid reducers, supplements and hormonal contraceptives alongside boosted or integrase inhibitor regimens. Grade whether the model flags the interaction, explains it correctly and gives a safe action. Score any missed critical interaction as a failure.
What are the risks of patient-facing AI in HIV care?
Inaccurate advice on missed doses, PrEP or regimen changes can cause harm or resistance. Poorly worded answers can add stigma or discourage people from staying in care. Privacy matters more than usual. Test patient-facing tools with cases graded for accuracy, tone, stigma and privacy, and route uncertain questions to a clinician.