Accurate and Efficient Long-Term Memory for LLM Agents
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
- 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