acceptodds
Published as a conference paper at NeurIPS 2026

Rethinking How to Remember: Beyond Atomic Facts in Lifelong LLM Agent Memory

Jingwei Sun, Jianing Zhu, Jiangchao Yao, Tongliang Liu, Bo Han

Abstract

To enable reliable long-term interaction, LLM agents require a memory system that can faithfully store, efficiently retrieve, and deeply reason over accumulated dialogue history. Most existing methods adopt an extracted fact based paradigm: handcrafted static prompts compress raw dialogues into atomic facts, which are then stored, matched, and injected into downstream reasoning. Nevertheless, such fact-centric designs inevitably discard fine-grained details in original dialogues and fail to support deep reasoning over scattered isolated facts. Moreover, static prompts cannot maintain consistent extraction granularity across diverse dialogue styles. To address these limitations, we propose TriMem, which maintains three coexisting representation granularities, including raw dialogue segments anchored by source identifiers for storage fidelity, extracted atomic facts for efficient memory retrieval, synthesized profiles that aggregate dispersed facts into holistic semantic understanding for deep reasoning. We further adopt TextGrad-based prompt optimization, which iteratively refines extraction and profiling prompts via response quality feedback, achieving lifelong evolution without any parameter updating. Extensive experiments on LoCoMo and PerLTQA across multiple LLM backbones demonstrate that TriMem consistently outperforms strong memory baselines.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_rs79OpenReview ↗
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
  1. 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.

  2. 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.

  3. 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.

1 comment

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:

Q1. 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.

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:

MethodF1 on Dialogue0-1BLEU on Dialogue0-1F1 on Dialogue2-9BLEU on Dialogue2-9Overall F1Overall BLEU
LoCoMo21.2716.6621.5516.2821.5116.34
Naïve RAG22.8616.6421.9616.7722.1016.75
Mem029.5026.9230.2127.6530.1027.54
MemoryOS29.4323.7427.8220.7728.0621.22
A-Mem33.7626.8735.0228.2134.8328.01
LightMem31.2524.5634.9125.9434.3625.73
SimpleMem34.7828.9736.5129.9636.2529.81
xMemory43.6835.6343.4834.2943.5134.49
Ours51.9742.2549.2440.3849.6540.66

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:

  1. Temporal grounding: relative expressions such as “last Friday” are normalized into absolute event dates, while distinguishing the event time from the conversation timestamp.
  2. Extraction granularity: dialogues containing multiple independent facts are decomposed into separate atomic entries rather than compressed into one coarse summary.
  3. Semantic fidelity in profiling: exact interpersonal descriptors are preserved instead of being paraphrased into generic personality descriptions.

From which we can see that the optimization modifies general memory-construction principles rather than dialogue-specific content.

Q2. 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.

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:

MethodMemory-construction backboneAnswer backboneEmbedding modelRetrieval strategyRetrieval setting
Naïve RAGSame evaluated backboneSame evaluated backboneQwen3-Embedding-0.6BCosine retrievalTop-25
Mem0Same evaluated backboneSame evaluated backbonetext-embedding-3-smallSemantic retrieval with knowledge graphTop-10
MemoryOSSame evaluated backboneSame evaluated backboneall-MiniLM-L6-v2Hierarchical retrieval over short-term, mid-term and long-term memoryTop-10 for each kind
A-MemSame evaluated backboneSame evaluated backboneall-MiniLM-L6-v2Semantic retrieval over dynamically linked memory notesTop-10
LightMemSame evaluated backboneSame evaluated backboneall-MiniLM-L6-v2Dense retrieval in combined modeTop-60
SimpleMemSame evaluated backboneSame evaluated backboneQwen3-Embedding-0.6BHybrid semantic, BM25, and structured retrievalTop-25 / 5 / 5 for each kind
xMemorySame evaluated backboneSame evaluated backbonetext-embedding-3-smallAdaptive hierarchical top-down retrievalCandidate pool = 20; kNN = 10
TriMemSame evaluated backboneSame evaluated backboneQwen3-Embedding-0.6BQuery planning followed by fact retrieval and indexed expansionTop-25

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.

Q3. 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.

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:

