增强 AI 智能体记忆压缩中的局部与全局结构
Enhancing Local and Global Structure in Compressed AI Agent Memory
AI 导读
arXiv 论文提出局部感知量化方法 LAQ,针对 AI 智能体记忆压缩只保局部近邻、丢失全局结构的问题,将其证明的理论界转化为 OPQ 码书上的 hinge 目标。LAQ 在全部 52 个留出运行中提升全局保真度 G(p=8.5×10⁻⁴),在 12 次 Multi-Doc-2025 运行中取得七个同等大小量化器中最高的 G,可扩展至百万级段落并保持证据召回率。
正文 · 原文
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 $L$ at 10 neighbors and the global fidelity $G$ at 30 to 50 percent of the memory. At 96 bytes per passage, rescored binary codes reach an $L$ of 0.97 yet move 10.1 percent of passages to another theme; PCA with 8-bit codes, at an $L$ of 0.77, moves 1.7 percent. Rescoring leaves the stored codes, and thus $G$, unchanged. We prove that across the $G$ band, $1-\nu_k$ 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 $G$ in 0 of 52 held-out runs; the far hinge raises it in all 52. LAQ raises $G$ in all 52 ($p=8.5\times 10^{-4}$ over 13 memory-encoder groups), including the external FinDER memory, has the highest $G$ of seven equal-size quantizers in all 12 Multi-Doc-2025 runs, scales to a million passages, and keeps evidence recall.
| Comments: | 28 pages, 12 figures, 10 tables |
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.08341 [cs.AI] |
| (or arXiv:2611.08341v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.08341 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Henry Han [view email]
[v1]
Thu, 5 Nov 2026 17:27:08 UTC (2,703 KB)
来源:arXiv cs.AI · arxiv.org