Measuring What Persists: Conditioning Mechanisms and a Geometric Framework for AI Agent Identity
Not on the map. Why?
Abstract (arXiv)
AI agents in long-context applications drift from their specified identity. Current methods detect this only after qualitative degradation is visible. We present a geometric framework for measuring identity structure using √JSD metric spaces and magnitude homology from enriched category theory, where identity is non-geodesic structure and drift is its relaxation toward the geodesic. Validated on a persistent AI agent, the framework's strongest empirical finding is a two-mechanism conditioning structure: cross-condition distances reveal an identity-vacuum cluster where the identity specification fills a behavioral void, and a safety-basin cluster where it displaces from post-training attractors. An equilateral probe baseline confirms that the identity specification creates measurable behavioral richness (55 unique response patterns vs. 1 for the base model) at maximum probe separation. A first-order perturbation theory for equilateral configurations predicts magnitude changes from perimeter changes alone, with shape perturbations first-order cancelled by the Sn symmetry; the formula is self-consistent at the observed perturbation amplitudes. A drift experiment measuring magnitude decrease under context pressure was subsequently found to reflect repetitive-padding artifacts rather than genuine context-length drift; diverse padding produces no measurable deformation through 150K tokens. The magnitude homology framework's full diagnostic promise -- detecting anisotropic contraction and structural collapse via homological simplification -- is architecturally grounded in the perturbation theory and selection rules but remains empirically unconfirmed.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 31 references that are in the map. First posted on arXiv 20 Jun 2026.
Builds on
20 of 31 references.
References · 20
- 2023Towards Understanding Sycophancy in Language Modelscited by 1,040
- 2022Discovering Language Model Behaviors with Model-Written Evaluationscited by 836
- 2025LLMs Get Lost In Multi-Turn Conversationcited by 429
- 2025Persona Vectors: Monitoring and Controlling Character Traits in Language Modelscited by 345
- 2026The Assistant Axis: Situating and Stabilizing the Default Persona of Language Modelscited by 90
- 2024Get my drift? Catching LLM Task Drift with Activation Deltascited by 72
- 2024Measuring and Controlling Instruction (In)Stability in Language Model Dialogscited by 53
- 2024Examining Identity Drift in Conversations of LLM Agentscited by 25
- 2021An enriched category theory of language: from syntax to semanticscited by 22
- 2025Drift No More? Context Equilibria in Multi-Turn LLM Interactionscited by 22
- 2023Metric Space Magnitude for Evaluating the Diversity of Latent Representationscited by 17
- 2023Metric Space Magnitude and Generalisation in Neural Networkscited by 15
8 more
- 2025The magnitude of categories of texts enriched by language modelscited by 5
- 2025The Shape of Adversarial Influence: Characterizing LLM Latent Spaces with Persistent Homologycited by 5
- 2025Agent Identity Evals: Measuring Agentic Identitycited by 5
- 2026ContextEcho: A Benchmark for Persona Drift in Long Agentic-Coding Sessionscited by 5
- 2026When Attention Closes: How LLMs Lose the Thread in Multi-Turn Interactioncited by 3
- 2024Directed Metric Structures arising in Large Language Modelscited by 2
- 2025Is magnitude 'generically continuous' for finite metric spaces?cited by 1
- 2026Nautilus Compass: Black-box Persona Drift Detection for Production LLM Agentscited by 1
Built on by
Not cited yet.