Manuscript Offprint
arXiv:2610.37443ETAMem: Decoupling and Aligning Heterogeneous Memory for Long-Term Conversational Agents
Xinying Qian
qianxinying@dbis.nankai.edu.cn
Nankai University
Tianjin, China
Xubo Liu
Nankai University
Tianjin, China
Ying Zhang
Nankai University
Tianjin, China
Baohang Zhou
zhoubaohang@dbis.nankai.edu.cn
Tiangong University
Tianjin, China
Yu Zhao
Nankai University
Tianjin, China
Jeff Z. Pan
The University of Edinburgh
Edinburgh, United Kingdom
Abstract
Long-term memory enables Large Language Models (LLMs) to maintain coherent and personalized interactions across extended conversations. However, existing memory systems face two key challenges: (1) Information Entanglement, where heterogeneous information is mixed within coarse-grained memory units; and (2) Organizational Mismatch, where memory structures based primarily on semantic similarity may overlook other associations. To address these challenges, we propose ETAMem, a multi-view memory framework that decouples heterogeneous conversational information and aligns memory representations and organization with its distinct characteristics. Specifically, heterogeneous information parsing extracts atomic memory units and identifies affective information. View-specific memory structuring then organizes these units into three complementary hierarchical views: Event, Affect, and Time. ETAMem incrementally maintains memory structures with adaptively calibrated thresholds. For retrieval, entropy-based retrieval allocates query-specific budgets across views and performs hierarchical search within each view. Experiments on LoCoMo and LongMemEval-S demonstrate that ETAMem outperforms state-of-the-art baselines, achieving relative accuracy improvements of 12.46% and 7.96%, respectively, while maintaining competitive token efficiency. Further analyses demonstrate the complementary benefits of different memory views.
CCS Concepts
• Computing methodologies → Discourse, dialogue and pragmatics; • Information systems → Personalization; Question answering.
1 Introduction
Personalized conversational agents are increasingly deployed in Web-based services [4], where maintaining user context across interactions is essential for coherent and personalized experiences [20]. To support long-term user modeling, memory systems enable Large
Challenges in Existing Memory Systems

Figure 1: Illustration of challenges in existing memory systems and our proposed multi-view memory framework.
Language Models (LLMs) to retain and retrieve information from conversations, capturing users' experiences and preferences [5].
Existing memory architectures for LLMs can be broadly categorized into flat and structured approaches. Flat approaches [2, 34] store extracted conversational information as separate textual memory entries, typically retrieved through embedding-based similarity search. In contrast, structured approaches [14, 22, 31, 32] organize memories through hierarchies or graphs to capture dependencies among memory units. However, the heterogeneous nature of conversational information poses two key challenges for memory organization and retrieval.
(1) Information Entanglement. Existing memory systems [2, 34] often treat conversational memory entries as the basic units
Conference'17, Washington, DC, USA 2026. ACM ISBN 978-x-xxxx-xxxx-x/YYYY/MM https://doi.org/10.1145/nnnnnnn.nnnnnnn
Qian et al.
of memory representation and organization. Although some approaches [6, 31] extract keywords or summaries, they do not explicitly distinguish heterogeneous information types. As illustrated in Figure 1, a single dialogue turn may contain factual events, personal preferences, and temporal contexts. Without decomposition, these aspects remain entangled, making it difficult to isolate relevant evidence and introducing retrieval noise.
(2) Organizational Mismatch. Existing memory systems [14, 22] organize memories through temporal or relational structures. Recent approaches [12, 32] further combine multiple structures. However, these structures do not necessarily align memory representations and organization criteria with different information types. As shown in Figure 1, organizing memories by semantic topics may scatter related preferences across different branches, making affective evidence difficult to retrieve collectively.
These limitations motivate a fundamental question: how can conversational information be identified, represented, and organized for long-term memory retrieval? Different information types require distinct representations and organizational principles. For example, answering “what activity do I like?” requires connecting affective information across different contexts, whereas “what did I do this week?” requires aggregating experiences according to their temporal relations. This distinction aligns with findings from cognitive neuroscience, which suggest that episodic memory and emotional processing involve functionally specialized yet interacting neural systems [17, 21]. This motivates decoupling heterogeneous conversational information and aligning memory representations and organization with its distinct characteristics.
In this paper, we propose ETAMem, an Event-Time-Affect Memory framework for long-term conversational agents. ETAMem first performs heterogeneous information parsing by decomposing dialogue turns into semantically complete atomic memory units (AMUs) and identifying their affective characteristics. Through view-specific memory structuring, these AMUs are then organized into three hierarchical views. Specifically, the Event view organizes factual experiences through semantic similarity, the Affect view organizes emotions, attitudes, and preferences through affect-aware representations, and the Time view indexes all memories through temporal hierarchies. To support continual interaction, ETAMem incrementally maintains the Event and Affect hierarchies through attachment, splitting, merging, and lazy summary updates, while adaptively calibrating maintenance thresholds. Given a query, entropy-based retrieval allocates budgets across views through adaptive routing and performs hierarchical beam search to retrieve relevant memories. Experiments on two long-term dialogue memory benchmarks demonstrate that ETAMem consistently improves memory performance, particularly on multi-hop and temporally grounded queries. Overall, our work makes the following contributions:
-
We propose ETAMem, a multi-view memory framework that organizes heterogeneous conversational information into complementary Event, Affect, and Time hierarchies with view-specific representations.
-
We develop a dynamic memory maintenance mechanism with adaptive threshold calibration. We further employ entropy-based routing to allocate query-specific retrieval budgets across complementary memory views.
-
Extensive experiments on LoCoMo and LongMemEval-S demonstrate that ETAMem outperforms strong baselines, particularly on multi-hop and temporal reasoning questions, while maintaining competitive token costs.
2 Related Work
2.1 Memory Systems for LLM Agents
Flat memory. Early memory systems store extracted facts or interaction summaries as independent units, typically retrieved through semantic similarity [2, 34]. For long-term access, MemGPT [19] separates in-context and external memory through paging, MemoryOS [13] organizes histories into short-, mid-, and long-term layers, and LightMem [6] uses staged offline consolidation. These designs emphasize where and when memories are stored or consolidated, while retrieval often relies on general semantic matching.
Structured memory. Structured systems organize memories into hierarchies or graphs. Tree-based approaches support memory abstraction at different levels of granularity. TiMem [14] builds a five-level temporal memory tree to consolidate experiences over time, while xMemory [10] decomposes interaction histories into semantic components and organizes them hierarchically. Graph-based approaches emphasize explicit memory associations. A-MEM [31] dynamically updates semantic links between memory notes, whereas Zep [22] maintains a temporal knowledge graph of evolving facts and relationships. HingeMem [35] uses boundary-based hypergraphs to connect memories by person, time, location, and topic. However, these methods primarily emphasize temporal, semantic, or relational organization without explicitly aligning memory hierarchies with different types of conversational information.
Multi-structure memory. Recent work organizes memory through multiple complementary structures or information types. MemWeaver [33] develops complementary behavioral and cognitive memory hierarchies to capture user interactions and long-term preferences. H-Mem [32] combines a temporal-semantic tree with an entity knowledge graph. MAGMA [12] links memory events through separate semantic, temporal, causal, and entity graphs. MemGAS [30] associates multi-granularity memory units through clustering and selects retrieval granularity via entropy-based routing. MemoType [28] distinguishes different memory types without hierarchical organization. These methods either combine multiple memory structures without explicitly decoupling heterogeneous information or distinguish information types without organizing them into specialized hierarchies.
2.2 Affect-Aware Memory and Retrieval
Recent studies have explored affective information to improve memory retrieval and personalized interactions. Emotional RAG [11] combines emotional and semantic relevance to retrieve memories for role-playing agents. REG [27] retrieves emotionally similar examples to support empathetic response generation. PAMU [25] dynamically updates memories to reflect evolving user preferences, while Sentipolis [7] models emotion dynamics and emotion-memory coupling to maintain affective continuity. Recent benchmarks further emphasize the importance of affective and personalized memory. CloneMem [9] evaluates the retention and retrieval of personal experiences, preferences, and opinions, while ENPMR-Bench [8] focuses on memory retrieval for emotional support. Despite these advances, existing approaches primarily leverage affective information to guide retrieval, memory updates, or generation, with limited attention to organizing memories through affective associations.
3 Method
We present ETAMem, a multi-view memory framework for decoupling and aligning heterogeneous conversational information. First, heterogeneous information parsing extracts atomic memory units (AMUs) and identifies their affective characteristics. These units are then organized through view-specific memory structuring into three complementary views: Event, Affect, and Time. To support evolving conversations, dynamic memory maintenance updates the hierarchies, while adaptive calibration adjusts maintenance thresholds. Finally, entropy-based retrieval allocates query-specific budgets across views and performs hierarchical beam search to retrieve relevant AMUs, as shown in Figure 2.
3.1 Problem Formulation
The long-term memory requires LLMs to continuously organize past interactions and retrieve relevant information for reasoning. Let denote a dialogue history processed sequentially, where and represent the dialogue content and timestamp at turn , respectively. At each turn , a memory state is incrementally updated from the previous state and the new dialogue input , where denotes the organized memory after processing turns. Given a query , the objective is to retrieve an evidence set from that supports accurate inference.
3.2 Heterogeneous Information Parsing
AMU Extraction. ETAMem decomposes each dialogue turn into atomic memory units (AMUs), such that each AMU captures one independent memory item and the resulting set preserves the original information. It then assigns a polarity label to each AMU to distinguish factual content from affective content for subsequent memory organization.
Given a dialogue turn , ETAMem uses an LLM to extract a set of AMU contents:
Here, is the number of AMUs extracted from turn t.
To guide view-specific memory organization, ETAMem assigns each AMU a polarity label. We define the polarity label space as . Given the class scores produced by an off-the-shelf sentiment classifier , the highest-scoring class is selected as
3.3 View-Specific Memory Structuring
AMU Representation. We use two encoders to capture semantic and affective information, where denotes the textual encoder and denotes the affective encoder. Each AMU is encoded according to its polarity label:
Memory Organization. To support structured organization and coarse-to-fine retrieval over heterogeneous AMUs, ETAMem organizes the current memory as three hierarchical views:
The Event View organizes neutral AMUs according to textual semantics. AMUs with similar semantic representations are hierarchically grouped into event-related nodes, capturing recurring events, entities, and interactions.
The Affect View organizes positive and negative AMUs according to affective semantics. AMUs with similar affective representations are hierarchically grouped into nodes, capturing persistent preferences and attitudes.
The Time View organizes AMUs through a temporal hierarchy: Session Day Week Month. AMUs are stored at the Session level, while higher-level nodes provide summaries. Unlike Event and Affect views, the Time view follows predefined temporal granularity rather than semantic grouping.
Tree Structure. Each memory view adopts a hierarchical structure. Leaf nodes store AMUs, while internal nodes maintain textual summaries of their subtrees. For an internal node whose children are leaves, its summary is generated from the AMUs stored in those leaves. For higher-level internal nodes, the summary is generated from the summaries of their child nodes.
3.4 Dynamic Memory Maintenance
3.4.1 Memory Maintenance. ETAMem maintains its memory trees through online insertion and incremental structural refinement. For each incoming dialogue turn, the extracted AMUs are inserted into their corresponding views. At the end of each session, the Event and Affect views undergo structural maintenance, with Split and Merge operations triggered only when their respective conditions are met. In contrast, the Time view follows a predefined temporal hierarchy and requires only deterministic insertion without maintenance.
Attachment. The attachment operation determines how a new AMU is incorporated into each memory view. For the Time view, an AMU is assigned to the temporal node corresponding to its timestamp. For the Event and Affect views, ETAMem identifies the most suitable insertion position through hierarchical search.
We first represent each node by the centroid of the AMU representations in its subtree:
where denotes the set of AMUs contained in the subtree rooted at . The similarity between an AMU and a candidate node is measured as .
Using this similarity score, ETAMem performs beam search over corresponding trees. Starting from the root nodes, it recursively expands child nodes and retains the top-B candidate paths at each layer until reaching the leaf level, forming a candidate set . The insertion candidate is selected as , with score .
Based on the matching score, ETAMem selects one of three insertion operations for the AMU: ATTACH to the most relevant
Qian et al.
1. Heterogeneous Information Parsing

