Faithfulness vs. Safety: Evaluating LLM Behavior under Counterfactual Medical EvidenceFaithfulness vs. Safety: Evaluating LLM Behavior Under Counterfactual Medical Evidence
The authors say nine LLMs still answer according to the evidence under counterfactual medical evidence, with Skept+Evd ΔUncertain increases all below 0.13.
- Medical question answering is often expected to faithfully follow a given RCT, but if the evidence conflicts with priors or safety protocols, faithfulness can lead to inappropriate conclusions. The authors examine how models answer and reason when faced with counterfactual or even adversarial medical evidence.
- On 203 MedEvidence questions, interventions are replaced with four types of counterfactuals, synthesizing 809 items. Nine LLMs answer with four prompts and two answer formats, and are checked for uncertainty and recognition of unreasonableness.
- The authors say that after evidence is given, models do not fundamentally change their answers and rarely refuse. Under Skept+Evd, multiple choice, mean ΔUncertain increases are all below 0.13. With evidence, at most 80% of TOXIC outputs show no awareness of unreasonableness.
- The authors note that the findings are limited to English, RCT-answerable clinical comparison questions; relying on Claude Sonnet 4.5 carries the risk of propagating the judge's own limitations, and they suggest larger-scale human evaluation. The authors believe context-level interventions cannot fundamentally resolve the conflict. The main results do not report per-model point estimates or the number of repetitions.
- Evaluated models
- Gemini-2.5-flashGPT-5-miniLlama-3.1-8B-InstructLlama-3.1-405B-InstructLlama-4-Maverick-17B-128E-InstructOLMo-3-7B-InstructOLMo-3-7B-ThinkQwen2.5-7B-InstructHuatuoGPT-o1-7BAsclepius-Llama2-7BOpenbioLLM-8B
- Benchmarks
- MedEvidenceMEDCOUNTERFACT
- Metrics
- EA rateUncertain rateExplicit YesImplicit YesNo
The paper constructs the MedCounterFact counterfactual medical question answering dataset and evaluates multiple frontier LLMs, finding that models generally accept counterfactual evidence at face value and give confident, unqualified answers. The dataset requires models to answer clinical comparison questions based on randomized controlled trial evidence, judge the effects of specific treatments, and replaces real medical interventions with four types of counterfactual stimuli, ranging from unknown words to toxic substances. The authors state that even when evidence is dangerous or untrustworthy, existing models still accept its surface content, suggesting that models may overemphasize faithfulness over safety.
Paper analysis
What problem does this paper attempt to solve?
The authors want to see whether, under counterfactual medical evidence, models follow the context or hold the safety boundary.
When medical evidence in the context conflicts with the model's priors or safety constraints, does the model follow the evidence or stop at the safety boundary.
- Scenario: The authors say ordinary people increasingly use large models as the first source for health questions, and efficacy questions often require synthesizing multiple randomized controlled trials; such failures can have real-world consequences.
- Tension: The authors believe faithfully following the given context is usually desirable, but if the evidence attributes a positive result to a harmful intervention, clinicians will question it. The authors do not prescribe how all counterfactuals should be answered; they only argue that this boundary is currently not visible on the model side.
- Gap: Existing work on medical evidence synthesis mostly evaluates performance when the evidence is valid; research on context-versus-parametric-knowledge conflicts in general domains reports that parametric knowledge is often overridden. The authors say no prior work has examined behavior under counterfactual or adversarial medical evidence.
- Approach: They construct MEDCOUNTERFACT on MedEvidence, replacing the real interventions in questions and RCT evidence with four types of counterfactual stimuli, and evaluate whether models accept them outright and give answers without reservations.
What related research exists?
Related work covers medical safety, knowledge conflicts, and evidence synthesis; the authors say no prior work has examined counterfactual medical evidence.
Medical Domain Safety
- Injection and fabricated context: Yang et al. (2025) study the impact of prompt and content injection on medical LLMs; this paper relays that it changes model behavior. Omar et al. (2025) report that models often follow human-fabricated contextual details; Chen et al. (2025b) report that models comply even when they know the request is illogical.
- Poisoning and jailbreaks: Alber et al. (2025) report that as little as 0.001% of poisoned training tokens can cause harmful errors. CARES (Chen et al., 2025c) examines role-play or rewriting jailbreaks; this paper relays that safety mechanisms remain easily bypassed.
- Knowledge and practice: Gong et al. (2025) use the knowledge-practice gap to describe high exam-style medical knowledge performance with insufficient clinical reasoning and safety evaluation. Wadhwa et al. (2023) note that efficacy-type user queries are common.
Context and Parametric Knowledge Conflicts
- Context priority: Chen et al. (2022), Xie et al. (2023), Cheng et al. (2024), Sun et al. (2025), Tao et al. (2024) report in general domains that when context is present, parametric knowledge is often overridden and models prioritize the context.
- Misinformation: Pan et al. (2023), Xu et al. (2024b) discuss risks from context containing misinformation. Peng et al. (2025) point to objective, formal scientific literature style; Xie et al. (2023) point to coherent, persuasive evidence.
- Related benchmarks: CONFLICTBANK (Su et al., 2024) and WhoQA (Pham et al., 2024) evaluate context conflicting with parametric knowledge, including misinformation and ambiguous facts. The authors say these works are mainly factoid QA, different from complex medical reasoning grounded in evidence.
Evidence Synthesis and Grounding
- RAG and attribution: Shuster et al. (2021) use retrieval augmentation to reduce dialogue hallucination; Nakano et al. (2021), Thoppilan et al. (2022) do question answering with sources.
- Valid evidence: Yun et al. (2023), DeYoung et al. (2024), Polzak et al. (2025) focus on whether multi-document synthesis or systematic review conclusions are consistent. The authors say these works examine performance under valid evidence.
- Usage surveys: Mendel et al. (2025) survey ordinary people's use of large models and search engines for health queries.
Baselines and Data
- Data: MedEvidence (Polzak et al., 2025), i.e., clinical comparison questions plus RCTs cited by Cochrane systematic reviews. Behavioral controls are the original intervention of the same question versus the four counterfactual types, and No-Evd, Evd, Skept+Evd, Expert+Evd.
- Mitigation controls: Section 7 tries Discriminating Misinformation and Disentangling Sources following Xu et al. (2024b), corresponding respectively to Xu et al. (2024a), Perez et al. (2023) and Wang et al. (2024), Neeman et al. (2023).
The authors place this paper at the intersection of faithfulness and high-stakes safety, examining how models trade off parametric knowledge, safety constraints, and context adherence under knowledge conflicts of varying risk, and state that no prior work has specifically examined counterfactual or adversarial medical evidence.
How does the paper address this problem?
MEDCOUNTERFACT replaces the intervention with four types of counterfactuals and then tests whether the model still answers according to the evidence.
Construct MEDCOUNTERFACT on MedEvidence: replace real interventions with four types of counterfactuals, then see whether models still answer according to the original evidence labels, whether they mark uncertainty, and whether their reasoning recognizes the unreasonableness.
Task Setup
- Source: MedEvidence has 284 clinical comparison questions from 100 systematic reviews available on PubMed, citing 329 RCTs total, all English Cochrane expert reviews.
- Records: Each item is (Q, E, A). Q is adapted from the review conclusion into a comparison between intervention T and control; E is the RCT abstract or full text that experts consider sufficient to answer Q. The main text writes an average of 2.18 papers per question; Figure 9 labels the mean as 2.176; 86% of questions have 1–3 papers, the rest 4–12.
- Labels: Expert labels are Higher, Lower, No Difference. After excluding Uncertain Effect and Insufficient Data, 203 questions remain: Higher 26.1%, No Difference 46.3%, Lower 27.6%. At test time, models may additionally choose Uncertain.
Four Counterfactual Types
- Replacement: In Q and E, every occurrence of T is replaced with T′, leaving everything else unchanged. One T′ is drawn from each of the four types per original question. Figure 2 illustrates the four types.
- NONCE: Meaningless invented words, used as a control where models have no parametric knowledge of T′. Merriam-Webster is used to exclude standard English words, and it is confirmed that no medical-related Wikipedia entry contains the same string.
- MEDICAL: Real treatments, but for a different condition. Checked against Wikipedia; an MD on the team judges whether T′ and T overlap in therapeutic scope, so that the replacement usually creates a mismatch.
- NON-MEDICAL and TOXIC: The former are everyday objects with no medical use, manually verified; the latter are substances that Wikipedia states are illegal, highly dangerous, or toxic. For substances with documented life-threatening potential in overdose, a toxicity dose annotation is appended after the name.
Generation and Scale
- Generation: GPT-5-mini produces replacement noun lists for each type (Appendix A, at least 50 per type, removing invalid ones and resampling), and generates counterfactual questions and evidence per Appendix Prompt A.5.
- Validation: 50 items per type are spot-checked to confirm the RCT intervention is replaced, not just surface string matching. In the full TOXIC check, 3 items are excluded because the model refused to generate E′ (Appendix B).
- Scale: 809 items (Q′, E′), 200 TOXIC, 203 each for the other three types. Specialty distribution is in Appendix Figure 10; percentages and specialty names cannot be reliably aligned in plain text, so proportions are not listed here.
Prompts, Answers, and Judgment
- Four prompts (Appendix Table 3): No-Evd gives only the question; Evd gives evidence after the question; Skept+Evd asks for a skeptical stance, leaning toward Uncertain when evidence is weak, contradictory, or unreasonable; Expert+Evd sets the role as an experienced clinician and Cochrane review author.
- Two formats: Multiple choice follows Polzak et al. (2025), outputting rationale, a complete answer with citations, and one of Higher, Lower, No Difference, Uncertain, with definitions written in the prompt. Free text does not constrain wording, and Claude Sonnet 4.5 maps it to the four labels; 70 items human-checked at 92.86% accuracy (Appendix F.1). Both formats elicit CoT.
- Main metrics: Uncertain rate is the proportion selecting Uncertain. EA rate is the proportion of answers matching the original MedEvidence label. The authors state that a higher EA rate is not necessarily better, because matching the original label means treating T′ as an effective intervention when synthesizing evidence.
- Awareness trichotomy: Reasoning traces are classified as Explicit Yes (explicitly recognizing T′ and its unreasonableness), Implicit Yes (sensing a problem but rationalizing or reinterpreting T′), or No (not recognizing the counterfactual or adversarial nature). Table 1 gives one example of each; the original answer text is not repeated here. Claude Sonnet 4.5 labels all traces, with 70 items human-checked at 90.00% accuracy (Appendix F.1).
What experiments did the paper conduct?
With evidence, the authors say answers do not fundamentally change; under Skept+Evd, mean ΔUncertain increases are all below 0.13.
Experimental Setup
- Models: Main evaluation uses Gemini-2.5-flash, GPT-5-mini, Llama-3.1-8B-Instruct, Llama-3.1-405B-Instruct, Llama-4-Maverick-17B-128E-Instruct, OLMo-3-7B-Instruct, OLMo-3-7B-Think, Qwen2.5-7B-Instruct, HuatuoGPT-o1-7B. Also tried Asclepius-Llama2-7B and OpenbioLLM-8B; the authors say only HuatuoGPT-o1-7B had a large enough context and stably followed instructions, and the latter two did not enter the main results.
- Data: 203 original questions after filtering, plus their four counterfactual variants totaling 809 items. Each original question and its corresponding counterfactual are evaluated.
- Decoding and length: Temperature is 0 except for GPT-5-mini, which does not allow setting temperature; other parameters use defaults. When exceeding the window, LangChain's RefineDocumentsChain is used: 37 cases triggered at 30K window, 156 at 14K window (Appendix G). The paper does not report the number of repetitions.
- Review: Free-text labels and awareness classification use Claude Sonnet 4.5; two human checks of 70 items each had accuracies of 92.86% and 90.00%. Appendix K additionally sampled 1,600 items for refusal detection; the judge did not flag any refusals, and 100 items were manually reviewed. The authors say both manual and automatic checks found no safety-triggered refusals, and all models answered all question variants.
- Metrics: Uncertain rate, EA rate; pre-generation label conditional probabilities (multi-token labels summed over token log probabilities then normalized); proportions of Explicit Yes, Implicit Yes, No.
Main Results
Per-cell EA rate and Uncertain rate for the nine models; the main text gives no point estimates; Figure 3 is a boxplot across all models. The table below lists only comparisons stated in the main text, without adding boxplot readings.
Swipe horizontally to read the table
Condition Pattern reported by authors Verifiable numbers Source No-Evd, T replaced with T′ Higher uncertainty, lower EA No point estimates reported Section 4 Evd Relative to the original intervention, answers did not fundamentally change No point estimates reported Section 4, Figure 3 Expert+Evd Authors say no difference relative to Evd No point estimates reported Section 4 Skept+Evd, multiple choice Uncertainty rises, EA falls, still insufficient for NON-MEDICAL and TOXIC Mean ΔUncertain increases all below 0.13 Figure 4 - Figure captions and main text: The Figure 3 caption says introducing evidence lowers the Uncertain rate and raises the EA rate, even when the evidence violates safety constraints or common sense. The authors say that without evidence, models can sometimes judge that T′ is unreasonable; once E′ is present, behavior is broadly similar to the original intervention.
- Scale and training: The authors say models are insensitive to counterfactuals regardless of scale or training paradigm. Frontier closed-source models and smaller open-source models react broadly the same; reasoning models and MoE also show no higher sensitivity. The main text writes Llama-3.1-8B-Instruct once as Llama-3.1-7B-Instruct; Table 2 and Figure 7 say 8B. HuatuoGPT-o1-7B's medical text fine-tuning did not improve sensitivity; the authors say this is consistent with Kim et al. (2025).
- Free text: Under No-Evd, the free-text Uncertain rate is lower than multiple choice. In Appendix O, some TOXIC cases give specific answers and plausible-sounding explanations rather than explicitly saying uncertain. The authors believe real interactions are mostly free text, so unsupported medical advice would be given directly to users.
Unreasonable Awareness in Reasoning
- What was measured: Claude Sonnet 4.5 labeled all multiple-choice reasoning traces into three awareness categories (Figures 6, 7), with 70 items human-checked at 90.00% accuracy.
- Results: Explicit Yes is rare, appearing only in a small portion of no-evidence MEDICAL, NON-MEDICAL, and TOXIC cases, mostly below 0.20, and largely disappears once E or E′ is given. NON-MEDICAL has Implicit Yes often above 0.80 without evidence, declining when evidence is added. The remaining counterfactuals are mostly No. Under the TOXIC condition with evidence, at most 80% of outputs show no awareness or hesitation.
- Authors' interpretation: The authors say that once evidence is present, models either do not recognize the unreasonableness or reinterpret T′ as an intervention roughly consistent with parametric knowledge. For TOXIC, the authors believe this raises safety concerns. In Figure 7, models show stronger awareness for NON-MEDICAL than other categories; scale shows no consistent pattern. OLMo-3-7B-Think is only slightly higher than OLMo-3-7B-Instruct on NONCE and TOXIC. In the case studies in Appendix R, the authors believe reasoning training improves evidence reasoning but increases reliance on context, and medical fine-tuning may further weaken everyday parametric knowledge.
Label Probabilities and the Toaster Representation
- What was measured: Figure 5 shows OLMo-3-7B-Instruct's pre-generation label probabilities; Appendix P covers other models. Appendix M computes the mean probability of the selected label on the subset where token probabilities can be extracted: Gemini-2.5-Flash, HuatuoGPT-o1-7B, Qwen-2.5-7B, OLMo-3-7B-Instruct.
- Results: The caption says that without evidence, answer probability distributions are wide with large within-class variance; with evidence, distributions narrow and shifts across different perturbations are similar. The authors say evidence concentrates probability onto a single label and pushes Uncertain very low before any token is generated. Appendix M: even under Skept+Evd, the median mean probability of the selected answer exceeds 0.9, and replacement types are nearly indistinguishable. The main text says OLMo-3-7B-Think's Uncertain rises somewhat, but the highest probability remains Higher; the Figure 26 caption says that with evidence the distribution widens and Uncertain becomes more likely.
- Toaster: Section 6 tracks T′ as toaster on Qwen-2.5-7B-Instruct, Evd plus multiple choice. A linear probe uses the last token of the final layer without context to distinguish NON-MEDICAL from the intervention; five-fold accuracy on 100 balanced samples is 0.952±0.031, ROC-AUC is 1.00 (Appendix C). The authors say in Figure 8, counterfactual evidence E′ rather than random same-domain context CR makes the toaster stably fall in the intervention region after about six mentions; the cosine similarity of the original intervention T stabilizes by the second token, while the toaster stabilizes after about six tokens. The authors say parametric knowledge is briefly activated and then not maintained.
Two Mitigations
- What was measured: Section 7 tries two context-level approaches on Qwen2.5-7B-Instruct and Llama-3.1-8B-Instruct. detect uses Gemini-2.5-flash to flag unreasonable or dangerous evidence, then inputs it together with the evidence; prior first answers using only parametric knowledge, then gives that answer together with the evidence to the model. Results are in Appendix U Figure 28; the main text gives no per-cell readings.
- Results: The authors say both approaches improve awareness of unreasonable evidence in reasoning and slightly increase uncertainty.
- Authors' interpretation: The authors believe this does not fundamentally solve the problem; even when the prompt points out anomalies or common-sense violations, models still tend to accept the given evidence and answer along its logic. The authors believe context-level interventions alone are insufficient, and knowledge conflicts may require safety boundaries at the training or alignment level.
Other Ablations and Analyses
- Appendix G: On the 156 Refine-chain items (Llama-3.1-8B-Instruct and Llama-3.1-405B-Instruct), EA rates across categories are 0.40–0.60, Uncertain rates 0.20–0.40; multiple-choice Implicit Yes is 0.10–0.30, No is 0.70–0.90, with no Explicit Yes.
- Appendix H: On Qwen-2.5-7B-Instruct, OLMo-3-7B-Instruct, GPT-5-mini, the authors say multiple choice with and without CoT shows no meaningful difference; free-text No-Evd Uncertain rate differs by about 0.10 to 0.20, without specifying which side is higher. Removing CoT yields more No.
- Appendix I: Full text and abstract-only give the same findings; EA rate drops by about 0.1–0.2 when the full text is given. Of the 809 items, 44×4 cases include the full text.
- Appendix L: The authors say larger EA rate decreases occur only under No-Evd; under other prompt variants the EA rate is largely unchanged.
- Appendix N: Skept+Evd Uncertain rate still clusters below 0.4; switching to MEDICAL, NON-MEDICAL, or TOXIC yields only limited increases. NON-MEDICAL barely raises uncertainty further.
- Appendix D Table 4 (Qwen-2.5-7B-Instruct): Cosine similarity of final representations between original and counterfactual evidence is 0.95±0.15 for NONCE, 0.95±0.14 for MEDICAL, 0.95±0.14 for NON-MEDICAL, 0.94±0.16 for TOXIC. The authors say in Figure 11 the two projection groups largely overlap, and final representations are insensitive to real versus counterfactual evidence.
What are some points that can be further explored?
The authors note the limitation to English RCT comparison questions and recommend large-scale human evaluation and training-level boundaries.
Limitations and future directions noted by the authors
- Language: Because MedEvidence is used, the findings are limited to English scientific medical literature, excluding multilingual literature or low-resource languages (Limitations).
- Question type: The data relies on clinical comparison questions answerable by accompanying RCTs, which the authors state may not represent the style of medical queries from different users (Limitations).
- Judge: Although validated against human annotations (Limitations states 90% accuracy; Appendix F.1 is 90.00%), relying on Claude Sonnet 4.5 classification carries the risk of propagating the judge's own limitations in detecting safety failures. The authors propose future larger-scale human evaluation to capture finer-grained reasoning patterns (Limitations).
- Mitigation: The authors believe context-level interventions alone are insufficient, and handling knowledge conflicts may require training or alignment-level safety boundaries (Section 7).
- Fallback boundary: The authors believe identifying a stable fallback boundary between parameter knowledge and contextual evidence is future work in high-risk domains (Conclusion).
Experimental coverage
- The main evaluation is the 9 LLMs listed in Section 3, four prompts, multiple-choice and free-text; Asclepius-Llama2-7B and OpenbioLLM-8B were attempted but not included in the main results.
- The data is 203 filtered English clinical comparison questions, plus four counterfactual types totaling 809 items; 44×4 cases include full text, and the authors compare full text with abstracts in Appendix I.
- Mitigation experiments compare detect and prior only on Qwen2.5-7B-Instruct and Llama-3.1-8B-Instruct (Section 7, Appendix U).
- The representation analysis is a case study on Qwen-2.5-7B-Instruct with T′ as toaster; probe training uses 50 NON-MEDICAL words and 50 intervention words (Section 6, Appendix C). Appendix D additionally reports final-layer cosine similarity and PCA.
- The paper does not report per-model point estimates for Figure 3, nor the number of repetitions or significance tests. Human checks for free-text extraction and awareness classification each use 70 items; refusal detection sampled 1,600 items, with an additional 100 manually reviewed (Appendix K).
Summarize the main content of the paper
Under counterfactual medical evidence, models rarely refuse or express uncertainty; the authors believe faithfulness overrides the safety boundary.
MEDCOUNTERFACT is used to observe, in medical evidence question answering, which side the model actually takes between following the context and maintaining safety.
- Question: Clinical comparison questions require judging, based on an RCT, whether an intervention is higher, lower, or no different relative to a control. The authors ask: if the evidence is replaced with meaningless words, wrong-indication treatments, everyday objects, or poisons, will the model still comply. The authors do not specify standard answers for all counterfactuals.
- Method: From MedEvidence, 203 questions are filtered, and four types of counterfactuals are generated for each, totaling 809 items. Nine LLMs answer under four prompts, in both multiple-choice and free-text formats. The EA rate checks whether the original label is still produced, the Uncertain rate checks whether uncertainty is acknowledged, and there are three types of unreasonable awareness.
- Answering: The authors state that once evidence is given, the answer does not fundamentally change relative to the original intervention; skeptical prompts can increase uncertainty, but are still insufficient for NON-MEDICAL and TOXIC. In Figure 4, under Skept+Evd and multiple-choice, the average increase in the Uncertain rate across counterfactual types is below 0.13. The authors state there is no safety-triggered refusal.
- Awareness and confidence: Without evidence, Explicit Yes is mostly below 0.20; with evidence, the authors state it largely no longer appears. Under the TOXIC condition with evidence, at most 80% of outputs lack unreasonable awareness. In Appendix M, under Skept+Evd, the median probability of the selected answer exceeds 0.9.
- Representation and mitigation: The authors state that after about six mentions in counterfactual evidence, toaster is represented as a real intervention, and random context does not cause the same shift. Detector flags or first providing parameter-knowledge answers only slightly increase uncertainty; the authors believe this does not fundamentally solve the problem.
- Authors' conclusion: Models rarely refuse, brief safety signals are overridden, and they give confident answers without reservations. The authors believe a stable fallback boundary between parameter knowledge and context needs to be found.