Faithfulness vs. Safety: Evaluating LLM Behavior Under Counterfactual Medical Evidence
Kaijie Mo, Siddhartha Venkatayogi, Chantal Shaib, Ramez Kouzy, Wei Xu, Byron C. Wallace, Junyi Jessy Li
TL;DR
This work investigates how LLMs reason when exposed to counterfactual medical evidence by introducing MedCounterFact, a dataset that perturbs real RCT evidence with four counterfactual categories. Across nine frontier models and multiple prompt styles, models largely accept counterfactual evidence and produce confident, potentially unsafe conclusions, with limited recognition of implausibility or safety warnings. The results reveal that scaling and medical fine-tuning do not reliably enhance safety-aware, evidence-grounded reasoning, suggesting there is currently no clear boundary between faithfulness to context and safety in medical reasoning. The study highlights a critical vulnerability in evidence-grounded LLMs and calls for robust safety fallbacks and methodological safeguards in high-stakes domains.
Abstract
In high-stakes domains like medicine, it may be generally desirable for models to faithfully adhere to the context provided. But what happens if the context does not align with model priors or safety protocols? In this paper, we investigate how LLMs behave and reason when presented with counterfactual or even adversarial medical evidence. We first construct MedCounterFact, a counterfactual medical QA dataset that requires the models to answer clinical comparison questions (i.e., judge the efficacy of certain treatments, with evidence consisting of randomized controlled trials provided as context). In MedCounterFact, real-world medical interventions within the questions and evidence are systematically replaced with four types of counterfactual stimuli, ranging from unknown words to toxic substances. Our evaluation across multiple frontier LLMs on MedCounterFact reveals that in the presence of counterfactual evidence, existing models overwhelmingly accept such "evidence" at face value even when it is dangerous or implausible, and provide confident and uncaveated answers. While it may be prudent to draw a boundary between faithfulness and safety, our findings reveal that there exists no such boundary yet.
