Accurate and Efficient Long-Term Memory for LLM AgentsAccurate and Efficient Long-Term Memory for LLM Agents
问题:智能体的长期记忆常用扁平向量库,丢掉事件、人物、关系之间的结构;用 LLM 做记忆分类又太慢,还会在无校验时积累矛盾。
证据位置:摘要提出 MOSAIC,用实体类型图存事件/人物/关系,保留多跳与时序结构;用局部敏感哈希替代 LLM 分类做双路检索;保存时主动比对邻居并处理冲突;LoCoMo 89.35%(比公开基线高 27.21 个百分点),HaluMem 抽取 F1 86.77/85.84,冲突检出 66%,平均检索延迟 0.58 秒/题。
作者自陈局限:评测集中在 LoCoMo、HaluMem 与一个临床指南冲突测试;图结构依赖实体/关系抽取质量;没有生产级并发、权限与隐私验证;不是端到端训练。
它没主张的:不是所有记忆都该图结构化;不是 89.35% 代表开放域对话;不是 0.58 秒就是所有部署的延迟。Problem: agent long-term memory often uses flat vector stores that lose event, persona and relationship structure; LLM-based classification is slow, and without validation contradictions accumulate.
Where the evidence sits: MOSAIC stores typed entity graphs for events, personas and relationships, preserving multi-hop and temporal structure; locality-sensitive hashing replaces LLM classification for dual-path retrieval; save-time conflict detection compares neighbours and updates or deletes contradictions; it reaches 89.35% on LoCoMo (+27.21 pp over the best baseline), HaluMem extraction F1 86.77/85.84, detects 66% of injected conflicts and keeps average retrieval latency at 0.58 s per question.
What the authors say about limits: evaluation centres on LoCoMo, HaluMem and a clinical-guideline conflict test; graph quality depends on entity/relation extraction; production concurrency, permissions and privacy are not validated; it is not end-to-end trained.
What it does not claim: not that every memory should be graph-structured; not that 89.35% represents open-domain dialogue; not that 0.58 s is every deployment’s latency.
关键参数Key specs
- 证据位置 / evidence
- 摘要
- 记忆 / memory
- 实体类型图 + 语义分类
- 检索 / retrieval
- 局部敏感哈希双路检索
- LoCoMo
- 89.35%(+27.21 pp)
- 冲突检出 / conflict
- 66%
- 复现状态 / reproduction
- 未复现(只读摘要)
官方原文怎么说What the source says
entity-typed graph storage with semantic classification preserving relational structure across events, personas, and relationships
hash-accelerated dual-path retrieval replacing LLM-based classification with locality-sensitive hashing
achieves 89.35% accuracy on LoCoMo (+27.21 pp over the best baseline)
detects 66% of injected factual conflicts
资料与许可Source and licence
- 资料时间Source checked
- 2026-11-20
- 许可 / 类型Licence / kind
- arxiv-preprint
- 许可说明Licence evidence
- https://arxiv.org/abs/2607.16211
- 类目Category
- Agent 与工具Agents & tools
论文里的数字怎么读How to read the numbers
先分清测什么、怎么算、和谁比、有没有数据污染。拿不准就回原文看实验设置。Before citing a score, separate what it measures, how it is scored, what it compares against and whether contamination is controlled. If unsure, go back to the experiment setup in the paper. 看评测基准See benchmark cards · 看数据集卡See dataset cards
同类目还有More in this category
- AgentBench: Evaluating LLMs as AgentsAgentBench: Evaluating LLMs as Agents
- ContextWeaver: Selective and Dependency-Structured Memory Construction for LLM AgentsContextWeaver: Selective and Dependency-Structured Memory Construction for LLM Agents
- DroidPrefill:用手机 NPU 跑完全本地的 GUI agentBuilding Fully On-Device GUI Agents with Mobile NPUs