MethodTemporalMulti-SessionKnowledge-UpdateSingle-Session-UserSingle-Session-AssistantSingle-Session-PreferenceAverage
SimpleMem83.46%60.92%79.48%85.71%75.00%76.67%76.87%
TriMem79.70%72.18%91.03%94.29%91.07%80.00%82.80%

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.

Reviewer_NjkYOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
2
Quality
3
Significance
3
Read review
Summary

This paper proposes TriMem, a lifelong memory architecture for LLMs that separates memory into three granularities: raw dialogue segments for fidelity, extracted atomic facts for efficient retrieval, and entity profiles for higher-level reasoning. It also uses TextGrad prompt optimization to iteratively refine fact-extraction and profile-construction prompts. Experiments on LoCoMo and PerLTQA report improvements over several memory baselines across multiple LLM backbones.

Strengths and weaknesses

The paper addresses the important problem of how LLMs should store, retrieve, and reason over long-term personalized dialogue history. The proposed TriMem architecture is intuitive, separating raw dialogues for fidelity, extracted facts for retrieval, and entity profiles for higher-level reasoning. The empirical evaluation spans two benchmarks and multiple LLM backbones, and the ablations on profiles, raw dialogue, retrieval count, search-query generation, and window size provide useful evidence for several design choices. However, the paper has several readability issues, including typos, grammatical errors, and unclear phrasing. The TextGrad-based prompt evolution component is not fully isolated, since there is no clear no-evolution baseline. Some comparisons also seem incomplete, e.g., xMemory is a close memory-system baseline but is not included in the high-capability model experiments. Finally, the experimental results lack statistical uncertainty or repeated-run analysis, making it difficult to judge robustness.

Questions

Is there a concern about memory/space if full raw dialogues need to be stored?

Did prompt evolution use a held-out train/dev split separate from the evaluation dataset? How does TextGrad compare to prompting Claude/GPT to improve its own prompt? And why was TextGrad omitted from the ablation study?

Why is xMemory missing from Table 1?

What is the performance with a fact-only TriMem variant, without raw dialogue or profiles?

Limitations

You should consider more explicitly differentiating from xMemory and SimpleMem, since the paper as is reads as a strong engineering combination of known ideas.

Paper formatting concerns

N/A

Final justification

The author's responses and updated experiments have answered my questions well.

1 comment

Dear Reviewer NjkY,

Thank you for your valuable comments. In response to your questions, we will address them point by point, and our replies are as follows:

Q1. Is there a concern about memory/space if full raw dialogues need to be stored?

Thank you for raising this practical concern. The trade-off between storage compactness and information fidelity is inevitable in database and data-management systems[1,2]. Although more aggressive compression or summarization generally reduces storage cost, information required for accurate downstream queries may be discarded.

In this work, we prioritize storage fidelity and downstream QA accuracy. Each raw dialogue segment is stored only once, while atomic facts retain only lightweight source identifiers rather than duplicating the original text, which substantially limits the additional storage overhead. Moreover, the complete dialogue history is never inserted into the LLM context; only the raw segments linked to retrieved facts are loaded on demand. Therefore, retaining raw dialogues does not substantially increase inference-time context consumption.

We will add this discussion to the Future Work section. Thank you for highlighting this promising research direction, which could further improve the practicality and scalability of long-term agent memory systems.

[1] Synopsis Data Structures for Massive Data Sets.

[2] Wavelet-Based Histograms for Selectivity Estimation.

Q2. Did prompt evolution use a held-out train/dev split separate from the evaluation dataset? How does TextGrad compare to prompting Claude/GPT to improve its own prompt? And why was TextGrad omitted from the ablation study?

Thank you for raising these important questions. We address the three aspects separately below.

(1) Prompt-development and evaluation split.

We apologize for omitting this important experimental detail. The prompt evolution was conducted only on a small development subset of LoCoMo, consisting of dialogue0 and dialogue1, using Qwen3-8B. After the prompts and hyperparameters were fixed, no further optimization was performed on dialogue2–9 or PerLTQA.

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:

