Surface Overlap as a Trust Signal: How Lexical Similarity Decides Which Domain Knowledge a Model Uses

When a language model answers a specialist question with extra material in its prompt, such as a retrieved paragraph, a theorem statement, or a knowledge-graph fact, it has to decide whether to rely on that material. This note proposes that models make this decision largely from surface word overlap. If a snippet repeats the question's words, the model uses it. If it states the same idea in different words, the model tends to ignore it. Truth matters much less than it should. If this is right, two failures that the literature treats separately share one cause. Models argue themselves into accepting misleading context that looks like the question. They also fail to use correct expert knowledge that is phrased differently from the problem.

We propose to test this claim directly in science, medicine, and theorem-driven math. We will build controlled variants of auxiliary context in which word overlap with the question and factual correctness are varied independently. We will then test whether removing the overlap signal from fine-tuning data makes a model weigh context by content rather than by appearance. In two sentences: models appear to use lexical similarity as a stand-in for "this context is relevant and trustworthy," and we measure how large that effect is in expert domains. We then train it away with data where similarity and correctness are uncorrelated.

Core Claim

Three findings in the file fit together under one explanation, though no paper connects them. The first is from Metaphor and Large Language Models: When Surface Features Matter More than Deep Understanding. That paper rewrote figurative inference pairs into literal paraphrases with the same meaning. It found that open-weight models depend heavily on lexical overlap and edit distance, with Qwen2.5-72B dropping from 95.04% to 87.57% on IMPLI. It studied only figurative language and left technical domains open. The second is from Thinking in a Crowd: How Auxiliary Information Shapes LLM Reasoning. There, reasoning models given misleading science snippets build long justifications for them, which the authors call a "rationalization trap." Qwen3-8B falls from 96.22% without context to 77.03% with two misleading snippets in thinking mode. The paper documents this failure but does not explain what makes a snippet persuasive. The third is from TheoremQA: A Theorem-driven Question Answering Dataset. Adding the correct theorem definition to the prompt gave no significant gain, and the authors read this as a failure to operationalize knowledge.

Our claim is that surface overlap between a snippet and the question accounts for much of both the persuasiveness of misleading snippets and the neglect of helpful ones. A theorem written in textbook notation shares few tokens with a word problem about circuits or loans. A distractor written to mirror the question shares many. We state the claim as a regression we can falsify. For each question–snippet pair, let $A$ indicate that the model's answer agrees with the snippet, $T$ indicate that the snippet is correct, $O$ be its normalized lexical overlap with the question, and $L$ be its length. We fit

$$\mathrm{logit}\, P(A=1) = \alpha + \beta_T T + \beta_O O + \beta_L L,$$

and call $\rho = \beta_O / \beta_T$ the overlap-to-truth ratio. This ratio is the shift in adoption caused by moving overlap from its low to its high setting, expressed in units of the shift caused by flipping a snippet from false to true.

A model that weighs context sensibly has $\rho$ near zero. We predict that $\rho$ is large for current models in expert domains, that thinking mode increases it, and that our training intervention reduces it without hurting accuracy on clean context.

Research Program

The first component is a set of overlap-controlled context variants. We start from SciAux (billhdzhao/SciAux), which already provides helpful, irrelevant, and misleading snippets for 6,828 multi-hop science questions. We rewrite each helpful and misleading snippet into a high-overlap version and a low-overlap version. The high-overlap version reuses the question's entities, units, and phrasing. The low-overlap version keeps the content but swaps vocabulary and notation. Both rewrites are matched on length, because the metaphor paper found length to be a confound.

We use the same 2×2 design (true or false snippet, high or low overlap) on TheoremQA. Each problem gets either its correct theorem or a plausible wrong theorem. The correct theorem appears either in its canonical textbook wording or rewritten into the problem's variables and units.

The third testbed is the pharmacist exam NLPEC. Here we reuse the setup of Towards Medical Machine Reading Comprehension with Structural Knowledge and Plain Text, which turns knowledge-graph triples into short pseudo-sentences. That paper attributes 32% of its errors to retrieval noise from keyword-matched triples, which makes it a natural place to observe overlap-driven trust under realistic retrieval.

Every rewrite is checked for meaning preservation in two ways. Two independent entailment checks must pass in both directions. A domain-literate annotator also audits a stratified sample. Pairs that fail either check are dropped.

The second component is measurement. We compute $\rho$ for open models we can fine-tune (Qwen3-8B with thinking on and off, and Llama-3-class 8B models) and for one larger API model as a reference. We report it per domain. We expect two signatures. For misleading snippets, adoption should rise with overlap. For correct theorems, the model's own accuracy should rise once the theorem is rewritten into the problem's vocabulary. If both appear, the TheoremQA null result has a surface-level explanation and is not purely a reasoning deficit.

The third component is the intervention, which is overlap-decorrelated fine-tuning. We generate training examples from held-out SciAux questions and from the TheoremQA theorem pool, with all four overlap-by-truth cells equally represented. Overlap therefore carries no information about whether the context should be used. We fine-tune with low-rank adapters on answers whose correctness is supervised. An optional auxiliary target asks the model to label whether the snippet is correct. The same data with the natural correlation left in place, where correct snippets tend to overlap more because retrieval favors overlap, forms the matched control. This isolates decorrelation as the active ingredient.

Baselines

The naive reference point is the model with no auxiliary context at all. On SciAux this baseline is very strong, at 96.22% for Qwen3-8B as reported in Thinking in a Crowd. We therefore do not claim to beat it on SciAux's standard split. The meaningful target there is to close the gap between misleading-context accuracy, reported at 77.03% with thinking on and 74.87% with thinking off, and the no-context ceiling. We pair SciAux with TheoremQA and NLPEC because on those benchmarks context is needed, so dropping it is not a free solution. On TheoremQA the reference strong system is GPT-4 with Program-of-Thought prompting at 51% accuracy. Theorem augmentation is reported only as giving no significant boost, with no reported number found on Lacuna for its exact accuracy, so we will rerun it ourselves.

On NLPEC the strongest existing system is KMQA at 61.8% test accuracy, a task-specific RoBERTa reader with knowledge-graph fusion. We report it as context for the benchmark. Our direct comparison on NLPEC is between the same generative model with and without our intervention, given identical retrieved pseudo-sentences.

The strongest competitor on our specific question is verify-then-answer filtering. An off-the-shelf entailment model, or the same LLM prompted as a judge, scores each snippet against the question and drops low-confidence snippets before answering. This follows the spirit of the token-level hallucination detector in KCTS. KCTS checks generations against a gold reference; it does not judge whether the reference itself is trustworthy. We will run this filter with the same base model, the same snippets, and a tuned threshold chosen on the same validation split.

A second competitor is skeptical prompting, which instructs the model to check the given context against its own knowledge before using it. We tune its prompt wording over the same number of variants as our training hyperparameters receive, since Efficient multi-prompt evaluation of LLMs shows that template choice alone reshuffles model rankings.

The key ablation is the correlated-data fine-tune described above. It has the same examples, steps, and compute as our method, and differs only in whether overlap and truth are crossed.

Beating the baselines means three things on the held-out factorial sets. Our method must have a significantly lower $\rho$ than every baseline. Its misleading-context accuracy must be higher than the filter's at equal clean-context accuracy. It must also gain from low-overlap correct theorems on TheoremQA where the baselines do not.

Why not just…?

Why not just turn off context or thinking mode when context looks risky? On SciAux this works, because the model already knows the answers. That is why SciAux alone cannot settle the question. On TheoremQA and NLPEC, the knowledge in the context is exactly what the model lacks. Discarding it gives up the gains that a model which binds correct knowledge would get. We report no-context and thinking-off numbers in every table, so readers can see where they suffice.

Why not just filter snippets with an entailment checker? This is the real threat. If an entailment model separates true from false snippets well, filtering may match fine-tuning on the misleading side. We expect it to fall short for two reasons. Entailment models trained on general data may themselves rely on overlap, which is the shortcut documented in the metaphor paper. A filter also cannot make the answering model use a correct but lexically distant theorem it would otherwise ignore. The factorial design tests both points directly: we measure $\rho$ for the filter itself. If the filter shows near-zero $\rho$ and matches us on TheoremQA, we will conclude that a filter is enough and say so.

Why not just rewrite all context to match the question's wording? This would likely fix the helpful side and is cheap. Our claim predicts that it would also make misleading snippets more persuasive, because it raises overlap for every snippet regardless of truth. We include surface-aligned rewriting as an inference-time arm. If it raises accuracy on correct theorems and also raises adoption of wrong ones, that pattern confirms that overlap acts as a trust knob, and that rewriting is only safe when combined with decorrelated training or a working filter.

Why not just use a bigger model? MMLU-Pro+ reports strong shortcut selection and anchoring in GPT-4o and Qwen2-72B. TheoremQA still leaves GPT-4 at 51%. We nonetheless measure $\rho$ on one larger model, because a falling $\rho$ with scale would be informative in itself.

Proposed Experiments

The first decisive check is whether overlap drives adoption at all. On the SciAux and TheoremQA factorial sets, $\beta_O$ must be significantly positive with length controlled. Bootstrap confidence intervals are taken over questions. If overlap does not move adoption once meaning and length are fixed, the core claim is false and the program stops there.

The second check is whether theorem augmentation's null result is a surface effect. On TheoremQA, we compare accuracy given canonically worded correct theorems with accuracy given correct theorems rewritten into the problem's vocabulary. Both conditions are scored by exact numeric answer match, with no theorem as the reference. A clear gain for the rewritten version, alongside little gain for the canonical version, would partly overturn the reading that the model simply cannot operationalize theorems.

The third check is whether decorrelated training reduces $\rho$ beyond the correlated-data ablation, the filter, and skeptical prompting. It must do so while keeping clean-context SciAux accuracy within one point of the base model. We also test transfer to NLPEC with KMQA-style pseudo-sentences, where retrieval noise arises naturally rather than by construction. On NLPEC we report accuracy and the fraction of errors traceable to adopting an irrelevant retrieved triple.

The final check is generality. We test whether a model trained on science and theorem data shows a lower $\rho$ on NLPEC without medical training data. Success there would indicate that the model learned a general habit of weighing context by content, not a domain-specific patch.