MemoType 为智能体记忆提出按类型路由的检索机制:先对每条记忆和查询分类,再对匹配类型套用各自的检索策略,而非用单一嵌入搜索覆盖全部记忆。作者证明当记忆库包含多种类型时,任何单一检索策略的期望精度都有上限。配套数据集 TriMEM 提供类型标签用于训练分类器,在三个数据集上 Recall@1 最高提升 16.18%。
Nice paper on agent memory.
It explores an effective routing mechanism for memory in agents.
The overall finding is that you want a separate retrieval strategy for each type of memory instead of one embedding search over everything.
The authors prove that any single retrieval strategy has an upper bound on expected precision when the memory store holds several types.
MemoType classifies each memory and each query by type, retrieves memories that match the query type, and applies the strategy for that type. A new dataset, TriMEM, provides the type labels needed to train the classifier.
Recall@1 improves by up to 16.18% across three datasets.
Paper: https://academy.dair.ai/papers/memory-type-varies-empowering-llm-agents-for-long-term-memory-with-diverse-strat-2610.11573
来源:DAIR.AI · x.com