[Paper Review] How Context Shapes Truth: Geometric Transformations of Statement-level Truth Representations in LLMs
The paper characterizes how context reshapes truth representations in LLM activations by measuring directional changes and magnitude shifts of truth vectors across four models and four datasets, revealing a three-phase pattern and context-type effects.
Large Language Models (LLMs) often encode whether a statement is true as a vector in their residual stream activations. These vectors, also known as truth vectors, have been studied in prior work, however how they change when context is introduced remains unexplored. We study this question by measuring (1) the directional change ($θ$) between the truth vectors with and without context and (2) the relative magnitude of the truth vectors upon adding context. Across four LLMs and four datasets, we find that (1) truth vectors are roughly orthogonal in early layers, converge in middle layers, and may stabilize or continue increasing in later layers; (2) adding context generally increases the truth vector magnitude, i.e., the separation between true and false representations in the activation space is amplified; (3) larger models distinguish relevant from irrelevant context mainly through directional change ($θ$), while smaller models show this distinction through magnitude differences. We also find that context conflicting with parametric knowledge produces larger geometric changes than parametrically aligned context. To the best of our knowledge, this is the first work that provides a geometric characterization of how context transforms the truth vector in the activation space of LLMs.
Motivation & Objective
- Investigate whether context alters the geometric structure of statement-level truth representations (truth vectors) in LLM residual streams.
- Quantify directional changes (angle theta) and magnitude shifts when context is added.
- Examine how context type (relevant vs random) and model scale influence these geometric transformations.
- Assess consistency of these patterns across diverse datasets and four instruction-tuned LLMs.
Proposed method
- Define truth vectors as the difference between true and false residual stream activations at the first generated token, for each layer.
- Compute directional change theta between context-free and context-rich truth vectors per layer.
- Compute relative magnitude as the ratio of squared norms of context-rich versus context-free truth vectors per layer.
- Analyze four models (3B–12B) across four datasets, using four prompts and controlled context variations.
- Compare relevant context against random or incoherent contexts to assess sensitivity.
- Use non-parametric Wilcoxon tests to assess statistical significance of observed differences.
![Figure 1: Overview of our approach (1) For a statement $k$ , we generate 4 inputs by varying the [Selected Choice] and presence of context. The LLM is instructed to generate the completion based on the [Selected Choice]. (2) We extract the residual stream activations for generating the first token a](https://ar5iv.labs.arxiv.org/html/2601.06599/assets/x1.png)
Experimental results
Research questions
- RQ1How does adding context change the direction of statement-level truth vectors in LLM activations across layers?
- RQ2How does context affect the magnitude of truth vector separations between true and false statements?
- RQ3Do larger models rely more on directional changes while smaller models rely more on magnitude changes to distinguish relevant context?
- RQ4Does context aligning with parametric knowledge differ in its geometric impact from context that conflicts with parametric knowledge?
- RQ5Are contextual effects consistent across different datasets and context types (relevant vs random)?
Key findings
- Truth vectors show a three-phase directional change: near-orthogonal in early layers, converge in middle layers, then stabilize or increase in later layers.
- Adding context generally increases the magnitude of truth vectors, enhancing separation between true and false representations in the activation space.
- Larger models mainly use directional changes to distinguish relevant from irrelevant context, while smaller models rely more on magnitude differences.
- Context that conflicts with parametric knowledge induces larger geometric changes than context aligned with parametric knowledge.
- Relevant context produces larger directional or magnitudinal changes than random contexts across most model-dataset pairs.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.