- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper studies the design of memory systems for LLM agents in long-term interaction settings. The authors argue that existing methods typically compress historical dialogues into independent atomic facts and then retrieve relevant facts to add to the context. While this approach offers relatively high retrieval efficiency, it can lose important details from the original dialogues and has difficulty supporting comprehensive reasoning across multiple dialogue scenarios. To address this, the paper proposes TriMem, a tri-granularity memory architecture that simultaneously maintains raw dialogue segments, extracted structured facts, and person or entity profiles continuously synthesized from dispersed facts. Raw dialogues preserve traceability, atomic facts support efficient retrieval, and profiles enable higher-level semantic understanding and reasoning.
In addition, the paper incorporates TextGrad into the memory construction process, using natural-language feedback to iteratively optimize prompts for fact extraction and profile construction. This allows the system to improve the quality of generated memories without updating model parameters. In the experiments, the authors evaluate TriMem on long-term memory question-answering benchmarks such as LoCoMo and PerLTQA, comparing it with multiple memory-system baselines across several LLM backbones. The results show that TriMem performs well across different task types and model settings. Overall, the paper’s main contribution is to examine the overreliance on atomic facts in existing LLM- agent memory systems and to propose a multi-granularity memory framework that combines storage fidelity, retrieval efficiency, and deeper reasoning capability.
Strengths and weaknesses
The paper proposes TriMem, a multi-granularity memory framework for LLM agents in long-term interaction settings. The authors argue that existing memory systems often compress historical dialogues into atomic facts and then rely on retrieval to add relevant facts to the context. While this paradigm is efficient, it may lose important details from the original dialogues and may not adequately support comprehensive reasoning across multiple dialogue segments. To address this issue, the paper maintains raw dialogue segments, structured facts, and person/entity profiles at the same time, and further uses TextGrad to optimize prompts for memory construction. The work aims to balance storage fidelity, retrieval efficiency, and deeper reasoning capability.
From the perspective of Quality, the problem studied in the paper is reasonable, and the method has a certain degree of engineering completeness. The tri- granularity memory structure is intuitive and practical. The combination of raw dialogue provenance, atomic facts, and synthesized profiles can address different needs in long-term memory systems. The experiments also cover multiple benchmarks, models, and baselines, and the reported results suggest that TriMem performs strongly. However, the paper still has several issues. First, the boundary between prompt evolution training and evaluation is not sufficiently clear. In particular, the authors mention prompt training on LoCoMo and then also report results on LoCoMo, which may introduce benchmark leakage or test-set overfitting. Second, I think the paper could provide stronger evidence for baseline fairness, such as whether all baselines use the same backbone, embedding model, retrieval budget, context budget, and tuning effort.
From the perspective of Clarity, the main storyline of the paper is generally clear: it first analyzes the limitations of atomic-fact memory, then introduces TriMem, and finally uses experiments and ablations to verify the necessity of raw dialogue and profile components. The figures and tables are rich and help readers understand the overall pipeline. However, some methodological details are still not sufficiently clear. For example, the update rules for profiles, the triggering conditions for retrieving source dialogues, and the arbitration mechanism when different memory granularities conflict all need more precise explanations in order to better convey the design logic of the work.
From the perspective of Significance, long-term memory is indeed one of the core problems for LLM agents, especially in personalized assistants, education, healthcare consultation, and long-term task planning. The paper’s examination of the limitations of storing only atomic facts is practically meaningful, and the multi-granularity memory framework may provide useful guidance for real-world agent system design. If the experimental results are reliable, TriMem could become a useful baseline for long-term conversational memory systems. However, I believe the practical impact of this work also depends on whether it can maintain its advantages in broader and more realistic long-term interaction scenarios. I would expect follow-up work to further evaluate its performance in real-world settings.
From the perspective of Originality, the overall combination proposed in the paper has some novelty, but the core ideas are not entirely new. Prior work such as Mem0, MemoryOS, A-MEM, and xMemory has already studied dynamic memory updates, hierarchical memory structures, relational organization, and memory evolution from different perspectives. The main distinction of TriMem is that it explicitly maintains three granularities—raw dialogues, atomic facts, and profiles—while using TextGrad for prompt optimization. This combination is reasonable, but the paper needs to more strongly demonstrate its substantive innovation compared with existing hierarchical memory, graph memory, profile memory, and provenance-tracking methods, rather than presenting it mainly as an engineering integration.
In summary, the research area and problem studied in this paper are valuable, and the method design has practical potential. However, there are still technical issues that affect the reliability of the results and make it difficult to judge whether the approach can support more realistic scenarios. One important concern is the potential data leakage in prompt optimization.
Questions
-
Please clarify the training and evaluation boundary of prompt evolution. The paper states that prompt training is performed on LoCoMo with Qwen3-8B, and then the optimized prompts are applied to other models and benchmarks. Could the authors clarify whether the samples used for TextGrad-based prompt optimization are strictly separated from the final evaluation set? Were test questions, reference answers, or test feedback used in any way to optimize the extraction and profile-construction prompts? If the authors can show that prompt optimization was performed only on an independent training or development split, and provide results on a held-out split not used for prompt evolution, I would have more confidence in the reported results. Otherwise, if the optimization process had access to test feedback, the current results may suffer from serious test-set overfitting.
-
Please provide more details on baseline fairness. The paper mentions that the original hyperparameter settings of comparative methods are kept, but it remains unclear whether baselines such as Mem0, MemoryOS, A-Mem, and xMemory use the same backbone, embedding model, retrieval top-k, context budget, token budget, and prompt-tuning effort as TriMem. I suggest adding a unified configuration table and clarifying whether each baseline uses the official implementation and recommended hyperparameters. If all methods are compared under the same resource and tuning budget, the reported improvements would be more convincing. If TriMem benefits from more complex query analysis, profile construction, or additional prompt optimization while the baselines do not receive comparable tuning, the comparison would be less persuasive.
-
Please add or clarify a lightweight generalization experiment on an additional held-out benchmark. The paper evaluates on LoCoMo and PerLTQA, but it would be helpful to further clarify whether PerLTQA was completely excluded from prompt evolution. If computational resources are limited, the authors could run a small-scale experiment with a smaller backbone or one representative baseline on LongMemEval or another long-term memory benchmark that was not involved in prompt optimization. Such an experiment would help determine whether TriMem generalizes beyond LoCoMo and PerLTQA, or whether its gains are closely tied to dataset-specific prompt engineering. If the method shows stable gains on an additional held-out benchmark, I would be more positive about its quality and significance; if the gains drop substantially, this would suggest that the method may be less robust across long-term memory settings.
Limitations
Yes.
Paper formatting concerns
No.
Final justification
The author answered all the questions I asked pretty well. They added explanations and related experiments based on my questions. The answers are detailed and clear, so I’ve decided to give a higher score.
Dear Reviewer rs79,
Thank you for your valuable comments. In response to your questions, we will address them point by point, and our replies are as follows:
We apologize for omitting this critical experimental detail. The prompt evolution was conducted exclusively on a small development subset of LoCoMo consisting of dialogue0 and dialogue1, using Qwen3-8B. During this process, TextGrad accessed only the dialogues, questions, reference answers, and answer-level feedback from these two development conversations. After prompt evolution was completed, the prompts were frozen. No dialogues, test questions, reference answers, model predictions, or evaluation feedback from dialogue2–9 were used at any stage of prompt optimization. PerLTQA was also entirely unseen during prompt development, and no dataset-specific adaptation was performed on it.
We then report results on the full LoCoMo benchmark both for comparability with prior work and because it enables two complementary evaluations. On dialogue0–1, applying the frozen prompts to model backbones other than Qwen3-8B evaluates cross-model transfer ability, since these models were never involved in prompt optimization. On dialogue2–9, evaluation measures generalization to unseen conversations, as neither their dialogues nor their QA instances were accessed during optimization.
To better illustrate the generalizability of the parameters we selected, we supplement the performance of Trimem with Qwen3-8B on two subsets of Locomo as follows:
It can be observed that Trimem consistently outperforms the baseline method on both subsets. This indicates that our prompt optimization does not overfit to the two development dialogues, but instead learns transferable extraction and profiling principles. We will supplement this discussion on the revised version to improve the presentation.
We also provide concrete prompt-evolution traces in Appendix D.2. The examples in Appendix D.2 illustrate three representative aspects:
From which we can see that the optimization modifies general memory-construction principles rather than dialogue-specific content.
Thank you for your comments. We clarify that, within each backbone block, all methods use the same LLM for both memory construction and final answer generation, and are evaluated using the same questions, decoding settings, and evaluation scripts. Therefore, the performance differences do not result from using stronger construction or answering models for TriMem.
For method-specific components, including embedding models, retrieval strategies, and retrieval budgets, we follow the official implementations and their recommended or best-performing configurations. We retain these method-specific settings because different systems retrieve different memory units, such as dialogue chunks, atomic facts, structured notes, hierarchical pages, or semantic components. We will add the following unified configuration table to the revised version:
These configurations are taken from the corresponding official implementations rather than manually weakened or uniformly replaced by TriMem’s settings. This gives each baseline its strongest officially supported configuration while keeping the construction and answer backbones controlled. We will include this table and further implementation details in the revised manuscript.
Thank you for this suggestion. We first clarify that PerLTQA was completely excluded from prompt evolution. No PerLTQA dialogues, questions, reference answers, predictions, or evaluation feedback were accessed during prompt optimization or hyperparameter selection. The extraction and profile-construction prompts were optimized only on dialogue0–1 of LoCoMo using Qwen3-8B and were then frozen before evaluation on PerLTQA.
To further evaluate cross-benchmark generalization, we additionally conduct experiment on the entirely held-out LongMemEval benchmark using GPT-4.1-mini. The results are shown as follows:
It can be seen that TriMem continues to outperform the baseline on LongMemEval, which provides further evidence that TriMem has great generalization ability. We will add these results in the revised manuscript to help better understanding of our method.
Finally, we sincerely thank you again for your professional comments and the precious time you have devoted. If you have any other questions or need further discussion, you are welcome to raise them at any time, and we will spare no effort to provide you with satisfactory answers.