MethodF1 on Dialogue0-1BLEU on Dialogue0-1F1 on Dialogue2-9BLEU on Dialogue2-9Overall F1Overall BLEU
LoCoMo21.2716.6621.5516.2821.5116.34
Naïve RAG22.8616.6421.9616.7722.1016.75
Mem029.5026.9230.2127.6530.1027.54
MemoryOS29.4323.7427.8220.7728.0621.22
A-Mem33.7626.8735.0228.2134.8328.01
LightMem31.2524.5634.9125.9434.3625.73
SimpleMem34.7828.9736.5129.9636.2529.81
xMemory43.6835.6343.4834.2943.5134.49
Ours51.9742.2549.2440.3849.6540.66

It can be observed that Trimem consistently outperforms the baseline method on both subsets. This indicates that our parameter selection and 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.

(2) Compare TextGrad with direct LLM-based prompt refinement.

The advantage of utilizing TextGrad is that, different from the common prompt rewriting methods, the optimization signals of TextGrad are more structured. Given answer-level evaluation feedback, TextGrad first attributes the failure to the relevant upstream textual variables, generates targeted textual gradients for the extraction and profile prompts, and then updates these prompts iteratively. In contrast, direct refinement asks an LLM to rewrite the complete prompt from a general description of the observed errors, without explicit variable-level credit assignment.

To directly evaluate this distinction, we supplement a comparsion experiment on LoCoMo with Qwen3-8B as follows, where Claude is directly prompted to refine the prompts without the TextGrad backward and update procedure:

F1BLEU
Direct Claude prompt refinement47.7538.62
TextGrad optimization49.6540.66

It can be seen that although directly prompting claude to refine the prompts can also bring improvements, but it is weaker than TextGrad, showing that the structured, loss-conditioned optimization process is more effective than generic LLM-based prompt rewriting.

We acknowledge that developing more effective and fine-grained optimization mechanisms is an important future research direction. As already discussed in Appendix C.1, future work could focus on more precise signals to develop better optimization strategy.

(3) Ablation of prompt evolution.

In Figure 5, we analyze the performance under different evolution rounds. To isolate the contribution of prompt evolution and explore the superiority of the architecture itself, we add a new ablation on LoCoMo with GPT-5-nano using the initial prompts without TextGrad as follows:

MethodF1BLEU
Simple42.6534.30
w/o TextGrad48.4438.17
TriMem57.0446.96

It can be seen that TriMem without prompt evolution still outperforms the strongest baseline, demonstrating that the tri-granularity architecture itself provides substantial gains.

Additionally, TextGrad reduces the need for repeated manual failure analysis and prompt engineering, allowing us to start from simple prompts and automatically refine them to better exploit the capabilities of the proposed framework.

To further demonstrate the superiority of our system, we additionally supplement the performance on LongMemEval benchmark with GPT-4.1-mini as follows, where all the prompts are directly transferred from LoCoMo without any further optimization:

MethodTemporalMulti-SessionKnowledge-UpdateSingle-Session-UserSingle-Session-AssistantSingle-Session-PreferenceAverage
SimpleMem83.46%60.92%79.48%85.71%75.00%76.67%76.87%
TriMem79.70%72.18%91.03%94.29%91.07%80.00%82.80%

This result further demonstrates the robustness and generalizability of the TriMem architecture itself.

Q3. Why is xMemory missing from Table 1?

We evaluate high-performance closed-source models in Table 1. Since xMemory requires access to model output logits to compute entropy, it's hard to apply to the closed-source models, which has been explained in Line 226. Although xMemory claims to adopt GPT-4.1-mini for predictive uncertainty estimation, its official public repository only releases implementations based on Llama models, without supporting pipelines for closed-source models. Accordingly, we can not include xMemory in Table 1.

However, to address your concern, we directly cite the official results of xMemory on LoCoMo with GPT-5-nano as follows:

MethodMulti-hopTemporalOpen-domainSingle-hopAverage
BLEUF1BLEUF1BLEUF1BLEUF1BLEUF1
xMemory27.5639.9746.1057.6225.5330.9241.1452.6338.7150.00
TriMem34.8645.2542.4557.0533.5540.5254.2662.8846.9657.04

As can be observed, our method still outperforms xMemory under closed-source model settings.

Q4. What is the performance with a fact-only TriMem variant, without raw dialogue or profiles?

The ablation study in Figure 4 evaluates the individual removal of raw dialogues and entity profiles. To report the performance under the setting where both are removed simultaneously, we supplement the experiments on LoCoMo with Qwen3-8B as follows:

