How Context Shapes Truth: Geometric Transformations of Statement-level Truth Representations in LLMs

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Adarsh, Shivam, Maistro, Maria, Lioma, Christina
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914245386436608
author Adarsh, Shivam
Maistro, Maria
Lioma, Christina
author_facet Adarsh, Shivam
Maistro, Maria
Lioma, Christina
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2601_06599
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle How Context Shapes Truth: Geometric Transformations of Statement-level Truth Representations in LLMs
Adarsh, Shivam
Maistro, Maria
Lioma, Christina
Computation and Language
Artificial Intelligence
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.
title How Context Shapes Truth: Geometric Transformations of Statement-level Truth Representations in LLMs
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2601.06599