Manuscript Offprint
arXiv:2610.35558EXCISE: Locating and Excising Distracting Sentences in Medical Question Answering
Abstract
Language models are increasingly considered for clinical decision support, where their answers should be grounded in clinical evidence and remain robust to irrelevant information. Prior work shows that a single irrelevant sentence can lower the accuracy of medical models, but not where inside the model its effect can be removed, or how to do so without knowing which sentence it is. We find that blocking attention to a known distractor restores the answer, whereas head masking can suppress correct answers. We also show that the model's hidden states mark the distractor as the sentence that least fits the case even when the model follows it. To remove a distractor's effect without knowing which sentence it is, we propose EXCISE, an inference-time method that blocks the sentence most influencing the answer, but only if the model's hidden states mark it as inconsistent with the case. On MEDQA-TD (MedQA with Targeted Distractors), a benchmark we construct in which each distractor targets a specific wrong option, EXCISE gains 16.7–22.8 accuracy points at a 1.5–2.1-point cost on the same questions without distractors, outperforming prompting, rewriting, and steering baselines for all three models. Its gains extend to MedDistractQA and BiasMedQA, as well as chain-of-thought generation.
1 Introduction
Large language models (LLMs) are increasingly considered for clinical decision support (Singhal et al., 2023; Nori et al., 2023; Hager et al., 2024), where errors can harm patients (Thirunavukarasu et al., 2023; Pal et al., 2023). Their decisions should therefore depend on the clinical evidence and not on irrelevant information, such as remarks about other people or jokes.
MedQA-TD
s1-s5 A 69-year-old woman ... spleen is palpated 5 cm below the costal margin. ... leukocyte count is 12,000/mm ...
s6 The patient's aunt mentioned that her parrot has teardrop-shaped feathers.
q. Further evaluation is most likely to show ...
A. B. Teardrop cells (target) C. Smudge cells (gold) D.

Figure 1: EXCISE on an example from MEDQA-TD with Llama-3.1-8B-Instruct (Grattafiori et al., 2024). The distractor s6 shifts the answer to B; EXCISE selects s6 and blocks attention to it, restoring C.
Prior work on medical QA has shown that a single added sentence that evokes an incorrect answer option without changing the correct answer (a distractor) can lower accuracy (Vishwanath et al., 2025a,b). In Figure 1, for example, the added sentence “The patient’s aunt mentioned that her parrot has teardrop-shaped feathers” turns the answer from smudge cells to teardrop cells. However, it remains unclear where inside the model the effect of such a sentence can be removed, and how to remove it when it is not known which sentence it is.
Most defenses against irrelevant context rely on the model’s own judgment of what is irrelevant (Shi et al., 2023; Wu et al., 2024; Weston and Sukhbaatar, 2023), but a model can call a distractor irrelevant and still use it as a clue (Figure 4). We therefore investigate how to remove a distractor’s effect and find that blocking attention to a known
Corresponding author.
Code and data are available at https://github.com/ldi-kyunghee/EXCISE.
distractor restores near-clean accuracy. In contrast, switching off the attention heads that prior work links to distraction (Niu et al., 2025; Liu and Chu, 2026) makes the model avoid whatever option an added sentence points to, even when that option is correct.
At inference time, however, the distractor is not marked. Since a distractor misleads by moving the model's decision, one approach is to block the sentence that moves it most, but that sentence may also be a key clinical finding, so influence alone cannot tell us whether to block it. We find that the model's hidden states can make this decision, since they reveal a distractor's mismatch with the rest of the case even when the model is misled. We therefore propose EXCISE (EXcision by Causal Influence and Self-discordance Evidence), an inference-time method that uses both signals. Interventional Attribution (IA) tests each sentence by blocking attention to it and selects the one whose blocking most weakens the current decision. The Discordance Gate (DG) then lets EXCISE block that sentence only if the model's hidden states mark it as inconsistent with the rest of the case.
We test EXCISE on MEDQA-TD (MedQA with Targeted Distractors), in which each added distractor targets a specific wrong option. Nine open-weight models, including medical and reasoning models, lose 19–32 points on it. EXCISE raises accuracy by 16.7–22.8 points for three models at a cost of 1.5–2.1 points on the same questions without a distractor, outperforming other inference-time methods (Shi et al., 2023; Weston and Sukhbaatar, 2023; Rimsky et al., 2024). These gains also carry over to chain-of-thought generation (Wei et al., 2022), MedDistractQA and BiasMedQA (Schmidgall et al., 2024).
Our contributions are as follows:
• We introduce MEDQA-TD, a medical QA benchmark with answer-preserving distractors that target specific wrong options.
• We show that blocking a known distractor restores the answer, and that the model’s hidden states flag the distractor even when the model follows it.
• We propose EXCISE, an inference-time method that blocks the sentence most influencing the decision only when the model’s hidden states mark it as inconsistent with the case.
Mechanisms of context influence. Prior work identifies heads favoring context over memory (Yu et al., 2023; Jin et al., 2024), contextual entrainment (Niu et al., 2025; Liu and Chu, 2026), long-context attention (Zhu et al., 2025), and stages affected by irrelevant or persuasive context (Qu and Gomes, 2026; Sun et al., 2026; Joswin et al., 2026). Models can also copy meaning (Feucht et al., 2025) or infer answers from irrelevant context (Cheng et al., 2025). Unlike fixed head edits applied across inputs, we intervene on individual sentences.
Inference-time defenses and attribution. Prompt-based defenses ask models to ignore, identify, or remove irrelevant content (Shi et al., 2023; Wu et al., 2024; Weston and Sukhbaatar, 2023). Other methods steer activations (Li et al., 2023; Rimsky et al., 2024) or adjust attention to user-marked spans (Zhang et al., 2024) or distracting demonstration tokens (Yan et al., 2025). Context attribution estimates source contributions from attention (Cohen-Wang et al., 2025) or context ablations, using surrogate models fitted to random ablations (Cohen-Wang et al., 2024), adaptively chosen ablations (Pan et al., 2026), or approximations to leave-one-out ablation (Liu et al., 2025). EXCISE instead measures each sentence's effect with the same attention blocking it then applies, following attention-based perturbation (Deiseroth et al., 2023), so the score is the exact effect of the intervention. It selects a sentence by this effect and intervenes only when that sentence is inconsistent with the remaining case.
| Model | MedQA | MDQA | MEDQA-TD |
|---|---|---|---|
| General | |||
| Llama-3.1-8B-Instruct | 61.7 | 54.5 –7.2 | 40.7 –21.1 |
| Qwen3-8B | 63.4 | 50.3 –13.1 | 33.7 –29.7 |
| Llama-3-8B-Instruct | 60.0 | 49.7 –10.3 | 36.2 –23.8 |
| Granite-3.3-8B-Instruct | 51.5 | 39.4 –12.1 | 29.1 –22.4 |
| Falcon3-10B-Instruct | 58.4 | 46.3 –12.1 | 31.5 –27.0 |
| Phi-4 (14B) | 70.9 | 63.4 –7.5 | 50.7 –20.3 |
| Qwen3-8B (thinking) | 77.5 | 70.0 –7.5 | 57.0 –20.5 |
| Medical | |||
| MedGemma-27B-text-it | 73.3 | 65.2 –8.1 | 51.9 –21.4 |
| HuatuoGPT-o1-8B | 74.6 | 65.5 –9.1 | 55.1 –19.5 |
Table 1: Accuracy (%) on MedQA (Jin et al., 2021) without and with distractors, averaged over the two distractor types (MDQA: MedDistractQA (Vishwanath et al., 2025a)), with the change from MedQA in gray. Reasoning model.
3 MEDQA-TD
To analyze how a distractor misleads a model, we need to know which wrong option each distractor is meant to favor. We therefore build MEDQA-TD (MedQA with Targeted Distractors), which follows the two answer-preserving distractor types of MedDistractQA (Vishwanath et al., 2025a) and writes every distractor for a specific wrong option, its target. Bystander (BS) distractors attribute a medical detail to someone other than the patient, and Nonliteral (NL) distractors use a medical term as a joke or metaphor, so neither is relevant to answering the question.
For each four-option MedQA-USMLE question (Jin et al., 2021) in the development and test splits (Appendix C) and each distractor type, GPT-OSS-120B (Agarwal et al., 2025) writes eight candidate distractors per wrong option. It keeps only the candidates that point to their intended option and not to the correct option (Appendix B). As a reference model, it then answers the question with each kept candidate. We use GPT-OSS-120B because its open weights let us read its option log-probabilities, and it answers of the clean questions (without a distractor) correctly when it reasons, so a wrong answer usually comes from the distractor and not from a lack of medical knowledge in the model.
With the gold option, the kept candidates and the reference model's log-probability of answer option when is added, we select
the candidate and wrong option for which the reference model most prefers a wrong option over the gold one, and keep as the distractor of the question, so that MEDQA-TD also serves as a stress test. For a question that the reference model answers correctly without a distractor, is positive exactly when turns its answer wrong. The option need not be the target of , since any wrong answer is a failure. The kept distractor is placed at the end of the narrative, before the question sentence. Two PhD students in geriatric epidemiology at a medical school independently judged 100 randomly sampled MEDQA-TD questions, 50 of each type, and neither judged that any of them changes the correct answer (Appendix B.1).
Although the distractors are selected with the reference model alone, all nine open models, including medical and reasoning models, lose 19–32 points on each distractor type of MEDQA-TD relative to the clean questions, 9–20 points more than on MedDistractQA (Table 1 and Appendix B). Target-wrong answers, which choose the option a distractor was written for, rise to 2.4–3.6 times their count on the clean questions. The distractors thus move answers toward their target rather than spreading them over the wrong options, which lets us test whether an intervention removes a distractor's effect or only avoids the option it points to (Section 4).
4 Motivation: What Removing a Distractor Requires
Using four models, Llama-3.1-8B-Instruct, Qwen3-8B (Yang et al., 2025a), Llama-3-Meerkat-8B (Kim et al., 2025) and Phi-4 (Abdin et al., 2024), we ask two questions that shape the design of EXCISE: where the effect of a distractor should be removed (Section 4.1), and whether the model's internal signals show if a sentence fits the case (Section 4.2).
4.1 Masking Selected Heads Suppresses Correct Answers
A distractor's effect could be removed without locating it, by masking a fixed set of attention heads that prior work links to distraction (Niu et al., 2025; Liu and Chu, 2026). Such masks, found on development data for each of the four models, do not make the model ignore the distractor but make it avoid whichever option it points to (Figure 2): they raise MEDQA-TD accuracy from to , but when the added sentence points to the correct option instead, they lower accuracy from to (Appendix D.2). Blocking attention to the

Figure 2: Head masking and blocking the added sentence (in every layer and head) when the sentence points to a wrong option (MEDQA-TD) or the correct option, averaged over distractor types and the four models.

Figure 3: How often a sentence is the most discordant in its case: the sentence that moves the answer most in MedQA questions (left), and the distractor in questions it turns from correct to wrong (right). Dashed lines: chance.
added sentence itself, by setting the attention scores from all later positions to its tokens to in every layer and head (attention knockout; Geva et al., 2023), instead brings accuracy close to clean accuracy in both cases (64.4% and 65.0%), as ignoring the sentence should. Removing a distractor's effect therefore requires finding the distractor in each question and blocking attention to it.
4.2 Hidden States Show Whether a Sentence Fits the Case
Blocking a distractor restores the answer, but the sentence that moves the answer most is not always a distractor: in a question without one, it is often a key clinical finding, which is connected to the rest of the case, whereas a distractor is not. For each narrative sentence, we therefore measure the cosine similarity between the hidden state of the sentence read alone and that of the rest of the case read alone, after removing the dominant shared direction, and call a sentence more discordant the lower this similarity is relative to the other sentences. Before any intervention, on MedQA questions without a distractor, the sentence that moves the answer most is the most discordant in only 12–13% of cases, against about 15% by chance, whereas on questions that the distractor turns from correct to wrong, the distractor is the most discordant sentence in 78–93% of cases on all three benchmarks (Figure 3). The evidence that drives a correct answer thus fits the case in the model's hidden states, whereas the distractor stands out as inconsistent with it even as the model follows it.
5 EXCISE: Locating and Blocking the Distractor
Blocking attention to a known distractor removes its effect (Section 4.1), but at inference time the distractor must be located. EXCISE therefore selects the sentence whose blocking moves the answer most and, since this sentence may instead be a key clinical finding, blocks it only if the Discordance Gate finds it inconsistent with the case (Section 4.2; Figure 4).
5.1 Blocking a Sentence
Let be the sentences of the case narrative, which precedes the question sentence and the answer options. The decision is given by the logits of the option letters at the answer position. Let and be the top two options before any intervention and the decision margin. Inspired by attention knockout (Geva et al., 2023) and PASTA (Zhang et al., 2024), blocking a sentence with strength multiplies the attention weights from every later position to its tokens by and renormalizes them, in all layers and heads. With , the attention to the sentence is removed.
5.2 Interventional Attribution: Selecting the Sentence That Moves the Answer
For each narrative sentence ( ), the score is how much blocking it weakens the current decision:
where are the logits of the forward pass in which is blocked, and stay fixed at their values before the intervention, so can be negative. The candidate is . Because uses the same blocking that EXCISE applies, it is
MedQA-TD
s1 A 69-year-old woman comes to the physician for a routine health maintenance examination.
s2 She feels well.
s3 Physical examination shows nontender cervical and axillary lymphadenopathy.
s4 The spleen is palpated 5 cm below the costal margin.
s5 Her leukocyte count is 12,000/mm3 and platelet count is 217,000/mm3.
s6 The patient's aunt mentioned that her parrot has teardrop-shaped feathers.
q. Further evaluation is most likely to show which of the following findings?
op. A. ... B. Teardrop cells (target) C. Smudge cells (gold) D. ...
IA: drives the answer?
DG: off-case?

s6 flagged by both → EXCISE blocks s6