VariantF1BLEU
Full TriMem49.6540.66
w/o raw dialogues44.0735.68
w/o profiles45.2436.34
w/o raw dialogues and profiles39.7131.72

It can be seen that without the fine-grained details from raw dialogues and the holistic understanding from profile, the performance of TriMem experiences a significant decline. This demonstrates the rationality of our architecture design.

Q5. The experimental results lack statistical uncertainty or repeated-run analysis, making it difficult to judge robustness.

To assess the robustness of our results, we conducted two additional experiments on Qwen3-8B and GPT-5-nano on LoCoMo, and reported the means as follows:

MethodF1BLEU
xMemory with Qwen3-8B43.76 ± 1.7834.78 ± 1.23
TriMem with Qwen3-8B51.52 ± 2.2241.65 ± 1.40
SimpleMem with GPT-5-nano43.27 ± 1.4235.68 ± 1.06
TriMem with GPT-5-nano57.88 ± 1.2447.38 ± 0.87

It can be seen that the fluctuations in the test results are much smaller than the improvements brought about by our framework, which confirms that our method is robust.

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.

Reviewer_yPDQOpenReview ↗
Rating
5
Clarity
4
Confidence
4
Originality
3
Quality
4
Significance
4
Read review
Summary

This paper focuses on building out a long-term memory system for LLMs for the use of dialogue systems. The standard approach for building out memory systems involves extracting facts from the dialog context and storing them for future retrieval; however, the authors show there are multiple issues such as loss of information or incomplete reasoning. As a result the authors propose a new system called Tri-Granularity Memory (TriMem) which consists of three components: 1) having extracted facts be tied to the section of dialogue they were taken from 2) a user created profile from the dialogue 3) have a process that optimizes a prompt that is used for fact extraction.

The authors then test on two dialogue datasets: LoCoMo and PerLTQA and compare against past memory systems. They show improved performance and run a couple ablation experiments. Overall the contribution as I see it are:

  1. A newly proposed long-term memory system

  2. Showing improved performance of their system across various model types and sizes

Strengths and weaknesses

Strengths

The paper is well motivated and the authors do a good job at pointing out the flaws in typical LLM memory systems. The proposed method seems to address most of these issues and authors do compare against a comprehensive set of baselines. Additionally the method seems to be efficient according to the number of tokens used in the results. Finally the paper is well organized and clear to follow

Weaknesses

One weakness of the paper is that while the authors show some ablation results for their system a key one missing in my opinion is the set of dimensions extracted from the dialog i.e. restate, time, persona, etc. How did the authors come up with these dimensions and what is the impact of them on the final performance. Additionally it is not clear how the retrieval process is different from past systems. It seems you are still extracting key words and matching entities so would you not run into the same problem of perhaps retrieving the wrong information.

Also there are a few hyperparameters that the authors specified such as window size and optimization rounds. I do see the experiments done on how they selected that value but was this selection done on the same set you tested on? Should there not be a held out set to do this optimization?

Finally there was a lack of analysis on the prompt optimization technique. What sort of aspects did it change? Was it so specific to that particular dialogue that we would not be able to use it for other ones?

Questions

I suggest briefly describing your datasets in the main paper. Any other details can be kept in the Appendix.

Limitations

yes

Paper formatting concerns

None

Final justification

I increased my quality score based on the author response. The added in the additional experimentation that was requested and helped to clarify points.

1 comment

Dear Reviewer yPDQ,

Thank you for your valuable comments. In response to your questions, we will address them point by point, and our replies are as follows:

Q1. While the authors show some ablation results for their system a key one missing in my opinion is the set of dimensions extracted from the dialog i.e. restate, time, persona, etc. How did the authors come up with these dimensions and what is the impact of them on the final performance.

We sincerely appreciate your comments. The extraction dimensions are not chosen arbitrarily. We initialized the prompt by referring to the information-extraction prompts used in prior agent-memory systems. Each dimension serves a complementary function. For example, restate preserves complete and unambiguous factual content, time supports temporal reasoning, person enables entity-specific retrieval and profile construction, while dimensions such as location, keywords, and named entities improve structured retrieval. In addition to these initialized dimensions, our prompt-evolution process can also refine the extraction schema and introduce new dimensions. We will provide a detailed illustration of these evolved dimensions in our response to Q4.

