Seedlabs
Source research

Language Models are Surprisingly Fragile to Drug Names in Biomedical Benchmarks

Jack Gallifant, Shan Chen, Pedro José Ferreira Moreira, Nikolaj Munch, Mingye Gao, Jackson Pond et al. · 2024 · 30 citationsRead the paper

, to evaluate performance differences on medical benchmarks after swapping brand and generic drug names using physician expert annotations. We assess both open-source and API-based LLMs on MedQA and MedMCQA, revealing a consistent performance drop ranging from 1-10%. Furthermore, we identify a potential source of this fragility as the contamination of test data in widely used pre-training datasets.

What the full text shows

Shown in the lab
  • LLMs show a consistent performance drop when generic drug names are swapped for brand names (g2b). — 1-10% decrease in accuracy (Evaluated on MedQA and MedMCQA benchmarks)
  • Llama-3-70B experienced a significant accuracy drop during generic-to-brand swaps. — 76.6% (original) to 69.7% (g2b) (MedQA/MedMCQA benchmarks)
  • Large models (over 13B parameters) can accurately map brand-to-generic drug pairs. — over 97% accuracy (Multi-choice mapping task)
  • High levels of test data contamination were found in the Dolma 1.6 dataset for medical benchmarks. — 99.21% for MedQA Test and 34.13% for MedMCQA Test (Using 8-gram overlap analysis via Infini-gram)
  • OLMo-1.7-7B-hf (trained only on Dolma) showed a performance drop on MedMCQA but not MedQA. — 3% drop (40.90 to 37.93) on MedMCQA; no drop on MedQA (Generic-to-brand swaps)
Setup
Evaluation performed on MedQA and MedMCQA datasets; drug mapping based on 2,271 generic drugs and 6,961 brands from RxNorm.
How
The researchers created the RABBITS dataset by using RxNorm to identify brand-generic drug pairs and replacing them in MedQA and MedMCQA using regular expressions and physician expert review. They evaluated open-source and API-based LLMs using zero-shot prompting via the EleutherAI lm-evaluation harness.
Limitations
Evaluation limited to biomedical datasets and pharmaceuticals only. · Pre-training dataset analysis used proxies (Pile, C4, RedPajama, Dolma) rather than the exact training sets of all models.

Summarized by Gemma 4 from the open-access full text · 8 Nov 2026. Read it