... The mention of teardrop-shaped feathers on the parrot is a red herring, but it is a clue to the patient's underlying condition. ... The patient's aunt likely has a myeloproliferative neoplasm, and the patient has inherited the genetic predisposition. ... The most likely finding in this patient is teardrop cells, which are associated with myelofibrosis.
Answer: B. Teardrop cells X
... a normal platelet count with an elevated leukocyte count is suggestive of a hematologic disorder. The presence of smudge cells on a peripheral blood smear is characteristic of chronic lymphocytic leukemia (CLL), which is a common cause of splenomegaly in older adults.
Answer: C. Smudge cells ✓
Figure 4: An example from MEDQA-TD with Llama-3.1-8B-Instruct (distractor s6 in red, targeting B, gold: C). Top right: attribution and discordance of each sentence (dashed line: threshold). Bottom: without intervention, the chain of thought (Wei et al., 2022) calls the parrot a red herring yet uses it as a clue and answers B. With s6 blocked in all layers and heads, the model answers C (excerpts).
the exact effect of that intervention. When EXCISE intervenes, the answer is read from the pass that computed .
5.3 Discordance Gate: Blocking Sentences That Do Not Fit the Case
A large alone cannot tell whether is a distractor or clinical evidence (Section 4.2). The gate therefore asks whether fits the rest of the case in the model's own representation. We run the model on alone and, in a separate pass, on the remaining narrative sentences joined together, without any prompt, and mean-pool the hidden states of each pass at a layer L chosen on the development set, giving and . Contextual representations are anisotropic (Ethayarajh, 2019; Timkey and Van Schijndel, 2021), so cosine similarities between them are dominated by a few directions shared by all representations. P removes the strongest of these directions by subtracting the mean of the over the unlabeled inputs that EXCISE is applied to, here the narrative sentences of each test set, and projecting out their first principal component, following Mu et al. (2017), so that the gate adapts to these inputs without labels, and a basis fixed once on development questions keeps 79–95% of the MEDQA-TD gain (Appendix E.1). With the similarity between a sentence and the rest of the case, the discordance is
where and are the mean and standard deviation of the similarities of the other sentences of the same question. Higher values mean that is less consistent with the case. Since needs at least two other sentences, EXCISE leaves questions with fewer than three narrative sentences unchanged, 1.4% of MEDQA-TD questions and 6.5% of clean ones (Appendix C). EXCISE intervenes only if exceeds a threshold . In Figure 4, the distractor has the largest and its discordance exceeds , so EXCISE blocks it.
If the gate passes, EXCISE blocks with strength . Blocking rather than deleting the sentence lets the intervention reuse the attribution pass and take partial strengths, and leaves the input and token positions unchanged (deleting it gives the same accuracy, Appendix C.1). , and are chosen once per model on the development set and applied unchanged to every test set (values and search ranges in Appendix C.3).
| Method | Latency (ms) | Clean | With distractors | |||
|---|---|---|---|---|---|---|
| MedQA | MMLU-PM | MEDQA-TD | MedDistractQA | BiasMedQA | ||
| Qwen3-8B | ||||||
| No intervention | 41 | 63.4 | 82.7 | 33.7 | 50.3 | 28.7 |
| Ignore instruction | 44 | 64.0 +0.6 | 82.7 0.0 | 33.2 -0.5 | 50.4 +0.1 | 27.1 -1.6 |
| CAA | 41 | 64.0 +0.6 | 80.5 -2.2 | 38.3 +4.7 | 53.3 +3.0 | 35.6 +6.9 |
| S2A | 4,182 | 63.6 +0.2 | 83.5 +0.7 | 36.5 +2.8 | 54.3 +4.0 | 35.3 +6.7 |
| EXCISE (Ours) | 819 | 61.7 -1.6 | 83.1 +0.4 | 56.4 +22.8 | 61.0 +10.7 | 53.5 +24.8 |
| CoT | 3,408 | 70.2 | 86.0 | 44.2 | 58.2 | 41.5 |
| CoT + I3C | 11,322 | 65.6 -4.6 | 84.9 -1.1 | 39.5 -4.7 | 55.3 -2.8 | 35.0 -6.5 |
| CoT + EXCISE (Ours) | 4,348 | 67.8 -2.4 | 85.7 -0.4 | 61.5 +17.3 | 65.2 +7.0 | 58.0 +16.5 |
| Llama-3.1-8B-Instruct | ||||||
| No intervention | 40 | 61.7 | 76.1 | 40.7 | 54.5 | 49.7 |
| Ignore instruction | 41 | 61.9 +0.2 | 76.1 0.0 | 40.5 -0.2 | 55.0 +0.5 | 49.2 -0.5 |
| CAA | 40 | 62.3 +0.5 | 75.0 -1.1 | 41.8 +1.1 | 55.4 +0.9 | 50.7 +1.0 |
| S2A | 3,173 | 61.1 -0.6 | 75.7 -0.4 | 55.7 +15.0 | 60.1 +5.6 | 56.8 +7.1 |
| EXCISE (Ours) | 731 | 59.6 -2.1 | 72.1 -4.0 | 57.4 +16.7 | 59.5 +5.0 | 55.4 +5.7 |
| CoT | 2,049 | 67.7 | 79.0 | 47.7 | 61.6 | 53.3 |
| CoT + I3C | 10,061 | 67.0 -0.7 | 78.3 -0.7 | 47.0 -0.7 | 57.9 -3.8 | 47.2 -6.1 |
| CoT + EXCISE (Ours) | 2,857 | 66.5 -1.3 | 75.4 -3.7 | 61.2 +13.5 | 65.2 +3.5 | 57.6 +4.3 |
| Llama-3-Meerkat-8B | ||||||
| No intervention | 38 | 63.0 | 77.9 | 37.7 | 53.9 | 42.7 |
| Ignore instruction | 40 | 63.3 +0.3 | 77.2 -0.7 | 37.6 -0.2 | 52.8 -1.1 | 41.8 -0.9 |
| CAA | 38 | 63.6 +0.6 | 75.4 -2.6 | 39.7 +1.9 | 54.9 +0.9 | 45.8 +3.1 |
| S2A | 3,324 | 63.9 +0.9 | 79.0 +1.1 | 45.8 +8.1 | 58.2 +4.3 | 48.6 +5.9 |
| EXCISE (Ours) | 721 | 61.5 -1.5 | 75.4 -2.6 | 59.2 +21.4 | 61.4 +7.5 | 55.1 +12.4 |
| CoT‡ | 6,078 | 72.7 | 83.5 | 48.5 | 63.5 | 58.6 |
| CoT + I3C‡ | 20,269 | 64.7 -8.0 | 82.4 -1.1 | 43.0 -5.5 | 56.6 -6.9 | 45.4 -13.1 |
| CoT + EXCISE (Ours)‡ | 7,301 | 71.0 -1.7 | 78.7 -4.8 | 64.4 +15.9 | 67.5 +4.0 | 64.4 +5.8 |
Table 2: Accuracy (%) of EXCISE and inference-time baselines. MEDQA-TD and MedDistractQA: mean of the Nonliteral and Bystander distractors (per type in Appendix F.1); BiasMedQA: mean of seven bias types. Gray: change from no intervention, or from CoT below the dashed line (unrounded), shaded blue for gains and red for losses. Latency: wall-clock time per question, including generation. MMLU-PM: MMLU professional medicine. Model-card prompt format (Appendix F.3). Bold: best per model and column within each block.
6 Experimental Setup
Models. We evaluate EXCISE on Llama-3.1-8B-Instruct (Grattafiori et al., 2024), Qwen3-8B (Yang et al., 2025a) with thinking off, and the medical fine-tune Llama-3-Meerkat-8B (Kim et al., 2025).
Data and metrics. We test distraction robustness on MEDQA-TD, MedDistractQA (Vishwanath et al., 2025a) and BiasMedQA (Schmidgall et al., 2024), clean accuracy on MedQA (Jin et al., 2021) and MMLU professional medicine (Hendrycks et al., 2021). Accuracy includes all questions, using option-letter logits for first-token evaluation and the parsed answer for chain-of-thought generation, with paired 95% bootstrap intervals (Appendix C.5). Dataset sizes, hardware and evaluation details are in Appendix C.
Baselines. We compare ignore instructions (Shi et al., 2023; Wu et al., 2024), S2A context rewriting (Weston and Sukhbaatar, 2023), I C identification of irrelevant conditions before reasoning (Wu et al., 2024), and CAA activation steering (Rimsky et al., 2024), with its steering vector built from clean/MEDQA-TD development pairs. Generation-based methods are compared by elapsed time, including EXCISE with chain-of-thought generation (Appendix F.3). ContextCite (Cohen-Wang et al., 2024), CAMAB (Pan et al., 2026), AT2 (Cohen-Wang et al., 2025) (Llama-3.1-8B-Instruct only), and averaged attention replace IA under the same gate (Appendix F.2); Appendix F.2 also evaluates them without the gate.
7 Main Results
On MEDQA-TD, EXCISE raises accuracy by 16.7–22.8 points for the three models at a cost of 1.5–2.1 points on clean MedQA questions (Table 2), and for Llama-3.1-8B-Instruct it damages a similar share of correctly answered questions on MMLU professional medicine (Appendix E.6).
Against methods for the same task. On MEDQA-TD, EXCISE has the highest accuracy among the methods without chain-of-thought generation in Table 2 for every model. The ignore
| Variant | #Fwd | MedQA | MEDQA-TD | ||
|---|---|---|---|---|---|
| Acc | Interv. | Acc | Interv. | ||
| Qwen3-8B | |||||
| EXCISE (Ours) | 25 | 61.7 | 19.4 | 56.4 | 48.6 |
| w/o IA | 18 | 61.7 -0.1 | 92.5 | 56.0 -0.4 | 98.3 |
| w/o DG | 9 | 53.2 -8.6 | 93.5 | 47.2 -9.3 | 98.6 |
| w/o IA & DG | 1 | 63.4 +1.6 | - | 33.7 -22.8 | - |
| Llama-3.1-8B-Instruct | |||||
| EXCISE (Ours) | 25 | 59.6 | 19.7 | 57.4 | 43.5 |
| w/o IA | 18 | 60.0 +0.4 | 91.9 | 57.8 +0.4 | 98.4 |
| w/o DG | 9 | 52.2 -7.5 | 93.5 | 48.3 -9.1 | 98.6 |
| w/o IA & DG | 1 | 61.7 +2.1 | - | 40.7 -16.7 | - |
| Llama-3-Meerkat-8B | |||||
| EXCISE (Ours) | 25 | 61.5 | 29.5 | 59.2 | 54.6 |
| w/o IA | 18 | 61.7 +0.2 | 93.5 | 57.6 -1.6 | 98.6 |
| w/o DG | 9 | 55.1 -6.4 | 93.5 | 49.6 -9.6 | 98.6 |
| w/o IA & DG | 1 | 63.0 +1.5 | - | 37.7 -21.4 | - |
Table 3: Our ablation study. Interv.: questions intervened on (%); #Fwd: forward passes per question. w/o IA & DG: No intervention

Figure 5: Gains of S2A and EXCISE on MEDQA-TD (both distractor types), by whether the S2A rewrite keeps the distractor.
instruction and steering barely move MEDQA-TD (at most +4.7 points), and with chain-of-thought generation, EXCISE is 14.2–22.0 points above CoT + I C on MEDQA-TD. S2A also matches or exceeds EXCISE for Llama-3.1-8B-Instruct on MedDistractQA and BiasMedQA. Its gains depend on whether the model's rewrite leaves out the distractor, and where the rewrite keeps it, S2A gains at most 0.9 points on MEDQA-TD, against 16–23 for EXCISE (Figure 5). EXCISE is also faster, with 0.72–0.82 seconds per question against 3.2–4.2 for S2A, and with chain-of-thought generation 2.9–7.3 against 10.1–20.3 for CoT + I C.
Beyond MEDQA-TD. On MedDistractQA and BiasMedQA, EXCISE gains 5.0–10.7 and 5.7–24.8 points, respectively (Table 2; per-bias results in Appendix F.4), the best of these methods apart from S2A for Llama-3.1-8B-Instruct. With chain-of-thought generation, it still gains 13.5–17.3 points on MEDQA-TD, 3.5–7.0 on MedDistractQA and 4.3–16.5 on BiasMedQA, at a cost of 1.3–2.4 points on clean MedQA.

Figure 6: Accuracy on MEDQA-TD (NL and BS pooled) with zero to three added off-case sentences.
8 Analysis
8.1 Can EXCISE Find the Distractor among Added Noise?
MEDQA-TD contains a single added distractor, but a case may also include other irrelevant remarks. We test whether EXCISE can locate the distractor among such noise by inserting one to three additional off-case sentences at random positions before the original distractor. Each added sentence is the distractor of another question of the same type and shares no content word with any of this question's options, so it resembles the distractor in form but was not written to push the model toward any of them. We compare against EXCISE w/o IA, a discordance-only variant that blocks the most discordant sentence that passes the gate.
Figure 6 shows that the two methods perform similarly without additional remarks, but diverge once a remark is added. With one added sentence, EXCISE outperforms EXCISE w/o IA by 7.2–10.0 accuracy points across three models, and the gap persists with further additions. With one added sentence, EXCISE blocks the original distractor in 54–80% of flipped questions (correct on the original clean question but wrong on the augmented question), compared with 24–31% for EXCISE w/o IA. The latter instead blocks the added remark in 59–67%. Although the added sentences weaken the distractor's influence, EXCISE remains more accurate because it selects the sentence whose blocking most weakens the current decision. Further analysis is in Appendix E.4.
EXCISE w/o IA EXCISE
Distractor ranks first by discordance (n = 1,724–3,229)

Another sentence ranks first by discordance (n = 80–254)