2. Memory Structuring
3. Parallel Retrieval
Figure 2: Overview of ETAMem. Given dialogue histories, the framework extracts AMUs and organizes them into three memory views: Event, Affect, and Time. During retrieval, entropy-based routing and beam search are used for response generation.
existing leaf, NEWLEAF under the parent of , or NEWROOT.
Split. To prevent leaf nodes from becoming overly large or semantically incoherent, ETAMem splits a leaf when its size exceeds or its cohesion falls below . For a leaf containing AMUs, ETAMem partitions the AMUs using cosine K-means, with the number of clusters determined as . Each cluster forms a new leaf under the same parent. The cohesion of a leaf node is computed as
Merge. To reduce redundant small nodes and improve retrieval efficiency, ETAMem checks the Event and Affect views for merging at the end of each dialogue session. For each candidate pair of nodes and , their similarity is computed from the node centroids as . The pair is merged when . For leaf nodes, the merged AMU set must additionally satisfy . When the two nodes belong to different branches, the merged node is placed under their nearest common ancestor to preserve the existing hierarchy.
Summary Update. As memory trees evolve, frequent updates to internal node summaries would introduce additional LLM overhead. To reduce recomputation, ETAMem lazily updates internal summaries using a pending-change counter . Each structural update increments the counters of affected nodes and their ancestors; when , where is the update interval controlling how many pending updates trigger summary regeneration, the summary is regenerated and is reset. Leaf summaries are directly updated from their stored AMU texts.
3.4.2 Adaptive Calibration. To prevent excessive tree growth and node overcrowding as memory expands, ETAMem adaptively calibrates structural parameters and maintenance thresholds. Both are initialized with predefined values and subsequently adjusted using observed memory statistics, without reconstructing existing trees.
Structural Parameters. For each view v, ETAMem calibrates the maximum AMUs per leaf , maximum children per internal node , and maximum tree depth . When preset capacity limits are reached, these parameters are recalibrated to accommodate further memory growth. Let and denote the median and maximum AMU counts across observed dialogue histories in view v. The parameters are computed as
where estimates the required leaves. This allows the tree structure to adapt to increasing memory size.
Maintenance Thresholds. ETAMem calibrates view-specific thresholds based on observed similarity distributions. During memory insertion, cosine similarities between incoming AMUs and visited candidate nodes are collected across dialogue histories. We employ Otsu's method [18] to partition these similarities into low- and high-similarity subsets. Specifically, is estimated as the 75th percentile of the low-similarity subset, while , , and are estimated as the 25th, 65th, and 85th percentiles of the high-similarity subset.
To reduce fluctuations across calibration rounds, ETAMem updates each threshold using an exponential moving average (EMA) [23]:
(9) where indexes calibration rounds, denotes the threshold type, is its current estimate for view , and controls the contribution of the previous threshold.
3.5 Entropy-based Retrieval
Entropy-based View Routing. Different queries may depend on different memory views and thus require different types of evidence. To address this, ETAMem computes the confidence of each view and adaptively allocates the retrieval budget across the three views.
Let denote the set of memory views. For each view , let denote its leaf set, the number of leaves, and the summary of its -th leaf. We first compute the similarity between the query and each leaf summary:
The similarity scores are converted into a probability distribution over the leaves within each view. controls the temperature.
We then use normalized entropy to measure how concentrated the probability distribution is:
A lower indicates that the query is concentrated on fewer leaves, suggesting a clearer retrieval signal for view . We use as the routing score, where larger values indicate more concentrated retrieval distributions, and normalize it across views to obtain the routing weight :
Given a total leaf retrieval budget , ETAMem initializes the per-view budget as . Thus, views with more concentrated leaf-level similarity distributions receive larger shares of the retrieval budget.
Beam Search. For each memory view, ETAMem retrieves relevant nodes through layer-wise beam search by combining semantic similarity and lexical relevance, where semantic similarity captures contextual relevance while lexical relevance preserves exact term matching. The summary of candidate node is denoted as , and its semantic relevance with query is computed as
The lexical relevance is measured by BM25 [24]. The normalized semantic and lexical scores are combined as
where denotes the normalized score and controls the contribution of lexical matching.
Starting from the root nodes, ETAMem retains the top- nodes according to score at each internal layer and recursively expands them. After expanding the final internal-layer beam, it selects the top- leaf nodes for view . The retrieved AMUs across views are merged and deduplicated to form the evidence set . If the LLM returns “no information” due to insufficient evidence, ETAMem
Table 1: Final parameter configurations of ETAMem.
| Dataset | View | Structural Parameters | Maintenance Thresholds | |||||
|---|---|---|---|---|---|---|---|---|
| LoCoMo | Event | 29 | 6 | 4 | 0.402 | 0.460 | 0.515 | 0.572 |
| Affect | 33 | 6 | 4 | 0.446 | 0.504 | 0.562 | 0.619 | |
| LongMemEval | Event | 22 | 5 | 4 | 0.426 | 0.481 | 0.534 | 0.582 |
| Affect | 11 | 4 | 4 | 0.435 | 0.486 | 0.537 | 0.582 | |
falls back to the corresponding original dialogue turns . The response is generated as
4 Experiments
4.1 Experimental Setup
Datasets. We conduct experiments on two long-term memory benchmarks. LoCoMo [16] contains multi-session interactions from 10 user groups, while LongMemEval-S [29] comprises 500 questions designed to assess memory over extended contexts. Further details of the datasets are provided in Appendix B.
Baselines. We compare ETAMem with representative memory baselines: MemoryBank [34], A-MEM [31], Mem0 [2], MemoryOS [13], MemOS [15], MAGMA [12], TiMem [14], LightMem [6].
Implementation Details. For fair comparison, we follow the same evaluation settings as TiMem. Specifically, all methods use gpt-4o-mini as the LLM backbone and Qwen3-Embedding-0.6B as the textual embedding model. We additionally evaluate ETAMem with Qwen3-30B-A3B-Instruct-2507, denoted as . The retrieval budget is set to for all methods. For ETAMem, we set , beam width , , and routing temperature . The remaining parameters are described in the calibration settings. For the Affect view, we employ two RoBERTa-based affective models: Twitter-RoBERTa-Sentiment [1] as the classifier and RoBERTa-GoEmotions [3] as the encoder. ETAMem is evaluated over three runs, with results reported as mean accuracy sample standard deviation in Tables 2 and 3. We evaluate all methods using LLM-as-a-judge accuracy. Following [6], memory construction cost is measured as the average number of total tokens consumed by LLM calls during memory construction per session, while inference cost is measured as the average number of input tokens consumed per query. All prompts are provided in Appendix D.
Calibration Settings. ETAMem adopts shared initial settings across datasets for the Event and Affect views. The leaf capacity , branching factor , and maximum tree depth are initialized to 25, 5, and 4, respectively. The thresholds and are initialized to 0.4 and 0.5, while and are initialized to 0.6 and 0.7. The calibration percentiles are set to 75, 25, 65, and 85, respectively, with EMA coefficient . Structural parameters are recalibrated at capacity limits, while maintenance thresholds are updated after each session, with changes applied to the next session. Table 1 reports the final calibrated parameter values.
Qian et al.
Table 2: Performance and token costs on LoCoMo. Build and Inference denote token costs for memory construction and inference, averaged per session (k) and per question, respectively.
| Method | Single-Hop ↑ (841Q) | Temporal ↑ (321Q) | Open-Domain ↑ (96Q) | Multi-Hop ↑ (282Q) | Overall ↑ (1540Q) | Token Cost | |
|---|---|---|---|---|---|---|---|
| Build (k) | Inference | ||||||
| MemoryBank | - | ||||||
| A-MEM | |||||||
| Mem0 | |||||||
| MemoryOS | |||||||
| MemOS | - | ||||||
| MAGMA | |||||||
| TiMem | |||||||
| LightMem | |||||||
| ETAMem | |||||||
| w/ Qwen3-30B | |||||||
Table 3: Performance and token costs on LongMemEval-S. KU: Knowledge Update; MS: Multi-Session; SSA/P/U: Single-Session Assistant/Preference/User; TR: Temporal Reasoning. Build and Inference denote token costs for memory construction and inference, averaged per session (k) and per question, respectively.
| Method | KU | MS | SSA | SSP | SSU | TR | Overall | Token Cost | |
|---|---|---|---|---|---|---|---|---|---|
| ↑ (78Q) | ↑ (133Q) | ↑ (56Q) | ↑ (30Q) | ↑ (70Q) | ↑ (133Q) | ↑ (500Q) | Build (k) | Inference | |
| MemoryBank | - | ||||||||
| A-MEM | |||||||||
| Mem0 | |||||||||
| MemoryOS | |||||||||
| MemOS | - | ||||||||
| MAGMA | |||||||||
| TiMem | |||||||||
| LightMem | |||||||||
| ETAMem | |||||||||
| w/ Qwen3-30B | |||||||||
4.2 Main Results
Table 2 presents the results on LoCoMo. ETAMem achieves the highest overall accuracy of 84.68%, outperforming the strongest memory baseline, TiMem, by 12.46%. Compared with TiMem's temporal hierarchy and MAGMA's multi-graph architecture, ETAMem improves overall accuracy by 9.38 and 11.43 percentage points, respectively. These improvements suggest the benefits of organizing heterogeneous memories through complementary, view-specific structures. Notably, ETAMem achieves relative improvements of 15.31% and 37.51% on multi-hop and open-domain questions over the strongest baselines, respectively. In terms of efficiency, ETAMem reduces memory construction tokens by 67.92% and 88.51% compared with TiMem and A-MEM, respectively.
Table 3 reports the results on LongMemEval-S. ETAMem achieves the highest overall accuracy of 83.00%, surpassing TiMem by 7.96% and MAGMA by 28.00 percentage points. It achieves the best performance on multi-session and temporal reasoning questions, outperforming TiMem by 8.12 and 6.77 percentage points, respectively. These gains further support the effectiveness of combining specialized memory organization with temporal indexing for complex retrieval. ETAMem also demonstrates high construction efficiency,
Table 4: Ablation study of key components.
| Method | LoCoMo | LongMemEval-S |
|---|---|---|
| ETAMem | 84.68 | 83.00 |
| w/o AMU | 82.14 | |
| w/o Memory Tree | 82.86 | |
| w/o Fallback | 74.20 |
requiring only 63.41k tokens per session, 88.75% and 67.70% fewer than TiMem and MAGMA, respectively.
4.3 Ablation Studies
4.3.1 Key Components. Table 4 presents the ablation results of key components. Specifically, w/o AMU replaces atomic memory units with dialogue turns, w/o Memory Tree removes hierarchical memory organization, and w/o Fallback disables fallback when retrieved evidence is insufficient. Removing AMU extraction reduces accuracy from 84.68% to 82.14% on LoCoMo and from 83.00% to 80.60% on LongMemEval-S, demonstrating the benefit of fine-grained memory representation. Removing hierarchical organization decreases accuracy to 82.86% and 80.60%, respectively, confirming the value
Table 5: Effect of view-specific memory organization on LoCoMo and LongMemEval-S.
| Method | LoCoMo | LongMemEval-S | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Overall | Single | Temp. | Open | Multi | Overall | KU | MS | SSA | SSP | SSU | TR | |
| ETAMem | 84.68 | 88.47 | 80.06 | 80.21 | 80.14 | 83.00 | 87.18 | 78.95 | 92.86 | 76.67 | 95.71 | 75.19 |
| Unified Semantic | 83.31 | 87.75 | 76.64 | 77.08 | 79.79 | 80.49 | 84.61 | 76.69 | 85.71 | 73.33 | 95.71 | 73.28 |
| Unified Affective | 77.20 | 80.85 | 71.34 | 66.67 | 76.60 | 80.60 | 83.33 | 74.44 | 92.86 | 76.67 | 92.86 | 74.44 |
| Unified Temporal | 82.92 | 86.92 | 77.88 | 75.00 | 79.43 | 79.20 | 80.76 | 73.68 | 82.14 | 76.67 | 94.29 | 75.19 |
Table 6: Effect of view-specific memory representations on LongMemEval-S using Qwen3-30B.
| Method | Overall | KU | MS | SSA | SSP | SSU | TR |
|---|---|---|---|---|---|---|---|
| Shared Text | 72.80 | 78.21 | 69.92 | 89.29 | 73.33 | 92.85 | 54.89 |
| Shared Affect | 74.40 | 76.92 | 69.92 | 89.29 | 76.67 | 94.28 | 60.15 |
| ETAMem | 80.40 | 87.18 | 70.68 | 91.07 | 93.33 | 95.71 | 70.68 |
Table 7: Comparison of memory view configurations and retrieval routing strategies using Qwen3-30B.
| Configuration | LoCoMo | LongMemEval-S |
|---|---|---|
| ETAMem | 80.84 | 80.40 |
| Routing Strategy | ||
| Max | 72.86 | 64.20 |
| Mean | 79.22 | 75.00 |
| LLM-based | 73.57 | 74.80 |
of structured memory. Disabling fallback causes a larger performance drop on LongMemEval-S than on LoCoMo. This is mainly because its lengthy dialogues contain detailed narratives that may be compressed during AMU extraction. Fallback allows the model to recover missing details from the original conversations when retrieved memories are insufficient.
4.3.2 Effect of View-Specific Memory Organization. To investigate whether heterogeneous dialogue information benefits from specialized organization, we compare ETAMem with three unified strategies that organize all AMUs into a single hierarchy without distinguishing information types. Unified Semantic and Unified Affective organize memories using textual and affective embeddings, respectively, while Unified Temporal employs a unified temporal hierarchy. As shown in Table 5, all unified strategies underperform ETAMem in overall accuracy. Unified Semantic performs best among the unified strategies on LoCoMo, while Unified Affective achieves the highest overall accuracy on LongMemEval-S. Notably, Unified Affective matches ETAMem on preference-related questions (SSP), while Unified Temporal matches ETAMem on temporal reasoning (TR). These results suggest that different organizational principles can benefit specific information types, but no single unified structure effectively accommodates their heterogeneous characteristics. By integrating complementary type-specific memory views, ETAMem achieves superior overall performance.
4.3.3 Effect of View-Specific Memory Representations. We further investigate whether separating information types is sufficient, or whether different memory views also benefit from specialized representations. To this end, we compare ETAMem with two variants that retain the Event and Affect views but use shared representations. Shared Text uses textual embeddings for both views, whereas Shared Affect uses affective embeddings for both views. The Time view remains unchanged. As shown in Table 6, both variants underperform ETAMem, with overall accuracy decreasing by 7.60 and 6.00 percentage points, respectively. These results indicate that distinguishing information types alone does not fully capture their heterogeneous characteristics. View-specific representations further enhance the effectiveness of specialized memory organization.
4.3.4 Effect of Memory View Configurations. To investigate whether combining complementary memory views improves retrieval performance, we evaluate different view configurations using Qwen3-30B. As shown in Table 7, Time-only achieves the strongest performance among single-view configurations on both benchmarks. This may be attributed to its complete memory coverage, whereas the Event and Affect views each contain only a subset of AMUs. Combining views generally improves performance, with Time + Affect achieving 79.35% on LoCoMo and Event + Time reaching 74.80% on LongMemEval-S. ETAMem further achieves 80.84% and 80.40% on the two benchmarks, respectively, suggesting the benefits of jointly retrieving from complementary memory views.
4.3.5 Effect of Retrieval Routing Strategies. To evaluate the effectiveness of query-adaptive budget allocation, we compare ETAMem with three alternative routing strategies using Qwen3-30B. Max Routing selects the highest-weighted view, Mean Routing assigns equal retrieval budgets across views, and LLM Routing uses an LLM to select the most appropriate view. As shown in Table 7, Mean Routing achieves the strongest performance among the alternatives, with accuracies of 79.22% and 75.00% on LoCoMo and LongMemEval-S, respectively. ETAMem further improves accuracy to 80.84% and 80.40%, outperforming Mean Routing by 1.62 and 5.40 percentage points, respectively. These results support the effectiveness of adaptively allocating retrieval budgets across complementary memory views.
Qian et al.
Table 8: Performance comparison on CloneMem. Choice accuracy is reported on a 0–100 scale, while memory helpful score and memory recall are reported on a 0–1 scale.
| Method | Choice Acc. | Memory Helpful | Memory Recall |
|---|---|---|---|
| A-MEM | 87.48 | 0.6275 | 0.5490 |
| Mem0 | 85.28 | 0.6182 | 0.4860 |
| Flat | 87.74 | 0.7767 | 0.6492 |
| ETAMem | 92.59 | 0.9200 | 0.8031 |

