🚀NEW LABGetting Started with Claude AgentsStart lab
← All papers  /  Oct 10, 2026
Memory

Memory Type Varies: Empowering LLM Agents for Long-Term Memory with Diverse Strategies

First page
Memory Type Varies: Empowering LLM Agents for Long-Term Memory with Diverse Strategies
The curator’s take

Yi Wen, Xiangyu Zhao and colleagues at City University of Hong Kong (with Huawei) propose MemoType, which routes each memory and query to a type-specific retrieval strategy. Accepted at NeurIPS 2026.

Ask this paper

Key points
01

Premise. Retrieval-based memory usually processes every memory the same way, although memories differ in type and need different handling.

02

TriMEM. A dataset with precise memory-type annotations across diverse scenarios, built to train classification despite blurred boundaries between types.

03

MemoType. A learned router identifies memory and query types, retrieves memories matching the query type and applies a tailored retrieval strategy.

04

Theory. The authors prove that any single retrieval strategy has an upper bound on expected precision in multi-class corpora.

05

Results. Up to 16.18% improvement in Recall@1 across three datasets.

Abstract

The memory capabilities of Large Language Models (LLMs) have garnered increasing attention recently. Despite great success achieved, existing retrieval-based memory approaches typically overlook the differences between memories and employ a unified strategy to process all memories, leading to suboptimal performance. Thus, an intuitive question arises: can we categorize memory into different types and select appropriate strategies? However, given the topic-rich, scenario-complex, and boundary-blurred nature of memory scenarios, achieving precise classification of memories is not easy. To address this challenge, we propose a memory multi-class dataset in this paper, termed TriMEM, which provides precise annotations for memory types across diverse scenarios. Building upon this foundation, we propose a novel memory framework, named MemoType, which can adaptively recognize each memory and query type with the learned router model. With the memory and query routing, MemoType can retrieve the memory with corresponding query types and design tailored retrieval strategies, thereby enhancing the retrieval performance. Moreover, we theoretically prove that any single retrieval strategy is subject to a fundamental upper bound on its expected retrieval precision in multi-class corpora, leading to systematic precision degradation. Extensive experiments on three datasets demonstrate that MemoType consistently outperforms existing methods, achieving up to 16.18% improvement in Recall@1.

Every Monday
Get next week’s papers.
Subscribe on Substack