To directly evaluate the contribution of these dimensions, we supplement a dimension-wise ablation study on LoCoMo using Qwen3-8B. Specifically, we removed some dimensions from the original prompt while keeping all other settings unchanged. The performance comparsion is shown as follows:

Original Performancew/o timestampw/o locationw/o entities
F149.6546.4547.9846.14
BLEU40.6636.1837.5836.59

It can be seen that there has been a consistent performance degradation after removing these dimensions, which demonstrates that these dimensions provide complementary information and that the selected schema is important for the final performance. We will include this ablation in the revised version to better explain the impact of different dimensions.

Q2. It is not clear how the retrieval process is different from past systems. It seems you are still extracting key words and matching entities so would you not run into the same problem of perhaps retrieving the wrong information.

Thank you for your valuable comments. Firstly, different from previous systems that adopt passive retrieval by directly matching raw questions with the memory bank, TriMem utilizes an active query paradigm. During memory construction, each atomic fact is represented with multiple structured fields, including the normalized fact description, timestamp, involved persons, entities, location and so on. Therefore, at retrieval time, the system first reasons about which of these information dimensions are required by the question and then generates targeted search queries accordingly. Specifically, when dealing with a question, it consider what type of question is this, what key entities, events, or concepts need to be identified, What relationships or connections need to be established, What minimal set of information pieces would be sufficient to answer this question?

This approach converts ambiguous natural language questions into explicit retrieval plans, which can effectively reduces retrieval failures caused by insufficient superficial word matching and incomplete evidence coverage in single-round retrieval. Our ablation results in Figure 7 also support this design. The full prompt used to generate these search queries is provided in Appendix E.3.

Furthermore, once relevant facts are retrieved, the corresponding source dialogues and user profiles can be obtained via predefined index links. Therefore, although the retrieval process is conducted based on atomic facts, the subsequent reasoning process can access both fine-grained original dialogue and integrated entity-level contextual information simultaneously.

In conclusion, the above two core designs effectively address the inherent limitations of previous memory-based systems.

Q3. There are a few hyperparameters that the authors specified such as window size and optimization rounds. I do see the experiments done on how they selected that value but was this selection done on the same set you tested on? Should there not be a held out set to do this optimization?

We apologize for omitting this important experimental detail. All prompt evolution and hyperparameter selection, including the number of optimization rounds, were conducted only on a small development subset of LoCoMo, consisting of dialogue0 and dialogue1, using Qwen3-8B. The resulting prompts and hyperparameters were then frozen, with no further optimization on the remaining LoCoMo conversations or on PerLTQA.

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:

MethodF1 on Dialogue0-1BLEU on Dialogue0-1F1 on Dialogue2-9BLEU on Dialogue2-9Overall F1Overall BLEU
LoCoMo21.2716.6621.5516.2821.5116.34
Naïve RAG22.8616.6421.9616.7722.1016.75
Mem029.5026.9230.2127.6530.1027.54
MemoryOS29.4323.7427.8220.7728.0621.22
A-Mem33.7626.8735.0228.2134.8328.01
LightMem31.2524.5634.9125.9434.3625.73
SimpleMem34.7828.9736.5129.9636.2529.81
xMemory43.6835.6343.4834.2943.5134.49
Ours51.9742.2549.2440.3849.6540.66

It can be observed that Trimem consistently outperforms the baseline method on both subsets. This indicates that our parameter selection and 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.

Q4. There was a lack of analysis on the prompt optimization technique. What sort of aspects did it change? Was it so specific to that particular dialogue that we would not be able to use it for other ones?

We provide concrete prompt-evolution traces in Appendix D.2. It can be seen that the optimization modifies general memory-construction principles rather than dialogue-specific content. The examples in Appendix D.2 illustrate three representative aspects:

  1. Temporal grounding: relative expressions such as “last Friday” are normalized into absolute event dates, while distinguishing the event time from the conversation timestamp.
  2. Extraction granularity: dialogues containing multiple independent facts are decomposed into separate atomic entries rather than compressed into one coarse summary.
  3. Semantic fidelity in profiling: exact interpersonal descriptors are preserved instead of being paraphrased into generic personality descriptions.

