MEDEQUALQA: Evaluating Biases in LLMs with Counterfactual Reasoning
Ghosh, Rajarshi, Gupta, Abhay, McBride, Hudson, Vaidya, Anurag, Mahmood, Faisal
–arXiv.org Artificial Intelligence
Large language models (LLMs) are increasingly deployed in clinical decision support, yet subtle demographic cues can influence their reasoning. Prior work has documented disparities in outputs across patient groups, but little is known about how internal reasoning shifts under controlled demographic changes. We introduce MEDEQUALQA, a counterfactual benchmark that perturbs only patient pronouns (he/him, she/her, they/them) while holding critical symptoms and conditions (CSCs) constant. Each clinical vignette is expanded into single-CSC ablations, producing three parallel datasets of approximately 23,000 items each (69,000 total). We evaluate a GPT-4.1 model and compute Semantic Textual Similarity (STS) between reasoning traces to measure stability across pronoun variants. Our results show overall high similarity (mean STS >0.80), but reveal consistent localized divergences in cited risk factors, guideline anchors, and differential ordering, even when final diagnoses remain unchanged. Our error analysis highlights certain cases in which the reasoning shifts, underscoring clinically relevant bias loci that may cascade into inequitable care. MEDEQUALQA offers a controlled diagnostic setting for auditing reasoning stability in medical AI.
arXiv.org Artificial Intelligence
Oct-16-2025
- Country:
- Europe > Italy
- North America > United States
- Florida > Miami-Dade County
- Miami (0.04)
- Massachusetts > Middlesex County
- Cambridge (0.04)
- New York (0.04)
- Florida > Miami-Dade County
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Health & Medicine
- Diagnostic Medicine (1.00)
- Pharmaceuticals & Biotechnology (1.00)
- Therapeutic Area
- Cardiology/Vascular Diseases (1.00)
- Hematology (1.00)
- Immunology (0.68)
- Infections and Infectious Diseases (1.00)
- Musculoskeletal (0.69)
- Oncology (1.00)
- Pulmonary/Respiratory Diseases (1.00)
- Health & Medicine
- Technology: