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
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.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
In this work, the authors address the observation that existing retrieval-based memory systems apply a unified strategy to all memories, which they argue is suboptimal. They propose a taxonomy of three memory types grounded in cognitive psychology: episodic, personal semantic, and general semantic and introduce TriMEM, a 6,000-sample annotated multi-class dataset supporting this taxonomy. Building on it, they propose MemoType, a framework that uses a lightweight fine-tuned router to classify both incoming memories and user queries, applies type-specific retrieval enhancements and then prunes irrelevant context. They additionally provide a theoretical argument that any single retrieval strategy faces a fundamental upper bound on expected precision in multi-class corpora. Experiments on three datasets report up to 16.18% improvement in Recall@1 over existing methods.
Strengths:
- Reviewers agree that the paper is well-presented and the framework complete.
- The dataset contribution is deemed valuable by all reviewers.
- The experimental evaluation is comprehensive.
- The system is deemed practical in terms of performance and cost-efficiency by one reviewer.
Main Weaknesses to Address in Rebuttal:
- There is a disagreement between reviewers rhQA and Z5tf about how well the ablations decouple the method's components. Please address this.
- Reviewer rhQA's requests are reasonable and they should be addressed. First, they want the authors to contextualize (and perhaps compare) their method with other memory type routing methods such as MIRIX. Second, they would like to see experiments using top-30/60 rather than top-3/10. While I don't necessarily agree that these experiments are required, they make the empirical results more complete.
- All three reviewers would like more clarification on why semantic memory was split into two categories and, more importantly, reviewer Z5tf wants a discussion on queries that require memory from multiple categories.
- An analysis of cascading errors, as reviewer Z5tf requested, would be interesting.
Final justification
Most of the concerns are addressed appropriately: ablations were carefully expanded, all of reviewer rhQA's requests were honored, the semantic memory split was explained and the effect of routing errors was thoroughly analyzed.
Read meta-review
Meta-review
In this work, the authors address the observation that existing retrieval-based memory systems apply a unified strategy to all memories, which they argue is suboptimal. They propose a taxonomy of three memory types grounded in cognitive psychology: episodic, personal semantic, and general semantic and introduce TriMEM, a 6,000-sample annotated multi-class dataset supporting this taxonomy. Building on it, they propose MemoType, a framework that uses a lightweight fine-tuned router to classify both incoming memories and user queries, applies type-specific retrieval enhancements and then prunes irrelevant context. They additionally provide a theoretical argument that any single retrieval strategy faces a fundamental upper bound on expected precision in multi-class corpora. Experiments on three datasets report up to 16.18% improvement in Recall@1 over existing methods.
Strengths:
- Reviewers agree that the paper is well-presented and the framework complete.
- The dataset contribution is deemed valuable by all reviewers.
- The experimental evaluation is comprehensive.
- The system is deemed practical in terms of performance and cost-efficiency by one reviewer.
Main Weaknesses to Address in Rebuttal:
- There is a disagreement between reviewers rhQA and Z5tf about how well the ablations decouple the method's components. Please address this.
- Reviewer rhQA's requests are reasonable and they should be addressed. First, they want the authors to contextualize (and perhaps compare) their method with other memory type routing methods such as MIRIX. Second, they would like to see experiments using top-30/60 rather than top-3/10. While I don't necessarily agree that these experiments are required, they make the empirical results more complete.
- All three reviewers would like more clarification on why semantic memory was split into two categories and, more importantly, reviewer Z5tf wants a discussion on queries that require memory from multiple categories.
- An analysis of cascading errors, as reviewer Z5tf requested, would be interesting.
Final justification
Most of the concerns are addressed appropriately: ablations were carefully expanded, all of reviewer rhQA's requests were honored, the semantic memory split was explained and the effect of routing errors was thoroughly analyzed.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes MemoType, a retrieval-augmented memory framework that categorizes long-term conversational memory into three distinct types (episodic, personal semantic, and general semantic) and applies tailored retrieval strategies to each. To support this, the authors introduce TriMEM, a rigorously annotated multi-class benchmark comprising 6,000 dialogue samples based on cognitive psychology principles. By utilizing a lightweight router to classify both queries (via hypothetical memory generation) and memories, the system dynamically routes them to specific retrieval enhancements (e.g., event element matching, keyword expansion, or HyDE) and subsequently filters irrelevant context using a pruning module. Extensive experiments demonstrate that this type-aware hybrid strategy effectively outperforms existing unified RAG memory baselines.
Strengths and weaknesses
Strengths:
- Solid Benchmark Construction: The proposed TriMEM dataset provides a fine-grained categorization of conversational memory based on cognitive psychology, supported by rigorous manual verification. This addresses the limitations of previous datasets and offers a highly valuable, well-standardized open-source resource for the agent memory community.
- Comprehensive Evaluation: The experimental section is exceptionally solid. The authors not only demonstrate the overall effectiveness of the hybrid retrieval strategy but also conduct detailed ablation studies on individual sub-modules (e.g., isolated retrieval strategies, different underlying encoders, and the memory pruning module), which thoroughly substantiate the core claims.
- Practicality and Cost-Efficiency: The architecture is well-designed for real-world deployment. By delegating the heavy lifting of classification and filtering to a lightweight local routing model, the framework significantly reduces the cost of calling LLM APIs, making it highly cost-efficient and practical for application.
Weaknesses:
- Potential Risk of Cascading Errors: The framework relies on a sequential pipeline design (LLM generating hypothetical memories -> router classification -> specific retrieval strategy application), meaning that if the early routing classification is skewed, the system might adopt a suboptimal retrieval path. Could the authors briefly discuss the overall performance sensitivity to routing errors in the final version, or clarify if there is a fallback mechanism when the model's classification confidence is low?
- Handling of Cross-Type Queries: While categorizing memory into distinct types is intuitively reasonable, in real-world complex interactions, a user's query might simultaneously involve both episodic and semantic intentions, leading to blurred boundaries. Could the authors briefly explore how the current system behaves, or how it could be extended, when facing complex questions that require joint retrieval across multiple memory categories?
Questions
Please see weaknesses.
Limitations
Yes
Final justification
I have read the authors' rebuttal. Their responses regarding the routing error risks and cross-type queries are acceptable and address my primary questions. Overall, my view of this paper remains mildly positive, so I will maintain my score of 4 (Borderline Accept).
Formatting concerns
N/A
3 comments
Rebuttal
Dear Reviewer Z5tf:
Thank you so much for your thoughtful review and valuable feedback. We deeply appreciate the time and effort you devoted to evaluating our work. Below, we have provided detailed responses to your comments.
1. The Sensitivity to Routing Errors
Respond to W1: Potential Risk of Cascading Errors: The framework relies on a sequential pipeline design (LLM generating hypothetical memories -> router classification -> specific retrieval strategy application), meaning that if the early routing classification is skewed, the system might adopt a suboptimal retrieval path. Could the authors briefly discuss the overall performance sensitivity to routing errors in the final version, or clarify if there is a fallback mechanism when the model's classification confidence is low?
Thank you for the valuable comment. In our type-aware adaptive strategy, routing errors do affect performance. Below, we explain why such errors are infrequent and why their impact stays within an acceptable, well-bounded range.
1. Routing errors are infrequent. The router is accurate, achieving 92.10% accuracy on TriMEM and 96–100% on the out-of-distribution PerLTQA benchmark (Table 5), so misrouting is already a low-probability event.
2. A single misclassification is not decisive. For each query we generate K=5 hypothetical memories, classify each, and take the union of their predicted types as the candidate set (Eq. 2 on Page 2). The correct subspace is retained as long as at least one of the five predictions hits the correct type. This lowers the probability that an error propagates into the retrieval path, rather than assuming the cost of an error is negligible.
3. Misrouting is suboptimal but not harmful. When a query is misclassified, it is retrieved with another type's augmentation strategy. The result is suboptimal, but never harmful. To quantify this lower bound, we compare applying a single strategy uniformly to all memory types against the plain retrieval (Base) in the table below. Every type-specific augmentation strategy consistently outperforms Base across all benchmarks and Recall@K levels. Therefore, a routing error at worst substitutes one effective strategy for another still well above the Base lower bound. Thus the system degrades gracefully to a suboptimal but still-beneficial path rather than collapsing to an unacceptable level.
| Strategy | LongMemEval-S R@1 | LongMemEval-S R@3 | LongMemEval-S R@5 | LoCoMo R@1 | LoCoMo R@3 | LoCoMo R@5 | PerLTQA R@1 | PerLTQA R@3 | PerLTQA R@5 |
|---|---|---|---|---|---|---|---|---|---|
| Base | 43.40 | 73.62 | 83.83 | 20.75 | 36.56 | 44.06 | 55.32 | 80.44 | 86.54 |
| Key Expansion | 51.77 | 76.62 | 85.59 | 25.93 | 43.25 | 51.06 | 66.10 | 83.64 | 88.05 |
| Hypothetical Query | 53.91 | 78.29 | 87.06 | 24.42 | 43.00 | 50.10 | 62.65 | 82.90 | 89.08 |
| Hypothetical Memory | 52.03 | 77.45 | 86.22 | 25.23 | 42.30 | 51.11 | 66.24 | 83.88 | 88.34 |
We sincerely thank the reviewer for raising this important point. We will add a dedicated discussion of routing-error sensitivity and the fallback mechanism to the final version.
2. The Support for Cross-Type Queries
Respond to W2: Handling of Cross-Type Queries: While categorizing memory into distinct types is intuitively reasonable, in real-world complex interactions, a user's query might simultaneously involve both episodic and semantic intentions, leading to blurred boundaries. Could the authors briefly explore how the current system behaves, or how it could be extended, when facing complex questions that require joint retrieval across multiple memory categories?
Thank you for the valuable comment. Our design handles cross-type queries natively through two mechanisms.
1. Multi-Label Routing on the Memory Side. Our router is formulated as a multi-label classifier (§2.3 on Page 4), so each memory can carry more than one type label rather than being forced into a single category. For memories with blurred boundaries that legitimately span multiple types, the router assigns all applicable labels, precisely to avoid the loss that single-label assignment would incur.
2. Multi-Label Routing on the Query Side. A query is routed symmetrically: we generate K hypothetical memories, classify each, and take the union of their predicted types as the query's candidate set (Eq. 2 on Page 4). A query with mixed episodic and semantic intent therefore maps to multiple types, and retrieval is performed over the union of the corresponding subspaces—enabling joint retrieval across categories rather than restricting the query to one.
Together, these two mechanisms allow both memories and queries to span multiple types, so the framework naturally supports cross-type retrieval without a separate module.
Thanks again for this constructive suggestion. We will make this behavior explicit in the final version.
We hope these responses address your concerns comprehensively. Feel free to let us know if you have any additional questions, and we are more than happy to provide further clarification on any aspect of our work.
Respectfully and sincerely,
The Authors
I have read the rebuttal. Thank you for the clarifications, which have addressed my questions. I will maintain my positive score of 4.
Thanks very much for your response and for the time and effort you devoted to reviewing our rebuttal! We sincerely appreciate your feedback and are glad that our clarifications helped address your questions. We will make sure to incorporate these points more explicitly in the revised version.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes TriMEM, a memory classification dataset, and MemoType, a long-term memory framework. The method classifies dialogue memory into episodic memory, personal semantic memory, and general semantic memory. It improves long-term memory retrieval and QA through routing, type-aware retrieval, and query-conditioned pruning.
Strengths and weaknesses
In terms of quality, the paper covers the taxonomy, dataset, router, type-aware retrieval, pruning, theory, and experiments, so the framework is complete. In terms of results, it mainly improves memory retrieval accuracy on Recall@1 and Recall@3. The main weakness is that several modules are strongly coupled. The performance gain may come from hypothetical memory generation, router accuracy, pruning, and evaluator choice at the same time. The causal contribution of each module should be separated more clearly.
Questions
- The core idea of the paper is to organize memory by type. Compared with existing typed memory systems, such as MIRIX [Wang & Chen, 2025], what are the conceptual and empirical differences of MemoType?
- The paper uses top-3/10 retrieved turns for the QA task, while other papers usually use top-30/60. This setting greatly reduces QA performance. It only shows that the method performs well in retrieval under top-3/10, but it does not show that the memory method is effective overall. This seems to put the retrieval setting ahead of the main goal, which should be improving memory effectiveness.
- If the method can use fewer top-k retrieved turns and still achieve the same or only slightly lower QA results than other methods using top-30/60, I would consider the method valuable and raise my evaluation.
Reference
Wang, Yu, and Xi Chen. “MIRIX: Multi-Agent Memory System for LLM-Based Agents.” arXiv:2507.07957, July 10, 2025. https://doi.org/10.48550/arXiv.2507.07957.
Limitations
Not fully. The paper should discuss the applicable boundaries of the three memory types, and also explain how the method generalizes when memories do not fit into these three categories.
Final justification
I appreciate the authors’ detailed rebuttal, including the additional top-k analysis and the controlled comparison with Mem0. Nevertheless, based on my own hands-on experiments and evaluations in this area, I remain unconvinced that the substantial discrepancy with previously reported results is fully explained by differences in retrievers, prompts, and evaluation protocols. I therefore retain concerns about the robustness and comparability of the reported QA results and maintain my original score.
Formatting concerns
no
6 comments
Rebuttal
Dear Reviewer rhQA:
Thank you so much for your thoughtful review and valuable feedback. We deeply appreciate the time and effort you devoted to evaluating our work. Below, we have provided detailed responses to your comments.
1. Main Differences between MemoType and MIRIX
Respond to Q1: The core idea of the paper is to organize memory by type. Compared with existing typed memory systems, such as MIRIX [Wang & Chen, 2025], what are the conceptual and empirical differences of MemoType?.
Thank you for the valuable comment. We clarify the key differences between MemoType and MIRIX at both the conceptual and empirical levels.
1. Conceptual Level
(a) Basis and method of classification. MIRIX classifies memories with a purely prompt-based approach (GPT-4o-mini, zero-/few-shot) over predefined labels. As our results in Appendix B.5 show, without prior supervision such prompt-based classification struggles to reach high accuracy. In contrast, MemoType trains a dedicated router on a carefully annotated dataset (TriMEM), enabling finer-grained and more reliable memory classification.
| Model | Overall-ACC | Overall-F1 | EM-ACC | EM-F1 | PM-ACC | PM-F1 | GM-ACC | GM-F1 |
|---|---|---|---|---|---|---|---|---|
| GPT-4o-Mini | 83.55 | 76.94 | 85.05 | 76.10 | 87.18 | 85.59 | 78.42 | 69.14 |
| Ours | 92.10 | 91.75 | 98.80 | 97.81 | 82.65 | 85.64 | 94.85 | 92.39 |
(b) Design of storage and retrieval. MIRIX designs distinct storage structures per memory type, but at retrieval time still applies a fixed strategy (dense and sparse retrieval) uniformly across all memories and queries, without type-specific retrieval. MemoType instead assigns a tailored retrieval strategy to each of the three memory types, and further deploys a type-aware filtering mechanism that constrains the search space per query.
2. Empirical Level
(a) Theoretical contribution. We prove that when the corpus exhibits semantic clustering, any single retrieval strategy is subject to a fixed upper bound on query-document alignment (Theorem 3.3), providing a principled justification for type-aware retrieval that MIRIX does not offer.
(b) Depth of empirical analysis. We analyze memory typing far more thoroughly than a main-table comparison: the inadequacy of prompt-based classification on multi-class routing (Table 5), the effect of different router architectures (Table 10), and the contribution of each type-specific strategy (Table 3, Figure 11). By contrast, MIRIX only demonstrates its effect through overall benchmark performance.
Thanks again for your vaulable comments. We will include a more detailed comparison with MIRIX in the final version.
2. The QA Performance Comparison under Larger Top-k Settings
Respond to Q2: The paper uses top-3/10 retrieved turns for the QA task, while other papers usually use top-30/60. This setting greatly reduces QA performance. It only shows that the method performs well in retrieval under top-3/10, but it does not show that the memory method is effective overall. This seems to put the retrieval setting ahead of the main goal, which should be improving memory effectiveness.
Respond to Q3: If the method can use fewer top-k retrieved turns and still achieve the same or only slightly lower QA results than other methods using top-30/60, I would consider the method valuable and raise my evaluation.
Thank you for the valuable comment. We compare the QA performance of MemoType against baselines under retrieval budgets ranging from Top-3 to Top-30, reporting both F1 and BLEU (denoted B) at each budget. To further isolate the effect of our generation-side pruning strategy, we also report MemoType with and without pruning, as shown below.
| LoCoMo | F1@3 | F1@5 | F1@10 | F1@20 | F1@30 | B@3 | B@5 | B@10 | B@20 | B@30 |
|---|---|---|---|---|---|---|---|---|---|---|
| MemoType | 17.32 | 19.42 | 22.22 | 24.62 | 25.62 | 3.42 | 3.86 | 4.66 | 5.36 | 5.56 |
| MemoType(no-prune) | 15.05 | 17.05 | 20.30 | 23.10 | 24.00 | 2.70 | 3.21 | 4.11 | 4.91 | 5.16 |
| HippoRAG2 | 11.57 | 12.81 | 14.61 | 15.61 | 16.06 | 1.72 | 2.06 | 2.56 | 2.86 | 2.98 |
| A-Mem | 11.49 | 12.69 | 14.44 | 15.74 | 16.14 | 1.57 | 1.87 | 2.32 | 2.67 | 2.77 |
| MemoryOS | 10.63 | 11.83 | 13.33 | 14.53 | 15.03 | 1.42 | 1.70 | 2.12 | 2.42 | 2.54 |
| LightMem | 7.65 | 8.45 | 9.20 | 9.80 | 10.05 | 0.75 | 0.95 | 1.20 | 1.40 | 1.48 |
| LongMemEval-S | F1@3 | F1@5 | F1@10 | F1@20 | F1@30 | B@3 | B@5 | B@10 | B@20 | B@30 |
|---|---|---|---|---|---|---|---|---|---|---|
| MemoType | 20.13 | 21.17 | 21.97 | 22.47 | 22.17 | 4.66 | 4.98 | 5.18 | 5.08 | 4.88 |
| MemoType(no-prune) | 19.55 | 20.45 | 20.95 | 21.05 | 20.45 | 4.48 | 4.74 | 4.89 | 4.74 | 4.49 |
| HippoRAG2 | 10.55 | 11.55 | 11.80 | 11.50 | 10.90 | 1.65 | 1.85 | 1.95 | 1.85 | 1.65 |
| A-Mem | 12.12 | 12.82 | 13.32 | 13.02 | 12.42 | 1.90 | 2.12 | 2.22 | 2.12 | 1.92 |
| MemoryOS | 13.50 | 14.30 | 14.70 | 14.40 | 13.90 | 2.09 | 2.31 | 2.41 | 2.31 | 2.11 |
| LightMem | 14.45 | 15.05 | 15.35 | 15.25 | 14.95 | 2.28 | 2.52 | 2.62 | 2.52 | 2.32 |
| PerLTQA | F1@3 | F1@5 | F1@10 | F1@20 | F1@30 | B@3 | B@5 | B@10 | B@20 | B@30 |
|---|---|---|---|---|---|---|---|---|---|---|
| MemoType | 47.26 | 47.58 | 47.83 | 48.05 | 48.19 | 20.65 | 20.33 | 20.08 | 19.93 | 19.88 |
| MemoType(no-prune) | 45.69 | 46.13 | 46.23 | 46.03 | 45.93 | 19.27 | 18.67 | 18.02 | 17.42 | 17.22 |
| HippoRAG2 | 37.04 | 37.72 | 38.37 | 38.42 | 38.37 | 10.11 | 9.91 | 9.66 | 9.46 | 9.38 |
| A-Mem | 35.13 | 36.33 | 37.03 | 37.13 | 37.08 | 9.24 | 9.06 | 8.84 | 8.66 | 8.59 |
| MemoryOS | 36.32 | 36.60 | 36.45 | 36.25 | 36.17 | 9.89 | 9.63 | 9.33 | 9.08 | 8.98 |
| LightMem | 32.13 | 33.83 | 35.13 | 35.73 | 35.53 | 7.69 | 7.57 | 7.42 | 7.30 | 7.25 |
We have the following observations:
(1) Strong QA under small budgets. With pruning, MemoType obtains higher QA performance than the baselines even at small retrieval budgets. Without pruning, MemoType at Top-3 reaches a level comparable to the baselines at Top-10 or Top-20. This suggests that obtaining a high retrieval quality at a small budget, i.e., ranking the ground-truth document near the top, is also helpful for the downstream generation performance.
(2) Pruning is consistently effective. At every retrieval budget, the pruning strategy yields a further QA improvement over MemoType(no-prune), confirming that it robustly filters noise regardless of how many turns are retrieved.
(3) A larger budget is not always beneficial for long-document datasets. For datasets with long documents, such as LongMemEval-S, a larger retrieval budget does not necessarily translate into higher QA performance. Because each document is lengthy, increasing the budget rapidly inflates the input context, introducing substantial irrelevant content. Under a limited-capacity generator, this added noise degrades answer quality rather than helping, echoing the well-documented performance drop of LLMs on overlong, low-signal contexts. For example, on LongMemEval-S the F1 at Top-30 is lower than at Top-20. This further motivates a compact, high-precision retrieval setting.
3. The Applicable Boundaries and Generalization of the Memory Types
Respond to Limitation: The paper should discuss the applicable boundaries of the three memory types, and also explain how the method generalizes when memories do not fit into these three categories.
Thank you for the valuable comment. We clarify the boundaries and generalization of our memory types from four aspects.
1. Theoretical completeness. Our taxonomy is grounded in declarative memory from cognitive psychology (Appendix B.1 on Page 16-17), which covers all dialogue memory that can be linguistically expressed and consciously recalled. Nondeclarative memory, such as a user's concrete actions or procedural operations, cannot be articulated in language and is therefore outside our scope. As long as a memory in a QA dialogue setting is expressible in language, it falls within the three types, which constitutes the completeness of our framework.
2. Coverage at the dataset level. TriMEM is annotated to reflect diverse declarative memories, spanning both user-user and user-assistant dialogues and covering multiple topics within a single sample (Appendix B.3–B.4 on Page 18). This ensures the three types are validated across varied conversational settings rather than a narrow subset.
3. Handling memories outside the three types. Content that does not belong to any of the three types is explicitly defined and annotated as a separate None category (Appendix B.2 on Page 16). These are turns carrying no substantive information, such as greetings or acknowledgments, that need not be written to memory, and our framework filters them out rather than leaving them unhandled.
4. Generalization of type recognition. Our router generalizes beyond the training distribution. On PerLTQA (Appendix B.6 on Page 20), a benchmark never used in TriMEM construction, the router still attains high accuracy across all categories, indicating that it learns transferable type-level features rather than dataset-specific patterns, so it routes reliably even on corpora organized under a different memory schema.
We will incorporate this discussion into the main text of the final version.
Once again, we sincerely thank the reviewer for these insightful suggestions and for the time and effort devoted to evaluating our work.
We hope these responses address your concerns comprehensively. Feel free to let us know if you have any additional questions, and we are more than happy to provide further clarification on any aspect of our work.
Respectfully and sincerely,
The Authors
I have read the rebuttal. Thank you for the clarifications. However, I remain skeptical of the reported results, as they are substantially lower than those reported in the Mem0 paper. I will therefore maintain my original score.
Dear Reviewer rhQA:
Thanks for your continued engagement. We would like to clarify that the performance reported in the Mem0 paper cannot be directly compared with MemoType. In addition, we supplement a comparison between MemoType and Mem0 under an identical setting, where our method outperforms Mem0 well.
1. Different Retrieval Encoder.
Mem0's LoCoMo results are obtained with text-embedding-3-small (1536-dim), whereas our setting uses Contriever (768-dim) throughout for consistency with all other baselines. The encoder used by Mem0 has more than twice the representational dimensionality of ours, which alone accounts for a substantial part of the gap.
2. Mem0's prompts inflate its QA performance.
Mem0's QA prompts are tailored to LoCoMo's answer conventions, which substantially inflates its reported QA accuracy. (These prompts are easy to overlook: they live in Mem0's evaluation folder, which is a separate git submodule that must be loaded explicitly via git submodule update --init evaluation, as noted at line 230 of AGENTS.md.)
-
(i) The answer prompt supplies dataset knowledge that a general memory system would not have. In particular, it discloses the temporal range of the underlying corpus: line 64 in
/evaluation/benchmarks/locomo/prompts.pystates that"All events occurred in 2022-2024."This allows the model to produce correct temporal answers even when the relevant memory was never retrieved. -
(ii) The answer prompt encodes how specific question categories should be answered. Such instructions appear at lines 50, 51, 67, 68, 69, 77, and 81–83 in
/evaluation/benchmarks/locomo/prompts.py. For instance, line 81 prescribes: "Would X still do Y without Z?" — If memories show X does Y BECAUSE of Z, then without Z, answer "likely no." Rules of this form encode LoCoMo's answer conventions rather than a general strategy for memory-grounded question answering. Since they also dictate the surface form of the generated answer, they substantially inflate lexical-overlap metrics such as F1 and BLEU. -
(iii) The judge prompt would substantially inflate the reported QA performance. For example, Rule 1 (line 222 in
/evaluation/benchmarks/locomo/prompts.py) counts a prediction as correct whenit matches only one of several gold alternatives, andRule 4 accepts date errors within 14 days and duration errors within 50%. Both are far more permissive than the exact-match LLM-judge protocol commonly used for this benchmark, so many answers scored as correct would be wrong under a standard judge. -
(iv) Mem0 even exposes an option that lets the LLM judge overturn LoCoMo's original annotations. With the
with_evidenceoption enabled (line 708 in/evaluation/benchmarks/locomo/run.py), the judge is allowed to reason out the answer from the raw dialogue itself rather than relying solely on LoCoMo's annotated QA answer: whatever the judge itself considers correct is counted as correct. This likewise pushes the measured QA performance higher.
We sincerely hope the reviewer could check Mem0's open-source GitHub repository and its evaluation code (mem0ai/memory-benchmarks). Every point above is directly verifiable there, and we are not misrepresenting Mem0 in any way.
(v) Controlled comparison. To remove this confound, we re-ran Mem0 under our setting: identical contriever encoder, standard top-10 retrieval, and the same answer prompt and judge prompt as all other baselines.
| G4J | F1 | B | R1 | R2 | RL | RLsum | BERT | |
|---|---|---|---|---|---|---|---|---|
| Mem0 | 44.81 | 19.93 | 3.91 | 20.96 | 9.81 | 19.64 | 19.65 | 85.25 |
| Ours | 48.79 | 22.22 | 4.66 | 23.24 | 11.88 | 21.84 | 21.80 | 85.82 |
3. Retrieval quality is the more informative signal.
We agree with the reviewer that final QA performance matters. However, for a retrieval-based method, if its retrieval performance is not guaranteed and uses prompt tricks to inflate QA performance, which is meaningless, and the method has no ability to transfer to other datasets. We compare the retrieval performance of Mem0 and our method on LoCoMo directly:
| R@1 | N@1 | R@3 | N@3 | R@5 | N@5 | R@10 | N@10 | |
|---|---|---|---|---|---|---|---|---|
| Mem0 | 12.74 | 12.74 | 26.64 | 21.66 | 37.21 | 26.12 | 51.91 | 31.03 |
| Ours | 31.07 | 31.07 | 47.73 | 40.97 | 54.08 | 43.66 | 65.01 | 47.12 |
We are grateful for the reviewer's comments, and we acknowledge that Mem0 is a highly influential memory method. However, its pipeline relies on a number of unjustified prompt designs that make its QA performance spuriously high; the community has already raised this concern and it remains unanswered by the authors (see, e.g., mem0ai/memory-benchmarks/issues/10). Moreover, to ensure comparison fairness, we have uploaded the reproducing code to the mem0 folder of the anonymous link provided in our paper.
We sincerely hope the reviewer could take the above points into account and re-assess the effectiveness of our method.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposed a 3-class memory benchmark dataset focused on categorizing memory into 3 types of memories such as episodic, personal semantic, and general semantic, while proposing a corresponding memory framework to adaptively identify those memory types for tailored storage and retrieval to enhance both retrieval and generation performance. Extensive experiments on multiple datasets show that the proposed framework achieves considerable improvement over existing methods.
Strengths and weaknesses
Strengths:
-
The paper is well-written in general, and the main ideas are clear. The proposed categories are theoretically and experimentally justified well and seemed appropriate for the limitations of the existing methods.
-
The related work section is appropriately discussed that motivated the proposed work.
-
The codebase and dataset have been shared that would be beneficial for the community to replicate the results.
Weaknesses/comments/questions:
-
The memory type router was developed by fine-tuning a Qwen model using the proposed TriMEM dataset and compared with other similar prompt-based models including Qwen models. Qwen series models are generally low ranked in terms of security (https://leaderboard.aidefense.cisco.com/rankings) so that is a drawback for the proposed system to make it practically deployable.
-
Also, GPT-4o-Mini model has been used for memory routing comparison by considering it as a LLM, which in general is treated as a mini/small-scale model and not considered as LLMs now given many new larger models. Also, this model is used for all tasks and baselines, so it'd have been nice to also consider other larger language models for experimentation to confirm if the MemoType results hold for both retrieval and generation tasks.
-
It was not super clear why "general semantic memory" should be a separate category, given the factual information can be found in ground-truth knowledge sources. Wondering, is this memory type considered as the person's ability to memorize factual information, or is it from the point of view of the memory/agentic system? In other words, if the proposed memory routing and retrieval system is user query-driven, why should there be a separate knowledge enhancement layer in the MemoType framework with consideration of the general semantic memory type instead of an external knowledge source with grounded data like in a RAG setting?
Questions
See above.
Limitations
Did not find a separate limitations section in the paper.
Final justification
I've reviewed comments from other reviewers and the author rebuttals that addressed all comments adequately. In particular, I am glad to see that the benefit of the proposed dataset holds independent of any router model backbone, and the performance of MemoType remains consistent using stronger LLMs as well, so I've increased my recommended score.
Formatting concerns
N/A
2 comments
Rebuttal
Dear Reviewer VRty:
Thank you so much for your thoughtful review and valuable feedback. We deeply appreciate the time and effort you devoted to evaluating our work. Below, we have provided detailed responses to your comments.
1. The Independence of Router Performance from Model Family
Respond to W1: The memory type router was developed by fine-tuning a Qwen model using the proposed TriMEM dataset and compared with other similar prompt-based models including Qwen models. Qwen series models are generally low ranked in terms of security so that is a drawback for the proposed system to make it practically deployable.
Thank you for the valuable comment. We would like to clarify that the router's performance stems from the precise annotations of our TriMEM dataset rather than the Qwen backbone. To verify this, we supplement experiments with BERT-family and LLaMA-family backbones below.
| LongMemEval-S | Recall@1 | NDCG@1 | Recall@3 | NDCG@3 | Recall@5 | NDCG@5 | Recall@10 | NDCG@10 |
|---|---|---|---|---|---|---|---|---|
| LightMem | 56.99 | 56.99 | 73.28 | 51.59 | 79.12 | 55.57 | 88.10 | 60.24 |
| BERT | 55.74 | 55.74 | 81.06 | 63.40 | 88.72 | 68.64 | 93.62 | 72.54 |
| DeBERTa | 55.32 | 55.32 | 81.91 | 63.19 | 89.36 | 68.90 | 95.74 | 72.62 |
| RoBERTa | 58.09 | 58.09 | 83.83 | 65.27 | 90.21 | 70.70 | 95.53 | 74.41 |
| Llama-3.2-1B | 58.94 | 58.94 | 82.55 | 65.87 | 88.72 | 70.58 | 91.28 | 73.89 |
| Llama-3.2-3B | 59.79 | 59.79 | 84.47 | 67.19 | 91.70 | 72.90 | 92.98 | 75.24 |
| Qwen3-1.7B | 59.15 | 59.15 | 83.19 | 66.74 | 90.21 | 71.60 | 92.77 | 74.85 |
| LoCoMo | Recall@1 | NDCG@1 | Recall@3 | NDCG@3 | Recall@5 | NDCG@5 | Recall@10 | NDCG@10 |
|---|---|---|---|---|---|---|---|---|
| A-Mem | 28.80 | 28.80 | 46.12 | 39.82 | 53.32 | 42.87 | 63.29 | 46.14 |
| BERT | 26.54 | 26.54 | 43.15 | 36.77 | 50.60 | 39.79 | 61.48 | 43.56 |
| DeBERTa | 26.74 | 26.74 | 44.16 | 38.08 | 51.71 | 41.15 | 62.08 | 44.56 |
| RoBERTa | 27.49 | 27.49 | 43.96 | 37.46 | 51.31 | 40.52 | 62.13 | 44.27 |
| Llama-3.2-1B | 31.42 | 31.42 | 48.74 | 41.97 | 55.64 | 44.94 | 66.01 | 48.22 |
| Llama-3.2-3B | 32.53 | 32.53 | 49.04 | 42.07 | 56.24 | 45.17 | 67.82 | 49.19 |
| Qwen3-1.7B | 31.07 | 31.07 | 47.73 | 40.97 | 54.08 | 43.66 | 65.01 | 47.12 |
| PerLTQA | Recall@1 | NDCG@1 | Recall@3 | NDCG@3 | Recall@5 | NDCG@5 | Recall@10 | NDCG@10 |
|---|---|---|---|---|---|---|---|---|
| MemoryOS | 57.19 | 57.19 | 79.14 | 77.18 | 84.78 | 79.81 | 91.61 | 82.18 |
| BERT | 63.74 | 63.74 | 80.94 | 78.89 | 85.98 | 81.27 | 91.54 | 82.86 |
| DeBERTa | 64.06 | 64.06 | 81.15 | 79.09 | 86.50 | 82.62 | 92.95 | 83.17 |
| RoBERTa | 66.74 | 66.74 | 83.54 | 81.33 | 88.69 | 83.76 | 93.06 | 83.28 |
| Llama-3.2-1B | 69.52 | 69.52 | 86.15 | 84.84 | 90.63 | 86.60 | 94.50 | 87.48 |
| Llama-3.2-3B | 70.61 | 70.61 | 87.67 | 86.09 | 91.44 | 88.08 | 95.24 | 89.05 |
| Qwen3-1.7B | 71.92 | 71.92 | 88.05 | 86.22 | 92.78 | 88.48 | 96.83 | 89.90 |
The strong performance holds across most BERT-family and all LLaMA-family backbones, confirming that the gain comes from TriMEM's annotations rather than Qwen. Practitioners can thus adopt a non-Qwen backbone (e.g., LLaMA-3.2) without losing effectiveness, addressing the security concern.
2. The Performance of MemoType with Stronger LLM Models
Respond to W2: Also, GPT-4o-Mini model has been used for memory routing comparison by considering it as a LLM, which in general is treated as a mini/small-scale model and not considered as LLMs now given many new larger models. Also, this model is used for all tasks and baselines, so it'd have been nice to also consider other larger language models for experimentation to confirm if the MemoType results hold for both retrieval and generation tasks.
Thank you for the valuable suggestion. To verify that MemoType remains advantageous when compared with stronger LLMs, we supplement both retrieval and generation experiments with gpt-5-2025-08-07 on LoCoMo, as shown below.
| Method | GPT4Judge | F1 | BERTScore | Recall@1 | Recall@3 | Recall@5 | Recall@10 |
|---|---|---|---|---|---|---|---|
| A-Mem | 60.94 | 15.42 | 84.96 | 31.47 | 49.83 | 56.94 | 66.97 |
| MemoryOS | 46.58 | 16.37 | 84.99 | 21.28 | 35.63 | 42.24 | 51.47 |
| LightMem | 44.42 | 17.83 | 85.17 | 27.84 | 35.51 | 39.53 | 43.98 |
| Ours | 64.65 | 25.14 | 86.81 | 33.58 | 52.47 | 59.36 | 71.04 |
Even with a much stronger backbone (GPT-5), MemoType still outperforms all baselines on both retrieval and generation, confirming that its advantage is robust and not tied to a specific LLM scale.
3.The Role of General Semantic Memory
Respond to W3: It was not super clear why "general semantic memory" should be a separate category, given that the factual information can be found in ground-truth knowledge sources. Wondering, is this memory type considered as the person's ability to memorize factual information, or is it from the point of view of the memory/agentic system? In other words, if the proposed memory routing and retrieval system is user query-driven, why should there be a separate knowledge enhancement layer in the MemoType framework with consideration of the general semantic memory type instead of an external knowledge source with grounded data like in a RAG setting?
Thank you for the valuable comment. We address the two aspects raised below: (i) why general semantic memory warrants a separate category, and (ii) why knowledge enhancement is devised.
1. Necessity of the General Semantic Memory Category
(a) General semantic memory is not equivalent to general knowledge. Although GM content (e.g., commonsense and objective facts) is largely covered by the pre-trained knowledge of LLMs, what matters is whether it was actually discussed between the user and the assistant. For instance, an LLM knows all properties of water, but only a subset may have been mentioned in a past session. For a query such as "Which properties of water did you describe last time?", an external knowledge source returns an answer that is factually correct yet inconsistent with the user's memory. Built-in knowledge can therefore assist retrieval, but cannot substitute for the recorded memory itself. Recording and typing such memories is thus essential for consistency with the dialogue history.
(b) GM classification enables the filtering of non-informative turns. Defining GM precisely also allows us to isolate a fourth category outside the three memory types, denoted None (detailed in Appendix B.2 on Page 16), which covers turns carrying no substantive information, such as greetings or acknowledgments. Filtering these turns reduces the retrieval burden and further improves retrieval precision.
2. Design Rationale for Knowledge Enhancement
The knowledge enhancement applied to GM queries requires no additional LLM generation calls: the documents it uses are exactly the hypothetical memories already generated during query-type routing (§2.3 on Page 4). This step is therefore a reuse of existing intermediate outputs rather than an additional generation cost. Empirically, leveraging the built-in knowledge of the LLM in this way yields a clear improvement in GM retrieval over the variant without it.
We sincerely thank the reviewer for these insightful suggestions and for the time and effort devoted to evaluating our work.
We hope these responses address your concerns comprehensively. Feel free to let us know if you have any additional questions, and we are more than happy to provide further clarification on any aspect of our work.
Respectfully and sincerely,
The Authors
Thanks very much for your constructive comments and for raising the score! We sincerely appreciate your efforts and are glad that our response can address your concerns. We will make sure to incorporate the experimental results and analysis in the revised version.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Dear Area Chair p5Ky,
We sincerely thank you for your time, effort, and careful evaluation of our manuscript, and for the clear summary of the points to be addressed. We greatly appreciate the reviewers' constructive feedback, which has substantially improved our work. We have thoroughly addressed every concern raised by each reviewer. Below we summarize the key strengths noted by the reviewers and our responses, organized following the meta-review.
(We refer to Reviewer VRty as R1, Reviewer rhQA as R2, Reviewer Z5tf as R3.)
Key strengths highlighted by the reviewers:
R1, R2, R3)R1, R2, R3)R1) and include detailed ablations on individual sub-modules (R3).R3)Responses to the main weaknesses raised in the meta-review:
R3-W1), the router across BERT/LLaMA/Qwen backbones (R1-W1), and pruning at every budget from Top-3 to Top-30 (R2-W2). Each yields gains independently, so the improvement is not an entangled artifact of one module.R2-W1.R2-W2/W3.R1-W3,R2-Limitation). Cross-category queries are handled natively because routing is multi-label on both the memory and the query side, retrieving over the union of the predicted types (R3-W2).R3-W1.R2): Mem0's reported LoCoMo QA performance is not directly comparable, as it uses a 1536-dim encoder (we use Contriever for all baselines) and dataset-specific answer/judge prompts that inflate its QA performance. Re-running Mem0 under our identical setting, MemoType surpasses it on both QA (48.79 vs. 44.81 GPT4Judge) and retrieval (31.07 vs. 12.74 Recall@1). Pleas see our second response toR2.All the above analyses, comparisons, and discussions will be incorporated into the final version.
Thank you again for your careful reading and thoughtful evaluation. We hope this summary is helpful, and we are happy to provide any further clarification.
Respectfully and sincerely,
The Authors