菜单

关于 🐙 GitHub
arXiv 提交日期: 2026-04-30
📄 Abstract - From Unstructured Recall to Schema-Grounded Memory: Reliable AI Memory via Iterative, Schema-Aware Extraction

Persistent AI memory is often reduced to a retrieval problem: store prior interactions as text, embed them, and ask the model to recover relevant context later. This design is useful for thematic recall, but it is mismatched to the kinds of memory that agents need in production: exact facts, current state, updates and deletions, aggregation, relations, negative queries, and explicit unknowns. These operations require memory to behave less like search and more like a system of record. This paper argues that reliable external AI memory must be schema-grounded. Schemas define what must be remembered, what may be ignored, and which values must never be inferred. We present an iterative, schema-aware write path that decomposes memory ingestion into object detection, field detection, and field-value extraction, with validation gates, local retries, and stateful prompt control. The result shifts interpretation from the read path to the write path: reads become constrained queries over verified records rather than repeated inference over retrieved prose. We evaluate this design on structured extraction and end-to-end memory benchmarks. On the extraction benchmark, the judge-in-the-loop configuration reaches 90.42% object-level accuracy and 62.67% output accuracy, above all tested frontier structured-output baselines. On our end-to-end memory benchmark, xmemory reaches 97.10% F1, compared with 80.16%-87.24% across the third-party baselines. On the application-level task, xmemory reaches 95.2% accuracy, outperforming specialised memory systems, code-generated Markdown harnesses, and customer-facing frontier-model application harnesses. The results show that, for memory workloads requiring stable facts and stateful computation, architecture matters more than retrieval scale or model strength alone.

顶级标签: agents systems model evaluation
详细标签: memory systems knowledge extraction benchmark stateful agents schema grounding 或 搜索:

从非结构化回忆到基于模式的记忆:通过迭代、模式感知提取实现可靠的AI记忆 / From Unstructured Recall to Schema-Grounded Memory: Reliable AI Memory via Iterative, Schema-Aware Extraction


1️⃣ 一句话总结

本文提出了一种让AI记忆系统更可靠的新方法:通过预先定义好需要记住的信息格式(即“模式”),并让AI在写入记忆时反复核对这些信息,从而将原本依赖“搜索和推测”的记忆方式,转变为“精准记录和查询”,大幅提升了AI在需要精确事实和状态更新场景下的表现。

源自 arXiv: 2604.27906