Figure 3: Distribution of routing weights across Experience, Emotion, and Opinion questions in CloneMem.
4.4 Further Analysis
We further investigate ETAMem through affect analysis, hyperparameter sensitivity, and a case study. Additional analyses in Appendix C include human evaluation of affect classification, memory visualizations, routing weight distributions, and error analysis.
4.4.1 Affect Analysis. Since LoCoMo and LongMemEval-S do not provide explicit annotations for affect-related question categories, we further evaluate ETAMem on CloneMem [9], which includes three categories of personal memory questions: Experience, Emotion, and Opinion. Detailed settings are provided in Appendix B.
As shown in Table 8, ETAMem outperforms all baselines across three metrics, achieving choice accuracy, 0.9200 memory helpfulness, and 0.8031 recall, with improvements of 4.85 percentage points, , and , respectively. These results demonstrate its effectiveness in retrieving relevant and useful memories.
To examine the contributions of different memory views, we analyze routing weights across three question categories. As shown in Figure 3, the Affect view receives a slightly higher median weight for Emotion questions, indicating its relevance to emotional information. Experience questions favor the Event view, reflecting their reliance on episodic memories. For Opinion questions, Event and Time receive higher weights, highlighting the importance of factual and temporal context. These results demonstrate the complementary roles of different memory views.
4.4.2 Hyperparameter Sensitivity. We analyze the sensitivity of ETAMem to four hyperparameters: routing temperature , retrieval budget , beam width , and lexical coefficient . All experiments in this section are conducted with Qwen3-30B as the backbone.
As shown in Figure 4, the best performance is achieved with , , and , indicating that a concentrated routing distribution, sufficient retrieval coverage, and moderate hierarchical exploration are beneficial. For , incorporating lexical matching consistently improves performance.

Figure 4: Hyperparameter sensitivity on LoCoMo.
Table 9: A case study of a knowledge-updating question in LongMemEval-S.
| Question | What brand of BBQ sauce am I currently obsessed with? |
|---|---|
| View Routing | Event: weight 0.284; Affect: weight 0.452; Time: weight 0.264 |
| Event Tree | BBQ cooking activities → brisket, ribs, pulled pork, and sauce recommendations → general BBQ sauce alternatives, including Sweet Baby Ray's BBQ sauce |
| Affect Tree | food preferences and enthusiasm → favorite and currently preferred BBQ sauces → the user is currently obsessed with Kansas City Masterpiece BBQ sauce |
| Time Tree | WEEK_2023-26 → DAY_2023-06-30 → BBQ cooking and sauce-preference session |
| Answer | The user is obsessed with Kansas City Masterpiece BBQ sauce. |
4.4.3 Case Study. To analyze how different memory views contribute to retrieval, we present a representative knowledge-update case from LongMemEval in Table 9. For this query, ETAMem assigns the highest routing weight to the Affect view, as the answer depends on the user's preference rather than merely factual events. The Event view retrieves related BBQ cooking experiences and sauce-related information, while the Affect view captures the user's current preference for a specific BBQ sauce. The Time view further helps locate the relevant memory update over time. By integrating complementary evidence from different views, ETAMem accurately identifies the user's current preference.
5 Conclusion
In this paper, we proposed ETAMem, a multi-view memory framework that decouples heterogeneous conversational information and aligns memory representations and organization with its distinct characteristics. ETAMem integrates heterogeneous information parsing, view-specific memory structuring, and entropy-guided retrieval, supported by dynamic maintenance and adaptive calibration. Experiments on two long-term memory benchmarks demonstrate relative improvements of and over the strongest baselines, respectively, with strong multi-hop performance and competitive token efficiency. Further analysis highlights the complementary benefits of different memory views and the effectiveness of adaptive routing. Despite these improvements, our affective representations rely on sentiment polarity, which may fail to identify neutral expressions of preferences or attitudes as affective information. Future work will incorporate explicit affective relevance classification to address this limitation.
References
[1] Francesco Barbieri, Jose Camacho-Collados, Luis Espinosa Anke, and Leonardo Neves. 2020. TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classification. In Findings of the Association for Computational Linguistics: EMNLP 2020, Trevor Cohn, Yulan He, and Yang Liu (Eds.). Association for Computational Linguistics, Online, 1644–1650. doi:10.18653/v1/2020.findings-emnlp.148
[2] Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, and Deshraj Yadav. 2025. Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory. arXiv:2504.19413 [cs.CL] https://arxiv.org/abs/2504.19413
[3] Dorottya Demszky, Dana Movshovitz-Attias, Jeongwoo Ko, Alan Cowen, Gaurav Nemade, and Sujith Ravi. 2020. GoEmotions: A Dataset of Fine-Grained Emotions. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Dan Jurafsky, Joyce Chai, Natalie Schluter, and Joel Tetreault (Eds.). Association for Computational Linguistics, Online, 4040–4054. doi:10.18653/v1/2020.acl-main.372
[4] Yang Deng, Lizi Liao, Wenqiang Lei, Grace Hui Yang, Wai Lam, and Tat-Seng Chua. 2025. Proactive Conversational AI: A Comprehensive Survey of Advancements and Opportunities. ACM Trans. Inf. Syst. 43, 3, Article 67 (March 2025), 45 pages. doi:10.1145/3715097
[5] Yiming Du, Wenyu Huang, Danna Zheng, Zhaowei Wang, Sebastien Montella, Mirella Lapata, Kam-Fai Wong, and Jeff Z. Pan. 2025. Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topics. arXiv:2505.00675 [cs.CL] https://arxiv.org/abs/2505.00675
[6] Jizhan Fang, Xinle Deng, Haoming Xu, Ziyan Jiang, Yuqi Tang, Ziwen Xu, Shumin Deng, Yunzhi Yao, Mengru Wang, Shuofei Qiao, Huajun Chen, and Ningyu Zhang. 2026. LightMem: Lightweight and Efficient Memory-Augmented Generation. arXiv:2510.18866 [cs.CL] https://arxiv.org/abs/2510.18866
[7] Chiyuan Fu, Lyuhao Chen, Yunze Xiao, Weihao Xuan, Carlos Busso, and Mona T. Diab. 2026. Sentipolis: Emotion-Aware Agents for Social Simulations. In Findings of the Association for Computational Linguistics: ACL 2026, Maria Liakata, Viviane P. Moreira, Jiajun Zhang, and David Jurgens (Eds.). Association for Computational Linguistics, San Diego, California, United States, 7465–7494. doi:10.18653/v1/2026.findings-acl.368
[8] Xing Fu, Yulin Hu, Mengtong Ji, Haozhen Li, Yixin Sun, Weixiang Zhao, Yanyan Zhao, and Bing Qin. 2026. ENPMR-Bench: Benchmarking Proactive Memory Retrieval for Emotional Support Agents. In Findings of the Association for Computational Linguistics: ACL 2026, Maria Liakata, Viviane P. Moreira, Jiajun Zhang, and David Jurgens (Eds.). Association for Computational Linguistics, San Diego, California, United States, 41910–41933. doi:10.18653/v1/2026.findings-acl.2080
[9] Sen Hu, Zhiyu Zhang, Yuxiang Wei, Xueran Han, Zhenheng Tang, Ronghao Chen, and Huacan Wang. 2026. CloneMem: Benchmarking Long-Term Memory for AI Clones. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Maria Liakata, Viviane P. Moreira, Jiajun Zhang, and David Jurgens (Eds.). Association for Computational Linguistics, San Diego, California, United States, 33571–33602. doi:10.18653/v1/2026.acl-long.1549
[10] Zhanghao Hu, Qinglin Zhu, Runcong Zhao, Di Liang, Hanqi Yan, Yulan He, and Lin Gui. 2026. Beyond RAG for Agent Memory: Retrieval by Decoupling and Aggregation. arXiv:2602.02007 [cs.CL] https://arxiv.org/abs/2602.02007
[11] Le Huang, Hengzhi Lan, Zijun Sun, Chuan Shi, and Ting Bai. 2024. Emotional RAG: Enhancing Role-Playing Agents through Emotional Retrieval. arXiv:2410.23041 [cs.AI] https://arxiv.org/abs/2410.23041
[12] Dongming Jiang, Yi Li, Guanpeng Li, and Bingzhe Li. 2026. MAGMA: A Multi-Graph based Agentic Memory Architecture for AI Agents. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Maria Liakata, Viviane P. Moreira, Jiajun Zhang, and David Jurgens (Eds.). Association for Computational Linguistics, San Diego, California, United States, 36848–36865. doi:10.18653/v1/2026.acl-long.1709
[13] Jiazheng Kang, Mingming Ji, Zhe Zhao, and Ting Bai. 2025. Memory OS of AI Agent. arXiv:2506.06326 [cs.AI] https://arxiv.org/abs/2506.06326
[14] Kai Li, Xuanqing Yu, Ziyi Ni, Yi Zeng, Yao Xu, Zheqing Zhang, Xin Li, Jitao Sang, Xiaogang Duan, Xuelei Wang, Chengbao Liu, and Jie Tan. 2026. TiMem: Temporal-Hierarchical Memory Consolidation for Long-Horizon Conversational Agents. In Findings of the Association for Computational Linguistics: ACL 2026, Maria Liakata, Viviane P. Moreira, Jiajun Zhang, and David Jurgens (Eds.). Association for Computational Linguistics, San Diego, California, United States, 21700–21720. doi:10.18653/v1/2026.findings-acl.1091
[15] Zhiyu Li, Shichao Song, Hanyu Wang, Simin Niu, Ding Chen, Jiawei Yang, Chenyang Xi, Huayi Lai, Jihao Zhao, Yezhaohui Wang, Junpeng Ren, Zehao Lin, Jiahao Huo, Tianyi Chen, Kai Chen, Kehang Li, Zhiqiang Yin, Qingchen Yu, Bo Tang, Hongkang Yang, Zhi-Qin John Xu, and Feiyu Xiong. 2025. MemOS: An Operating System for Memory-Augmented Generation (MAG) in Large Language Models. arXiv:2505.22101 [cs.CL] https://arxiv.org/abs/2505.22101
[16] Adyasha Maharana, Dong-Ho Lee, Sergey Tulyakov, Mohit Bansal, Francesco Barbieri, and Yuwei Fang. 2024. Evaluating Very Long-Term Conversational Memory of LLM Agents. arXiv:2402.17753 [cs.CL] https://arxiv.org/abs/2402.17753
[17] James Mcgaugh. 2004. THE AMYGDALA MODULATES THE CONSOLIDATION OF MEMORIES OF EMOTIONALLY AROUSING EXPERIENCES. Annual Review of Neuroscience 27 (07 2004), 1–28. doi:10.1146/annurev.neuro.27.070203.144157
[18] Nobuyuki Otsu. 1979. A threshold selection method from gray-level histograms. IEEE transactions on systems, man, and cybernetics 9, 1 (1979), 62–66.
[19] Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G. Patil, Ion Stoica, and Joseph E. Gonzalez. 2024. MemGPT: Towards LLMs as Operating Systems. arXiv:2310.08560 [cs.AI] https://arxiv.org/abs/2310.08560
[20] Zhuoshi Pan, Qianhui Wu, Huiqiang Jiang, Xufang Luo, Hao Cheng, Dongsheng Li, Yuqing Yang, Chin-Yew Lin, H. Vicky Zhao, Lili Qiu, and Jianfeng Gao. 2025. On Memory Construction and Retrieval for Personalized Conversational Agents. arXiv:2502.05589 [cs.CL] https://arxiv.org/abs/2502.05589
[21] Elizabeth A Phelps. 2004. Human emotion and memory: interactions of the amygdala and hippocampal complex. Current Opinion in Neurobiology 14, 2 (2004), 198–202. doi:10.1016/j.comb.2004.03.015
[22] Preston Rasmussen, Pavlo Paliychuk, Travis Beauvais, Jack Ryan, and Daniel Chalef. 2025. Zep: A Temporal Knowledge Graph Architecture for Agent Memory. arXiv:2501.13956 [cs.CL] https://arxiv.org/abs/2501.13956
[23] S. W. Roberts. 1959. Control Chart Tests Based on Geometric Moving Averages. Technometrics 1, 3 (1959), 239–250. doi:10.1080/00401706.1959.10489860
[24] Stephen Robertson and Hugo Zaragoza. 2009. The Probabilistic Relevance Framework: BM25 and Beyond. Found. Trends Inf. Retr. 3, 4 (April 2009), 333–389. doi:10.1561/1500000019
[25] Haoran Sun, Zekun Zhang, and Shaoning Zeng. 2026. Preference-Aware Memory Update for Long-Term LLM Agents. In Findings of the Association for Computational Linguistics: ACL 2026, Maria Liakata, Viviane P. Moreira, Jiajun Zhang, and David Jurgens (Eds.). Association for Computational Linguistics, San Diego, California, United States, 783–793. doi:10.18653/v1/2026.findings-acl.38
[26] Laurens van der Maaten and Geoffrey Hinton. 2008. Visualizing Data using t-SNE. Journal of Machine Learning Research 9, 86 (2008), 2579–2605.
[27] Xu Wang, Bo Wang, Yang Xiang, Yihong Tang, Dongming Zhao, Yuzifei, and Yuexian Hou. 2026. REG: Retrieval via Emotion Similarity for Guiding Empathetic Dialogue Generation. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), Maria Liakata, Viviane P. Moreira, Jiajun Zhang, and David Jurgens (Eds.). Association for Computational Linguistics, San Diego, California, United States, 18872–18883. doi:10.18653/v1/2026.acl-long.860
[28] Yi Wen, Derong Xu, Pengyue Jia, Yichao Wang, Yingyi Zhang, Maolin Wang, Junyi Li, Wenlin Zhang, Xiaopeng Li, Yong Liu, and Xiangyu Zhao. 2026. Memory Type Varies: Empowering LLM Agents for Long-Term Memory with Diverse Strategies. arXiv:2610.11573 [cs.AI] https://arxiv.org/abs/2610.11573
[29] Di Wu, Hongwei Wang, Wenhao Yu, Yuwei Zhang, Kai-Wei Chang, and Dong Yu. 2025. LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory. arXiv:2410.10813 [cs.CL] https://arxiv.org/abs/2410.10813
[30] Derong Xu, Yi Wen, Pengyue Jia, Yingyi Zhang, Wenlin Zhang, Yichao Wang, Huifeng Guo, Ruiming Tang, Xiangyu Zhao, Enhong Chen, and Tong Xu. 2026. From Single to Multi-Granularity: Toward Long-Term Memory Association and Selection of Conversational Agents. In The Fourteenth International Conference on Learning Representations. https://openreview.net/forum?id=i2yIvZARnG
[31] Wujiang Xu, Zujie Liang, Kai Mei, Hang Gao, Juntao Tan, and Yongfeng Zhang. 2025. A-MEM: Agentic Memory for LLM Agents. arXiv:2502.12110 [cs.CL] https://arxiv.org/abs/2502.12110
[32] Jiawei Yu, Yixiang Fang, Xilin Liu, and Yuchi Ma. 2026. H-Mem: A Novel Memory Mechanism for Evolving and Retrieving Agent Memory via a Hybrid Structure. arXiv:2605.15701 [cs.CL] https://arxiv.org/abs/2605.15701
[33] Shuo Yu, Mingyue Cheng, Daoyu Wang, Qi Liu, Zirui Liu, Ze Guo, and Xiaoyu Tao. 2026. MemWeaver: A Hierarchical Memory from Textual Interactive Behaviors for Personalized Generation. In Proceedings of the ACM Web Conference 2026 (Dubai, United Arab Emirates) (WWW '26). Association for Computing Machinery, New York, NY, USA, 6920–6931. doi:10.1145/3774904.3792732
[34] Wanjun Zhong, Lianghong Guo, Qiqi Gao, He Ye, and Yanlin Wang. 2023. MemoryBank: Enhancing Large Language Models with Long-Term Memory. arXiv:2305.10250 [cs.CL] https://arxiv.org/abs/2305.10250
[35] Yijie Zhong, Yunfan Gao, and Haofen Wang. 2026. HingeMem: Boundary Guided Long-Term Memory with Query Adaptive Retrieval for Scalable Dialogues. In Proceedings of the ACM Web Conference 2026 (Dubai, United Arab Emirates) (WWW '26). Association for Computing Machinery, New York, NY, USA, 3576–3587. doi:10.1145/3774904.3792089
A Complexity Analysis
Let denote the number of AMUs, the maximum tree depth, the number of leaf nodes, the maximum number of children of any internal node, the number of root nodes per view, the number of nodes (leaf and internal)
Qian et al.
in the Event and Affect views, and D the embedding dimension. We count LLM calls and dominant similarity and clustering operations, assuming cached centroids and summary embeddings.
LLM Calls. AMU extraction requires one LLM call per turn, whereas leaf summaries are built directly from AMU texts without LLM calls. Each insertion, split, or merge increments the pending-change counters of the affected nodes and at most H ancestors, and a summary is regenerated once its counter reaches . Let J count initial internal-node summary generations and U the total number of counter increments, where insertions contribute . Thus, memory construction requires LLM calls.
Memory Management. For the Event and Affect views, beam-search insertion costs per AMU, i.e., in total. Time-view insertion follows temporal indexing with total cost. At the end of each session, ETAMem checks for potential Split and Merge operations in the Event and Affect views. For a leaf with m AMUs, the cohesion check costs , and if a split is triggered, cosine K-means adds for k clusters and I iterations; here m is the leaf size before splitting and may exceed . For Merge, computing pairwise centroid similarities among the N nodes costs per maintenance step in the worst case.
Retrieval. View routing computes similarities over all leaf summaries with cost. Beam search costs per view. Since the number of views is a constant (three), this factor is omitted, and the retrieval complexity is , excluding BM25 scoring, encoder inference, and LLM computation.
B Experimental Setup
B.1 Dataset Details
LoCoMo. LoCoMo [16] evaluates long-term conversational memory through multi-session dialogues with temporal information. We use the full benchmark containing 10 conversation groups and 1,540 questions, covering single-hop retrieval, multi-hop reasoning, open-domain queries, and temporal reasoning.
LongMemEval-S. LongMemEval-S [29] evaluates memory systems under long-term interactions. It contains 500 conversations and 500 questions, covering knowledge updates, multi-session reasoning, single-session interactions, temporal reasoning, and selective response generation.
CloneMem. CloneMem [9] is a long-term personal memory benchmark constructed from non-conversational digital traces, including diaries, social media posts, and emails spanning one to three years. CloneMem evaluates memory capabilities across three dimensions: Experience, Emotion, and Opinion.
B.2 Evaluation Protocol
Implementation Details. Following TiMem [14], we adopt the same experimental settings for fair comparison. Baseline results in Tables 2 and 3 are taken from TiMem [14], except for LightMem and MAGMA, which we evaluate under the same settings. Following the CloneMemBench evaluation protocol, we set the retrieval budget to K = 5 and use GPT-4o-mini as the backbone LLM and text-embedding-3-small as the embedding model. We compare ETAMem against A-MEM [31], Mem0 [2], and Flat Retrieval, with results taken from CloneMem [9].

Figure 5: Visualization of the memory structure on LoCoMo.
Evaluation Metrics. We adopt three evaluation metrics from CloneMem: Choice Accuracy, Memory Helpfulness, and Memory Recall. Choice Accuracy measures the percentage of correctly answered multiple-choice questions. Memory Helpfulness evaluates the usefulness of retrieved evidence for answering questions, while Memory Recall measures the semantic coverage of ground-truth memory information. The latter two metrics are reported on a normalized scale from 0 to 1.
C Additional Analysis
C.1 Human Evaluation of Affect Classification
To assess affect identification reliability, we sampled 400 Atomic Memory Units (AMUs) from LoCoMo and LongMemEval-S. Two university annotators voluntarily and anonymously labeled each AMU as affective or non-affective, independently following shared guidelines. Cohen's kappa was 0.651, and disagreements were resolved through discussion to obtain gold-standard labels. The guidelines are provided in Table 11.
LLM-based Affect Classification. For comparison, we employ GPT-4o-mini to identify affective information using the prompt shown in Table 12. The model produces a binary response (yes or no), corresponding to affective and non-affective labels, respectively.
Classification Performance. Table 13 compares RoBERTa-Sentiment with GPT-4o-mini on the human-annotated benchmark. RoBERTa-Sentiment achieves an F1 score of 80.53%, surpassing GPT-4o-mini at 79.39%. It also achieves higher precision of 80.79%, compared with 73.60% for GPT-4o-mini, although its recall is lower at 80.26% versus 86.18%. These results demonstrate that a lightweight classifier provides competitive affect identification without additional LLM inference during memory construction.
C.2 Memory Visualization
C.2.1 Memory Structure Visualization. To illustrate the structural differences among the three memory views, we visualize Event, Affect, and Time views from LoCoMo. As shown in Figure 5, the three views organize the conversational memory with distinct hierarchical structures. The Event and Affect views form tree-structured semantic organizations with different branching patterns, while the Time view exhibits a shallow forest structure with multiple roots.
C.2.2 Representation Visualization. We visualize representative memory representations from LongMemEval using t-SNE [26]. We exclude the temporal view, as it is organized by temporal hierarchies rather than representation similarity. As shown in Figure 6, the affect view exhibits clear clustering patterns corresponding to different affective polarities, while the event view shows more concentrated distributions among event-related memories. These
Table 10: Representative partial and complete retrieval failures.
| Failure Mode | Question and Outcome | View Routing | Retrieved Path and Evidence Coverage |
|---|---|---|---|
| Partial Retrieval Failure | Dataset: LongMemEvalQuestion: How many different types of citrus fruits have I used in my cocktail recipes?Gold: 3Prediction: 2 (orange and lemon) | Event: 0.333Affect: 0.147Time: 0.519 | Event view: culinary experiences → cocktail recipesTime view: WEEK_2023-W21 → DAY_2023-05-21 → orange-bitters sessionCoverage: the orange- and lemon-related evidence is retained, but the May 25 Daiquiri memory containing fresh lime juice is omitted; recall = 0.75. |
| Retrieval Miss | Dataset: LoCoMoQuestion: What book did Caroline recommend to Melanie?Gold: Becoming NicolePrediction: The specific book is not mentioned | Event: 0.613Affect: 0.147Time: 0.239 | Event view: personal growth and art → pottery and creative activitiesAffect view: support and encouragement → self-acceptanceTime view: July 2023 sessionsCoverage: the recommendation turn containing Becoming Nicole is absent after both dialogue fallback; recall = 0. |

Figure 6: T-SNE visualization of LongMemEval memory representations under raw conversation, event, and affect view.
Table 11: Annotation guidelines for affect classification.
Given a memory unit, determine whether it contains affective information based solely on its explicitly expressed meaning.
Affective (1): The memory unit expresses emotions, psychological feelings, personal preferences, likes or dislikes, or sentiment-bearing subjective evaluations and attitudes.
Non-Affective (0): The memory unit describes neutral events, factual information, objective attributes, general plans, task-oriented intentions, or information requests without explicit affective content.
Guidelines: Judge only the information expressed in the memory unit. Do not infer emotions from surrounding dialogue or the potential implications of an event. Distinguish emotional expectations from general plans, and subjective evaluations from objective descriptions.
Output: Assign exactly one binary label (0 or 1) to each memory unit.
Table 12: Prompt for GPT-4o-mini-based affect classification.
Determine whether the atomic fact expresses a person's subjective affect, such as emotion, attitude, preference, like/dislike, desire, or evaluation.
Answer "yes" if it contains subjective affective information.
Answer "no" if it is only an objective or factual statement.
Do not infer emotions that are not explicitly stated.
Return only: yes or no
Table 13: Affect classification performance.
| Method | Precision | Recall | F1 |
|---|---|---|---|
| GPT-4o-mini | 73.60 | 86.18 | 79.39 |
| RoBERTa-Sentiment | 80.79 | 80.26 | 80.53 |
patterns suggest that ETAMem decouples heterogeneous memory signals that are originally mixed in dialogue representations, leading to more coherent clustering within each memory view.
C.3 Error Analysis
Table 14: Error distribution (%) by evidence retrieval status.
| Dataset | Question Type | Retrieved | Unretrieved | Partially Retrieved | |||
|---|---|---|---|---|---|---|---|
| Correct | Incorrect | Correct | Incorrect | Correct | Incorrect | ||
| LongMemEval | KU | 87.2 | 12.8 | 0.0 | 0.0 | 0.0 | 0.0 |
| MS | 78.9 | 17.3 | 0.0 | 0.0 | 0.0 | 3.8 | |
| SSA | 91.1 | 7.1 | 1.8 | 0.0 | 0.0 | 0.0 | |
| SSP | 76.7 | 20.0 | 0.0 | 3.3 | 0.0 | 0.0 | |
| SSU | 95.7 | 4.3 | 0.0 | 0.0 | 0.0 | 0.0 | |
| TR | 69.2 | 21.1 | 0.0 | 0.0 | 6.0 | 3.8 | |
| Overall | 81.2 | 14.8 | 0.2 | 0.2 | 1.6 | 2.0 | |
| LoCoMo | Single Hop | 79.17 | 4.83 | 7.8 | 6.3 | 1.5 | 0.4 |
| Temporal | 73.26 | 10.24 | 3.1 | 7.5 | 3.7 | 2.2 | |
| Open Domain | 34.41 | 7.29 | 28.1 | 9.4 | 17.7 | 3.1 | |
| Multi Hop | 29.04 | 4.66 | 4.6 | 7.8 | 46.5 | 7.4 | |
| Overall | 65.97 | 6.08 | 7.50 | 7.02 | 11.21 | 2.23 | |
C.3.1 Representative Error Cases. Table 10 illustrates two representative retrieval failures. Partial Retrieval. In this case, ETAMem retrieves most relevant evidence but misses the May 25 dialogue containing the third fruit, leading to an incorrect count. Retrieval Miss. In this case, the retrieved memories contain related discussions but omit the target recommendation, Becoming Nicole. Fallback retrieval also fails to recover the missing evidence.
C.3.2 Error Distribution. We further categorize predictions by evidence retrieval status, as shown in Table 14. On LongMemEval-S, 14.8% of all questions involve incorrect answers despite successful evidence retrieval, suggesting limitations in evidence aggregation
Qian et al.
and reasoning. In contrast, 60.4% of LoCoMo errors involve missing or incomplete evidence, indicating that retrieval coverage remains a major challenge.
D Prompt Templates
Prompt: AMU Extraction (LoCoMo)
Extract atomic facts from the utterance. The speaker is <speaker>.
Rules:
-
One fact per line, separated by \n.
-
Attribute opinions and general statements to the speaker (e.g. "believes", "thinks").
-
Every fact MUST begin with a subject.
-
Third person only; replace all pronouns with actual names.
-
Include the cause or context of states when inferable.
-
Ignore chit-chat and filler.
Input: <utterance>
Output:
Prompt: AMU Extraction (LongMemEval-S)
If the utterance is primarily a task, puzzle, riddle, or Q&A about a hypothetical problem (including its solution), output ONE summary line: "<speaker> discussed [topic]."
Otherwise extract personal atomic facts about <speaker>:
-
One fact per line.
-
Third person; replace all pronouns with actual names.
-
Every fact must begin with a subject.
-
Attribute opinions/beliefs to the speaker (e.g. "<speaker> thinks/believes ...").
-
Include cause or context when inferable.
-
Skip chit-chat and filler.
Input: <utterance>
Output:
Prompt: Memory Summarization
Summarize the following contents. Requirements: no more than 256 words, directly provide the summary.
-
<content_1>
-
<content_2>
...
N. <content_N>
Summary:
Prompt: Answer Generation (LoCoMo)
You are an intelligent memory assistant tasked with retrieving accurate information from conversation memories.
CONTEXT
You have access to retrieved atomic facts from the conversation. These facts may be relevant to answering the question.
INSTRUCTIONS
-
Carefully analyze all provided atomic facts.
-
Pay special attention to the timestamps to determine the answer.
-
If the question asks about a specific event or fact, look for direct evidence in the atomic facts.
-
If the atomic facts contain contradictory information, prioritize the most recent one.
-
If the question involves relative time references, such as 'last year', 'two months ago', or 'next month', calculate the actual date based on the memory timestamp. For example, if a memory from 4 May 2022 mentions 'went to India last year', then the trip occurred in 2021.
-
Always convert relative time references to specific dates, months, or years. For example, convert 'last year' to '2022' or 'two months ago' to 'March 2023' based on the memory timestamp. Do not answer temporal questions with timestamp formats such as '2023-05-08'. Answer naturally, such as '7 May 2023' or 'the week before 6 July 2023'.
-
Focus only on the content of the memories from both speakers. Do not confuse character names mentioned in memories with the actual users who created those memories.
-
The answer should be less than 5-8 words.
Relevant Atomic Facts: <retrieved atomic facts>
Question: <question>
Answer:
Prompt: Answer Generation (LongMemEval-S)
Please answer the question based on the relevant information.
Relevant Atomic Facts: <retrieved atomic facts>
If the answer cannot be inferred from the provided context, output: no information.
Current Date: <question date>
Question: <question> Answer:
Prompt: Answer Evaluation
Your task is to label an answer to a question as 'CORRECT' or 'WRONG'.
You will be given:
-
A question
-
A gold answer
-
A generated answer
If the generated answer expresses the same meaning/topic, mark CORRECT.
Question: <question>
Gold answer: <gold answer>
Generated answer: <generated answer>
Return JSON only:
{"label": "CORRECT"}
or
{"label": "WRONG"}
Received 20 February 2007; revised 12 March 2009; accepted 5 June 2009