In addition to these visualization results, the existing quantitative results also support this interpretation. As clarified in Q3, prompt evolution was performed only on dialogue0–1 of LoCoMo using Qwen3-8B. However, when directly transferring to the remaining eight unseen LoCoMo conversations and PerLTQA, TriMem still achieves consistent improvements.

To further strengthen this evaluation, we additionally supplement the performance on LongMemEval benchmark with GPT-4.1-mini as follows:

MethodTemporalMulti-SessionKnowledge-UpdateSingle-Session-UserSingle-Session-AssistantSingle-Session-PreferenceAverage
SimpleMem83.46%60.92%79.48%85.71%75.00%76.67%76.87%
TriMem79.70%72.18%91.03%94.29%91.07%80.00%82.80%

This result further demonstrates the robustness of our method on these unseen data.

Q5. I suggest briefly describing your datasets in the main paper. Any other details can be kept in the Appendix.

Thank you for the suggestion, we will supplement more experimental details in the revised version, especially the data split strategy for prompt optimization and evaluation for better presentation.

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.

Comments on the paper

1 comment
Meta-review

The reviewers agree that lifelong agent memory is an important problem and find the tri-granularity combination of raw dialogue, extracted facts, and entity profiles intuitive. The reported results are strong across several backbones. A central unresolved issue, however, is whether prompt evolution and hyperparameter selection used the same LoCoMo questions and reference answers as the final evaluation. It is also unclear how much of the improvement comes from the memory architecture itself rather than benchmark-specific prompt optimization and additional retrieved context.

Please prioritize the following issues:

  • Prompt-optimization and evaluation boundary. Reviewers yPDQ, NjkY, and rs79 all raise this concern. The paper states that prompts are trained on LoCoMo, while the TextGrad objective uses questions, reference answers, and answer-quality feedback. Please specify the exact conversations and QA samples used for prompt evolution, hyperparameter selection, and final evaluation, including whether the split is made by question or by conversation. Please also clarify whether the evolution rounds, retrieval count, and window size were selected using final evaluation performance. If any test questions or reference answers informed these choices, results on a strictly untouched split are needed. This is the most decision-critical issue.

  • Contribution and applicability of prompt evolution. Reviewers yPDQ and NjkY note the absence of a no-evolution baseline: Figure 5 begins at one evolution step rather than the original prompt. Please compare the initial fixed prompts with the TextGrad-optimized prompts under the same TriMem architecture and explain what changes TextGrad contributes beyond directly asking Claude or another model to rewrite the prompts. An additional conceptual concern is that the proposed “lifelong evolution” requires reference answers and failure feedback that may not exist during deployment. Please explain the realistic feedback source or narrow this claim to offline prompt optimization.

  • Baseline fairness and architectural attribution. Reviewers NjkY and rs79 request clearer controls for backbone models, embedding models, retrieval and context budgets, prompts, and tuning effort. Please explain why keeping each baseline’s original hyperparameters constitutes a fair comparison when TriMem receives benchmark-specific prompt optimization. A true fact-only TriMem baseline, removing both profiles and linked raw dialogue, would directly test the paper’s central claim. Please also clarify the omission of xMemory from Table 1 and provide matched comparisons where technically feasible.

  • Memory construction and consistency. Reviewer yPDQ asks how the extraction dimensions were chosen and whether they materially affect performance. Reviewer rs79 requests clearer profile-update rules, source-dialogue retrieval triggers, and conflict resolution across memory granularities. Please explain how profiles are updated when new or contradictory information arrives, how inferred traits are distinguished from factual memories, and how provenance is used when profiles and raw dialogue disagree.

  • Statistical reliability and generalization. Reviewer NjkY notes the absence of repeated-run uncertainty, while rs79 questions generalization beyond prompt-optimized benchmarks. Please confirm that PerLTQA was fully excluded from prompt evolution and hyperparameter selection, and report uncertainty across runs or evaluation units where available. An additional benchmark would be useful but is not required for rebuttal; establishing a clean held-out protocol on the existing benchmarks is the priority.

Items 1 and 2 are the highest priorities. A strictly separated evaluation and evidence isolating the effects of TriMem’s architecture from prompt evolution would be important considerations in the acceptance discussion.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.