Enhancing Local and Global Structure in Compressed AI Agent Memory
Abstract
AI agents store text as embedding vectors and compress them at scale. A compression is accepted when each item's nearest neighbors survive, but agents also consolidate, delete, and compare memories, tasks that depend on which items lie far apart. We evaluate both ends with two label-free fidelities from our prior work: the local fidelity at 10 neighbors and the global fidelity at 30 to 50 percent of the memory. At 96 bytes per passage, rescored binary codes reach an of 0.97 yet move 10.1 percent of passages to another theme; PCA with 8-bit codes, at an of 0.77, moves 1.7 percent. Rescoring leaves the stored codes, and thus , unchanged. We prove that across the band, is at most 2 to 2.18 times the square root of the near-far rank-violation rate, and that this rate follows the distance noise of the compression (correlation 0.979). Our locality-aware quantization (LAQ) turns the bound into a hinge objective on the codebooks of an OPQ index, keeping its bytes, rotation, and search. To our knowledge, LAQ is the first quantizer whose objective comes from a proven bound on the far end. Reconstruction alone raises in 0 of 52 held-out runs; the far hinge raises it in all 52. LAQ raises in all 52 ( over 13 memory-encoder groups), including the external FinDER memory, has the highest of seven equal-size quantizers in all 12 Multi-Doc-2025 runs, scales to a million passages, and keeps evidence recall.
Create a lesson
Related papers
MVAgent: Per-Video Agents under Global Coordination for Multi-Video Understanding
Shared title terminology · Kewei Wei, XueXiang Wen, Bocheng Hu et al.
Engram: Multi-Stage Memory for Agentic Tuning of Heterogeneous Models
Shared title terminology · Huanran Li, Nhat X. T. Le, Kevin De Angeli et al.
Specialized Large Language Models for Markovian Reasoning: Structural Cache Compression, Transition Pretraining, and Dual-Loop Transformers
Shared title terminology · Haibin Tong, Liangliang Xin, Yamei Zhu et al.
Rethinking Agent Trajectory Compression: A Workflow-Aware Perspective
Shared title terminology · Qijia Zhuang, Rui Liu, Wenqi Hu et al.
Memory-Aware Multi-Agent Architecture with LLM-based Orchestration for Conversational Recommendation
Shared title terminology · Emilly Pitman de Castro, Vanessa Silva, Gustavo Kanno et al.
MCPHallu: Benchmarking Reasoning, Execution, and Memory Hallucinations in MCP Agents
Shared title terminology · Yizhen Jiang, Haowei Guo, Tianyi Bai et al.