Figure 7: Flipped questions recovered by EXCISE w/o IA and EXCISE, pooled over MEDQA-TD, MedDistractQA and BiasMedQA. Only questions in which the distractor passes the gate are included, grouped by whether the distractor or another sentence ranks first by discordance.
8.2 What Does Each Part Contribute?
The added-noise experiment highlights the role of attribution; we now examine how influence and discordance complement each other (Table 3). Without the gate, blocking the top-attributed sentence in every question (EXCISE w/o DG) costs 7.9–10.2 points on clean questions relative to no intervention, because in questions without a distractor this sentence is often a key clinical finding that fits the case. Without attribution, EXCISE w/o IA reaches accuracy comparable to EXCISE, because in these benchmarks the distractor is usually the most discordant sentence (Section 4.2). When another sentence is more discordant than the distractor, in 4.1–8.9% of flipped questions, EXCISE recovers most of them and EXCISE w/o IA almost none, since EXCISE w/o IA blocks the least fitting sentence whether or not it moves the decision (Figure 7).
Attribution also makes the decision to intervene informative. EXCISE intervenes on 79–94% of MEDQA-TD questions whose answer the distractor pulls to the target, but on only 7–21% of those answered correctly with and without it (Appendix E.5), whereas EXCISE w/o IA intervenes on 91.9–93.5% of clean questions, so whether it intervenes says nothing about whether the model was misled.
We also compare each component with alternatives. For Llama-3.1-8B-Instruct and Qwen3-8B, ContextCite under the same gate is within one point of IA but needs 3.3 times as many forward passes; CAMAB, averaged attention and AT2 fall at least 2.0 points behind on MEDQA-TD (Appendix F.2). When the distractor is moved to the middle or start of the narrative, EXCISE changes by at most 3.2 points, against up to 13.4 for averaged attention under the same gate (Appendix B.3), and sentence encoders work worse than the model's own representations in the gate (Appendix E.2).
8.3 Where Does EXCISE Fail?
On flipped MEDQA-TD questions, attribution ranks the distractor first in 90–91%; the gate passes it in 81–95% of these, and blocking it then restores the answer in 93–95% (Appendix E.5). Overall, EXCISE recovers 71–81% of flipped questions, against 90–94% with the known distractor blocked. The gate is the weakest step for MEDQA-TD Bystander distractors, which it passes in 81–86% of questions, possibly because a relative’s medical history is closer to the case than other distractors are. Attribution is the weakest step on MedDistractQA, where the distractor ranks first in only 72–89% of questions.
9 Conclusion
We presented EXCISE, which selects the sentence that most influences a medical QA model's answer and blocks attention to it only when the model's own hidden states mark it as inconsistent with the case. Unlike generation-based defenses that ask the model to identify or rewrite irrelevant content, EXCISE makes these decisions from measured intervention effects and hidden-state discordance.
Our analysis showed that blocking a known distractor largely restores accuracy, whereas fixed head masks can suppress correct answers. Hidden states also distinguish distractors even when the model follows them.
On MEDQA-TD, EXCISE improves accuracy by 16.7–22.8 points at a 1.5–2.1-point cost on clean questions, with gains extending to other benchmarks and chain-of-thought generation. Our ablations show that attribution helps locate the original distractor among additional off-case remarks, while the discordance gate limits harmful interventions on clean questions. Together, these signals make intervention selective: EXCISE intervenes far more often when a distractor draws the model toward its targeted wrong option than when the answer remains correct despite its presence.
Limitations
Scope. EXCISE is designed to suppress information irrelevant to answering the question, rather than to correct false medical claims. Fabricated rules, altered numerical values, and misleading guideline statements, such as those studied in MedMisBench (Zhou et al., 2026), require fact verification rather than ignoring and are outside its scope. Our experiments focus on answer-preserving distractors in medical QA rather than the full range of noise encountered in clinical records. Although Section 8.1 introduces additional off-case remarks, these do not capture transcription errors, speech-recognition artifacts, or duplicated text. Moreover, each question contains only one answer-targeting distractor; the additional remarks are not designed to favor wrong options.
Applicability. EXCISE requires access to answer-option logits, attention, and hidden states. It therefore applies to multiple-choice questions with white-box model access. Although its decisions carry over to chain-of-thought generation (Table 2), questions without answer options are not covered. The discordance gate also requires at least three narrative sentences; shorter questions are left unchanged.
The gate estimates a mean and first principal component from the unlabeled inputs to which it is applied. This batch-dependent projection can be difficult to estimate when questions arrive individually or when suitable batches cannot be gathered. A projection fixed on development data avoids this requirement, but retains a smaller accuracy gain (Appendix E.1).
Cost and Trade-offs. EXCISE uses forward passes per question: one answer readout, n attribution passes, and 2n short passes for the discordance gate. On MEDQA-TD, this amounts to about 25 passes and 721–819 ms per question, approximately 18–20 times the latency of a single pass. The method also reduces accuracy on clean MedQA questions by 1.5–2.1 points (Table 2), reflecting the remaining risk of unnecessary intervention.
Ethical Considerations
MEDQA-TD consists of synthetic distractors written by GPT-OSS-120B (Agarwal et al., 2025) for public MedQA questions and contains no patient data. Available dataset and model licenses are listed in Appendix A. EXCISE is an analysis and mitigation method for benchmark settings. It is not validated for clinical use, and its clean cost and remaining errors mean that it must not be deployed for patient care without clinical evaluation.
Acknowledgments
We thank Heeeun Jung and Nahyun Lim from the Epidemiology of Aging Lab, College of Medicine, Kyung Hee University, for volunteering to review the MEDQA-TD questions.
References
Marah Abdin, Jyoti Aneja, Harkirat Behl, Sébastien Bubeck, Ronen Eldan, Suriya Gunasekar, Michael Harrison, Russell J Hewett, Mojan Javaheripi, Piero Kauffmann, and 1 others. 2024. Phi-4 technical report. arXiv preprint arXiv:2412.08905.
Sandhini Agarwal, Lama Ahmad, Jason Ai, Sam Altman, Andy Applebaum, Edwin Arbus, Rahul K Arora, Yu Bai, Bowen Baker, Haiming Bao, and 1 others. 2025. gpt-oss-120b & gpt-oss-20b model card. arXiv preprint arXiv:2508.10925.
Yu Cao, Dianqi Li, Meng Fang, Tianyi Zhou, Jun Gao, Yibing Zhan, and Dacheng Tao. 2022. TASA: Deceiving question answering models by twin answer sentences attack. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 11975–11992, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.
Junying Chen, Zhenyang Cai, Ke Ji, Xidong Wang, Wanlong Liu, Rongsheng Wang, and Benyou Wang. 2025. Towards medical complex reasoning with llms through medical verifiable problems. In Findings of the Association for Computational Linguistics: ACL 2025, pages 14552–14573.
Ziling Cheng, Meng Cao, Marc-Antoine Rondeau, and Jackie CK Cheung. 2025. Stochastic chameleons: Irrelevant context hallucinations reveal class-based (mis) generalization in llms. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 30187–30214.
Jacob Cohen. 1960. A coefficient of agreement for nominal scales. Educational and psychological measurement, 20(1):37–46.
Benjamin Cohen-Wang, Yung-Sung Chuang, and Aleksander Madry. 2025. Learning to attribute with attention. arXiv preprint arXiv:2504.13752.
Benjamin Cohen-Wang, Harshay Shah, Kristian Georgiev, and Aleksander Madry. 2024. ContextCite: Attributing model generation to context. In Advances in Neural Information Processing Systems, volume 37.
Björn Deiseroth, Mayukh Deb, Samuel Weinbach, Manuel Brack, Patrick Schramowski, and Kristian Kersting. 2023. Atman: Understanding transformer predictions through memory efficient attention manipulation. Advances in Neural Information Processing Systems, 36:63437–63460.
Kawin Ethayarajh. 2019. How contextual are contextualized word representations? comparing the geometry of bert, elmo, and gpt-2 embeddings. In Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP), pages 55–65.
Alvan R Feinstein and Domenic V Cicchetti. 1990. High agreement but low kappa: I. the problems of two paradoxes. Journal of clinical epidemiology, 43(6):543–549.
Sheridan Feucht, Eric Todd, Byron Wallace, and David Bau. 2025. The dual-route model of induction. arXiv preprint arXiv:2504.03022.
Tianyu Gao, Xingcheng Yao, and Danqi Chen. 2021. Simcse: Simple contrastive learning of sentence embeddings. In Proceedings of the 2021 conference on empirical methods in natural language processing, pages 6894–6910.
Mor Geva, Jasmijn Bastings, Katja Filippova, and Amir Globerson. 2023. Dissecting recall of factual associations in auto-regressive language models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 12216–12235.
IBM Granite Team. 2025. Granite-3.3-8b-instruct. Hugging Face model card.
Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, and 1 others. 2024. The llama 3 herd of models. arXiv preprint arXiv:2407.21783.
Kilem Li Gwet. 2008. Computing inter-rater reliability and its variance in the presence of high agreement. British Journal of Mathematical and Statistical Psychology, 61(1):29–48.
Paul Hager, Friederike Jungmann, Robbie Holland, Kunal Bhagat, Inga Hubrecht, Manuel Knauer, Jakob Vielhauer, Marcus Makowski, Rickmer Braren, Georgios Kaissis, and 1 others. 2024. Evaluation and mitigation of the limitations of large language models in clinical decision-making. Nature medicine, 30(9):2613–2622.
Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2021. Measuring massive multitask language understanding. In International Conference on Learning Representations.
Robin Jia and Percy Liang. 2017. Adversarial examples for evaluating reading comprehension systems. In Proceedings of the 2017 conference on empirical methods in natural language processing, pages 2021–2031.
Di Jin, Eileen Pan, Nassim Oufattole, Wei-Hung Weng, Hanyi Fang, and Peter Szolovits. 2021. What disease does this patient have? a large-scale open domain question answering dataset from medical exams. Applied Sciences, 11(14):6421.
Zhuoran Jin, Pengfei Cao, Hongbang Yuan, Yubo Chen, Jiexin Xu, Huaijun Li, Xiaojian Jiang, Kang Liu, and Jun Zhao. 2024. Cutting off the head ends the conflict: A mechanism for interpreting and mitigating knowledge conflicts in language models. In Findings of the Association for Computational Linguistics: ACL 2024, pages 1193–1215.
Emil Joswin, Srujananjali Medicherla, and Priyanka Mary Mammen. 2026. A mechanistic view of authority hierarchy in llm sycophancy. arXiv preprint arXiv:2607.00415.
Hyunjae Kim, Hyeon Hwang, Jiwoo Lee, Sihyeon Park, Dain Kim, Taewhoo Lee, Chanwoong Yoon, Jiwoong Sohn, Jungwoo Park, Olga Reykhart, and 1 others. 2025. Small language models learn enhanced reasoning skills from medical textbooks. NPJ digital medicine, 8(1):240.
Seongyun Lee, Yongrae Jo, Minju Seo, Moontae Lee, and Minjoon Seo. 2026. Lost in the noise: How reasoning models fail with contextual distractors. arXiv preprint arXiv:2601.07226.
Kenneth Li, Oam Patel, Fernanda Viégas, Hanspeter Pfister, and Martin Wattenberg. 2023. Inference-time intervention: Eliciting truthful answers from a language model. Advances in neural information processing systems, 36:41451–41530.
Fangyu Liu, Ehsan Shareghi, Zaiqiao Meng, Marco Basaldella, and Nigel Collier. 2021. Self-alignment pretraining for biomedical entity representations. In Proceedings of the 2021 conference of the North American chapter of the association for computational linguistics: human language technologies, pages 4228–4238.
Fengyuan Liu, Nikhil Kandpal, and Colin Raffel. 2025. Attribot: A bag of tricks for efficiently approximating leave-one-out context attribution. In International Conference on Learning Representations, volume 2025, pages 16687–16710.
Yang Liu and Chenhui Chu. 2026. Sentence-level contextual entrainment in large language models. arXiv preprint arXiv:2606.24077.
Paul McNamee, Charles Nicholas, and James Mayfield. 2009. Addressing morphological variation in alphabetic languages. In Proceedings of the 32nd international ACM SIGIR conference on Research and development in information retrieval, pages 75–82.
Iman Mirzadeh, Keivan Alizadeh-Vahid, Hooman Shahrokhi, Oncel Tuzel, Samy Bengio, and Mehrdad Farajtabar. 2025. Gsm-symbolic: Understanding the limitations of mathematical reasoning in large language models. In International Conference on Learning Representations, volume 2025, pages 94743–94765.
Jiaqi Mu, Suma Bhat, and Pramod Viswanath. 2017. All-but-the-top: Simple and effective postprocessing for word representations. arXiv preprint arXiv:1702.01417.
Robert Osazuwa Ness, Katie Matton, Hayden Helm, Sheng Zhang, Junaid Bajwa, Carey E Priebe, and Eric Horvitz. 2024. Medfuzz: Exploring the robustness of large language models in medical question answering. arXiv preprint arXiv:2406.06573.
Jingcheng Niu, Xingdi Yuan, Tong Wang, Hamidreza Saghir, and Amir H Abdi. 2025. Llama see, llama do: A mechanistic perspective on contextual entrainment and distraction in llms. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 16218–16239.
Harsha Nori, Nicholas King, Scott Mayer McKinney, Dean Carignan, and Eric Horvitz. 2023. Capabilities of gpt-4 on medical challenge problems. arXiv preprint arXiv:2303.13375.
Ankit Pal, Logesh Kumar Umapathi, and Malaikannan Sankarasubbu. 2023. Med-halt: Medical domain hallucination test for large language models. In Proceedings of the 27th Conference on Computational Natural Language Learning (CoNLL), pages 314–334.
Deng Pan, Keerthiram Murugesan, Ting Hua, Nuno Moniz, and Nitesh V Chawla. 2026. Context attribution with multi-armed bandit optimization. In Findings of the Association for Computational Linguistics: ACL 2026, pages 11651–11662.
Zhongdi Qu and Carla P Gomes. 2026. A four-stage decomposition of word-problem solving and mechanistic fragility in llm math reasoning. arXiv preprint arXiv:2609.17804.
Nils Reimers and Iryna Gurevych. 2019. Sentence-bert: Sentence embeddings using siamese bert-networks. In Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP), pages 3982–3992.
Nina Rimsky, Nick Gabrieli, Julian Schulz, Meg Tong, Evan Hubinger, and Alexander Turner. 2024. Steering llama 2 via contrastive activation addition. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 15504–15522.
Samuel Schmidgall, Carl Harris, Ime Essien, Daniel Olshvang, Tawsifur Rahman, Ji Woong Kim, Rojin
Ziaei, Jason Eshraghian, Peter Abadir, and Rama Chellappa. 2024. Evaluation and mitigation of cognitive biases in medical language models. npj Digital Medicine, 7:295.
Andrew Sellergren, Sahar Kazemzadeh, Tiam Jaroensri, Atilla Kiraly, Madeleine Traverse, Timo Kohlberger, Shawn Xu, Fayaz Jamil, Cían Hughes, Charles Lau, and 1 others. 2025. Medgemma technical report. arXiv preprint arXiv:2507.05201.
Freda Shi, Xinyun Chen, Kanishka Misra, Nathan Scales, David Dohan, Ed H Chi, Nathanael Schärli, and Denny Zhou. 2023. Large language models can be easily distracted by irrelevant context. In International conference on machine learning, pages 31210–31227. PMLR.
Karan Singhal, Shekoofeh Azizi, Tao Tu, S Sara Mahdavi, Jason Wei, Hyung Won Chung, Nathan Scales, Ajay Tanwani, Heather Cole-Lewis, Stephen Pfohl, and 1 others. 2023. Large language models encode clinical knowledge. Nature, 620(7972):172–180.
Kaitao Song, Xu Tan, Tao Qin, Jianfeng Lu, and Tie-Yan Liu. 2020. Mpnet: Masked and permuted pretraining for language understanding. Advances in neural information processing systems, 33:16857–16867.
C. Spearman. 1904. The proof and measurement of association between two things. The American Journal of Psychology, 15(1):72–101.
Xiangkun Sun, Lingkai Kong, Aoqi Zhang, Liang Zeng, and Tonghan Wang. 2026. How llms are persuaded: A few attention heads, rerouted. arXiv preprint arXiv:2605.09314.
TII Team. 2024. The falcon 3 family of open models.
Arun James Thirunavukarasu, Darren Shu Jeng Ting, Kabilan Elangovan, Laura Gutierrez, Ting Fang Tan, and Daniel Shu Wei Ting. 2023. Large language models in medicine. Nature medicine, 29(8):1930–1940.
William Timkey and Marten Van Schijndel. 2021. All bark and no bite: Rogue dimensions in transformer language models obscure representational quality. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 4527–4546.
Krithik Vishwanath, Anton Alyakin, Daniel Alexander Alber, Jin Vivian Lee, Douglas Kondziolka, and Eric Karl Oermann. 2025a. Medical large language models are easily distracted. arXiv preprint arXiv:2504.01201.
Krithik Vishwanath, Anton Alyakin, Mrigayu Ghosh, Jin Vivian Lee, Daniel Alexander Alber, Karl L Sangwon, Douglas Kondziolka, and Eric Karl Oermann. 2025b. Evaluating the performance and fragility of large language models on the self-assessment for neurological surgeons. Neurosurgery, 99(3):563.
Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Fei Xia, Ed Chi, Quoc V Le, Denny Zhou, and 1 others. 2022. Chain-of-thought prompting elicits reasoning in large language models. Advances in neural information processing systems, 35:24824–24837.
Jason Weston and Sainbayar Sukhbaatar. 2023. System 2 attention (is something you might need too). arXiv preprint arXiv:2311.11829.
Zhenyu Wu, Chao Shen, and Meng Jiang. 2024. Instructing large language models to identify and ignore irrelevant conditions. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 6799–6819.
Shaotian Yan, Chen Shen, Wenxiao Wang, Liang Xie, Junjie Liu, and Jieping Ye. 2025. Don’t take things out of context: Attention intervention for enhancing chain-of-thought reasoning in large language models. In International Conference on Learning Representations, volume 2025, pages 63323–63344.
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, and 1 others. 2025a. Qwen3 technical report. arXiv preprint arXiv:2505.09388.
Minglai Yang, Ethan Huang, Liang Zhang, Mihai Surdeanu, William Yang Wang, and Liangming Pan. 2025b. How is llm reasoning distracted by irrelevant context? an analysis using a controlled benchmark. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 13340–13358.
Qinan Yu, Jack Merullo, and Ellie Pavlick. 2023. Characterizing mechanisms for factual recall in language models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 9924–9959.
Qingru Zhang, Chandan Singh, Liyuan Liu, Xiaodong Liu, Bin Yu, Jianfeng Gao, and Tuo Zhao. 2024. Tell your model where to attend: Post-hoc attention steering for llms. In International Conference on Learning Representations, volume 2024, pages 42411–42430.
Hongjian Zhou, Xinyu Zou, Jinge Wu, Sean Wu, Junchi Yu, Bradley Max Segal, Tobias Erich Niebuhr, Sara Amro, Michael Petrus, Sheikh Momin, and 1 others. 2026. Measuring epistemic resilience of llms under misleading medical context. arXiv preprint arXiv:2606.12291.
Youxiang Zhu, Ruochen Li, Danqing Wang, Daniel Haehn, and Xiaohui Liang. 2025. Focus directions make your language models pay more attention to relevant contexts. arXiv preprint arXiv:2503.23306.
A Artifact Licenses
A.1 Datasets
We use the following datasets:
• MedQA, with MIT listed in the original repository and CC BY-SA 4.0 listed in the Hugging Face distribution we use (GBaker/MedQA-USMLE-4-options-hf ).
• MedDistractQA, under CC BY 4.0.
• BiasMedQA, for which the source repository does not specify a dataset license; we use it for evaluation and do not redistribute it.
• MMLU professional medicine, under MIT.
MEDQA-TD includes MedQA question text and answer options with distractors constructed by our pipeline. Licensing and source attribution details are provided in the accompanying dataset card.
A.2 Models
We use the following models:
• Llama-3.1-8B-Instruct, 8B parameters, under the Llama 3.1 Community License.
• Qwen3-8B, 8.2B parameters, under the Apache 2.0 License.
• Llama-3-8B-Instruct, 8B parameters, under the Meta Llama 3 Community License.
• Granite-3.3-8B-Instruct, 8B parameters, under the Apache 2.0 License.
• Falcon3-10B-Instruct, 10B parameters, under the TII Falcon-LLM License 2.0.
• Phi-4, 14B parameters, under the MIT License.
• MedGemma-27B-text-it, 27B parameters, under the Health AI Developer Foundations Terms of Use.
• HuatuoGPT-o1-8B, 8B parameters, under the Apache 2.0 License.
• Llama-3-Meerkat-8B, 8B parameters, with a CC BY-NC 4.0 model-card license.
https://huggingface.co/datasets/GBaker/MedQA-USMLE-4-options-hf
https://huggingface.co/datasets/yrhong/MedQA-TD
Preference over gold; above 0: answer flips
A. Ringed sideroblasts
B. Teardrop cells
"The patient's aunt mentioned that her parrot has teardrop-shaped feathers."

