The Shape of Beliefs: Geometry, Dynamics, and Interventions along Representation Manifolds of Language Models' Posteriors
Raphaël Sarfati, Eric Bigelow, Daniel Wurgaft, Jack Merullo, Atticus Geiger, Owen Lewis, Tom McGrath, Ekdeep Singh Lubana
TL;DR
This work investigates how prompt-conditioned beliefs are encoded and updated in large language models by examining a controlled Gaussian-time-series task with prompts drawn from $\mathcal{N}_{\mu,\sigma}$. The authors reveal curved belief manifolds $\mathcal{M}_{\mu,\sigma}$ in activation space and introduce Linear Field Probes (LFP) to tile these manifolds, enabling geometry-aware interventions. They show that belief dynamics involve rapid mean adaptation and slower variance equilibration when distributions switch, and demonstrate that linear steering along a manifold, rather than along a fixed direction, better preserves the target belief family. The findings argue for a geometric view of latent beliefs in LLMs, with practical implications for interpretable probing and reliable belief editing using dual-space field geometry.
Abstract
Large language models (LLMs) represent prompt-conditioned beliefs (posteriors over answers and claims), but we lack a mechanistic account of how these beliefs are encoded in representation space, how they update with new evidence, and how interventions reshape them. We study a controlled setting in which Llama-3.2 generates samples from a normal distribution by implicitly inferring its parameters (mean and standard deviation) given only samples from the distribution in context. We find representations of curved "belief manifolds" for these parameters form with sufficient in-context learning and study how the model adapts when the distribution suddenly changes. While standard linear steering often pushes the model off-manifold and induces coupled, out-of-distribution shifts, geometry and field-aware steering better preserves the intended belief family. Our work demonstrates an example of linear field probing (LFP) as a simple approach to tile the data manifold and make interventions that respect the underlying geometry. We conclude that rich structure emerges naturally in LLMs and that purely linear concept representations are often an inadequate abstraction.
