Knowing Without Saying: How Contextual Evidence Survives but Fails to Surface in Transformers

Ruochen Jin, Tianyu Pang, Chenxi Lin, Lei Hsiung, Jun Jie Ou Yang, Tao Wen, Yujun Yan, Yaoqing YangNeurIPS 2026

TL;DR

When you feed a Large Language Model (LLM) new facts that contradict its training data, it often stubbornly blurts out its old beliefs anyway. We usually assume the model simply failed to read or encode the prompt properly, but this paper reveals something far stranger: the model does absorb the new evidence in its middle layers, only for its final layers to stage a last-second coup and overwrite the answer. Understanding this internal tug-of-war means fixing hallucinations isn't just about helping models read better—it's about rewiring how internal knowledge connects to the final output.

What Problem Does This Paper Address?

LLMs store vast amounts of factual knowledge in their weights (parametric priors). Yet in real-world applications—like analyzing a fresh medical chart or an updated legal brief—we need them to trust the prompt over their memory. When prompt and memory clash, we get a knowledge conflict.

When an LLM fails this test and defaults to its prior beliefs, standard evaluations only look at the final text. End-to-end accuracy cannot tell us why it failed: Did the model never encode the prompt's evidence at all, or did it process the evidence and actively suppress it right before speaking?

Methods

To peer inside the black box across three 7–8B instruction-tuned models (Llama-3.1, Mistral-v0.3, and Qwen-2.5, plus a scale check on Qwen3.5-27B), the authors combine standard interpretability tools with a clever counterfactual setup and targeted causal interventions:

  • Controlled Counterfactuals: Taking questions the model already answers correctly (prior answer $a$), the authors edit the supporting text so the logic points to a new answer $b$. They then compare cases where the model successfully "Flips" to $b$ against cases where it "Collapses" back to $a$.
  • Layer-by-Layer Probing: They use the standard logit lens (projecting intermediate hidden states directly into vocabulary space to track an Output Direction, $\mathbf{D}$) alongside a learned linear probe—a linear margin lens—trained at each layer to find the direction that best predicts the final preference (the Knowledge Direction, $\mathbf{V}$).
  • Conditional Residual Suppression (Novel Intervention): To test which direction actually drives behavior, the authors surgically intervene on the late layers. Whenever a layer's update tries to push the hidden state back toward the old prior $a$ along direction $\mathbf{D}$ or $\mathbf{V}$, they subtract or reverse that specific push.
Figure 1: Overview of Knowledge Conflict and Dual-Track Computation. (1) Under factual context s+, the model correctly outputs a; under counterfactual context s−, it either follows evidence b (flip, F) or reverts to a (collapse, C). (2) The knowledge direction V and output direction D are nearly orthogonal. Interventions along V produce 0% answer flips, versus 52.7% along D, revealing their distinct causal roles. (3) Flip (blue) and collapse (gray) cases follow similar trajectories through the first ∼60% of layers but sharply diverge thereafter, exhibiting late-layer reversal. Together, these results show that contextual evidence can remain encoded without controlling the final output.

Datasets

No brand-new datasets are introduced, though the authors generate controlled counterfactual variants of existing ones. The core experiments evaluate multi-hop question answering across HotpotQA, 2WikiMultiHopQA, and MuSiQue. To test generalizability beyond multi-hop QA, they also evaluate single-hop CounterFact, ConflictQA, and custom paired entity-review prompts for long-form sentiment consistency.

Key Insights and Ideas

  • Late-Layer Reversal: For the first ~60% of the network's depth, a model destined to fail looks statistically indistinguishable via its output readout from a model destined to succeed! Both integrate the prompt. Then, in the final ~40% of layers, "Collapse" cases abruptly reverse course, crushing the new evidence and restoring the old prior.
