NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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 Yang

NeurIPS page · Open on the map

Category: LLM Reasoning, Memory & RAG › Knowledge Representation and Reasoning in Transformers · Type: empirical study · Keywords: knowledge conflict, contextual evidence, transformer analysis, late-layer reversal, dual-track structure, output direction

Areas: LLM Reasoning › Reasoning Mechanisms › Reasoning Diagnostics

Summary

The paper reveals that transformers encode contextual evidence in intermediate layers but suppress it via a late-layer reversal, identifying a Dual-Track structure that separates knowledge and output directions and explains knowledge conflict failures.

Explained to a 5-year-old

Big computer programs called language models sometimes answer questions using what they already know instead of the story they are told. The researchers looked inside the program layer by layer and saw that the story is stored in the middle parts. Near the end, the program seems to forget the story and goes back to its old answers. They discovered that the program has two separate ways of handling information: one for the story and one for making the final answer. By changing the second way, the program can be tricked into using the story instead of its old knowledge.

Explained to a 5-year-old, longer

Big computer programs called language models are designed to answer questions. Sometimes they ignore the information given to them and answer using what they already know. The researchers wanted to understand why this happens, so they looked inside the program step by step. They found that the program stores the new information in the middle layers of its processing. However, before it makes the final answer, the program seems to forget the new information and goes back to its old knowledge. By studying the hidden parts of the program, they discovered two separate directions: one that holds the new information and another that decides the final answer. They found that the two directions are almost completely independent. Changing the second direction can make the program use the new information instead of its old knowledge. This helps explain why language models sometimes fail to follow the context they are given. The findings were tested on many different models and datasets, showing the result is reliable. Understanding this can help build better models that truly use the information they are given.

For a technical reader

The study performs a systematic layer-wise analysis of transformer models on a multi-hop QA task, using linear probes to isolate knowledge and output directions in hidden states. They show that contextual evidence is encoded in middle layers but collapses in the final ~40% of layers, and that interventions on the output direction can force the model to follow the evidence. The results hold across multiple model-dataset combinations, indicating the phenomenon is widespread.

Problem

Large language models often ignore contradictory in-context evidence, answering based on prior knowledge instead of the supplied passage. Understanding why this knowledge conflict occurs and whether models truly represent the evidence is a key challenge.

Method

The authors conduct a layer-by-layer analysis on a controlled multi-hop QA benchmark, using linear probes to track knowledge and output directions in transformer hidden states, and perform interventions to assess the causal roles of these directions.

Results

The analysis shows that contextual evidence is represented in middle layers but collapses in the final ~40% of layers, and that targeted suppression of prior-restoring computation along the output direction reliably makes models follow the evidence, with consistent findings across nine model-dataset combinations.

Contributions

The paper discovers that contextual evidence is encoded but later suppressed, identifies a two-track structure in transformer hidden states that separates knowledge representation from output generation, and shows that interventions on the output track can make models follow the evidence, clarifying the cause of knowledge conflict.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction