arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.11325cs.IRcs.AI
收藏

结构化信念状态与首个面向LLM记忆检索的精度感知基准

Structured Belief State and the First Precision-Aware Benchmark for LLM Memory Retrieval

Independent Researcher(独立研究者)

Jeffrey Flynt

AI总结:

针对现有LLM记忆系统基准仅评估答案质量而忽略检索精度的问题,提出独立于生成模型的检索精度基准PrecisionMemBench和结构化信念存储系统Tenure,实现89/89测试案例通过且平均精度1.0。

摘要:

每个主要的LLM记忆系统基准(尤其是LoCoMo)都只衡量模型是否回答正确,而非记忆系统是否检索正确。一个返回其整个信念存储的系统能达到1.0的召回率并通过答案质量评估。这是单元测试与集成测试的区别:检索质量必须独立于其馈入的生成模型进行测量,而现有基准均未做到这一点。 我们证明,即使实体提取完全忠实,这种失败仍然存在。记忆基线在引用自身提取的案例上平均检索精度仅为0.05到0.08。这种失败是结构性的:在领域特定语料库上,余弦相似度无法区分相关信念与语义相近的信念,这一不变性在20倍范围的嵌入模型规模上得到确认。多轮评估揭示了累积性失败;在话题漂移后,对比系统允许语义质量在轮次间渗漏,导致重入时的高漂移分数。单轮指标掩盖了这一代价:Hindsight报告单轮延迟低于700ms,但每会话轮次平均延迟超过2700ms,p95超过6000ms。在LLM-as-a-Judge评估下,这些失败仍然不可见。 我们提出两项贡献:PrecisionMemBench,一个包含89个案例的基准,独立于生成模型测量检索精度,涵盖多样化的范围、变异和隔离断言;以及Tenure,一个本地优先的结构化信念存储,使用多路径BM25、分析器不对称、差分提升和硬范围隔离。Tenure通过了89/89案例,平均精度1.0,检索延迟低于15ms。对比提供商的表现比它们所基于的原始向量基线更差,零主动检索通过,摄取成本为98到897秒,这些失败是答案质量基准无法检测的。

英文摘要:

Current LLM memory benchmarks evaluate answer quality rather than retrieval accuracy. Consequently, a system that dumps its entire belief store can achieve perfect recall and mask severe precision failures. We show this evaluation gap persists across multiple embedding models where similarity-based retrieval over domain-specific corpora inherently struggles to isolate target beliefs from semantically proximate ones. Furthermore, multi-turn topic drift compounds this retrieval noise while driving up latency and operational costs. To decouple retrieval quality from generative performance, we introduce PrecisionMemBench, an 89-case benchmark measuring precision, noise isolation, session latency, and belief mutability. We also present Tenure, a structured belief-store proxy that resolves scope and retrieval before inference and injects typed belief state as ambient instruction before the model sees the prompt, removing model-side discretion over whether memory is consulted. Evaluated across 13 configurations, Tenure achieves perfect retrieval passes across all active, non-session, and session test cases. In contrast, the baseline configurations fail to reach even half of the active passes, with precision scores clustering at 0.22 and below. Our results demonstrate that while current memory systems successfully store information, they fail to retrieve it cleanly; a structural vulnerability that traditional answer-quality benchmarks conceal.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