arXiv:2610.35558cs.CLOct 2026

Manuscript Offprint

arXiv:2610.35558

EXCISE: Locating and Excising Distracting Sentences in Medical Question Answering

Yerim Hong, Sohyun Son, Heeseung Chung, Mujeen Sung

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^{1}

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 3^{3} ...

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

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

†^{\dagger}Corresponding author.

1^{1}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.