Figure 2: F and C trace indistinguishable trajectories until late layers, then diverge in opposite directions. Mean per-layer P(b) −P(a) pooled across all nine model–dataset cells: F (blue, solid; total number n = 479) is the flip group; The red dashed curve shows the recollapse subset of C, with n = 397; Appendix A.6 defines this subset. Shaded bands show the 95% confidence interval (CI) across cells. The two groups remain statistically indistinguishable through approximately the first 60% of normalized depth (horizontal arrow), then separate sharply: by the final layer, F reaches +0.97 while C reaches −0.85.
  • Dual-Track Computation: Knowing and saying live on different axes. The direction where the model's eventual preference is linearly readable ($\mathbf{V}$, separating outcomes as early as ~20% depth) is nearly orthogonal to the direction that actually generates the output token ($\mathbf{D}$)—no more aligned than two random vectors in high-dimensional space.
  • Linear Readability $\neq$ Causal Control: Just because a probe can read an answer from a hidden state doesn't mean the model uses that direction to speak. Suppressing updates along the Knowledge Direction ($\mathbf{V}$) does virtually nothing, while suppressing prior-restoring updates along the Output Direction ($\mathbf{D}$) rescues the contextual answer.

Key Results

  • Near-Zero Geometric Alignment: Across 361 collapse pairs, the cosine similarity $|\cos(\mathbf{V}, \mathbf{D})|$ averages 0.0088, sitting right inside the random-vector baseline of 0.0128 ($z = -0.41$).
  • Stark Causal Asymmetry: Standard suppression ($\lambda=1.0$) along $\mathbf{V}$ flips the model's answer preference 0.0% of the time. Doing the exact same thing along $\mathbf{D}$ flips 52.7% of cases.
  • Over-determined Priors & Spillover: Because prior restoration is spread redundantly across late layers (89.7% of the push happens in the final third of the network), over-correcting along $\mathbf{D}$ ($\lambda=2.0$) pushes the model to prefer $b$ over $a$ in 96.9% of collapse cases. However, strict exact-match text generation only hits 46.4%—mostly because suppressing $a$ nudges the model into the right semantic neighborhood, causing it to output hypernyms or concepts closely related to $b$ (87.0% of remaining non-exact outputs).

Limitations and Future Work

This surgical intervention is a diagnostic scalpel, not a production-ready cure: applying $\lambda=2.0$ suppression to clean, unconflicted prompts breaks 17.5% of previously correct answers, and it relies on knowing answers $a$ and $b$ in advance to define $\mathbf{D}$. Furthermore, the study focuses primarily on multi-hop QA in 7–8B models (with a single 27B dataset check). Whether Dual-Track Computation also explains open-ended hallucinations, sycophancy, or behavior in massive frontier reasoning models remains an exciting open question.

Summary updated

Abstract

Large language models frequently ignore in-context evidence that contradicts their parametric priors, producing answers that reflect default beliefs rather than the supplied passage, a phenomenon termed *knowledge conflict*. This failure is commonly attributed to insufficient encoding of the contextual signal. We challenge this explanation. Through systematic, layer-by-layer analysis in a controlled multi-hop question-answering setting, we show that models can favor the context-supported answer in their intermediate representations, yet suppress it in the final layers before generation. We term this *late-layer reversal*: the representational support for the evidence answer rises through the middle layers, then collapses in the final ~40% of the network. To explain this phenomenon, we identify a *Dual-Track* computational structure within the transformer's hidden state. A *knowledge direction*, recovered by a learned linear probe, makes answer-related information linearly readable; a nearly orthogonal *output direction*, aligned with the unembedding geometry, determines the model's prediction. Interventions along the knowledge direction have much weaker effects than those along the output direction: targeted suppression of prior-restoring computation makes the model prefer the contextual answer over the prior in 96.9\% of collapse cases. Our findings across nine model-dataset combinations show that knowledge conflict failures can arise after contextual evidence has entered the model's computation, when the generation pathway restores the prior answer.
BibTeX
@inproceedings{jin2026knowing,
  author = {Ruochen Jin and Tianyu Pang and Chenxi Lin and Lei Hsiung and Jun Jie Ou Yang and Tao Wen and Yujun Yan and Yaoqing Yang},
  title = {{Knowing Without Saying: How Contextual Evidence Survives but Fails to Surface in Transformers}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=uuwn79Sc1z},
}
Figure