Search papers, labs, and topics across Lattice.
This paper introduces a mathematically grounded approach to AI agent memory management, addressing retrieval, lifecycle, and consistency. It uses a Fisher information-derived metric for retrieval, Riemannian Langevin dynamics for lifecycle management, and cellular sheaf theory for contradiction detection. Experiments on the LoCoMo benchmark demonstrate a +12.7% performance improvement over engineering baselines, with a zero-LLM configuration satisfying EU AI Act data sovereignty.
Replace ad-hoc memory decay and similarity metrics with provably convergent Riemannian dynamics and Fisher information, boosting agent memory performance by up to 20% while enabling zero-LLM deployments for data sovereignty.
Persistent memory is a central capability for AI agents, yet the mathematical foundations of memory retrieval, lifecycle management, and consistency remain unexplored. Current systems employ cosine similarity for retrieval, heuristic decay for salience, and provide no formal contradiction detection. We establish information-geometric foundations through three contributions. First, a retrieval metric derived from the Fisher information structure of diagonal Gaussian families, satisfying Riemannian metric axioms, invariant under sufficient statistics, and computable in O(d) time. Second, memory lifecycle formulated as Riemannian Langevin dynamics with proven existence and uniqueness of the stationary distribution via the Fokker-Planck equation, replacing hand-tuned decay with principled convergence guarantees. Third, a cellular sheaf model where non-trivial first cohomology classes correspond precisely to irreconcilable contradictions across memory contexts. On the LoCoMo benchmark, the mathematical layers yield +12.7 percentage points over engineering baselines across six conversations, reaching +19.9 pp on the most challenging dialogues. A four-channel retrieval architecture achieves 75% accuracy without cloud dependency. Cloud-augmented results reach 87.7%. A zero-LLM configuration satisfies EU AI Act data sovereignty requirements by architectural design. To our knowledge, this is the first work establishing information-geometric, sheaf-theoretic, and stochastic-dynamical foundations for AI agent memory systems.