NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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

Yi Wen, Derong Xu, Pengyue Jia, Yichao Wang, Yingyi Zhang, Maolin Wang, Junyi Li, Wenlin Zhang, Xiaopeng Li, Yong Liu, Xiangyu Zhao

NeurIPS page · Open on the map

Category: LLM Reasoning, Memory & RAG › Reasoning Trace Memory Systems · Type: new method · Keywords: LLM long-term memory, memory typing, retrieval routing, multi-class memory dataset, adaptive retrieval, precision bound

Areas: Memory › Agent Memory Systems › Agent Memory

Summary

We introduce TriMEM, a multi-class memory dataset, and MemoType, a framework that adaptively routes memories and queries to specialized retrieval strategies, achieving up to 16.18% higher Recall@1.

Explained to a 5-year-old

Some computer helpers that can talk remember things in different ways. They made a big collection of memories that are sorted into many types. They also built a smart system that decides which way to look up each memory. By using the right way for each memory, they can find things faster. This helps the helpers remember and answer better over a long time.

Explained to a 5-year-old, longer

Computer helpers like chatbots can remember things they have seen before. Right now, most helpers treat all memories the same, like they are all the same kind of cookie. But memories can be about facts, feelings, or events, and they are not always the same. It is hard to tell which memory is which because the lines between them are blurry. The researchers made a big set of memories called TriMEM that labels each memory with its type. They also created a smart routing system that looks at a question and decides what kind of memory to look for. If the question is about a fact, the system uses one way to search; if it is about a story, it uses another. This way, each memory is searched using the best method for its type. They proved that using only one search method will never be as good as using the right method for each memory. In tests on three different memory collections, the new system found the right answers more often. It improved the chance of finding the first answer by up to about sixteen percent compared to old methods. This helps computer helpers remember and answer better over long periods of time.

For a technical reader

The paper addresses the limitation of existing retrieval-based memory systems that treat all memories uniformly. It introduces a labeled multi-class memory dataset (TriMEM) that provides precise type annotations for diverse scenarios. A router model is trained to recognize the type of each memory and the type of a query, then directs the query to a specialized retrieval strategy. Theoretical analysis shows that a single retrieval strategy has an inherent precision ceiling in multi-class corpora, motivating the adaptive approach. Experiments on three datasets demonstrate consistent gains, with up to a 16.18% improvement in Recall@1 over baseline methods.

Problem

Existing retrieval-based memory approaches treat all memories uniformly, ignoring their differences, which can lead to suboptimal retrieval performance.

Method

The approach builds a multi-class memory dataset with precise type annotations, learns a router model to recognize memory and query types, and then routes each query to a tailored retrieval strategy.

Results

The approach achieves up to 16.18% improvement in Recall@1 over existing methods on three datasets.

Contributions

We provide a multi-class memory dataset (TriMEM) with precise type annotations and a framework that adaptively routes memories and queries to specialized retrieval strategies, along with a theoretical bound showing the limitation of single-strategy retrieval.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction