Beyond Accuracy: Counterfactual Fragility and Demographic Bias in Clinical Evaluation of LLMs
Chaitali Deb Purkayastha, Bharath Kumar Bolla, Vishnu Surya Reddy Nandi
Abstract
Clinical LLM evaluation often emphasizes answer accuracy; however, accuracy alone does not test counterfactual consistency or demographic robustness. We evaluated six LLMs on 150 MedQA USMLE questions using two automated perturbation tests to assess their performance. The counterfactual validity (CFV) test asked each model to make a minimal, plausible clinical change that would make a different answer correct. The demographic robustness test added six demographic prefixes to the same vignette and compared the answers and explanations with a no demographic baseline. Of the 900 CFV attempts, 228 (25.3 %) were valid and 672 were invalid. Across 5,400 demographic comparisons, 1,097 answers were changed (20.3%). Automated judging identified 3,128 stereotype evidence flags, including 1,932 in the broad Other category. MedGemma 27B achieved the highest accuracy (87.1%) and CFV (63.3%), lowest answer change rate (16.0%), and low mean Explanation Demographic Dissonance (EDD) score (0.169). However, its accuracy still exceeded its CFV, indicating that correct answers do not guarantee reliable performance on the counterfactual validity task. OpenBioLLM had the highest answer change rate and EDD, whereas GLM had the highest stereotype flag rate. These findings show that accuracy, CFV, answer stability, EDD, and stereotype evidence capture different evaluation aspects. Because all judgments were automated and no clinician validation was available, the results support safety screening but do not establish clinical deployability of the model.
Create a lesson
Metadata
- Comments
- Accepted into AIKP 2026 Conference
Related papers
MedUIGym: Evaluating and Training GUI Agents for Clinical Workflows
Shared title terminologycs.AIYitong Qiao, Lei Liu, Yue Shen et al.
AgentBoundary: Counterfactual Evaluation of Safety in Tool-Using LLM Agents
Shared title terminologycs.AITianzhuo Yang, Zirui Mi, Yantao Huang et al.
Right Answer, Wrong Reason: Accuracy, Consistency, and Consensus Are Misleading Indicators of LLM Faithfulness in Clinical Decision Support
Shared title terminologycs.AIBharath Kumar Bolla, Chaitali Deb Purkayastha, Vishnu Surya Reddy Nandi
Not All Interpretation Methods Are Created Equal: Tiered Evaluation of AI Interpretability
Shared title terminologycs.AINicolas Sanchez, Bin Yu
Agent Recovery Gone Wrong: Measuring Harm Beyond Duplicate Calls
Shared title terminologycs.AIArtem Trofimov, Boris Novikov
Agent Evaluation Without Ground Truth: A Null Proportion Perspective
Shared title terminologycs.AIBrian M. Cho, Michael Lindon, Nathan Kallus