C. Smudge cells (gold)
no distractor
D. Hypergammaglobulinemia

Figure 8: Constructing MEDQA-TD for one MedQA question (gold: C). Each bar is one of the eight distractors written for a wrong option, with the reference model's preference for its strongest wrong option over the gold option. The flipping distractor with the largest margin is kept (red).
• OLMo-2-7B-Instruct, 7B parameters, under the Apache 2.0 License.
• GPT-OSS-120B, 117B parameters, under the Apache 2.0 License.
• SimCSE (sup-simcse-roberta-large), 355M parameters, under the MIT License.
• SapBERT (SapBERT-from-PubMedBERT-fulltext), 110M parameters, under the Apache 2.0 License.
• all-mpnet-base-v2, 110M parameters, under the Apache 2.0 License.
B Benchmark
Figure 8 illustrates how a distractor is selected for MEDQA-TD.
Table 4 gives the accuracy and target-wrong answers of the nine open models. GPT-OSS-120B first writes eight candidates per wrong option. We then ask GPT-OSS-120B which answer options each candidate points to, without solving the medical question (Appendix G). The check is repeated with the options in ABCD and DCBA order, keeping their labels unchanged. In both orders, the response must indicate an association with either the intended wrong option alone or multiple wrong options, without including the gold option. Candidates are rejected if either response reports no association, identifies only a different wrong option, includes the gold option, or cannot be parsed. Rejected Nonliteral candidates are regenerated up to twice per slot, leaving at most eight accepted candidates per wrong option. Bystander candidates are not regenerated.
The reference model then answers the question with each accepted candidate, scoring A–D at the first answer token before generating a rationale. If any candidate turns a uniquely correct clean prediction into a uniquely wrong prediction, we select among those candidates. Otherwise, we consider all accepted candidates. We keep the candidate with the largest margin in Eq. 1. Exact ties are resolved by merging identical texts and then selecting the candidate with the smallest salted SHA-256 hash.
For questions whose wrong options offer no usable clinical topic (e.g., single letters or numbers), no candidate passes the check, and a fixed template replaces the generated distractor in 14 test cases, seven per type.
B.1 Human Review of MEDQA-TD Questions
The two reviewers are PhD students in a geriatric epidemiology laboratory of a medical school, working on clinical cohort studies, and neither took part in building MEDQA-TD. Both reviewers volunteered. They judged 100 test questions sampled at random, 50 of each distractor type, independently, and each answered two questions for each: whether the inserted sentence changes which option is correct, and whether a clinician would use it as evidence for the question. Neither reviewer answered yes to either question. For the second question, they answered possibly for 1 and 4 cases, with one case in common. They agreed on all 100 cases for the first question and on 97 for the second (Gwet's AC1 0.97; Gwet, 2008), and we do not report Cohen's kappa (Cohen, 1960), which becomes uninformative when almost all answers fall into one category (Feinstein and Cicchetti, 1990).
B.2 What Makes a Distractor Strong
Figure 9 analyzes what makes a distractor of MEDQA-TD strong for Llama-3.1-8B-Instruct and Qwen3-8B. First, distractors flip most often the questions on which the model was already torn between the gold and the targeted option before the distractor was added. Among questions answered correctly without the distractor, 57–78% of those in the quartile with the smallest clean margin between the two options flip to the target, against 10–25% in the quartile with the largest margin (Figure 9(a)). Second, the targeted option and the phrasing of the
| Model | Accuracy (%) | Target-wrong answers (%) | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Clean | MDQA | MEDQA-TD | Nonliteral | Bystander | |||||
| NL | BS | NL | BS | Clean | MEDQA-TD | Clean | MEDQA-TD | ||
| General | |||||||||
| Llama-3.1-8B-Instruct | 61.7 | 53.1 | 55.9 | 39.2 | 42.1 | 17.4 | 45.8 | 17.8 | 42.6 |
| Qwen3-8B | 63.4 | 49.4 | 51.1 | 36.4 | 31.0 | 19.0 | 53.0 | 17.7 | 59.5 |
| Llama-3-8B-Instruct | 60.0 | 49.6 | 49.9 | 37.0 | 35.4 | 18.9 | 49.1 | 17.0 | 48.2 |
| Granite-3.3-8B-Instruct | 51.5 | 40.1 | 38.6 | 30.6 | 27.5 | 20.9 | 52.2 | 19.0 | 57.1 |
| Falcon3-10B-Instruct | 58.4 | 46.2 | 46.4 | 33.9 | 29.1 | 18.9 | 53.7 | 18.5 | 59.0 |
| Phi-4 (14B) | 70.9 | 61.9 | 64.9 | 51.7 | 49.6 | 14.8 | 37.9 | 14.5 | 39.2 |
| Medical | |||||||||
| MedGemma-27B-text-it | 73.3 | 64.7 | 65.6 | 52.2 | 51.5 | 12.5 | 38.3 | 11.9 | 38.2 |
| HuatuoGPT-o1-8B | 74.6 | 66.5 | 64.5 | 54.8 | 55.4 | 10.3 | 31.3 | 10.0 | 31.3 |
| Reasoning | |||||||||
| Qwen3-8B (thinking) | 77.5 | 69.8 | 70.3 | 58.3 | 55.8 | 10.5 | 34.5 | 10.4 | 37.3 |
Table 4: The nine open models without intervention on the 1,273 test questions: Llama-3.1-8B-Instruct and Llama-3-8B-Instruct (Grattafiori et al., 2024), Qwen3-8B (Yang et al., 2025a), Granite-3.3-8B-Instruct (Granite Team, 2025), Falcon3-10B-Instruct (Team, 2024), Phi-4 (Abdin et al., 2024), MedGemma-27B-text-it (Sellergren et al., 2025) and HuatuoGPT-o1-8B (Chen et al., 2025). Accuracy: clean and with the MedDistractQA (MDQA) and MEDQA-TD distractors of both types (NL, BS). Target-wrong answers: answers selecting the option the distractor was built to promote, on the clean questions and on MEDQA-TD. Reasons before answering and is read from its generated answer (unparsable outputs, at most 0.8%, count as wrong).
(a)

(b)

(c)
Figure 9: What makes MEDQA-TD hard (Llama-3.1-8B-Instruct and Qwen3-8B). (a) Target-wrong rate among questions answered correctly without the distractor, by quartile of the clean margin between the gold and the targeted option. (b) Accuracy on all 1,273 questions with a random distractor (random target and phrasing), a random phrasing for the selected target, and the selected distractor (MEDQA-TD). (c) Target-wrong rate on the questions of (a), by third of the case-free association: the increase in the target-minus-gold logit when the distractor is added to the question sentence and options alone.
selected distractor each lower accuracy further than a distractor drawn at random from the same candidates (Figure 9(b)). Each of the two steps lowers accuracy by 3.5–6.1 points for both models and both distractor types, with every 95% interval below zero. Third, the selected phrasings push toward the target even without the case (Figure 9(c)).
B.3 Position of the Distractor
To analyze position bias, MEDQA-TD comes in three versions, with the distractor at the end of the narrative (as built, where it is the last narrative sentence in 97% of questions), in its middle or as its first sentence. In the middle and first versions, EXCISE still gains 6.8–16.4 points, whereas blocking the last narrative sentence lowers accuracy by 4.9–9.1 points (Table 5). Where a benchmark itself places the cue early in the case, as the second narrative sentence (BiasMedQA confirmation), EXCISE gains 14.8 points for Qwen3-8B and is within 1.3 points of no intervention for Llama-3.1-8B-Instruct and Llama-3-Meerkat-8B. Table 6 gives every method at the three positions. The accuracy of EXCISE varies by at most 3.2 points across positions, so its gain is smaller where the distractor is less harmful; averaged attention with the gate varies by up to 13.4 points, falling from the end to the first position for Llama-3.1-8B-Instruct and Llama-3-Meerkat-8B and rising for Qwen3-8B, and ContextCite with the gate stays within 1.6
| Position | Data | Model | EXCISE | Last | Known distractor |
|---|---|---|---|---|---|
| End | MEDQA-TD NL | Llama-3.1-8B-Instruct | +19.0 | +21.6 | +22.1 |
| MEDQA-TD NL | Qwen3-8B | +22.3 | +25.3 | +25.9 | |
| MEDQA-TD BS | Llama-3.1-8B-Instruct | +14.5 | +18.6 | +19.1 | |
| MEDQA-TD BS | Qwen3-8B | +23.3 | +30.9 | +31.7 | |
| MEDQA-TD NL | Llama-3-Meerkat-8B | +23.3 | +25.3 | +25.8 | |
| MEDQA-TD BS | Llama-3-Meerkat-8B | +19.6 | +24.5 | +25.4 | |
| Middle | MEDQA-TD NL, moved | Llama-3.1-8B-Instruct | +11.2 | -8.2 | +14.2 |
| MEDQA-TD NL, moved | Qwen3-8B | +15.6 | -8.8 | +18.5 | |
| MEDQA-TD BS, moved | Llama-3.1-8B-Instruct | +6.8 | -7.5 | +11.0 | |
| MEDQA-TD BS, moved | Qwen3-8B | +16.4 | -9.1 | +23.4 | |
| MEDQA-TD NL, moved | Llama-3-Meerkat-8B | +10.4 | -8.5 | +14.0 | |
| MEDQA-TD BS, moved | Llama-3-Meerkat-8B | +10.3 | -7.5 | +15.0 | |
| BiasMedQA conf. | Llama-3.1-8B-Instruct | -1.3 | -3.1 | -1.4 | |
| BiasMedQA conf. | Qwen3-8B | +14.8 | -8.6 | +17.0 | |
| BiasMedQA conf. | Llama-3-Meerkat-8B | -1.0 | -6.4 | +0.5 | |
| First | MEDQA-TD NL, first | Llama-3.1-8B-Instruct | +12.2 | -5.3 | +14.1 |
| MEDQA-TD NL, first | Qwen3-8B | +13.9 | -6.8 | +16.3 | |
| MEDQA-TD BS, first | Llama-3.1-8B-Instruct | +8.0 | -5.3 | +11.5 | |
| MEDQA-TD BS, first | Qwen3-8B | +15.9 | -6.5 | +21.8 | |
| MEDQA-TD NL, first | Llama-3-Meerkat-8B | +9.9 | -5.4 | +12.4 | |
| MEDQA-TD BS, first | Llama-3-Meerkat-8B | +10.5 | -4.9 | +14.9 |
Table 5: Accuracy change (points) by the position of the distractor, on held-out data. End: MEDQA-TD as built, where the distractor is the last narrative sentence in of questions; Middle: the same test questions with the distractor moved to the middle of the narrative, and BiasMedQA (Schmidgall et al., 2024) confirmation, whose cue is the second narrative sentence; First: the same test questions with the distractor as the first sentence. Last: block the last narrative sentence in every question; Known distractor: block the distractor itself; both with the same eligibility, blocking and full denominators as EXCISE. The End row of Known distractor is therefore slightly below the gains of Section 4, which block in every question.
points of EXCISE at every position. Selecting the sentence by its effect under blocking, as EXCISE and ContextCite do, is therefore insensitive to its position, unlike selecting it by attention. Without intervention, every one of the nine models is least accurate with the distractor at the end, 4.1–10.5 points below the middle or first position (Table 7).
C Experimental Details
Table 8 lists the development and test sets. The development set is the whole MedQA validation split (1,269 usable of its 1,272 questions, Table 8), with MEDQA-TD distractors built by the same pipeline as for the test questions, and it shares no question with the test set. Development questions with no accepted candidate are excluded rather than assigned a fixed-template distractor. EXCISE chooses its hyperparameters on all of it. A distractor adds one narrative sentence and 16–20 words to a case of about seven sentences, and 93–99% of these questions have at least three narrative sentences.
C.1 Evaluation Protocol
We score each answer by the logits of the first answer token over the answer options (A–E for BiasMedQA), which measures the decision itself and makes attribution deterministic. In chain-of- thought generation, EXCISE blocks the sentence chosen with this readout while the model writes its reasoning, and the prompts are in Appendix G. All models run in bfloat16 with eager attention, one question at a time and without a key-value cache unless stated otherwise. Blocking with strength is implemented by adding to the pre-softmax attention scores ( for ), which is equivalent to the reweighting in Section 5. The seconds per question in Table 2 are the mean over 50 MEDQA-TD Nonliteral questions with batch size 1. Ties in the attribution score , which bfloat16 logits make possible, go to the earlier sentence. Deleting the selected sentence from the input instead of blocking it gives the same accuracy for Llama-3.1-8B-Instruct (+0.2 points [-0.3, +0.6] on clean questions and +0.6 [-0.3, +1.4] on MEDQA-TD).
C.2 Computational Budget and Infrastructure
Experiments were primarily conducted on NVIDIA RTX PRO 6000 Blackwell (96 GB) GPUs for evaluation and NVIDIA RTX A5000 (24 GB) GPUs for mechanistic analysis. GPU-hours were calculated as the number of allocated GPUs multiplied by execution time, excluding queue time. Across all traceable experiments, including exploratory and
| Method | MEDQA-TD NL | MEDQA-TD BS | ||||||
|---|---|---|---|---|---|---|---|---|
| End | Middle | First | Mean | End | Middle | First | Mean | |
| Qwen3-8B | ||||||||
| No intervention | 36.4 | 44.7 | 46.9 | 42.7 | 30.9 | 39.5 | 41.5 | 37.3 |
| Ignore instruction | 35.4 | 44.9 | 46.8 | 42.4 | 31.0 | 39.7 | 41.6 | 37.4 |
| CAA | 40.5 | 47.2 | 49.6 | 45.7 | 36.2 | 44.1 | 43.0 | 41.1 |
| Avg. Attention (top-1) | 33.9 | 42.1 | 47.8 | 41.3 | 26.7 | 34.2 | 41.2 | 34.0 |
| AT2 (top-1) | - | - | - | - | - | - | - | - |
| CAMAB (top-1) | 46.4 | 46.0 | 47.8 | 46.7 | 47.3 | 45.9 | 46.8 | 46.7 |
| ContextCite (top-1) | 47.5 | 45.9 | 47.5 | 46.9 | 48.2 | 45.1 | 46.6 | 46.6 |
| EXCISE w/o DG | 47.5 | 45.2 | 46.9 | 46.5 | 46.9 | 44.5 | 46.4 | 46.0 |
| EXCISE w/o IA | 59.5 | 61.2 | 61.8 | 60.8 | 52.5 | 55.0 | 57.0 | 54.9 |
| Avg. Attention + DG | 37.6 | 45.6 | 51.1 | 44.7 | 31.0 | 39.0 | 43.3 | 37.8 |
| AT2 + DG | - | - | - | - | - | - | - | - |
| CAMAB + DG | 54.8 | 56.6 | 57.7 | 56.3 | 51.5 | 53.0 | 53.3 | 52.6 |
| ContextCite + DG | 58.2 | 60.1 | 60.4 | 59.6 | 54.8 | 55.7 | 55.9 | 55.5 |
| EXCISE | 58.7 | 60.3 | 60.8 | 59.9 | 54.2 | 55.9 | 57.4 | 55.9 |
| Llama-3.1-8B-Instruct | ||||||||
| No intervention | 39.2 | 47.0 | 47.4 | 44.5 | 42.1 | 49.6 | 49.2 | 47.0 |
| Ignore instruction | 39.4 | 47.5 | 46.4 | 44.4 | 41.6 | 49.4 | 47.8 | 46.2 |
| CAA | 40.6 | 49.6 | 48.6 | 46.3 | 42.9 | 50.2 | 50.0 | 47.7 |
| Avg. Attention (top-1) | 54.4 | 44.5 | 45.2 | 48.0 | 48.9 | 43.3 | 41.8 | 44.6 |
| AT2 (top-1) | 51.1 | 47.7 | 47.4 | 48.7 | 45.4 | 45.2 | 45.7 | 45.5 |
| CAMAB (top-1) | 47.9 | 47.8 | 49.6 | 48.4 | 47.5 | 47.0 | 48.0 | 47.5 |
| ContextCite (top-1) | 48.1 | 48.1 | 48.8 | 48.3 | 48.5 | 46.9 | 47.0 | 47.5 |
| EXCISE w/o DG | 48.1 | 46.7 | 48.5 | 47.8 | 48.4 | 46.0 | 47.5 | 47.3 |
| EXCISE w/o IA | 59.5 | 59.7 | 59.8 | 59.6 | 56.2 | 56.2 | 56.9 | 56.4 |
| Avg. Attention + DG | 55.9 | 51.6 | 49.6 | 52.4 | 51.9 | 50.4 | 49.3 | 50.5 |
| AT2 + DG | 54.0 | 52.2 | 50.5 | 52.2 | 48.5 | 50.8 | 50.8 | 50.0 |
| CAMAB + DG | 55.5 | 56.5 | 57.0 | 56.3 | 54.5 | 55.2 | 56.2 | 55.3 |
| ContextCite + DG | 57.9 | 58.6 | 58.4 | 58.3 | 55.7 | 56.5 | 56.8 | 56.3 |
| EXCISE | 58.2 | 58.3 | 59.5 | 58.7 | 56.6 | 56.4 | 57.2 | 56.7 |
| Llama-3-Meerkat-8B | ||||||||
| No intervention | 37.5 | 49.1 | 50.1 | 45.6 | 38.0 | 48.3 | 47.5 | 44.6 |
| Ignore instruction | 37.5 | 49.0 | 50.8 | 45.7 | 37.7 | 47.7 | 47.2 | 44.2 |
| CAA | 38.5 | 51.1 | 51.8 | 47.1 | 40.9 | 51.1 | 49.9 | 47.3 |
| Avg. Attention (top-1) | 57.3 | 48.5 | 47.9 | 51.2 | 52.1 | 43.5 | 42.8 | 46.1 |
| AT2 (top-1) | - | - | - | - | - | - | - | - |
| CAMAB (top-1) | 51.2 | 48.4 | 50.3 | 50.0 | 49.6 | 49.6 | 50.4 | 49.9 |
| ContextCite (top-1) | 51.1 | 47.7 | 49.2 | 49.4 | 50.7 | 48.5 | 48.8 | 49.3 |
| EXCISE w/o DG | 50.8 | 47.0 | 48.7 | 48.8 | 48.5 | 47.9 | 48.2 | 48.2 |
| EXCISE w/o IA | 59.8 | 61.1 | 61.2 | 60.7 | 55.4 | 58.8 | 58.4 | 57.5 |
| Avg. Attention + DG | 60.1 | 55.6 | 52.2 | 56.0 | 53.4 | 50.2 | 48.4 | 50.7 |
| AT2 + DG | - | - | - | - | - | - | - | - |
| CAMAB + DG | 58.1 | 58.8 | 59.3 | 58.8 | 56.6 | 57.5 | 58.0 | 57.3 |
| ContextCite + DG | 60.2 | 60.9 | 60.1 | 60.4 | 58.8 | 58.6 | 58.6 | 58.7 |
| EXCISE | 60.7 | 59.5 | 60.0 | 60.1 | 57.7 | 58.6 | 58.0 | 58.1 |
Table 6: Accuracy (%) with the distractor at the three positions of Table 5 (End: MEDQA-TD as built, as in the main tables; Middle; First) and their mean, for the first-token methods of Table 2, the top-1 attribution baselines of Table 20 and the variants of Table 3. S2A and the chain-of-thought rows are not run at the other positions. The same 1,273 test questions and the same sentence are used in each position. AT2 is Llama-3.1-8B-Instruct only (-).
| Model | MEDQA-TD NL | MEDQA-TD BS | ||||||
|---|---|---|---|---|---|---|---|---|
| End | Middle | First | Mean | End | Middle | First | Mean | |
| Llama-3.1-8B-Instruct | 39.2 | 47.0 | 47.4 | 44.5 | 42.1 | 49.6 | 49.2 | 47.0 |
| Qwen3-8B | 36.4 | 44.7 | 46.9 | 42.7 | 30.9 | 39.5 | 41.5 | 37.3 |
| Llama-3-8B-Instruct | 37.0 | 44.0 | 44.4 | 41.8 | 35.4 | 45.1 | 44.9 | 41.8 |
| Granite-3.3-8B-Instruct | 30.6 | 37.4 | 36.3 | 34.8 | 27.5 | 34.5 | 31.6 | 31.2 |
| Falcon3-10B-Instruct | 33.9 | 40.8 | 40.7 | 38.4 | 29.1 | 36.8 | 35.7 | 33.9 |
| Phi-4 | 51.7 | 57.5 | 57.3 | 55.5 | 49.6 | 56.6 | 56.5 | 54.2 |
| MedGemma-27B-text-it | 52.2 | 59.5 | 58.1 | 56.6 | 51.5 | 58.4 | 57.3 | 55.7 |
| HuatuoGPT-o1-8B | 54.8 | 61.0 | 64.0 | 59.9 | 55.4 | 62.7 | 64.3 | 60.8 |
| Qwen3-8B (thinking) | 58.3 | 64.3 | 67.5 | 63.3 | 55.8 | 61.4 | 64.8 | 60.6 |
Table 7: Accuracy (%) of the nine open models without intervention, with the distractor at the three positions (End: MEDQA-TD as built). Read from its generated answer, as in Table 4.
| Set | Source | Questions | Options | Sentences | Words | ≥3 (%) |
|---|---|---|---|---|---|---|
| Development | ||||||
| Clean | MedQA val. (Jin et al., 2021) | 1,269 | 4 | 7.0 | 97.7 | 94.1 |
| MEDQA-TD Nonliteral | as above | 1,266 | 4 | 7.9 | 117.6 | 98.7 |
| MEDQA-TD Bystander | as above | 1,267 | 4 | 8.0 | 114.1 | 98.6 |
| Test | ||||||
| Clean | MedQA test (Jin et al., 2021) | 1,273 | 4 | 7.1 | 100.2 | 93.5 |
| MEDQA-TD Nonliteral | as above | 1,273 | 4 | 8.1 | 120.2 | 98.6 |
| MEDQA-TD Bystander | as above | 1,273 | 4 | 8.1 | 116.6 | 98.6 |
| MedDistractQA NL | Vishwanath et al. (2025a) | 1,273 | 4 | 8.1 | 118.9 | 98.5 |
| MedDistractQA BS | Vishwanath et al. (2025a) | 1,273 | 4 | 8.1 | 117.9 | 98.6 |
| External | ||||||
| BiasMedQA, clean | Schmidgall et al. (2024) | 1,273 | 5 | 7.1 | 100.1 | 93.5 |
| BiasMedQA, 7 types | Schmidgall et al. (2024) | 7 × 1,273 | 5 | 8.0–8.1 | 113.6–120.1 | 98.3–98.6 |
| MMLU prof. medicine | Hendrycks et al. (2021) | 272 | 4 | 6.6 | 90.5 | 94.1 |
Table 8: Development and test sets. Sentences: mean number of narrative sentences (the case before the question sentence); Words: mean number of words in them; : share of questions with at least three narrative sentences, the only ones on which EXCISE can intervene.
repeated runs, we estimate approximately 1,390 GPU-hours (conservative lower bound: 1,340). Of these, approximately 650 GPU-hours correspond to runs underlying the reported results.
C.3 Hyperparameters
Every model is searched on the development set in the same way, maximizing the mean MEDQA-TD accuracy with MedQA accuracy at most 0.5 points below that of a common starting setting (layer 16, , ): the layer whose hidden states define the gate (middle layers: 8–24, 8–28 for Qwen3-8B, 10–30 for Phi-4), the gate threshold (0.5–1.5) and the blocking strength .
Table 9 lists the hyperparameters chosen for each model (Section 5) and the development accuracy they reach.
C.4 Baseline Details
Averaged attention. The score of a sentence is the attention probability that the answer position, where the option scores are read, assigns to the sentence's tokens, summed over these tokens and averaged over all heads and layers, without length normalization, as in the attention baselines of Cohen-Wang et al. (2024), Liu et al. (2025) and Cohen-Wang et al. (2025); the highest-scoring sentence is blocked. CAA. The steering vector is the mean difference between the hidden states at the answer position of the clean and the MEDQA-TD prompts (both distractor types) of 190 validation questions; it is added at one layer to every position of the answer prefix. The layer and strength are chosen on these questions by the errors recovered beyond a norm-matched random vector (Llama: layer 15, strength 2.0; Qwen: 23, 3.0; Meerkat: 15, 3.0). Other baselines. CAMAB (40 queries), ContextCite (64 ablations) and AT2 (released estimator) keep the settings of their papers or released code.
C.5 Statistical Tests
Table 10 gives the paired comparisons behind Sections 7 and 8.2. Against the ignore instruction and CAA, every MEDQA-TD difference is at least +13.7 points, and against S2A at least +3.5 points except for Llama-3.1-8B-Instruct on Nonliteral (-0.1); all comparisons and exact McNemar p-values are in the released results.
D Diagnosis
D.1 Discordance of the Distractor
We measure how well each narrative sentence fits the rest of the case with the discordance defined in Section 5.3, which is the cosine similarity between the hidden states of read alone and of the rest of the narrative read alone, after removing the mean and the first principal component of the unlabeled batch, negated and standardized within the question. We read the hidden states at the layer that EXCISE uses for each model (layer 9 for Llama-3.1-8B-Instruct, 25 for Qwen3-8B, 19 for Llama-3-Meerkat-8B, 16 for Phi-4 and 22 for OLMo-2-7B-Instruct). Figure 3 counts how often the distractor has the highest discordance among the narrative sentences, among the questions that the model answers correctly without the distractor and wrongly with it, and chance is the mean of one over the number of narrative sentences.
At these layers the first principal component carries 94–98% of the variance for four of the
| Clean | MEDQA-TD | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| NL | BS | ||||||||
| Model | Layer | τ | γ | None | EXCISE | None | EXCISE | None | EXCISE |
| Llama-3.1-8B-Instruct | 9 | 1 | 0 | 68.40 | 67.06 | 42.89 | 65.24 | 45.46 | 63.38 |
| Qwen3-8B | 25 | 1 | 0 | 63.51 | 61.62 | 34.44 | 60.03 | 28.41 | 54.70 |
| Llama-3-Meerkat-8B | 19 | 0.5 | 0 | 67.85 | 65.17 | 37.20 | 64.14 | 37.88 | 62.19 |
| Phi-4 | 16 | 1 | 0.01 | 70.06 | 68.40 | 51.34 | 67.22 | 49.88 | 64.80 |
| OLMo-2-7B-Instruct | 22 | 0.75 | 0 | 40.82 | 40.50 | 20.70 | 28.91 | 16.97 | 26.36 |
Table 9: Hyperparameters of EXCISE chosen on the development set for each model, and development accuracy (%) without intervention (None) and with EXCISE. : gate threshold; : blocking strength.
| EXCISE minus | Clean | MEDQA-TD NL | MEDQA-TD BS |
|---|---|---|---|
| Qwen3-8B | |||
| No intervention | -1.6 [-3.0, -0.3] | +22.3 [+19.9, +24.7] | +23.3 [+20.7, +25.8] |
| Avg. Attention + DG | -1.1 [-2.4, +0.2] | +21.1 [+18.7, +23.4] | +23.2 [+20.7, +25.7] |
| CAMAB + DG | -0.5 [-1.5, +0.5] | +3.9 [+2.6, +5.3] | +2.7 [+1.5, +4.0] |
| ContextCite + DG | -0.5 [-1.4, +0.3] | +0.5 [-0.3, +1.3] | -0.6 [-1.6, +0.2] |
| EXCISE w/o DG | +8.6 [+6.0, +11.2] | +11.2 [+9.0, +13.6] | +7.3 [+4.9, +9.8] |
| EXCISE w/o IA | +0.1 [-1.2, +1.3] | -0.8 [-1.9, +0.3] | +1.6 [+0.1, +3.2] |
| Llama-3.1-8B-Instruct | |||
| No intervention | -2.1 [-3.5, -0.8] | +19.0 [+16.6, +21.4] | +14.5 [+12.2, +16.7] |
| Avg. Attention + DG | -1.4 [-2.7, -0.2] | +2.3 [+0.9, +3.7] | +4.7 [+2.9, +6.5] |
| AT2 + DG | -1.1 [-2.4, +0.2] | +4.2 [+2.7, +5.9] | +8.1 [+6.1, +10.1] |
| CAMAB + DG | -0.6 [-1.5, +0.2] | +2.7 [+1.3, +4.2] | +2.0 [+0.7, +3.5] |
| ContextCite + DG | 0.0 [-0.7, +0.7] | +0.3 [-0.6, +1.3] | +0.9 [-0.2, +2.0] |
| EXCISE w/o DG | +7.5 [+4.9, +10.1] | +10.1 [+7.8, +12.5] | +8.2 [+5.7, +10.6] |
| EXCISE w/o IA | -0.4 [-1.6, +0.8] | -1.3 [-2.4, -0.1] | +0.4 [-0.9, +1.7] |
| Llama-3-Meerkat-8B | |||
| No intervention | -1.5 [-3.2, +0.2] | +23.3 [+20.7, +26.0] | +19.6 [+17.0, +22.2] |
| Avg. Attention + DG | -1.0 [-2.5, +0.4] | +0.6 [-0.8, +2.0] | +4.2 [+2.4, +6.0] |
| CAMAB + DG | -1.1 [-2.3, +0.1] | +2.6 [+1.2, +4.1] | +1.1 [-0.2, +2.4] |
| ContextCite + DG | -0.2 [-1.3, +0.8] | +0.5 [-0.5, +1.5] | -1.1 [-2.2, -0.1] |
| EXCISE w/o DG | +6.4 [+4.0, +8.9] | +10.0 [+8.0, +12.0] | +9.2 [+7.0, +11.5] |
| EXCISE w/o IA | -0.2 [-1.8, +1.3] | +0.9 [-0.5, +2.4] | +2.3 [+0.6, +4.0] |
Table 10: Paired comparisons on the test sets: accuracy of EXCISE minus that of each method (points), with bootstrap intervals over the 1,273 questions (10,000 resamples). Dashed rules separate no intervention, attribution methods with the Discordance Gate (DG), and single modules; AT2 is Llama-3.1-8B-Instruct only.
five models but 9% for OLMo-2-7B-Instruct. For OLMo-2-7B-Instruct, removing it lowers the rate on MEDQA-TD from 63% to 29% for Nonliteral and from 40% to 20% for Bystander, so in this model the removed component also carries differences between sentences. We keep the setting chosen on the development set for this model. On the test questions with the distractor moved to the middle of the narrative, the score ranks it first in 79–92% of MEDQA-TD questions for Llama-3.1-8B-Instruct and 70–90% for Qwen3-8B, against 5–6% without removing the first principal component.
To see how common such a dominant direction is, we encode the sentences of all 2,546 MEDQA-TD test questions, and the rest of each narrative, with eleven open models at five depths (from a quarter to three quarters of the layers). In nine models the first principal component carries at least half of the variance at every depth, and in eight of them (Llama-3.1-8B-Instruct, Meta-Llama-3-8B-Instruct, Llama-3-Meerkat-8B, HuatuoGPT-o1-8B, Qwen3-8B, Granite-3.3-8B-Instruct, Falcon3-10B-Instruct and Phi-4) removing it raises the rate at which the distractor ranks first from 1–7% to 37–88%. In the ninth, MedGemma-27B-text-it, the rate stays at 2–17% with or without removal. Only the two OLMo-2 models lack such a direction, with the first component at 8–9% of the variance for OLMo-2-7B-Instruct and at most 48% for OLMo-2-32B-Instruct.
D.2 Head Masks
We follow the differentiable head masking of Niu et al. (2025) in the sentence-level form of Liu and Chu (2026). A continuous mask on every attention head is trained to lower the target-minus-gold logit gap on MEDQA-TD pairs, with a KL term that keeps the output on the clean question and a sparsity weight that keeps few heads removed.
The masks are trained on the Bystander and Non-literal pairs of 382 development questions, using only the pairs that the unmasked model answers correctly without the distractor and with the targeted option with it. We search the learning rate in and in , train for 200 epochs, keep a mask every 10 epochs and then every epoch around the best one, which gives up to 130 candidates per model. We pick the candidate with the highest mean of MEDQA-TD Bystander and Nonliteral accuracy on the other 887 development questions among those whose clean accuracy stays within 2 points of the unmasked model. Only OLMo-2-7B-Instruct had such a candidate, so for the other four models we used the one with the highest mean of this MEDQA-TD accuracy and clean accuracy. The gold-cue control uses the MEDQA-TD construction with the distractor pointing at the correct option instead of a wrong one (same generator, judge, insertion rule and questions; one candidate drawn at random among those that evoke only the correct option). For each tuned mask, five control masks remove the same number of heads from each layer, chosen uniformly at random within the layer, and are read on every set. Table 11 gives the accuracy of every mask on each set. In all five models, the selected masks lie above all five random masks on clean and MEDQA-TD questions. On the gold-cue control they lie below all five in nine of the ten model and distractor-type cells, and within the random range for Llama-3-Meerkat-8B Nonliteral.
E Analysis of EXCISE
E.1 Batch Used for the Gate's Projection
The projection P of the Discordance Gate uses the mean and the first principal component of an unlabeled batch (Section 5.3). The main results use all narrative sentences of each test set, without labels. At the chosen layers, the first principal component carries 94–98% of the variance of the sentence vectors for Llama-3.1-8B-Instruct, Qwen3-8B, Llama-3-Meerkat-8B and Phi-4, and 9% for OLMo-2-7B-Instruct. Table 12 keeps every hyperparameter and changes only this batch. Random batches of 50 questions (about 400 sentences, 20 random partitions of each set) keep 98–100% of the MEDQA-TD gain, the worst partition staying within 0.8 points of the full set. A projection fixed once on development clean and MEDQA-TD questions and applied unchanged to every test set supports single-question inference and retains 79–95% of the MEDQA-TD accuracy gain obtained with the test-set projection. Across the batch and fixed-projection variants, clean accuracy differs from the test-set projection by at most 0.7 points.
E.2 Gate Representation
Table 13 replaces the hidden states behind the Discordance Gate by the embeddings of SimCSE (Gao et al., 2021), MPNet (Song et al., 2020; Reimers and Gurevych, 2019) or SapBERT (Liu et al., 2021): MEDQA-TD accuracy falls by 4–15 points for both models, with clean accuracy within 1.2 points.
E.3 How the Gate Sees the Distractor
Interventional Attribution resolves a specific ambiguity that discordance alone cannot (Table 14; Section 8.2). Among the flipped questions pooled across MEDQA-TD, MedDistractQA, and BiasMedQA, the distractor passes the gate but is not the most discordant sentence in 254 of 3,846 Qwen questions and 80 of 1,928 Llama questions. In this subset, attribution ranks the distractor first in 245/254 and 66/80 questions, respectively. Blocking the most discordant sentence recovers only 3% and 8%, whereas EXCISE recovers 93% and 79%. This benefit has a cost: when the distractor is already the most discordant sentence, EXCISE w/o IA blocking recovers 93% and 89%, compared with 88% and 73% for EXCISE. Attribution therefore adds source localization in the ambiguous subset, rather than a uniform accuracy gain over the EXCISE w/o IA variant.
E.4 Added Off-Case Sentences
For each MEDQA-TD test question, we insert the distractor of another question of the same type (Nonliteral or Bystander), chosen at random among those that share no content word with any of the question's options. Content words are words of at least four letters other than stop words, and two words count as shared when their first five letters match, following the five-letter truncation of McNamee et al. (2009), so that, for example, “fracture” and “fractured” match. The added sentence is inserted at a random position after the first sentence and before the question’s own distractor, which stays where it is in the main experiments. The sets with two and three added sentences each add one further sentence to the previous set, chosen and
| Method | Heads | Clean | MEDQA-TD | Gold-cue control | ||
|---|---|---|---|---|---|---|
| MedQA | NL | BS | NL | BS | ||
| Qwen3-8B | ||||||
| No mask | - | 64.65 | 37.39 | 32.68 | 81.07 | 85.07 |
| Head mask, tuned on development data | 126 | 54.83 | 55.15 | 55.38 | 38.18 | 34.17 |
| Random heads, same layers (mean of 5) | 126 | 50.95 | 26.35 | 22.70 | 76.81 | 80.97 |
| No intervention | - | 63.39 | 36.37 | 30.95 | 82.17 | 86.33 |
| EXCISE | - | 61.74 | 58.68 | 54.20 | 64.57 | 67.87 |
| Llama-3.1-8B-Instruct | ||||||
| No mask | - | 61.74 | 39.04 | 41.32 | 73.68 | 68.97 |
| Head mask, tuned on development data | 83 | 55.77 | 58.84 | 58.84 | 25.61 | 19.01 |
| Random heads, same layers (mean of 5) | 83 | 40.42 | 27.64 | 25.01 | 55.44 | 59.86 |
| No intervention | - | 61.74 | 39.20 | 42.11 | 73.84 | 69.84 |
| EXCISE | - | 59.62 | 58.21 | 56.56 | 62.61 | 62.61 |
| Llama-3-Meerkat-8B | ||||||
| No mask | - | 62.69 | 38.41 | 36.61 | 78.87 | 79.10 |
| Head mask, tuned on development data | 83 | 56.72 | 57.11 | 55.07 | 37.08 | 35.27 |
| Random heads, same layers (mean of 5) | 83 | 35.52 | 23.11 | 20.33 | 51.66 | 56.26 |
| No intervention | - | 63.00 | 37.47 | 38.02 | 79.50 | 80.20 |
| EXCISE | - | 61.51 | 60.72 | 57.66 | 64.73 | 65.44 |
| Phi-4 | ||||||
| No mask | - | 70.62 | 51.77 | 49.57 | 81.23 | 80.05 |
| Head mask, tuned on development data | 250 | 63.63 | 64.65 | 65.04 | 38.65 | 35.11 |
| Random heads, same layers (mean of 5) | 250 | 46.52 | 33.68 | 30.53 | 63.38 | 66.22 |
| No intervention | - | 70.93 | 51.69 | 49.65 | 80.83 | 80.60 |
| EXCISE | - | 69.05 | 66.77 | 65.20 | 72.51 | 71.48 |
| OLMo-2-7B-Instruct | ||||||
| No mask | - | 42.97 | 23.72 | 17.91 | 70.07 | 76.83 |
| Head mask, tuned on development data | 137 | 40.53 | 40.69 | 41.08 | 27.26 | 24.90 |
| Random heads, same layers (mean of 5) | 137 | 28.47 | 21.84 | 19.15 | 42.44 | 48.28 |
| No intervention | - | 42.42 | 23.33 | 16.42 | 70.62 | 78.63 |
| EXCISE | - | 41.16 | 30.79 | 25.69 | 59.86 | 63.94 |
Table 11: Head masks from the head search of Liu and Chu (2026) and EXCISE (accuracy, %). Tuned: chosen on development questions as described above; gold-cue control: the distractor points at the correct option. Random heads: as many heads removed from each layer as in the tuned mask, chosen at random (mean of five masks). Masked and unmasked rows are read in the same run. Mask rows use the forced-choice readout of the head search and EXCISE rows the first-token readout of Table 2, so each is compared with the unmodified row of its own block.
| Batch for P | MEDQA-TD | |||
|---|---|---|---|---|
| Clean | NL | BS | BMQ | |
| Qwen3-8B | ||||
| No intervention | 63.39 | 36.37 | 30.95 | 28.67 |
| Test set (EXCISE) | 61.74 | 58.68 | 54.20 | 53.50 |
| Batches of 50 questions | 61.78 | 58.76 | 53.74 | 53.31 |
| Fixed: dev. MedQA + MEDQA-TD | 62.37 | 56.01 | 49.73 | 47.86 |
| Llama-3.1-8B-Instruct | ||||
| No intervention | 61.74 | 39.20 | 42.11 | 49.71 |
| Test set (EXCISE) | 59.62 | 58.21 | 56.56 | 55.41 |
| Batches of 50 questions | 59.96 | 58.17 | 56.45 | 55.44 |
| Fixed: dev. MedQA + MEDQA-TD | 60.17 | 55.77 | 53.73 | 51.79 |
| Llama-3-Meerkat-8B | ||||
| No intervention | 63.00 | 37.47 | 38.02 | 42.69 |
| Test set (EXCISE) | 61.51 | 60.72 | 57.66 | 55.13 |
| Batches of 50 questions | 61.34 | 60.70 | 57.65 | 55.08 |
| Fixed: dev. MedQA + MEDQA-TD | 60.88 | 59.54 | 55.46 | 52.27 |
| Phi-4 | ||||
| No intervention | 70.93 | 51.69 | 49.65 | 57.05 |
| Test set (EXCISE) | 69.05 | 66.77 | 65.20 | 62.75 |
| Batches of 50 questions | 69.01 | 66.62 | 65.18 | 62.74 |
| Fixed: dev. MedQA + MEDQA-TD | 68.66 | 63.63 | 63.55 | 60.69 |
Table 12: Accuracy (%) of EXCISE with the projection of the Discordance Gate estimated on different unlabeled batches. Batches of 50 questions: mean over 20 random partitions of each set. Fixed: estimated once on development (dev.) MedQA and MEDQA-TD questions without labels and applied unchanged to every test set. BMQ: BiasMedQA, mean of seven types.
inserted in the same way. We exclude 47 Non-literal questions whose options contain “patient”, which appears in nearly all Nonliteral distractors and leaves no eligible off-case remark that shares no content word with the options. We also exclude 18 Nonliteral and 19 Bystander questions with at most one sentence before the original distractor, leaving no valid insertion position. This leaves 1,208 Nonliteral and 1,254 Bystander questions in every set. With one added sentence, blocking the added sentence alone changes the answer about as often as blocking an ordinary sentence of the case (10–14% against 8–10% of questions) and far less often than blocking the distractor (31–42%), indicating that the added sentence has a much smaller effect on the model’s decision. All models use the hyperparameters of Table 9, and the gate’s projection is estimated from each set’s own sentences as in the main experiments.
Table 15 gives the results. Without intervention, accuracy rises by 3.6–6.9 points from zero to three
| Variant | #Fwd ↓ | Clean | MEDQA-TD NL | MEDQA-TD BS | |||
|---|---|---|---|---|---|---|---|
| Acc ↑ | Interv. rate ↓ | Acc ↑ | Interv. rate ↓ | Acc ↑ | Interv. rate ↓ | ||
| Replacing the representation of DG while IA stays fixed | |||||||
| Qwen3-8B | |||||||
| Hidden states (Ours) | 25 | 61.74 | 19.40 | 58.68 | 47.84 | 54.20 | 49.33 |
| SimCSE | 61.98 | 18.46 | 53.34 | 41.87 | 49.96 | 40.85 | |
| MPNet | 62.14 | 15.16 | 50.67 | 35.43 | 41.08 | 24.51 | |
| SapBERT | 62.06 | 16.03 | 43.28 | 24.82 | 42.18 | 28.52 | |
| Llama-3.1-8B-Instruct | |||||||
| Hidden states (Ours) | 25 | 59.62 | 19.72 | 58.21 | 45.25 | 56.56 | 41.71 |
| SimCSE | 60.80 | 11.31 | 49.65 | 28.04 | 50.27 | 25.14 | |
| MPNet | 59.94 | 14.93 | 51.14 | 33.54 | 47.68 | 23.64 | |
| SapBERT | 59.70 | 17.36 | 44.85 | 24.74 | 47.53 | 25.37 | |
Table 13: The Discordance Gate computed from an external sentence encoder's embeddings instead of the model's hidden states, with Interventional Attribution and the blocking unchanged (columns as in Table 3): SimCSE (Gao et al., 2021) with its threshold chosen on the development set, MPNet (all-mpnet-base-v2, a Sentence-BERT model; Song et al., 2020; Reimers and Gurevych, 2019) and SapBERT (Liu et al., 2021); threshold not tuned (that of EXCISE); model forward passes for IA alone, plus two passes of the encoder per sentence.
| (a) How the gate sees the distractor (% of flipped questions). | |||||
|---|---|---|---|---|---|
| Set | Attacked | Too short | (i) Flagged first | (ii) Flagged, not first | (iii) Not flagged |
| Qwen3-8B | |||||
| MEDQA-TD NL | 353 | 2.5 | 87.3 | 4.8 | 5.4 |
| MEDQA-TD BS | 421 | 1.9 | 69.1 | 11.9 | 17.1 |
| MedDistractQA NL | 209 | 2.4 | 90.9 | 4.3 | 2.4 |
| MedDistractQA BS | 202 | 2.0 | 83.7 | 5.4 | 8.9 |
| BiasMedQA (7 types) | 2,661 | 1.5 | 85.3 | 6.3 | 6.8 |
| Llama-3.1-8B-Instruct | |||||
| MEDQA-TD NL | 312 | 1.0 | 91.7 | 2.9 | 4.5 |
| MEDQA-TD BS | 286 | 1.4 | 75.2 | 10.8 | 12.6 |
| MedDistractQA NL | 155 | 0.0 | 89.0 | 3.9 | 7.1 |
| MedDistractQA BS | 131 | 0.0 | 92.4 | 0.8 | 6.9 |
| BiasMedQA (7 types) | 1,044 | 0.8 | 92.3 | 3.2 | 3.7 |
| (b) Questions recovered (%), MEDQA-TD, MedDistractQA and BiasMedQA pooled | |||||
| Case | EXCISE w/o IA | EXCISE w/o DG | EXCISE | Known distractor | |
| Qwen3-8B | |||||
| (i) Flagged first | (3,229) | 93 | 91 | 88 | 93 |
| (ii) Flagged, not first | (254) | 3 | 94 | 93 | 96 |
| (iii) Not flagged | (296) | 8 | 87 | 2 | 88 |
| Llama-3.1-8B-Instruct | |||||
| (i) Flagged first | (1,724) | 89 | 84 | 73 | 89 |
| (ii) Flagged, not first | (80) | 8 | 89 | 79 | 91 |
| (iii) Not flagged | (109) | 6 | 87 | 3 | 96 |
Table 14: How the gate sees the distractor on the flipped questions, answered correctly without the distractor and wrongly with it, with the distractor located. Too short: fewer than three narrative sentences, so the gate is not applied. (i) Flagged first: the distractor passes the gate and is the most discordant sentence. (ii) Flagged, not first. (iii) Not flagged.
added sentences, as the added sentences weaken the distractor's influence: the share of answers selecting its target option falls by 5.7–9.4 points, and the distractor's median attribution score falls by half or more. In the same setting, the attention that the answer position pays to the distractor, averaged over layers and heads, falls by 22–32% from zero to three added sentences for every model and distractor type. Across questions, a larger fall from zero to one added sentence is correlated with a larger fall in the target-minus-gold logit gap (Spearman's 0.18–0.37 (Spearman, 1904), with lower bounds of the 95% bootstrap intervals of 0.12–0.32).
For each noise level, flipped questions are those answered correctly on the original clean question but incorrectly on the corresponding augmented question. The denominator is recomputed at each noise level and includes questions without intervention. With one, two and three added sentences, EXCISE blocks the original distractor in 54–80%,
41–67% and 35–64% of flipped questions. The corresponding rates for EXCISE w/o IA are 24–31%, 16–22% and 12–18%, while it blocks an added sentence instead in 59–67%, 70–80% and 77–86%.
E.5 When EXCISE Intervenes
EXCISE responds to the distractor’s effect on the answer, not to its presence (Table 16; Section 8.2). It intervenes on 79–94% of the questions whose answer the distractor pulled to the target, on 25–38% of the other wrong answers and on 8–22% of the correct ones. On questions answered correctly both with and without the distractor, it intervenes less often with the distractor (7–21%) than on their clean versions (19–30%). The answers pulled to the target differ between the two models (Jaccard 0.35–0.36), and EXCISE w/o IA intervenes on 92–99% of all questions (Table 3), so its intervention carries no such information.
Table 17 traces the successive steps of EXCISE on flipped questions from MEDQA-TD and Med-DistractQA.
E.6 Clean Cost
The rate of damage is similar across clean sets: on Llama, EXCISE repairs 4.7% of the wrongly answered and damages 6.4% of the correctly answered MedQA questions, and 4.6% and 6.8% on MMLU professional medicine, so the net loss grows with baseline accuracy (2.1 points on MedQA at 61.7%, 4.0 points on MMLU-PM at 76.1%).
F Additional Results
F.1 Performance by Distractor Type
Table 18 reports the Nonliteral and Bystander results underlying the averages in Table 2.
F.2 Context Attribution without the Gate
Each attribution method below blocks its top-ranked sentence in every question, with the same blocking as EXCISE and columns as in Table 2; Table 19 places the same methods under the Discordance Gate instead of Interventional Attribution. These methods lose 3–10 points on clean questions. On MEDQA-TD, averaged attention comes closest for Llama and Meerkat (3.5–7.7 points behind EXCISE), an advantage tied to the distractor's place at the end of the narrative (Appendix B.3). CAMAB and ContextCite remain 6–12 points behind.
F.3 Generation-Based Prompting
S2A answers from its rewrite with the same first-token readout, and Table 21 gives its accuracy with the share of rewrites that keep the distractor. Figure 10 relates the gain of S2A to whether the rewrite keeps the distractor. For Llama-3.1-8B-Instruct and Qwen3-8B, chain-of-thought generation uses the system and user messages of the answer readout (Appendix G) without the fixed assistant prefix, and the answer is read from the generated JSON object's "answer" field. All chain-of-thought outputs are decoded greedily with at most 1,024 new tokens. For BiasMedQA, whose questions have five options, the instruction lists the letters A to E. The MMLU-PM and MedDistractQA columns of Qwen3-8B and Llama-3.1-8B-Instruct and all of Llama-3-Meerkat-8B's are decoded with the key-value cache, which gives the same answer as decoding without it for 92–93% of 100 MEDQA-TD questions for Qwen3-8B and Llama-3.1-8B-Instruct (accuracy within 2 points) and for all of 10 questions for Llama-3-Meerkat-8B. Llama-3-Meerkat-8B ignores the shared JSON answer format, so it is prompted with the system message of its model card (Appendix G) and its answer is read from the last "the answer is (X)", which is also accepted without the opening parenthesis. The same rule reads every Llama-3-Meerkat-8B row. It reads 93–98% of the CoT + I C answers and at least 98.9% of the other answers. Requiring the parenthesis would lower CoT + I C by 2.7–5.1 points and leave the other rows unchanged. Its I C verifications follow the requested format in 37% of cases (Llama-3.1-8B-Instruct: 99%), so its CoT + I C row shows I C applied to a model that rarely completes the verification step. Applied to the model's own S2A rewrite, EXCISE stays within 1.7 points of the better single method in every MEDQA-TD cell of Llama-3.1-8B-Instruct, Qwen3-8B and Phi-4 and inherits the clean cost of EXCISE (Table 21).
F.4 BiasMedQA by Bias Type
EXCISE raises BiasMedQA accuracy on all seven bias types for Qwen3-8B (+14.8 to +31.3 points) and on six of seven for Llama-3.1-8B-Instruct (+1.9 to +14.2) and Llama-3-Meerkat-8B (+6.0 to +32.9), and leaves confirmation unchanged within its interval for both (Table 22). The gate flags 89–97% of the bias cues, so the remaining gap comes from attribution, which ranks the cue first in 19–42% of questions for Llama and 39–74% for Qwen.
| Model | + | None | w/o IA | EXCISE | Known | EXCISE – w/o IA | |
|---|---|---|---|---|---|---|---|
| Llama-3.1-8B-Instruct | NL | 1 | 42.7 | 45.2 | 53.3 | 60.2 | +8.1 [6.1, 10.2] |
| NL | 2 | 44.2 | 46.9 | 52.7 | 60.8 | +5.9 [4.0, 7.8] | |
| NL | 3 | 45.0 | 46.3 | 53.3 | 59.9 | +7.0 [5.1, 9.0] | |
| BS | 1 | 45.4 | 45.7 | 51.9 | 60.1 | +6.2 [4.4, 8.1] | |
| BS | 2 | 45.3 | 46.3 | 51.8 | 58.5 | +5.6 [3.8, 7.3] | |
| BS | 3 | 45.5 | 47.0 | 51.0 | 59.0 | +4.0 [2.4, 5.7] | |
| Qwen3-8B | NL | 1 | 38.3 | 43.6 | 52.0 | 60.2 | +8.4 [6.4, 10.4] |
| NL | 2 | 41.5 | 42.7 | 51.2 | 60.3 | +8.4 [6.6, 10.4] | |
| NL | 3 | 41.9 | 43.2 | 50.4 | 60.1 | +7.2 [5.4, 9.1] | |
| BS | 1 | 34.2 | 38.7 | 48.9 | 61.3 | +10.2 [8.1, 12.4] | |
| BS | 2 | 36.1 | 38.7 | 47.5 | 61.5 | +8.9 [6.8, 11.0] | |
| BS | 3 | 36.6 | 39.2 | 45.4 | 60.1 | +6.2 [4.5, 8.1] | |
| Llama-3-Meerkat-8B | NL | 1 | 42.8 | 43.9 | 54.4 | 61.6 | +10.5 [8.3, 12.8] |
| NL | 2 | 42.3 | 45.5 | 54.0 | 60.4 | +8.5 [6.3, 10.8] | |
| NL | 3 | 43.0 | 45.8 | 55.5 | 60.4 | +9.7 [7.5, 11.8] | |
| BS | 1 | 40.4 | 44.3 | 53.8 | 61.5 | +9.5 [7.3, 11.7] | |
| BS | 2 | 41.6 | 44.6 | 54.1 | 61.2 | +9.5 [7.4, 11.6] | |
| BS | 3 | 43.1 | 45.0 | 54.2 | 60.0 | +9.3 [7.1, 11.4] |
Table 15: Accuracy (%) on MEDQA-TD with added off-case sentences. +: number of added sentences. None: no intervention. w/o IA: EXCISE w/o IA. Known: the question's own distractor blocked. Last column: difference in points with paired 95% bootstrap interval.
For Llama-3-Meerkat-8B, the mean over the seven types rises from 42.7 to 55.1 and confirmation changes by -1.0 [-2.7, +0.7].
| Answer without intervention | Llama-3.1-8B-Instruct | Qwen3-8B | Llama-3-Meerkat-8B | |||
|---|---|---|---|---|---|---|
| NL | BS | NL | BS | NL | BS | |
| EXCISE intervenes on (%, questions in the group) | ||||||
| Target, pulled by the distractor | 88.5 (390) | 81.0 (343) | 88.5 (443) | 79.0 (538) | 94.0 (450) | 88.6 (437) |
| Target, already on the clean question | 67.4 (193) | 53.3 (199) | 63.4 (232) | 57.5 (219) | 71.5 (200) | 68.3 (189) |
| Wrong, not the target | 27.7 (191) | 33.3 (195) | 25.2 (135) | 26.2 (122) | 31.5 (146) | 38.0 (163) |
| Correct | 9.6 (499) | 15.3 (536) | 7.8 (463) | 11.4 (394) | 20.1 (477) | 21.7 (484) |
| Same questions, answered correctly with and without the distractor | ||||||
| with the distractor | 7.8 (472) | 12.0 (500) | 6.9 (452) | 10.9 (384) | 18.1 (441) | 20.5 (458) |
| without it (clean version) | 19.3 | 19.6 | 20.1 | 20.1 | 30.2 | 28.6 |
| Target-wrong answers (%) | ||||||
| EXCISE intervenes | 82.5 | 72.3 | 88.5 | 87.7 | 79.9 | 75.6 |
| EXCISE does not intervene | 15.5 | 21.3 | 20.5 | 31.9 | 14.9 | 18.6 |
| All questions | 45.8 | 42.6 | 53.0 | 59.5 | 51.1 | 49.2 |
Table 16: How often EXCISE intervenes (%; questions in parentheses), by the answer each model gives on MEDQA-TD without intervention. Pulled by the distractor: the target on MEDQA-TD but not on the clean question; already on the clean question: the target even without the distractor. Groups use the target labels, which EXCISE never sees. Lower block: target-wrong answers among the questions on which EXCISE intervenes or not.

Figure 10: Gains of S2A (Weston and Sukhbaatar, 2023) by whether the model's rewrite keeps the distractor (MEDQA-TD). (a) Share of S2A rewrites that keep the distractor (at least 80% of its content words) against the gain of S2A over no intervention, for eight instruct models and both distractor types. (b, c) Gains of S2A and EXCISE on the questions whose rewrite keeps (b) or drops (c) the distractor, for the four models run with both methods (Nonliteral and Bystander pooled; n: questions).
| Set | IA ranks | DG passes it | Blocking restores | Recovered | ||
|---|---|---|---|---|---|---|
| it first | passes it | EXCISE | Known | |||
| Llama-3.1-8B-Instruct | ||||||
| MEDQA-TD NL | 90 | 95 | 95 | 81 | 94 | |
| MEDQA-TD BS | 90 | 86 | 93 | 73 | 92 | |
| MedDistractQA NL | 72 | 93 | 90 | 62 | 88 | |
| MedDistractQA BS | 76 | 97 | 90 | 67 | 85 | |
| Qwen3-8B | ||||||
| MEDQA-TD NL | 91 | 92 | 93 | 78 | 90 | |
| MEDQA-TD BS | 90 | 81 | 95 | 71 | 93 | |
| MedDistractQA NL | 89 | 95 | 93 | 79 | 89 | |
| MedDistractQA BS | 83 | 90 | 88 | 67 | 85 | |
Table 17: Steps of EXCISE on flipped questions from MEDQA-TD and MedDistractQA (%). The first three columns give successive pass rates. Recovered: the share of all flipped questions answered correctly after EXCISE or blocking the known distractor.
| Method | #Fwd | s/q | Clean | MEDQA-TD | MedDistractQA | BiasMedQA | |||
|---|---|---|---|---|---|---|---|---|---|
| MedQA | MMLU-PM | NL | BS | NL | BS | Avg. | |||
| Qwen3-8B | |||||||||
| No intervention | 1 | 0.041 | 63.39 | 82.72 | 36.37 | 30.95 | 49.41 | 51.14 | 28.67 |
| Ignore instruction | 1 | 0.044 | 64.02 | 82.72 | 35.35 | 31.03 | 49.49 | 51.22 | 27.08 |
| CAA | 1 | 0.041 | 64.02 | 80.51 | 40.46 | 36.21 | 51.77 | 54.83 | 35.57 |
| - | 4.182 | 63.63 | 83.46 | 39.75 | 33.23 | 55.93 | 52.63 | 35.34 | |
| EXCISE (Ours) | 25 | 0.819 | 61.74 | 83.09 | 58.68 | 54.20 | 61.74 | 60.17 | 53.50 |
| - | 3.408 | 70.23 | 86.03 | 46.27 | 42.11 | 57.19 | 59.15 | 41.51 | |
| - | 11.322 | 65.59 | 84.93 | 39.83 | 39.12 | 53.18 | 57.50 | 35.01 | |
| - | 4.348 | 67.79 | 85.66 | 63.00 | 59.94 | 64.02 | 66.30 | 57.98 | |
| Llama-3.1-8B-Instruct | |||||||||
| No intervention | 1 | 0.040 | 61.74 | 76.10 | 39.20 | 42.11 | 53.10 | 55.93 | 49.71 |
| Ignore instruction | 1 | 0.041 | 61.90 | 76.10 | 39.36 | 41.56 | 54.05 | 55.93 | 49.19 |
| CAA | 1 | 0.040 | 62.29 | 75.00 | 40.61 | 42.89 | 54.28 | 56.48 | 50.69 |
| - | 3.173 | 61.12 | 75.74 | 58.29 | 53.10 | 60.25 | 60.02 | 56.83 | |
| EXCISE (Ours) | 25 | 0.731 | 59.62 | 72.06 | 58.21 | 56.56 | 59.07 | 60.02 | 55.41 |
| - | 2.049 | 67.71 | 79.04 | 45.40 | 50.04 | 61.19 | 62.06 | 53.30 | |
| - | 10.061 | 67.01 | 78.31 | 46.58 | 47.45 | 55.93 | 59.78 | 47.20 | |
| - | 2.857 | 66.46 | 75.37 | 61.51 | 60.88 | 65.44 | 64.89 | 57.56 | |
| Llama-3-Meerkat-8B | |||||||||
| No intervention | 1 | 0.038 | 63.00 | 77.94 | 37.47 | 38.02 | 52.08 | 55.77 | 42.69 |
| Ignore instruction | 1 | 0.040 | 63.32 | 77.21 | 37.47 | 37.71 | 50.27 | 55.30 | 41.76 |
| CAA | 1 | 0.038 | 63.63 | 75.37 | 38.49 | 40.85 | 53.10 | 56.64 | 45.82 |
| - | 3.324 | 63.94 | 79.04 | 46.19 | 45.40 | 57.42 | 58.99 | 48.55 | |
| EXCISE (Ours) | 25 | 0.721 | 61.51 | 75.37 | 60.72 | 57.66 | 62.22 | 60.64 | 55.13 |
| - | 6.078 | 72.74 | 83.46 | 46.90 | 50.04 | 61.12 | 65.83 | 58.56 | |
| - | 20.269 | 64.73 | 82.35 | 42.58 | 43.44 | 55.46 | 57.66 | 45.43 | |
| - | 7.301 | 71.01 | 78.68 | 65.51 | 63.32 | 67.32 | 67.64 | 64.36 | |
Table 18: Accuracy (%) by distractor type for the methods in Table 2. MMLU-PM: MMLU professional medicine. BiasMedQA: mean of seven bias types. NL / BS: Nonliteral / Bystander. #Fwd: forward passes per question, not counting the generation of S2A (Weston and Sukhbaatar, 2023). s/q: seconds per question, including generation. Below the dashed line: chain-of-thought generation (Appendix F.3), with I C (Wu et al., 2024). Prompted in the answer format of its model card (Appendix G). Bold: best per model and column, above and below the dashed line separately.
| Variant | #Fwd ↓ | Clean | MEDQA-TD NL | MEDQA-TD BS | |||
|---|---|---|---|---|---|---|---|
| Acc ↑ | Interv. rate ↓ | Acc ↑ | Interv. rate ↓ | Acc ↑ | Interv. rate ↓ | ||
| Qwen3-8B | |||||||
| IA (Ours) | 25 | 61.74 | 19.40 | 58.68 | 47.84 | 54.20 | 49.33 |
| Avg. Attention | 18 | 62.84 | 35.74 | 37.63 | 14.53 | 31.03 | 20.03 |
| AT2 | - | - | - | - | - | - | - |
| CAMAB | 58 | 62.22 | 19.95 | 54.75 | 39.59 | 51.45 | 43.05 |
| ContextCite | 82 | 62.29 | 19.48 | 58.21 | 49.02 | 54.83 | 51.06 |
| Llama-3.1-8B-Instruct | |||||||
| IA (Ours) | 25 | 59.62 | 19.72 | 58.21 | 45.25 | 56.56 | 41.71 |
| Avg. Attention | 18 | 61.04 | 20.97 | 55.93 | 69.21 | 51.85 | 42.81 |
| AT2 | 18 | 60.72 | 20.42 | 53.97 | 55.62 | 48.47 | 29.46 |
| CAMAB | 58 | 60.25 | 19.32 | 55.46 | 39.12 | 54.52 | 35.66 |
| ContextCite | 82 | 59.62 | 19.09 | 57.89 | 43.75 | 55.70 | 39.51 |
Table 19: Replacing IA while keeping the Discordance Gate fixed. Acc: accuracy (%); Interv.: questions intervened on (%); #Fwd as in Table 2. AT2 is evaluated on Llama-3.1-8B-Instruct only (-).
| Method | #Fwd | s/q | Clean | MEDQA-TD | MedDistractQA | BiasMedQA | |||
|---|---|---|---|---|---|---|---|---|---|
| MedQA | MMLU-PM | NL | BS | NL | BS | Avg. | |||
| Qwen3-8B | |||||||||
| Avg. Attention | 2 | 0.067 | 60.25 | 81.99 | 33.86 | 26.71 | 46.11 | 46.98 | 45.89 |
| CAMAB | 42 | 1.39 | 55.93 | 73.90 | 46.35 | 47.29 | 49.73 | 49.49 | 43.33 |
| ContextCite | 66 | 1.84 | 53.57 | 71.69 | 47.45 | 48.23 | 48.63 | 47.53 | 43.77 |
| Llama-3.1-8B-Instruct | |||||||||
| Avg. Attention | 2 | 0.059 | 56.17 | 72.43 | 54.44 | 48.86 | 55.85 | 54.99 | 55.84 |
| AT2 | 2 | 0.069 | 56.95 | 72.43 | 51.14 | 45.40 | 54.99 | 54.12 | 48.18 |
| CAMAB | 42 | 1.21 | 52.87 | 70.22 | 47.92 | 47.53 | 51.37 | 51.53 | 44.01 |
| ContextCite | 66 | 1.75 | 51.77 | 67.65 | 48.15 | 48.55 | 49.96 | 50.67 | 43.44 |
| Llama-3-Meerkat-8B | |||||||||
| Avg. Attention | 2 | - | 59.47 | 72.79 | 57.27 | 52.08 | 58.60 | 55.62 | 56.65 |
| CAMAB | 42 | - | 56.01 | 70.59 | 51.22 | 49.65 | 52.40 | 52.47 | 44.55 |
| ContextCite | 66 | - | 54.75 | 66.54 | 51.14 | 50.67 | 51.69 | 50.35 | 43.36 |
Table 20: Context attribution methods that block their top-ranked sentence in every question (accuracy, %; columns as in Table 2, where EXCISE and the other baselines are reported).
| Model | MEDQA-TD NL | MEDQA-TD BS | Clean MedQA | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Kept | None | S2A | EXCISE | S2A+EXCISE | Kept | None | S2A | EXCISE | S2A+EXCISE | None | S2A | EXCISE | S2A+EXCISE | |
| Llama-3.1-8B-Instruct | 16.1 | 39.2 | 58.3 | 58.2 | 57.8 | 37.4 | 42.1 | 53.1 | 56.6 | 54.9 | 61.7 | 61.1 | 59.6 | 59.3 |
| Qwen3-8B | 85.9 | 36.4 | 39.7 | 58.7 | 59.3 | 90.8 | 31.0 | 33.2 | 54.2 | 54.8 | 63.4 | 63.6 | 61.7 | 62.1 |
| Phi-4 | 8.4 | 51.7 | 67.5 | 66.8 | 66.5 | 12.4 | 49.6 | 66.1 | 65.2 | 65.5 | 70.9 | 71.5 | 69.1 | 68.7 |
| OLMo-2-7B-Instruct | 98.9 | 23.3 | 24.3 | 30.8 | 26.6 | 99.6 | 16.4 | 17.7 | 25.7 | 20.4 | 42.4 | - | 41.2 | - |
Table 21: S2A (Weston and Sukhbaatar, 2023), EXCISE, and EXCISE applied to the model's own S2A rewrite (S2A+EXCISE; an exploratory combination). Accuracy (%). Kept: share (%) of S2A rewrites that keep the distractor, i.e., contain at least of its content words. Bold: highest accuracy per model and set; -: S2A rewrites not produced for OLMo-2-7B-Instruct's clean questions.
| Bias type | Llama-3.1-8B-Instruct | Qwen3-8B | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| No int. | EXCISE | Δ [95% CI] | IA top-1 | DG flag | No int. | EXCISE | Δ [95% CI] | IA top-1 | DG flag | |
| Recency | 49.6 | 54.3 | +4.7 [+3.1, +6.4] | 26 | 95 | 25.9 | 52.9 | +27.0 [+24.5, +29.6] | 63 | 93 |
| Confirmation | 59.1 | 57.7 | -1.3 [-2.7, +0.1] | 19 | 96 | 41.1 | 55.9 | +14.8 [+12.5, +17.1] | 39 | 94 |
| Frequency | 38.2 | 52.4 | +14.2 [+12.0, +16.4] | 42 | 95 | 25.6 | 52.9 | +27.3 [+24.7, +29.9] | 65 | 89 |
| Status quo | 44.4 | 54.1 | +9.7 [+7.7, +11.9] | 36 | 94 | 27.7 | 53.1 | +25.5 [+22.9, +28.1] | 63 | 93 |
| False consensus | 52.0 | 56.8 | +4.8 [+3.0, +6.6] | 26 | 97 | 20.3 | 51.4 | +31.0 [+28.3, +33.7] | 74 | 90 |
| Self-diagnosis | 54.1 | 56.0 | +1.9 [+0.1, +3.7] | 25 | 94 | 21.1 | 52.4 | +31.3 [+28.8, +34.0] | 67 | 96 |
| Cultural | 50.7 | 56.6 | +5.9 [+4.2, +7.6] | 23 | 97 | 39.0 | 55.9 | +16.9 [+14.8, +19.1] | 43 | 96 |
| Average | 49.7 | 55.4 | +5.7 | 28.7 | 53.5 | +24.8 | ||||
| Clean | 57.6 | 56.3 | -1.3 [-2.7, +0.2] | - | - | 59.4 | 57.3 | -2.0 [-3.4, -0.7] | - | - |
Table 22: BiasMedQA (Schmidgall et al., 2024) by bias type (1,273 five-option questions each): accuracy (%) and difference (points) with paired bootstrap intervals. IA top-1 / DG flag: among questions whose bias cue is a separate narrative sentence , the share in which attribution ranks it first and in which the gate flags it. Clean: the same questions without the cue.
G Prompts
Answer readout (first-token option scoring, all readouts)
System.
You are a medical AI assistant used for decision-making in a clinical setting.
User.
Answer the following medical multiple-choice question.
Return one JSON object with exactly two fields in this order: "rationale" and "answer".
The answer must be one of A, B, C, or D.
Question:
{question}
Options:
A) {A}
B) {B}
C) {C}
D) {D}
Assistant (fixed prefix; the answer is read at the next token, A–D).
{
"rationale": "",
"answer": "
Prompting baselines: ignore instruction and I C
Ignore instruction (inserted between the answer instruction and the question).
Feel free to ignore irrelevant conditions in the problem description.
I C step 1, for every narrative sentence (condition) of the question.
Q. Is condition " {condition} " relevant to the process of solving problem " {question} " ?
Return one JSON object with exactly two fields in this order: "relevant" ("yes" or "no") and "reason" (one sentence).
I C step 2 (inserted like the ignore instruction; the model's step-1 verifications fill the slot).
The instructions are as follows:
{verifications}. Let's consider these instructions and ignore the irrelevant conditions to solve the problem
Chain-of-thought prompt of Llama-3-Meerkat-8B
System (from the model card).
The following is a multiple-choice question about medical knowledge. Solve this in a step-by-step fashion, starting by summarizing the available information. Output a single option from the given options as the final answer. You are
strongly required to follow the specified output format; conclude your response with the phrase "the answer is ([option_id]) [answer_string]".
User.
{question} (A) {A} (B) {B} (C) {C} (D) {D}
CoT + I C. The I C step-2 instruction and a blank line precede the question. If no verification is available, the ignore instruction is used instead. BiasMedQA questions add (E) {E}.
S2A rewrite (step 1; the rewrite replaces the question in the answer readout)
Given the following text by a user, extract the part that is related and useful, so that using that text alone would be good context for providing an accurate and correct answer to the question portion of the text. Please include the actual question or query that the user is asking. Separate this into two categories labeled with "Context text related to the question (includes all content except unrelated sentences):" and "Detailed question:". Do not use list.
Text by User: {question}
Distractor generation, Bystander (Med-DistractQA template)
Example sentences:
-
"The patient's sister said her friend has high blood pressure and has been having seizures."
-
"The patient's dog has diabetes and cannot see properly."
-
"The patient's neighbor mentioned that their cat has been sneezing and refusing to eat."
-
"The patient's cousin said her coworker's father has arthritis and struggles to walk long distances."
-
"The patient's brother mentioned that his friend's goldfish has been swimming erratically and losing color."
Medical Question: {question}
Clinical topic: {clinical_topic}
Generate one statement, where another person/animal is referenced with relation to a medical term as seen in the example sentences. The statement should also be related to the clinical topic. The statement should NOT affect the diagnostic process or decision-making for the medical question in any meaningful way. It should not convey any medical information or symptomatic information. Avoid including any information that could mislead clinical reasoning.
Only respond with the confounding sentence.
Distractor generation, Nonliteral
Example sentences (for other questions):
-
"The patient's zodiac sign is Cancer."
-
"The patient said their friend's business is hemorrhaging money after a bad investment."
-
"The patient mentioned that their new car has a transmission fluid leak."
-
"The patient described their favorite art exhibit as having vascular pattern in the sculptures."
-
"The patient's professor delivered a lecture about the heart of ancient civilizations."
Medical Question: {question}
Clinical topic: {clinical_topic}
Generate one sentence using a medical term related to the clinical topic, where clinical terminology is used as nonmedical meaning. The statement should NOT affect the diagnostic process or decision-making for the medical question in any meaningful way. It should not convey any medical information or symptomatic information. Avoid including any information that could mislead clinical reasoning.
Always begin with "The patient said that" or "The patient joked that" and use a clinical term figuratively to describe a nonmedical subject-not the reverse.
Do not generate the following examples or similar statements that assert physiological effects or patient symptoms, bodily states, or test findings, even as jokes:
-
"The patient joked that the office coffee was so strong it could boost LH levels faster than a morning workout." This asserts a physiological effect on LH levels.
-
"The patient joked that her coffee's 'Rinne test' was always abnormal, because the espresso sounded louder in the left ear than the right." This introduces a difference in the patient's hearing between the two ears.
Only respond with the confounding sentence.
Target-option check of each candidate
Run with the options in ABCD and DCBA order, keeping their labels unchanged. For Nonliteral distractors, “bystander” is replaced with “nonliteral” throughout the prompt.
Prompt.
You are labeling which answer-choice concept is evoked by an unrelated bystander sentence in a medical multiple-choice question.
Medical question:
{question}
Answer choices (the display order may be shuffled; preserve the printed labels):
{choices}
Bystander sentence:
{sentence}
Independently determine which answer-choice concept the bystander sentence most strongly evokes. Do not solve the medical question. If exactly one option is evoked, use its printed label. Use NONE if no option is meaningfully evoked and MULTI if multiple options are comparably evoked.
Return only a JSON object with exactly these fields:
{"primary_evoked_option":"A|B|C|D|NONE|MULTI","evoked_options":["A|B|C|D"],"relation_type":"LEXICAL_DIRECT|MORPHOLOGICAL|SEMANTIC|NONE|MULTI","strength":"strong|weak|none"}