WorksComputer Science
ContextFact: Remembering Facts in Context for Long-Term Conversational Agents
Abstract
Agents built on large language models must maintain continuity across repeated interactions with users. However, long-term conversations scatter facts across turns and sessions, making it difficult to retrieve the right evidence with enough context. Memory for such conversations must therefore preserve facts with their context while keeping evidence selectively accessible. We first study how memory construction and retrieval-unit boundaries affect answerability and evidence access. Reading the entire memory bank reveals gaps that cannot be resolved by retrieval selection alone, showing that some context must be preserved during memory construction. Adjacent-turn grouping improves evidence access at matched unique-turn budgets, while wider windows do not consistently help. This motivates keeping fact-specific context local while organizing cross-session evidence separately. We propose ContextFact, which links context-preserving fact memories with source-grounded entity representations. Within sessions, it gathers the context needed to interpret each fact. Across sessions, it aligns recurring referents and revisits the source dialogue to reconstruct coherent entity representations linked to the supporting facts. At query time, ContextFact retrieves fact and entity views, reranks them independently, and uses entity-linked expansion to surface related facts; complete entity representations then provide organized cross-session evidence. With Qwen3.5-27B as the backbone, ContextFact achieves state-of-the-art performance while using only of the evidence tokens consumed by the strongest evaluated baseline, obtaining overall judge accuracy on LoCoMo and on LongMemEval-S. Controlled ablations support context-preserving fact boundaries and source-grounded entity reconstruction, while entity readout improves multi-hop accuracy beyond adding more facts.
Introduction
Large language models are increasingly deployed as personal agents that interact with the same users across many conversations. Such agents must preserve user context over time without requiring users to repeatedly restate their preferences, experiences, decisions, and plans [14, 31, 16] (Wu et al. 2025). The evidence needed for a response often spans multiple turns and sessions: a plan may be introduced in one conversation, qualified or revised in another, and referred to again later. Simply retaining the entire history is not sufficient, because models can struggle to locate and use relevant information in long contexts [12]. Long-term memory must therefore preserve the meaning of past interactions while exposing a compact, relevant set of evidence when needed.
Existing systems construct memories through fact extraction [1], topical segmentation [17], or contextualized events [32], and organize them through linked representations [24, 22]. Yet a central question remains: what information should stay together in a memory, and how should related evidence remain selectively accessible? We investigate this question on LoCoMo [14] with two controlled diagnostics. First, even when the model reads each system’s complete memory bank without retrieval, several banks underperform the raw dialogue, so retrieval alone cannot explain the gap. Yet reading the entire dialogue is not ideal either: an oracle that reads only the sessions containing annotated evidence improves multi-hop and temporal accuracy. Second, under a fixed turn budget, grouping adjacent turns improves single-hop evidence access, but wider windows bring no consistent further gain. Together, these findings motivate a design principle: memory units should preserve the context needed to interpret each fact, while keeping distinct facts independently retrievable and evidence across sessions selectively accessible.
Guided by this principle, we propose ContextFact, which preserves the context of each fact and connects related facts across sessions through the entities they describe. Within each session, ContextFact builds one memory around each fact, gathering the context needed to interpret it, such as its reasons or outcome, even when that context appears in nonadjacent turns. Further, to bring together information about the same entity (e.g., a person, project, or object) scattered across sessions, ContextFact constructs an entity view. During fact extraction, it also creates session-level entity entries, each linked to the fact memories that describe that entity. It aligns these entries across sessions and revisits the source turns of the linked facts to verify identities, resolve grouping errors, and recover details missing from the extracted facts. The resulting source-grounded entity representations organize information across sessions while retaining links to the associated fact memories. At query time, the full configuration, ContextFact-E, retrieves both fact memories and entities and follows these links once: retrieved facts activate their entities, and the retrieved and activated entities surface related facts that retrieval alone would miss. The entity view thus serves two roles: its links recover facts beyond direct retrieval, and its representations give the answering model organized evidence about each entity across sessions.
We evaluate ContextFact on LoCoMo and LongMemEval-S. With Qwen3.5-27B, ContextFact-E achieves 86.49% overall judge accuracy on LoCoMo (Figure 1) and 91.00% on LongMemEval-S. It exceeds Memora (P; [24]), the strongest evaluated baseline, by 2.20 and 1.80 percentage points, respectively, while using approximately 79% fewer evidence tokens on both benchmarks. The fact-only variant, ContextFact-F, also performs strongly with substantially shorter evidence inputs. Controlled comparisons on LoCoMo show that complete fact memories outperform sentence splits and atomic facts derived from the same bank in overall accuracy under the same evidence budgets. Construction ablations support rule-guided temporal annotation and source-grounded entity reconstruction, while readout ablations show that complete entity representations improve multi-hop accuracy. Our contributions are fourfold:
Figure 1. Accuracy versus evidence tokens on LoCoMo with Qwen3.5-27B.
We establish a new design principle for conversational memory: preserve the context needed to interpret each fact while keeping distinct evidence independently retrievable and selectively connectable across sessions (Sec. 3).
We propose ContextFact, which gathers the necessary interpretive context across nonadjacent turns while keeping distinct facts independently retrievable (§ 4.1).
We introduce source-grounded entity representations that consolidate scattered evidence about recurring referents across sessions, enabling both entity-linked fact discovery and direct entity-level evidence readout (§ 4.1 and § 4.2).
ContextFact achieves state-of-the-art performance on both benchmarks with approximately 21% of the strongest baseline’s evidence tokens, supported by controlled ablations (§ 5).
Related Work
Recent conversational-memory systems increasingly move beyond flat summaries or isolated facts. EMem constructs self-contained event-centric units with normalized entities, time, and source provenance ([32]), while SimpleMem compresses and consolidates interactions into compact semantic memories ([11]). AtomMem organizes atomic facts into event struc-
tures and temporal profiles Yao et al., [27]. Memora connects concrete memories through primary abstractions and cue anchors Xia et al., [24]. TriMem combines raw dialogue, atomic facts, and synthesized profiles Sun et al., [22]. AnchorMem uses atomic facts as retrieval anchors while preserving associated source contexts Shen et al., [21]. ContextFact combines context-preserving fact retrieval with cross-session entity organization: fact boundaries follow the context needed for interpretation, while source dialogue is revisited to resolve recurring referents and reconstruct entity-centered accounts. The two views support both entity-linked expansion and direct entity readout. See Appx. A for an extended discussion of the broader literature.
Diagnosing Conversational Memory
End-to-end QA performance conflates several factors: what memory construction preserves, which evidence retrieval selects, and how effectively the reader uses the resulting context. To disentangle these effects, we design two controlled diagnostics. First, we eliminate retrieval selection by evaluating complete memory banks directly, comparing them against raw dialogue history and an oracle selection of supporting sessions. Second, we hold the source dialogue and unique-turn budget fixed while varying retrieval-unit boundaries, isolating how contextual grouping affects evidence access. Full diagnostic details and complete results are reported in Appx. E.
Answerability after construction. We first remove retrieval selection by supplying each complete memory bank to the same reader. On LoCoMo with Qwen3.5-27B, all seven evaluated baseline banks fall below Full Context on single-hop questions (Figure 2a), despite large differences in bank length. Thus, retrieval failure alone cannot account for the observed answerability gaps. Full-bank performance does not identify their cause—it reflects both what the constructed representation retains and how effectively the reader can use it. Figure 2b illustrates two ways construction can make an answer harder or impossible to recover: omitting a queried detail, or preserving individual statements while losing the relation needed to interpret them.

Figure 2. Answerability after construction and selective evidence access. (a) Single-hop judge accuracy under full-bank reading on LoCoMo with Qwen3.5-27B. Bank length is normalized by Full Context, and ContextFact is shown for reference. (b) Constructed illustrations of two possible construction failures: omitting a queried factual detail and losing a relation needed for interpretation. (c) Full Context versus Gold-Session, which retains only complete sessions containing annotated supporting evidence from the same history. Annotations report the Gold-Session gain in percentage points. “Multi” refers to multi-hop/multi-session and “Temp” to temporal questions.
Selective access to retained evidence. Complete source dialogue avoids construction-time rewriting, yet making the entire history available does not guarantee effective evidence use. As in Figure 2c, Gold-Session—an oracle reference that retains only complete sessions containing supporting turns from the same history—improves over Full Context on every reported multi-hop/multi-session and temporal setting. The gains range from 4.61 to 17.44 percentage points across the two benchmarks and readers. Since Gold-Session introduces no additional source information, this comparison shows that selectively exposing relevant evidence can be more effective than reading the complete history.
Retrieval-unit boundaries. We next isolate the effect of contextual grouping while holding the underlying dialogue constant. As illustrated in Figure 3a, we index each session as individual turns or overlapping windows, rank these units, and expand and deduplicate their turns to maintain the same unique-turn budget for the reader. Across all budgets, window-based retrieval improves single-hop accuracy over individual turns (Figure 3b) and boosts gold-turn recall (Figure 3c, defined in Eq. (8)). This improvement demonstrates that gains stem from retrieving related evidence jointly rather than simply reading more turns. However, larger windows are not uniformly superior: while a 2-turn window yields the highest gold-turn recall across all budgets, the optimal window width for QA accuracy varies with the allocated budget. Together, these diagnostics motivate the following principle:
Figure 3. How retrieval-unit boundaries affect evidence access. LoCoMo single-hop results using dense retrieval and Qwen3.5-27B. (a) The same dialogue is indexed as individual turns or overlapping windows. Retrieved windows are expanded into turns and deduplicated, ensuring the reader receives the same number of unique turns across settings. (b) Judge accuracy at different retrieval budgets. (c) Gold-turn recall: the proportion of supporting turns included in the reader input.
Design principle. Memory boundaries should follow the dependencies required for interpretation, not a fixed contextual span, while preserving separately retrievable units that can be selectively connected at query time.
Method
Guided by the design principle, we propose ContextFact, a two-view memory framework. The fact view preserves facts together with the context needed to interpret them, while the entity view reconstructs related evidence about recurring referents across sessions. As illustrated in Figure 4, ContextFact first constructs these context-preserving fact memories and source-grounded entity representations (§ 4.1), then uses their links to support selective retrieval and readout (§ 4.2).
Figure 4. Overview of ContextFact. (a) ContextFact first extracts context-preserving fact memories and linked session-level entity entries from each dialogue session, followed by using provenance links to link the resulting fact and entities. At query time, both views are retrieved. A single entity-linked expansion allows retrieved facts to activate linked entities and expose additional related facts. Fact and entity candidates are then reranked separately, and those selected will be supplied to the reader. (b) Entity-view construction in detail. Session-level entity entries are incrementally aligned across sessions into provisional entities, organized into topic-based review groups, and reconstructed by revisiting their linked source dialogue. The resulting entities contain summaries and records linked to their supporting fact memories. See Appx. G for case studies.
Notation and memory objects. Let be a conversation history of sessions, where each is an ordered sequence of conversational turns. ContextFact constructs a fact bank , an entity bank , and a provenance relation linking records in the entity view to fact memories. Each fact memory also retains links to its source turns. Further notation is introduced as needed and summarized in Tab. 5.
Context-Preserving Memory Construction
ContextFact constructs its memory in three main stages: (i) extracting context-preserving fact memories and session-level entity entries, (ii) aligning recurring referents across sessions, and (iii) revisiting source dialogue to reconstruct the entity view. The procedure is formalized in Algo. 1, with construction details in Appx. B (including the LLM instructions in Appx. B.1).
Context-preserving fact extraction. ContextFact organizes each session around focal facts rather than fixed numbers of turns or pre-segmented topic blocks. Here, a focal fact serves as the organizing center that determines which supporting context is grouped with it. It concerns a specific occurrence, state, or intention described in the session, and it need not correspond to a single sentence or atomic proposition. For each focal fact, the extractor gathers the context needed to make it interpretable on its own, such as its circumstances, reasons, progress, or outcome, even when this context appears in nonadjacent turns. Consequently, each focal fact and its context forms a single fact memory, while distinct focal facts remain independently retrievable (Appx. G.1).
Before extraction, deterministic rules annotate supported relative-time expressions with absolute dates or intervals while preserving their original wording and granularity. A single LLM call then reads the complete annotated session and jointly produces its fact memories and session-level entity entries. Each entry identifies a specific referent (such as a person, object, project, event, or place) with a name and a short description, linking it to the fact memories that substantively describe it. In addition, each fact memory retains its source-turn provenance.
Cross-session entity binding. The extraction stage associates each session with entity entries describing referents mentioned and linking them to the corresponding fact memories. Because the same underlying referent may be described differently across sessions, ContextFact incrementally aligns new entries with previously observed ones. Candidate matches are retrieved using dense similarity and BM25 ([20]) over entry names and descriptions, after which a LLM determines whether a new entry refers to an existing entity or introduces a new one. Entries judged to share the same referent are grouped into a provisional entity, providing a first-pass cross-session alignment while preserving the original entries and their fact links.
Source-grounded entity reconstruction. Incremental binding can miss valid matches or incorrectly combine distinct referents. After all sessions have been processed, ContextFact therefore performs a source-grounded reconstruction stage. Provisional entities are first grouped by topic to create local review groups; this grouping determines which candidates are reconsidered together but does not itself merge them. For each group, an LLM returns to the linked source dialogue (i.e., the linked conversational turns with deterministic temporal annotations) to verify referent identities and reconstruct the final entities. It may merge entries referring to the same entity, separate entries referring to distinct referents, and rebuild their summaries and records from source evidence.
Each final entity is represented as , where is its name, is a concise summary, and is a set of records. Each record organizes a coherent aspect, event, state, or development of the entity, consolidating repeated or complementary evidence while keeping distinct occurrences and unresolved conflicts explicit. Let denote the fact memories linked to the source evidence supporting . These links define the provenance relation
Hence, the entity view organizes cross-session evidence without modifying the fact bank, while preserving provenance from reconstructed records to associated fact memories and source dialogue.
Dual-View Retrieval and Readout
At query time, ContextFact proceeds in two stages: dual-view retrieval with a single entity-linked expansion, followed by independent reranking and readout. We describe the two stages below. The complete procedure is formalized in Algo. 2, with further details in Appx. C and illustrative cases in Appxs. G.2 and G.3.
Dual-view retrieval and entity-linked expansion. Given a query , hybrid dense and BM25 retrieval with reciprocal rank fusion (RRF; [2]) independently returns initial fact candidates from and entity candidates from . Fact memories are indexed using their memory text, while entity retrieval uses only their names and summaries . We then expand these candidates through the existing provenance links in . Retrieved facts can activate linked entities, and the resulting entity pool—including both directly retrieved and activated entities—can expose additional facts through their records. This expansion is applied once, allowing direct matches to surface related cross-session evidence without recursive traversal.
Independent reranking and readout. The expanded fact and entity candidates serve complementary roles: fact memories provide focused evidence, whereas entity representations organize related evidence across sessions. We therefore rerank the two pools independently with a cross-encoder and retain the highest-ranked items from each view. Unlike seed retrieval, entity reranking uses the complete representation, including its name, summary, and all records. The selected complete entities are also supplied directly to the reader, following the selected fact memories and preserving reranking order within each view. Thus, the entity view contributes in two ways: its links expose facts beyond direct query matches, while its complete representations provide organized cross-session evidence directly to the reader.
Experiments
We evaluate ContextFact on LoCoMo and LongMemEval-S for QA accuracy and computational efficiency. Our analyses examine fact-memory boundaries, temporal normalization and entity reconstruction during memory building, and entity-linked expansion and entity readout at query time. We further examine transfer across memory representations and construction–reader models, together with the entity view’s behavior on open-domain questions.
Datasets and baselines. We evaluate on LoCoMo ([14]) and LongMemEval-S (Wu et al., 2025). We compare against Full Context and RAG, and ① SeCom ([17]), ② Mem0 ([1]), ③ A-Mem ([25]), ④ MemoryOS ([9]), ⑤ LightMem ([5]), ⑥ AtomMem ([27]), ⑦ SimpleMem ([11]), ⑧ EMem ([32]), ⑨ Nemori ([13]), and ⑩ Memora ([24]).
Models, variants, and evaluation. For the main benchmark comparisons, we report LoCoMo results with GPT-4.1-mini ([15]) and Qwen3.5-27B (Qwen Team, 2025), and LongMemEval-S results with Qwen3.5-27B. ContextFact uses Qwen3-Embedding-8B ([30]) for dense retrieval and MemReranker-4B ([10]) for reranking. We evaluate two variants of our method. ContextFact-F uses only the fact view, omitting entity-linked expansion and entity readout, while ContextFact denotes the full method using both fact and entity views. Unless otherwise stated, both use the retrieval and reranking configuration described in § 4.2. The fixed-budget study uses RRF retrieval alone to isolate the quality of the fact representation. Our primary metric is LLM-judged accuracy (), evaluated by GPT-4o-mini. On LoCoMo, we also report token-set and unigram BLEU (). Evidence length counts only memory text supplied to the reader. Main benchmark comparisons use each method’s native retrieval pipeline, whereas the fixed-budget experiments in § 5.2 impose the same reader-evidence cap. The full settings, including evaluation prompts, appear in Appx. D.
Overall QA Performance and Evidence Efficiency
Table 1 and Table 2 compare the evaluated systems under their native retrieval pipelines. Our method achieves the highest overall judge accuracy on both benchmarks. On LoCoMo, ContextFact-E reaches 87.27% with GPT-4.1-mini and 86.49% with Qwen3.5-27B, exceeding Memora (P), the strongest baseline, by 1.95 and 2.20 percentage points, respectively. On LongMemEval-S, it reaches 91.00%, a 1.80-point improvement. The largest gains from the entity view appear on questions requiring evidence to be connected across memories. With Qwen on LoCoMo, ContextFact-E raises multi-hop accuracy from 76.95% for ContextFact-F to 84.04%, while single-hop accuracy remains 90.49%. On LongMemEval-S, adding the entity view raises overall accuracy from 87.60% to 91.00%, including gains on multi-session and temporal questions. Notably, these improvements are obtained with substantially shorter evidence than Memora (P): ContextFact-E uses an average of 2,907 tokens on LoCoMo and 2,854 on LongMemEval-S, approximately 79% fewer on both benchmarks. ContextFact-F provides a more compact alternative while retaining strong overall accuracy.
| Method | Tokens | Single-hop F1 ↑ | Single-hop B1 ↑ | Single-hop J ↑ | Temporal F1 ↑ | Temporal B1 ↑ | Temporal J ↑ | Multi-hop F1 ↑ | Multi-hop B1 ↑ | Multi-hop J ↑ | Open-domain F1 ↑ | Open-domain B1 ↑ | Open-domain J ↑ | Overall F1 ↑ | Overall B1 ↑ | Overall J ↑ |
| Full Context | 20,441 | 64.36 | 56.73 | 89.77 | 58.98 | 48.29 | 80.06 | 44.46 | 33.38 | 80.14 | 27.29 | 22.00 | 58.33 | 57.28 | 48.53 | 84.03 |
| RAG | 1,945 | 49.64 | 43.45 | 70.04 | 48.74 | 42.43 | 57.32 | 36.09 | 23.03 | 58.51 | 24.14 | 19.65 | 47.92 | 45.38 | 38.01 | 63.90 |
| SeCom | 1,707 | 54.61 | 48.12 | 79.07 | 50.20 | 40.50 | 62.93 | 37.64 | 27.15 | 64.18 | 28.20 | 21.28 | 56.25 | 48.94 | 41.02 | 71.56 |
| Mem0 | 1,408 | 41.70 | 36.63 | 63.85 | 49.24 | 42.24 | 65.11 | 34.64 | 25.17 | 60.64 | 20.96 | 15.33 | 41.67 | 40.68 | 34.37 | 62.14 |
| A-Mem | 1,174 | 54.20 | 48.46 | 75.98 | 46.60 | 38.85 | 70.09 | 31.78 | 22.21 | 54.61 | 17.33 | 14.88 | 37.50 | 46.21 | 39.55 | 68.44 |
| MemoryOS | 4,941 | 51.51 | 45.29 | 79.43 | 46.86 | 35.73 | 55.45 | 35.28 | 27.21 | 70.57 | 28.37 | 24.45 | 64.58 | 46.13 | 38.69 | 71.88 |
| LightMem | 2,484 | 53.74 | 46.83 | 83.95 | 57.14 | 44.54 | 80.69 | 41.28 | 32.86 | 74.47 | 25.54 | 20.32 | 53.12 | 50.41 | 42.14 | 79.61 |
| AtomMem† | 1,959 | 55.57 | 48.59 | 82.76 | 61.13 | 54.49 | 74.14 | 42.45 | 32.95 | 74.82 | 30.23 | 24.08 | 53.12 | 52.75 | 45.43 | 77.66 |
| SimpleMem | 2,016 | 56.96 | 49.87 | 86.80 | 37.73 | 30.12 | 78.19 | 40.06 | 30.43 | 72.34 | 24.64 | 19.46 | 50.00 | 47.84 | 40.29 | 80.06 |
| EMem | 1,660 | 55.47 | 49.31 | 84.78 | 57.04 | 46.69 | 77.57 | 40.52 | 31.94 | 74.47 | 27.95 | 23.44 | 53.12 | 51.35 | 43.97 | 79.42 |
| Nemori | 4,662 | 55.72 | 49.31 | 89.54 | 58.82 | 49.98 | 78.50 | 42.99 | 33.18 | 76.95 | 27.21 | 21.17 | 50.00 | 52.26 | 44.74 | 82.47 |
| Memora (P)* | 12,262 | 60.88 | 53.49 | 90.73 | 62.09 | 49.09 | 83.49 | 43.79 | 34.00 | 80.14 | 26.55 | 21.25 | 59.38 | 55.86 | 46.99 | 85.32 |
| ContextFact-F | 932 | 59.45 | 52.42 | 90.37 | 62.47 | 53.47 | 85.67 | 43.01 | 32.61 | 78.37 | 32.90 | 27.24 | 64.58 | 55.41 | 47.44 | 85.58 |
| ContextFact-E | 4,139 | 59.36 | 51.81 | 91.44 | 64.31 | 55.28 | 89.72 | 45.06 | 35.43 | 81.56 | 29.82 | 24.05 | 59.38 | 55.93 | 47.80 | 87.27 |
| Full Context | 20,441 | 65.67 | 55.22 | 92.15 | 52.07 | 42.69 | 66.36 | 45.18 | 34.26 | 78.72 | 26.27 | 23.63 | 50.00 | 56.63 | 46.80 | 81.69 |
| RAG | 1,945 | 48.72 | 39.61 | 68.73 | 41.50 | 33.07 | 52.34 | 32.87 | 22.20 | 54.96 | 23.17 | 19.52 | 44.79 | 42.72 | 33.81 | 61.30 |
| SeCom | 2,055 | 53.99 | 44.18 | 77.76 | 46.41 | 36.68 | 55.45 | 35.39 | 26.24 | 60.99 | 22.91 | 20.07 | 43.75 | 47.07 | 37.83 | 67.92 |
| Mem0 | 1,265 | 46.22 | 38.79 | 65.99 | 49.58 | 37.79 | 58.57 | 39.19 | 30.14 | 66.67 | 23.49 | 19.43 | 38.54 | 44.22 | 35.79 | 62.86 |
| A-Mem | 1,384 | 46.59 | 41.69 | 64.21 | 35.25 | 29.21 | 49.22 | 30.77 | 22.92 | 53.19 | 17.12 | 13.94 | 36.46 | 39.99 | 33.92 | 57.34 |
| MemoryOS | 4,220 | 52.03 | 46.88 | 71.82 | 38.80 | 28.39 | 44.24 | 35.83 | 28.13 | 64.89 | 23.44 | 19.73 | 43.75 | 44.52 | 37.90 | 63.05 |
| LightMem | 1,830 | 53.48 | 42.48 | 81.81 | 61.04 | 47.29 | 79.44 | 40.59 | 31.58 | 73.40 | 22.44 | 19.84 | 46.88 | 50.76 | 40.07 | 77.60 |
| AtomMem† | 1,901 | 56.03 | 48.73 | 82.16 | 60.65 | 53.59 | 73.52 | 40.70 | 30.77 | 72.70 | 25.36 | 19.84 | 48.96 | 52.27 | 44.65 | 76.56 |
| SimpleMem | 1,529 | 50.42 | 41.16 | 76.69 | 47.01 | 37.76 | 83.49 | 39.54 | 31.78 | 71.63 | 19.27 | 15.97 | 45.83 | 45.78 | 37.16 | 75.26 |
| EMem | 1,449 | 52.65 | 42.12 | 82.40 | 65.62 | 53.92 | 77.26 | 38.81 | 28.94 | 68.48 | 25.93 | 22.22 | 50.00 | 51.15 | 40.92 | 76.75 |
| Nemori | 3,421 | 56.83 | 47.04 | 87.75 | 58.94 | 50.14 | 74.45 | 39.98 | 31.27 | 73.76 | 26.18 | 22.05 | 52.08 | 52.27 | 43.42 | 80.19 |
| Memora (P)* | 14,156 | 61.70 | 51.60 | 90.37 | 64.95 | 52.10 | 81.62 | 44.97 | 35.42 | 80.85 | 25.22 | 21.64 | 50.00 | 57.04 | 46.88 | 84.29 |
| ContextFact-F | 1,153 | 61.71 | 50.27 | 90.49 | 65.54 | 54.53 | 88.47 | 43.00 | 33.80 | 76.95 | 25.51 | 20.80 | 54.17 | 56.83 | 46.30 | 85.32 |
| ContextFact-E | 2,907 | 60.65 | 50.29 | 90.49 | 64.96 | 54.65 | 88.79 | 45.33 | 36.25 | 84.04 | 26.96 | 23.37 | 51.04 | 56.64 | 46.95 | 86.49 |
Table 1. LoCoMo QA under native retrieval pipelines. ContextFact-E and ContextFact-F achieve the best scores in most settings. “Tokens” is the mean reader-evidence length per question. Best/second-best scores within each backbone are bold/underlined; denotes the number of questions. Full Context is excluded from ranking. * Memora uses its higher-performing policy variant (P). † AtomMem uses the authors’ released pre-extracted facts.
| Method | Tokens | Single-User () | Single-Assistant () | Multi-Session () | Temporal () | Knowledge-Update () | Single-Preference () | Overall () |
| Full Context | 103,726 | 94.29 | 98.21 | 75.19 | 77.44 | 91.03 | 70.00 | 83.20 |
| RAG | 1,965 | 77.14 | 92.86 | 24.06 | 28.57 | 60.26 | 73.33 | 49.00 |
| SeCom | 6,537 | 88.57 | 100.00 | 65.41 | 68.42 | 87.18 | 83.33 | 77.80 |
| Mem0 | 1,192 | 94.29 | 14.29 | 78.20 | 82.71 | 91.03 | 83.33 | 76.80 |
| LightMem | 2,896 | 94.29 | 14.29 | 78.95 | 87.97 | 92.31 | 80.00 | 78.40 |
| SimpleMem | 1,231 | 90.00 | 50.00 | 74.44 | 77.44 | 84.62 | 80.00 | 76.60 |
| EMem | 1,168 | 94.29 | 100.00 | 77.44 | 85.71 | 92.31 | 83.33 | 87.20 |
| Nemori | 2,931 | <u>98.57</u> | 80.36 | 74.44 | 73.68 | 83.33 | 96.67 | 81.00 |
| Memora (P) | 13,588 | <u>98.57</u> | <u>98.21</u> | <u>81.20</u> | 84.21 | 94.87 | <u>93.33</u> | <u>89.20</u> |
| ContextFact-F | 974 | 97.14 | 96.43 | 80.45 | 84.21 | 91.03 | 86.67 | 87.60 |
| ContextFact-E | 2,854 | 100.00 | 100.00 | 83.46 | 88.72 | <u>93.59</u> | 90.00 | 91.00 |
Table 2. LongMemEval-S QA with Qwen3.5-27B under native retrieval pipelines. ContextFact-E achieves the best scores in 6 of 8 settings, including overall accuracy. Tokens is the mean reader-evidence length per question. Best/second-best scores are bold/underlined; denotes the number of questions. Full Context is excluded from ranking.
Fact Representation under Fixed Evidence Budgets
To assess the effectiveness of context-preserving fact memories, we conduct two complementary evaluations on LoCoMo with Qwen3.5-27B. We first benchmark ContextFact-F against existing methods, then evaluate complete ContextFacts against sentence-level and atomic decompositions of the same bank. Category-level breakdowns across question types are in Appxs. F.1 and F.2.
Budgeted retrieval. ContextFact-F achieves the highest overall judge accuracy among the compared systems at every plotted budget from 0.5k to 4k tokens (Figure 5a). Notably, ContextFact-F uses RRF retrieval alone, without reranking or entity augmentation, while the competing systems retain their evaluated retrieval pipelines subject to the same reader-evidence cap. The advantage of the fact view therefore appears before introducing the entity mechanisms or final reranker.
Figure 5. Budgeted QA with context-preserving fact memories. Overall judge accuracy on LoCoMo with Qwen3.5-27B under reader-evidence caps of 0.5k, 1k, 2k, and 4k tokens. (a) Comparison with existing memory systems under the same evidence caps. (b) Comparison of complete ContextFacts with verbatim sentence splits and rewritten atomic facts derived from the same bank, using RRF retrieval. Memora (S) uses the semantic retriever.
Memory decomposition. We next derive verbatim sentence splits and rewritten atomic facts from the same ContextFact bank. Under RRF retrieval, complete ContextFacts achieve higher overall judge accuracy than both decomposed alternatives at every tested budget (Figure 5b). They also outperform both alternatives on single-hop questions across the evaluated retrievers. These results support retaining the dependencies needed to interpret a fact within one retrievable unit, rather than assuming that finer decomposition is uniformly beneficial.
Component and Mechanism Analysis
We next isolate three design choices in ContextFact: temporal normalization during memory construction, source-grounded entity reconstruction, and the two query-time roles of the entity view. The first two ablations vary memory construction while holding the downstream pipeline fixed; the third separates entity-linked expansion from direct entity readout. Full category-level results and controlled variants are reported in Appxs. F.3 to F.5. We then examine open-domain behavior and transfer across memory representations.
Temporal normalization. ContextFact resolves supported relative-time expressions with deterministic rules before fact extraction, reducing reliance on joint LLM normalization. We compare rule-guided normalization with joint normalization and no temporal guidance. Rule-guided normalization gives the highest temporal (Figure 6a), improving over joint normalization by 3.74 points with both backbones. Inspection of the generated facts shows that joint normalization can introduce incorrect absolute dates, supporting rule-guided normalization before fact extraction.

Figure 6. Construction ablations on LoCoMo. (a) Temporal judge accuracy for No temporal guidance (P0), Joint normalization (P1), and Rule-guided normalization (P2) in ContextFact-F. (b) Overall judge accuracy using provisional entities, reconstruction from stored ContextFacts, or source-grounded reconstruction. Within each backbone, the variants share the same downstream configuration.
Source-grounded entity reconstruction. We next test whether the entity view should be reconstructed from earlier generated memories or from the underlying dialogue. Starting from the same provisional entity bank, we compare using the provisional entities directly, reconstructing from stored ContextFacts, and reconstructing from source dialogue. Source-grounded reconstruction gives the highest overall (Figure 6b), improving over provisional entities by 1.17 points with both backbones and over ContextFact-based reconstruction by 0.91 and 0.65 points with GPT-4.1-mini and Qwen3.5-27B, respectively. This supports revisiting source evidence when consolidating cross-session information.
Entity-linked expansion and readout. We separate the two query-time roles of the entity view by exposing linked facts and providing organized evidence directly to the reader. Holding the selected facts fixed, complete entity readout improves multi-hop by 5.32 points without fact expansion and 5.67 points with fact expansion (Table 3(a)). The gain is not explained by simply supplying more facts: replacing the entities with twenty additional ContextFacts lowers multi-hop by 2.83 points despite higher linked-turn recall and a longer reader input (Table 3(b)). Entity tools also improve evidence access without entity readout: entity-seeded and fact-seeded expansion raise multi-hop by 2.13 and 0.71 points, respectively (Table 3(c)). Together, these results show that the entity view contributes both through linked evidence access and through organized cross-session readout. However, as shown in Table 1, adding the entity view lowers open-domain accuracy for both backbones. Appx. H analyzes this drop and presents detailed case studies.
| Variant | Input | Tokens | Multi-hop | Recall | Overall | ||
| (a) Disable fact expansion and/or entity readout; vs. Full method | |||||||
| Full method | CF10+E10 | 2,907 | 84.04 | 92.02 | 45.33 | 36.25 | 86.49 |
| w/o fact expansion | CF10+E10 | 2,889 | 82.27 (↓1.77) | 91.43 (↓0.59) | 45.20 (↓0.13) | 36.35 (↑0.10) | 86.04 (↓0.45) |
| w/o entity readout | CF10 | 1,171 | 78.37 (↓5.67) | 86.14 (↓5.88) | 44.19 (↓1.14) | 34.52 (↓1.73) | 85.84 (↓0.65) |
| w/o both | CF10 | 1,153 | 76.95 (↓7.09) | 80.03 (↓11.99) | 43.00 (↓2.33) | 33.80 (↓2.45) | 85.32 (↓1.17) |
| (b) Additional-fact controls; vs. Full method | |||||||
| Replace E10 with 20 CFs | CF30 | 3,501 | 81.21 (↓2.83) | 93.69 (↑1.67) | 44.43 (↓0.90) | 34.81 (↓1.44) | 85.65 (↓0.84) |
| Direct CF retrieval (60→30) | CF30 | 3,433 | 80.14 (↓3.90) | 92.03 (↑0.01) | 44.38 (↓0.95) | 34.31 (↓1.94) | 85.39 (↓1.10) |
| (c) Fact expansion paths without entity readout; vs. w/o both | |||||||
| w/o both (reference) | CF10 | 1,153 | 76.95 | 80.03 | 43.00 | 33.80 | 85.32 |
| Fact-seeded expansion | CF10 | 1,168 | 77.66 (↑0.71) | 84.18 (↑4.15) | 43.42 (↑0.42) | 34.08 (↑0.28) | 85.39 (↑0.07) |
| Entity-seeded expansion | CF10 | 1,170 | 79.08 (↑2.13) | 85.60 (↑5.57) | 44.12 (↑1.12) | 34.59 (↑0.79) | 86.17 (↑0.85) |
| Dual-path expansion | CF10 | 1,171 | 78.37 (↑1.42) | 86.14 (↑6.11) | 44.19 (↑1.19) | 34.52 (↑0.72) | 85.84 (↑0.52) |
Table 3. Entity-linked expansion and entity readout ablations on LoCoMo with Qwen3.5-27B. CF denotes ContextFacts, and E10 denotes ten entities. Recall denotes linked-turn recall: the mean coverage of annotated supporting turns through the source-turn provenance of selected items.
Transfer across memory representations. We next test whether the entity view transfers beyond ContextFact memories. We retain SeCom’s contextual segments, SimpleMem’s self-contained facts, and EMem’s event units, and apply our entity-construction, retrieval, and readout pipeline (+Entity). The +Budget controls retain each baseline’s native retrieval pipeline and supply more original units to approximately match +Entity’s mean evidence length. Table 4 shows gains in overall judge accuracy of 1.10–8.12 percentage points across all six system–model combinations. These results support transferring the entity pipeline across the three evaluated memory representations. Full category-level results are reported in Table 18.
| Memory bank | Mean evidence tokens | Overall (%) | |||
| +Budget | +Entity | +Budget | +Entity | (pp) | |
| GPT-4.1-mini | |||||
| SeCom | 5,354 | 5,358 | 80.58 | 84.68 | +4.10 |
| SimpleMem | 5,960 | 5,930 | 83.38 | 84.81 | +1.43 |
| EMem | 4,040 | 4,027 | 83.12 | 84.22 | +1.10 |
| Qwen3.5-27B | |||||
| SeCom | 4,844 | 4,872 | 77.01 | 85.13 | +8.12 |
| SimpleMem | 2,968 | 2,863 | 77.01 | 78.38 | +1.37 |
| EMem | 3,294 | 3,193 | 80.32 | 82.27 | +1.95 |
Table 4. Transfer of the entity pipeline to existing memory banks on LoCoMo. +Budget retains each baseline’s native retrieval pipeline and supplies more original memory units; +Entity applies our entity-construction, retrieval, and readout pipeline to the same bank. Tokens are mean reader-evidence lengths, and denotes overall judge accuracy. is +Entity minus +Budget in percentage points, calculated from the displayed scores. Bold marks the higher accuracy in each pair.
| Method | Tokens | Single-hop () F1 ↑ | Single-hop () B1 ↑ | Single-hop () J ↑ | Temporal () F1 ↑ | Temporal () B1 ↑ | Temporal () J ↑ | Multi-hop () F1 ↑ | Multi-hop () B1 ↑ | Multi-hop () J ↑ | Open-domain () F1 ↑ | Open-domain () B1 ↑ | Open-domain () J ↑ | Overall () F1 ↑ | Overall () B1 ↑ | Overall () J ↑ |
| GPT-4.1-mini | ||||||||||||||||
| SeCom | 1,707 | 54.61 | 48.12 | 79.07 | 50.20 | 40.50 | 62.93 | 37.64 | 27.15 | 64.18 | 28.20 | 21.28 | 56.25 | 48.94 | 41.02 | 71.56 |
| +Budget | 5,354 | 59.81 | 52.97 | 86.33 | 57.85 | 47.94 | 75.70 | 44.32 | 32.69 | 77.30 | 26.36 | 20.52 | 56.25 | 54.48 | 46.18 | 80.58 |
| +Entity | 5,358 | 61.86 | 54.29 | 90.73 | 57.01 | 44.92 | 81.00 | 44.64 | 33.70 | 80.50 | 28.41 | 23.79 | 56.25 | 55.61 | 46.67 | 84.68 |
| SimpleMem | 2,016 | 56.96 | 49.87 | 86.80 | 37.73 | 30.12 | 78.19 | 40.06 | 30.43 | 72.34 | 24.64 | 19.46 | 50.00 | 47.84 | 40.29 | 80.06 |
| +Budget | 5,960 | 58.54 | 51.23 | 90.01 | 38.67 | 30.92 | 79.75 | 42.51 | 32.68 | 78.72 | 25.64 | 20.55 | 51.04 | 49.41 | 41.69 | 83.38 |
| +Entity | 5,930 | 58.14 | 50.76 | 89.77 | 37.60 | 29.29 | 83.49 | 44.50 | 34.40 | 80.14 | 28.96 | 23.39 | 59.38 | 49.54 | 41.58 | 84.81 |
| EMem | 1,660 | 55.47 | 49.31 | 84.78 | 57.04 | 46.69 | 77.57 | 40.52 | 31.94 | 74.47 | 27.95 | 23.44 | 53.12 | 51.35 | 43.97 | 79.42 |
| +Budget | 4,040 | 58.46 | 51.58 | 87.99 | 61.00 | 51.36 | 81.93 | 43.43 | 34.15 | 79.08 | 28.96 | 23.59 | 56.25 | 54.40 | 46.59 | 83.12 |
| +Entity | 4,027 | 57.48 | 50.84 | 87.87 | 62.96 | 52.01 | 84.42 | 45.18 | 36.53 | 82.62 | 28.28 | 22.96 | 56.25 | 54.55 | 46.73 | 84.22 |
| Qwen3.5-27B | ||||||||||||||||
| SeCom | 2,055 | 53.99 | 44.18 | 77.76 | 46.41 | 36.68 | 55.45 | 35.39 | 26.24 | 60.99 | 22.91 | 20.07 | 43.75 | 47.07 | 37.83 | 67.92 |
| +Budget | 4,844 | 59.37 | 49.44 | 85.73 | 53.36 | 42.82 | 65.73 | 40.69 | 30.41 | 71.63 | 27.86 | 23.80 | 54.17 | 52.73 | 42.97 | 77.01 |
| +Entity | 4,872 | 62.81 | 52.22 | 91.80 | 64.23 | 50.81 | 81.31 | 45.88 | 36.54 | 81.91 | 25.80 | 22.16 | 48.96 | 57.70 | 47.18 | 85.13 |
| SimpleMem | 1,529 | 50.42 | 41.16 | 76.69 | 47.01 | 37.76 | 83.49 | 39.54 | 31.78 | 71.63 | 19.27 | 15.97 | 45.83 | 45.78 | 37.16 | 75.26 |
| +Budget | 2,968 | 51.29 | 42.59 | 77.76 | 49.19 | 39.99 | 85.05 | 42.98 | 33.87 | 75.53 | 19.06 | 16.09 | 47.92 | 47.32 | 38.80 | 77.01 |
| +Entity | 2,863 | 51.21 | 43.27 | 78.60 | 57.88 | 47.74 | 87.85 | 43.27 | 34.55 | 78.37 | 21.68 | 18.81 | 44.79 | 49.31 | 41.08 | 78.38 |
| EMem | 1,449 | 52.65 | 42.12 | 82.40 | 65.62 | 53.92 | 77.26 | 38.81 | 28.94 | 68.44 | 25.93 | 22.22 | 50.00 | 51.15 | 40.92 | 76.75 |
| +Budget | 3,294 | 55.92 | 46.10 | 85.85 | 65.98 | 55.04 | 76.32 | 42.45 | 32.32 | 78.37 | 24.55 | 21.45 | 51.04 | 53.60 | 43.90 | 80.32 |
| +Entity | 3,193 | 55.57 | 46.26 | 86.56 | 66.69 | 55.02 | 81.31 | 44.39 | 34.65 | 81.21 | 28.82 | 25.75 | 51.04 | 54.17 | 44.68 | 82.27 |
Table 18. Transfer of the entity view to SeCom, SimpleMem, and EMem on LoCoMo. Each method includes the original baseline, a budget-expanded baseline (+Budget), and the entity-augmented system (+Entity).
Computational Efficiency and Model Choice
Finally, we evaluate whether ContextFact can maintain strong QA performance while reducing the computational cost of memory construction and query-time inference, and examine the additional cost introduced by the entity view. ContextFact also reduces query-time cost relative to the strongest baseline. On LoCoMo with GPT-4.1-mini, ContextFact-F slightly exceeds Memora (P) in overall accuracy while reducing mean end-to-end latency from 8.33 s to 0.95 s (8.8×). ContextFact-E raises accuracy to 87.27% while remaining 5.6× faster at 1.49 s. Fact extraction and cross-session entity binding are the two largest input-token components for both backbones. Appx. F.7 reports the full stage breakdown, including topic-based grouping and source-grounded reconstruction, alongside search and tail latencies.
Construction–reader transfer. We also examine whether memory construction and answering can use different models. Across five construction models and five readers on LoCoMo, ContextFact-E accuracy varies by 0.7–1.9 percentage points when the construction model changes with the reader fixed. Changing the reader with the memory bank fixed yields a spread of 6.8–8.1 points. Opus 5.5 achieves 93.57% with Qwen3.5-27B memories and 93.96% with its own. These results support choosing construction and reader models separately (Appx. F.9).
Conclusion
We study how to represent and organize history for selective long-term conversational memory. Our diagnostics show that answerability gaps can persist even when constructed memory banks are read in full, while retrieval-unit boundaries materially affect which supporting evidence reaches the reader. These findings motivate memory boundaries that follow the dependencies needed for interpretation, together with mechanisms for selectively reconnecting related evidence across sessions. ContextFact instantiates this principle through context-preserving fact memories and source-grounded entity representations, using the entity view for both entity-linked expansion and entity readout. Across LoCoMo and LongMemEval-S, ContextFact outperforms strong baselines while requiring substantially shorter evidence inputs, with controlled analyses confirming the individual contributions of fact construction, source reconstruction, and entity readout. Together, our results suggest that effective conversational memory requires not merely storing more information, but preserving the right context locally and reconnecting it selectively when needed.
AI Use Statement
In this work, we used generative AI tools to aid and polish writing, support literature retrieval and discovery, assist with research ideation and execution, and draft preliminary sections of the paper. In particular, these tools were used for language editing, literature search, preliminary drafting, and refining experimental interpretations. We did not use generative AI tools to generate synthetic datasets; other required-disclosure uses are not applicable to this work. The authors reviewed and verified all AI-assisted content, including relevant literature, technical claims, experimental results, and interpretations. We take full responsibility for the final content of this work, including any text, claims, or artifacts produced with the aid of generative AI.
Ethics Statement
We evaluate ContextFact on publicly released LoCoMo and LongMemEval-S benchmarks without recruiting participants or collecting new conversations. LongMemEval-S includes sessions drawn from public chat corpora (Wu et al., 2025), so we report aggregate results and do not attempt to link speakers to real-world identities. Because ContextFact stores and links facts about people, use on real conversations could expose sensitive details or preserve outdated information. Deployment would require consent, access controls, retention limits, and mechanisms to correct or delete memories. These safeguards are beyond the scope of our benchmark evaluation.
Reproducibility Statement
To ensure reproducibility, we provide comprehensive algorithmic and experimental details throughout the paper and appendices. Appxs. B and C provide formal pseudocode for memory construction and retrieval. Construction prompt templates appear in Appx. B.1, and reader and judge prompt templates appear in Appx. D.4. Complete implementation settings, evaluation protocols, and evidence accounting appear in Appx. D. Diagnostic setups, controlled ablations, and category-level breakdowns are reported in Appxs. E and F.
Acknowledgments
X. Li and J. Q. Shi acknowledge the support from the Responsible AI Research Centre.
Related Work
Conversational memory construction and granularity. Long-term memory systems vary in what they preserve and the units they expose for retrieval. MemoryBank combines dialogue history with event summaries and user profiles [31], MemoryOS organizes short-, mid-, and long-term stores [9], and Mem0 extracts and reconciles salient facts across interactions [1]. LightMem combines compression with topic-aware consolidation [5], while Nemori maintains episodic and semantic memories [13]. Closer to our focus on memory boundaries, SeCom partitions dialogue into contiguous topical segments [17], EMem constructs self-contained event-centric units with normalized entities, time, and source attribution [32], and SimpleMem constructs compact semantic memories and consolidates related information [11]. ContextFact instead organizes memory around focal facts: information that explains, qualifies, or develops the same fact may be gathered across nonadjacent turns, while distinct facts remain separately retrievable. Its boundaries are therefore determined by the context needed to interpret each fact rather than by fixed windows or contiguous topics.
Linked memory and cross-session organization. Other work organizes memories beyond a flat collection. A-Mem links and updates contextualized notes [25], while Zep represents episodes, entities, relations, and temporal facts in a knowledge graph [19]. Memora connects concrete memories through primary abstractions and cue anchors [24]; AtomMem organizes atomic facts into event structures and temporal profiles [27]; TriMem combines raw dialogue, atomic facts, and synthesized profiles [22]; and AnchorMem uses atomic facts as retrieval anchors while retaining associated source context [21]. ContextFact likewise combines fine-grained and organized views, but constructs its entity view by aligning recurring referents across sessions and then revisiting source dialogue to verify identities and reconstruct entity-centered accounts. These accounts organize distinct aspects and developments, retain links to supporting fact memories, and are provided directly to the reader.
Evidence retrieval and selection. Structured memories can also recover evidence beyond direct semantic matches. GraphRAG organizes entity and relation descriptions with community summaries [4], HippoRAG and HippoRAG 2 propagate relevance through graph associations [6, 7], LinearRAG operates over an entity–sentence–passage graph [33], and EMem-G retrieves over its session–event–argument structure [32]. Other systems use more adaptive query-time retrieval: Memora exploits memory connections with a policy [24], GAM performs query-time research over retained information [26], MemR3 alternates retrieval and reflection [3], and MRAgent iteratively traverses an associative memory graph [8]. ContextFact instead uses a lightweight query-time procedure: independent fact and entity retrieval, a single entity-linked expansion, and separate reranking of the two candidate pools with MemReranker [10]. Selected facts provide focused evidence, while complete entity representations provide an organized cross-session view.
Evaluating and diagnosing conversational memory. LoCoMo and LongMemEval evaluate memory over extended multi-session interactions [14] (Wu et al. 2025), while long-context studies show that available evidence is not always used reliably [12]. Recent work further separates sources of memory failure: Yuan et al. [29] study retrieval and utilization bottlenecks across memory-writing and retrieval choices, while WhenLoss compares oracle evidence, complete stored memory, and retrieved memory to characterize write- and retrieval-side gaps [28]. We complement these analyses with diagnostics focused on memory-unit design. Full-bank reading tests whether answerability gaps persist after removing retrieval selection, while controlled retrieval-window interventions vary unit boundaries over unchanged dialogue at matched unique-turn budgets. We also derive sentence-level and atomic representations from the same ContextFact bank to study how decomposition affects evidence access under fixed budgets.
| Symbol | Definition |
| Conversation and fact memories | |
| Conversation history of ordered sessions. | |
| The -th session, represented as an ordered sequence of conversational turns. | |
| Temporally annotated history produced before memory extraction. | |
| , , | A fact memory, the fact memories extracted from session , and the complete fact bank. |
| Entity construction | |
| A session-level entity entry extracted jointly with the facts from session . | |
| Sources | Fact memories in that substantively describe the referent of entry . |
| Provisional entity bank after processing sessions . | |
| , | A provisional entity and the session-level entries currently bound to it. |
| Candidate provisional entities considered when binding entry . | |
| , | Dense-similarity and BM25 scores used for candidate generation. |
| , | Candidate-selection thresholds for dense similarity and BM25. |
| Topic hierarchy over the provisional entity bank after processing all sessions. | |
| , | Collection of review groups defined by the leaf nodes, and one such group. |
| Source-dialogue evidence collected for review group . | |
| Final entities reconstructed from review group . | |
| Final entity representation | |
| A final entity with name , summary , and records . | |
| An record describing a coherent aspect, event, state, or development of entity . | |
| Sources | Fact memories whose linked source evidence supports reconstructed record . |
| Final reconstructed entity bank. | |
| Provenance relation containing triples with and . | |
| Retrieval and readout | |
| Query presented to the memory system. | |
| , | Initial fact and entity seeds returned by hybrid retrieval. |
| , | Maximum numbers of initial fact and entity seeds. |
| Entity candidate pool after activating entities linked to retrieved facts. | |
| Fact candidate pool after expanding through the entities in . | |
| , | Final reranked fact and entity selections supplied to the reader. |
| Maximum number of selected items retained from each view. | |
| Hybrid | Dense–BM25 retrieval combined by reciprocal rank fusion. |
| Rerank | Cross-encoder reranking within one memory view. |
Table 5. Notation used in ContextFact.
Memory Construction Details
Algo. 1 formalizes the construction procedure described in § 4.1. Starting from the ordered history , ContextFact annotates supported temporal expressions, jointly extracts fact memories and session-level entity entries, incrementally binds recurring referents across sessions, and finally reconstructs the entity bank from source dialogue. Exact instructions for the prompt-based operators are provided in Appx. B.1 and cross-referenced below.
Temporal annotation. Before memory extraction, AnnotateTime resolves supported relative time expressions against the corresponding session date and appends the resulting absolute date or interval while preserving the original expression and temporal granularity. Ambiguous or unsupported expressions are left unchanged. We denote the resulting history by . The extraction and reconstruction stages operate on this annotated history, whose conversational content otherwise remains unchanged.
Joint extraction and candidate generation. For each annotated session , JointExtract produces fact memories and session-level entity entries in one LLM call (Appx. B.1.1). Algorithm 1 ContextFact memory construction
Require: Ordered sessions Require: Candidate thresholds Ensure: Fact bank , entity bank , and provenance relation
;
Joint extraction and incremental entity binding
for do
end for
Global topic organization
LLM-generated hierarchy with entity IDs at leaves
Deterministically extract leaf entity sets
Source-grounded entity reconstruction
for all do
end for
Record-level provenance
return
Each entry contains a name and short description of a specific referent together with links to fact memories that describe it. To align an entry with previously observed referents, we compare it against the current provisional bank using dense similarity and BM25. For each entry , candidate generation produces
where matching is performed over entity names and descriptions. The candidate thresholds and implementation-specific preprocessing are given in Appx. D.
Incremental entity binding. BIND considers each new session-level entry together with its candidate provisional entities. An LLM determines whether the entry refers to one of these existing referents or introduces a distinct one, following the identity and continuity criteria in Appx. B.1.2. A matched entry is added to the corresponding provisional entity. Otherwise, a new provisional entity is created. The resulting bank therefore provides a first-pass alignment of referents observed through session while retaining the member entries and their fact links. Binding is intentionally provisional: later reconstruction can correct missed or erroneous identity decisions.
Topic grouping and source evidence. After all sessions have been processed, TOPICGROUP organizes into a hierarchy , assigning each provisional entity to a leaf node; the organization criteria and output structure are specified in Appx. B.1.3. LEAFGROUPS then deterministically extracts the entity sets at the leaf nodes to form . Each is a review group of provisional entities that are jointly reconsidered during reconstruction. Topic grouping does not itself merge or rewrite entities; it only determines which provisional entities are jointly reviewed during reconstruction.
For each , SOURCEEVIDENCE follows the retained fact and source-turn links to collect the associated dialogue from , yielding . RECONSTRUCT then compares the provisional representations with this source evidence and produces a set of final entities, following the instructions in Appx. B.1.4. It may merge entities referring to the same underlying referent, separate mixed referents, correct earlier descriptions, and organize the resulting information into records.
Record-level provenance. For each reconstructed entity and record , reconstruction retains the fact IDs associated with the source evidence used for that record. Their union defines
Because reconstruction reads the source dialogue, a record may preserve a supported detail that is not explicitly present in the text of its linked fact memory. should therefore be interpreted as a provenance relation through the associated source evidence, rather than as a textual entailment relation between and .
Prompt Templates for Memory Construction
We provide the prompts used by the four LLM-based construction operators in Algo. 1: JOINTEXTRACT, BIND, TOPICGROUP, and RECONSTRUCT. Deterministic preprocessing, candidate generation, review-group extraction, and source-evidence assembly are described above.
Joint Fact and Entry Extraction
JointExtract: fact memories and session-level entity entries
# Task
Convert one raw conversation session into a chronological list of context-
preserving facts and a linked entity index in one output.
# Input
```text
CONVERSATION DATE: <date, including the weekday>
EVIDENCE:
D<session>:<turn> <Speaker>: <text> [IMG blip="<caption>" query="<query>"]
The IMG part is optional and belongs to the same source turn.
Principles
Identify and regroup core facts
Read the whole session before forming any ContextFacts. First identify the core facts in the conversation; do not create one fact from each turn. A core fact is a specific event, action, state, plan, experience, preference, attribute, personal detail, belief, realization, decision, outcome, or change—not a broad topic or everything said about one participant.
For each new clause, decide whether it: (a) further develops an existing core fact by identifying, describing, explaining, clarifying, or evaluating that same fact; providing its circumstances, reasons, progress, outcome, or event-specific feelings; or directly reacting to it through encouragement, gratitude, agreement, or another immediate response; or (b) introduces another independently meaningful memory focus, such as a distinct occurrence, plan, state, habitual practice, preference, general belief, realization, decision, or lasting change that is not limited to describing or reacting to the current fact. Attach (a) to the ContextFact it supports. Create or resume a separate ContextFact for (b). Classifying a clause as supporting context does not permit omitting it or replacing its specific meaning with a broader summary.
After identifying the focuses, regroup non-adjacent clauses that belong to the same concrete fact. If one utterance reacts to one core fact and introduces or resumes another, divide it by meaning. One source turn may support multiple ContextFacts, and one ContextFact may use non-consecutive turns.
Self-contained references and attribution
Make each ContextFact understandable on its own by explicitly identifying the relevant people, objects, events, and activities when needed.
JointExtract: fact memories and session-level entity entries (continued)
- Resolve omitted subjects, pronouns, and vague references such as "this"
or "that one" when their referents are clear. Pronouns may remain when the
referent is explicit and unambiguous within the same ContextFact. If a
reference cannot be resolved from the evidence, preserve the original
wording rather than guessing.
- Preserve participant roles and perspective. Every action, experience,
feeling, belief, evaluation, and reaction must remain attributed to its
original speaker or subject.
3. **Preserve the original expression**
- Keep the original wording, tone, specific descriptions, intensifiers,
negation, modality, and uncertainty as much as possible. Make only the
grammatical changes needed for attribution, pronoun resolution, and
readability. Never turn a plan into a completed action, a possibility into
certainty, or one participant's statement into the other's experience.
- Preserve specific actions, identifying details, quoted wording, and the
scope of personal statements; do not replace them with broader activities,
interpretations, or summaries.
4. **Remove non-memory-bearing content**
- Omit greetings, farewells, filler, content-free acknowledgements, exact
repetition, and routine closing remarks that add no substantive
information. Preserve substantive personal and relationship information
wherever it appears.
- Interpret each answer together with the question it addresses. Preserve
the target, requested attribute or relationship, and any comparison,
contrast, negation, or time scope needed to retain the answer's meaning as
a self-contained fact.
- Omit purely information-seeking questions and the narration that they
were asked, while retaining their answers and substantive factual content.
State only what the exchange supports: an unconfirmed question premise or
proposed alternative must not become an established fact.
5. **Image rule**
- `blip` provides a visual description of the shared photo; `query` is only
the phrase used to search for it and may not match the photo.
- Use a photo when it identifies or clarifies the concrete subject
presented in its source turn, or when the surrounding conversation
discusses it. Sharing a broad topic with the text is not sufficient. Omit
generic, decorative, unrelated, or conflicting image information.
- For a relevant photo, retain concrete visual features and any depicted
wording explicitly provided in blip when they distinguish the subject or
contribute to understanding the discussion. Integrate relevant visual
information into the ContextFact for the pictured subject, using wording
such as "shared a photo of...". A photo alone does not require a separate
ContextFact.
- Use the conversation to establish personal attribution and factual
connections. A visible feature or inscription does not by itself establish
who owns or created the subject, or which real-world event it depicts.
Use a query-only detail only when independently supported by the
conversation and not contradicted by blip.
6. **Preserve dual-format time references**
- Preserve time expressions in the format: relative time (absolute date or
range), retaining the original precision.
- If a time expression is clearly resolvable from the source context and
session date but lacks an absolute value, append it. If an existing
absolute value is clearly incorrect, correct it.
7. **Extract and link entities**
- Extract specific, context-grounded entities from the raw session as
retrieval entry points, including references embedded in descriptions. Link
each entity to all ContextFacts that provide substantive information
about it.
- Include people (excluding the speakers themselves), animals, places,
organizations, works, objects, foods, recipes, projects, and events.
JointExtract: fact memories and session-level entity entries (continued)
Do not extract either speaker as an entity. A speaker-related entry must identify a specific object, event, activity, or project associated with that speaker, not the person as a whole.
Use stated names or concise identifying labels, adding ownership or distinguishing context when needed. Keep each entry centered on one referent rather than a generic keyword, broad theme, or separate aspect of the same entity.
Cross-Session Entity Binding
Bind: cross-session entity binding
You are an expert in entity resolution and temporal memory organization.
Task
For each new record, determine whether it refers to the same specific object, person, project, activity, or occurrence as one of its candidate entities.
If so, add it to that entity and update the entity's name and description. Otherwise, create a new entity from the record.
Principles
Resolve the underlying referent
Compare names, distinguishing features, participants, ownership, relationships, and temporal context. Candidate session times show when its supporting information was discussed; occurrence times remain in the descriptions.
Different names may refer to the same thing, while similar descriptions may refer to different things. An entity remains distinct from its participants, products, tools, locations, associated events, and individual members of a collection.
Distinguish continuity from a new referent
Use explicit references, conversational continuity, identifying details, and temporal development.
Plans, work in progress, completion, and later feedback may be stages of one persistent project or object. Interpret "new", "another", ordinals, changes of participants or locations, and temporal differences according to whether they indicate continuity or a distinct referent.
Keep separate occurrences of recurring activities distinct.
Do not confuse association with identity
A shared topic, owner, purpose, activity, or temporal proximity does not by itself establish identity.
Prefer the candidate with the strongest identifying continuity. Recency may support a compatible match but is not sufficient on its own. If the supplied information cannot reliably identify one candidate, create a new entity at the record's supported specificity.
Update the matched entity
Preserve the entity's specific identity while incorporating the new record.
Retain useful identifying details and distinct temporal stages, including Bind: cross-session entity binding (continued)
Process records in input order. If multiple records bind to the same entity,
each later update must incorporate earlier updates from this response.
Topic-Based Entity Grouping
TopicGroup: hierarchical review groups
# Task
Build a hierarchical topic directory for the supplied entities from one
conversation. The directory will support later joint review of their
evidence.
# Organization
Start with broad aspects and introduce more specific subtopics where useful.
Use at most MAX_TOPIC_DEPTH topic levels; branches may have different
depths.
Keep possible duplicate entries and closely connected objects in the same
specific branch, including a collection and its members, or an activity
and its projects. Stop subdividing when the entities form a coherent
review scope. Do not merge or rewrite entities.
Assign every supplied entity exactly once. Preserve its name and ID.
# Output
Return the complete hierarchy as JSON.
Each group has:
- name: A concise topic label.
- description: One sentence describing the scope of its descendants.
- entities: Exact supplied entity names.
- entity_ids: Corresponding IDs in the same order.
- children: Subgroups with the same structure.
A group contains either subgroups or entities:
- With subgroups, entities and entity_ids are empty.
- With entities, children is empty.
{ "groups": [ { "name": "...", "description": "...", "entities": [],
"entity_ids": [], "children": [ { "name": "...", "description": "...",
"entities": ["...", "..."], "entity_ids": ["E01", "E07"], "children": [] },
{ "name": "...", "description": "...", "entities": ["...", "..."],
"entity_ids": ["E02", "E11"], "children": [] } ] } ] }
# Input
MAX_TOPIC_DEPTH: 3
ENTITIES:
{ENTITIES}
Source-Grounded Entity Reconstruction
Reconstruct: source-grounded identities and records
You are an expert in entity resolution and conversational memory organization.
# Task
Reconstruct the referents represented by the supplied entity inventory
from the original evidence, then organize their information into concise,
aspect-based records.
Entities preserve independently retrievable subjects. Compactness applies
to their descriptions, not to minimizing the number of entities.
# Principles
1. Verify and correct the existing representation
Compare the supplied entity and member-record descriptions with their
associated dialogue before using them. Verify referents, speaker attribution,
ownership, relationships, status, and dates.
Correct claims introduced or distorted by earlier extraction and binding.
An error found only in a generated description is not an alternative
source account.
ContextFact titles guide evidence lookup. Use image descriptions with
their attribution; image queries are search cues.
2. Preserve supported referents
Represent each distinct, evidence-supported referent in the supplied
entities and member records as an output entity, separately or through
a confirmed same-referent merge.
Mentioning a referent in another entity's record, or listing its input ID
under that entity, does not preserve its identity.
Split mixed entries. Keep related objects and separate occurrences distinct,
while retaining stages of the same persistent referent within one entity.
Express unresolved references at the specificity supported by the dialogue.
3. Organize aspects without losing defining information
Reconstruct records around coherent aspects, combining repeated mentions
and complementary information. Preserve the relationships, circumstances,
motivations, and outcomes needed to identify and follow the subject.
Keep qualifiers that determine identity, event boundaries, counts, or
status explicit in the relevant records, even when the linked Facts retain
the full details. Preserve what each number or ordinal counts, along with
its subject and scope.
Related entities may describe a shared relationship from their respective
perspectives. Attach the unique supplied ContextFact IDs supporting each
record's account.
Give each entity a clear name and a concise summary consistent with its
corrected records and any material qualifications.
4. Distinguish development from conflicting accounts
Organize supported changes of state as development, distinguishing plans,
ongoing activities, and completed outcomes.
For differing source statements, first align the referent, property, and
scope. Preserve incompatible accounts briefly with their attribution or
reporting time, unless the dialogue explicitly resolves or corrects them.
Reconstruct: source-grounded identities and records (continued)
A later statement alone does not establish either a real-world change or a correction of the earlier statement.
Order events by supported occurrence time. When only reporting time is known, describe when the information was reported rather than assigning that date to the event or its beginning.
Retrieval and Readout Details
Algo. 2 formalizes the two-stage query-time procedure from § 4.2: dual-view retrieval with a single entity-linked expansion, followed by independent reranking and readout.
Hybrid seed retrieval. Given a query , HYBRID independently retrieves initial fact seeds and entity seeds . For each bank, dense and BM25 rankings are combined by reciprocal rank fusion (RRF; Cormack et al. [2]). For an item , the fusion score is
where and are its dense and BM25 ranks and is the RRF constant. Fact memories are indexed using their memory text. For entity seed retrieval, only the entity name and summary are indexed. Record–fact provenance links support entity-linked expansion, while complete entity representations are used for entity reranking and readout. The implementation-specific retriever, value of , and seed limits appear in Appx. D.
Single entity-linked expansion. The initial seeds are expanded through the provenance relation constructed during memory construction. Define
and
The expanded candidate pools are then
This ordering captures both routes used by ContextFact: an initially retrieved fact may activate a linked entity and thereby expose other facts, while an independently retrieved entity can directly expose its linked facts. Expansion stops after this step, and newly added facts do not trigger another round of entity activation.
Independent reranking and readout. Because the two views serve different roles, their scores are not compared across views. A cross-encoder independently reranks and , yielding
Facts are reranked using their fact-memory text. Entities are reranked using their complete representation , rather than only the name and summary used for seed retrieval. The reader input is then
where facts precede entities and the reranking order within each view is preserved. Hence, the entity view affects answering in two distinct ways: its provenance links alter which fact memories enter the candidate pool, while its complete representations also serve directly as organized reader evidence.
Algorithm 2 Dual-view retrieval and readout
Require: Query ; banks ; provenance relation Require: Seed limits , ; selection limit per view Ensure: Ordered reader input of selected facts and complete entities
Dual-view seed retrieval 1: 2: ▷ Name and summary only
Single entity-linked expansion 3: 4: ▷ Across all records
Independent reranking 5: 6: ▷ Complete entity representations
Readout 7: return
Experimental Setup
This section provides the experimental details supporting § 5. We describe the datasets and baseline systems, the implementation settings used for ContextFact, and the reader and judge protocols. Unless otherwise stated, the main QA comparisons use each method’s evaluated retrieval pipeline without a shared evidence-token cap. Evidence length counts only the memory text supplied to the reader.
Datasets
LoCoMo (Maharana et al., [14]). LoCoMo contains extended conversations between two speakers, generated from personas and temporal event graphs and subsequently verified by human annotators. Its question-answering task requires recalling details and connecting evidence across sessions. We evaluate the ten-conversation subset, excluding adversarial questions, for a total of 1,540 questions: 841 single-hop, 321 temporal, 282 multi-hop, and 96 open-domain. Single-hop questions target individual facts, multi-hop questions combine multiple pieces of evidence, temporal questions concern dates and event order, and open-domain questions connect conversational information with background knowledge.
LongMemEval-S (Wu et al., 2025). LongMemEval evaluates memory over timestamped user–assistant histories, covering information extraction, cross-session reasoning, temporal reasoning, knowledge updates, and abstention when the history does not support an answer. We evaluate all 500 questions in LongMemEval-S: 70 single-user, 56 single-assistant, 133 multi-session, 133 temporal, 78 knowledge-update, and 30 single-preference. Unlike LoCoMo’s recurring speaker pairs, these histories contain accumulated user interactions, including assistant responses and revisions to previously stated facts.
Baselines
We compare ContextFact with a full-history reference (Full Context), a retrieval baseline (RAG), and representative conversational-memory systems spanning segmented, fact-based, episodic, and structured memory representations. The descriptions below emphasize the memory representation and retrieval mechanism relevant to our comparison:
SeCom (Pan et al., [17]). SeCom partitions conversations into topically coherent segments and applies compression-based denoising to construct memory units. It retrieves relevant segments using their compressed representations to support response generation.
Mem0 (Chhikara et al., [1]). Mem0 extracts salient facts from incoming dialogue using recent exchanges and historical summaries. It reconciles these facts with stored memories through addition, update, deletion, or no-change operations, and retrieves relevant facts for answering.
A-Mem [25]. A-Mem represents interactions as structured notes enriched with contextual descriptions, keywords, and tags. It links related notes and updates existing memory as new information arrives, supporting retrieval over contextualized memory units.
MemoryOS [9]. MemoryOS organizes conversations into short-term, midterm, and long-term memory, with consolidation and updating across levels. Its reader input combines retrieved dialogue memories with longer-term user knowledge and profile information.
LightMem [5]. LightMem compresses incoming dialogue and groups related content through topic segmentation before extracting memories. It separates online memory accumulation from offline consolidation and retrieves stored memories by semantic similarity.
AtomMem [27]. AtomMem introduces a high-quality atomic fact extraction dataset produced through model-based extraction and human refinement. Its memory system organizes atomic facts into hierarchical event structures and temporal profiles, with an associative memory graph connecting related information.
SimpleMem [11]. SimpleMem compresses dialogue into self-contained memory units by resolving references, anchoring temporal expressions, and synthesizing related information. These units are indexed for query-dependent retrieval to construct the answering context.
EMem [32]. EMem decomposes conversations into enriched elementary discourse units: self-contained event statements with normalized entities, temporal cues, and source-turn attributions. It combines dense retrieval with recall-oriented LLM filtering to select relevant units for answering.
Nemori [13]. Nemori segments conversations into coherent episodes and maintains complementary episodic and semantic memories. Its construction framework uses prediction and calibration to derive knowledge from episodes, while retrieval draws on both memory types.
Memora [24]. Memora organizes factual and episodic memories under primary abstractions and connects them through cue anchors. Its semantic retriever (S) selects memories by similarity, while its policy retriever (P) uses an LLM to navigate the memory structure and gather related evidence.
Implementation Details
Model configurations. For the main benchmark comparisons on LoCoMo, we evaluate separate GPT-4.1-mini and Qwen3.5-27B settings, using the corresponding model for memory construction and answer generation. On LongMemEval-S, we report Qwen3.5-27B results. ContextFact uses Qwen3-Embedding-8B for dense retrieval and MemReranker-4B for final reranking.
Entity-binding settings. For entity binding on LoCoMo, we set the dense-similarity threshold to and the BM25 threshold to . A provisional entity is retained as a candidate when either its dense cosine similarity is at least 0.60 or its BM25 score is at least 6; no additional top- restriction is applied. Dense and BM25 matching use concatenated entity names and descriptions. For BM25 matching, the two conversation participants’ names are removed from both the incoming entry and candidate text. The candidate-generation procedure is defined in Appx. B.
Retrieval settings. Dense retrieval uses Qwen3-Embedding-8B with normalized 4,096-dimensional embeddings, while BM25Okapi operates on lowercased alphanumeric tokens. Dense and BM25 rankings are combined by equal-weight reciprocal rank fusion as defined in Appx. C, with RRF constant . Retrieval is restricted to the conversation associated with the current question. The main ContextFact-E configuration retrieves initial fact and entity seeds and retains up to items from each view after expansion and independent reranking. Entity seed retrieval indexes only the entity name and summary, whereas reranking and reader input use the complete entity representation, including all records. The final reader input places selected fact memories before selected entities, preserving reranking order within each view. The main configuration uses fixed unit limits rather than an explicit evidence-token cap.
Evaluation and evidence accounting. Our primary metric is LLM-judged answer accuracy (), with GPT-4o-mini as the judge. On LoCoMo, we additionally report token-set and unigram BLEU (). Overall scores are averaged over questions. Reported evidence-token counts include only the memory text supplied to the answering model, rather than the full prompt or retrieval computation.
Hardware and deployment. Our experiments run on servers equipped with four NVIDIA A100-SXM4 GPUs (40 GB each), two AMD EPYC 7313 processors (32 physical cores and 64 threads in total), and approximately 504 GiB of OS-reported system memory. For the efficiency measurements, Qwen3-Embedding-8B and MemReranker-4B are deployed locally for embedding and reranking, respectively, while GPT-4.1-mini is accessed through an API as the reader.
Evaluation Protocol and Prompts
For LoCoMo, we use the same reader and judge prompts as Mem0 (Chhikara et al., [1])2. For LongMemEval-S, we follow Memora (Xia et al., [24])3 and use its reader and judge prompts. Within each dataset, all evaluated methods use the same reader and judge templates. We use GPT-4o-mini as the judge across all experiments to ensure a consistent evaluation.
LoCoMo Reader
LoCoMo reader
You are an intelligent memory assistant tasked with retrieving accurate
information from conversation memories.
# CONTEXT:
You have access to memories from a conversation between two speakers.
These memories contain timestamped information that may be relevant to
answering the question.
# INSTRUCTIONS:
1. Carefully analyze all provided memories
2. Pay special attention to the timestamps to determine the answer
3. If the question asks about a specific event or fact, look for direct
evidence in the memories
4. If the memories contain contradictory information, prioritize the
most recent memory
5. If there is a question about time references (like "last year", "two
months ago", etc.), calculate the actual date based on the memory
timestamp.
6. Always convert relative time references to specific dates, months, or
years. Ignore the reference while answering the question.
7. Focus only on the content of the memories. Do not confuse character
names mentioned in memories with the actual users who created those
memories.
8. The answer should be less than 5-6 words.
# APPROACH (Think step by step):
1. First, examine all memories that contain information related to the
question
2. Examine the timestamps and content of these memories carefully
3. Look for explicit mentions of dates, times, locations, or events that
answer the question
4. If the answer requires calculation (e.g., converting relative time
references), show your work
5. Formulate a precise, concise answer based solely on the evidence in
the memories
6. Double-check that your answer directly addresses the question asked
7. Ensure your final answer is specific and avoids vague time references
LoCoMo JUDGE
LoCoMo judge
Your task is to label an answer to a question as 'CORRECT' or 'WRONG'.
You will be given the following data:
(1) a question (posed by one user to another user),
(2) a 'gold' (ground truth) answer,
(3) a generated answer
which you will score as CORRECT/WRONG.
The point of the question is to ask about something one user should know
about the other user based on their prior conversations.
The generated answer might be much longer, but you should be generous
with your grading – as long as it touches on the same topic as the gold
answer, it should be counted as CORRECT.
For time related questions, the gold answer will be a specific date,
month, year, etc. The generated answer might be much longer or use
relative time references (like "last Tuesday" or "next month"), but you
should be generous with your grading – as long as it refers to the same
date or time period as the gold answer, it should be counted as CORRECT.
LONGMEMEVAL-S READER
LongMemEval-S reader
You are an intelligent Memory Assistant. Your task is to answer the user's
question accurately by reasoning from conversational memories.
# TASK
You are provided with a user's question and a set of timestamped memories.
You must synthesize information from the memories to provide a accurate and
concise answer to the user's question.
This may require multi-hop reasoning, connecting dots across different
memories, and performing time calculations when necessary.
If the memories do not contain sufficient information to answer the question,
explicitly state that.
# GUIDELINES
1. **Answer Questions:** Answer questions accordingly to the memories provided
2. **Chain-of-Thought:** Use a structured Chain-of-Thought approach to ensure
no details are missed.
3. **Complete Entity Retention:** Always include full names, locations, brands
, and other proper nouns as they appear in the memories. Never use generic
terms like "a colleague" or "the company."
4. **Absolute Precision:** Retain all exact numbers, prices, dates (calculate
relative ones), frequencies, and proper nouns.
5. **Multi-Hop Reasoning:** You must actively connect dots. If Memory A says "
User works at Acme Corp" and Memory B says "Acme Corp announced layoffs,"
you must infer the user might be affected. Do not treat memories in
isolation.
6. **Time Calculations:** Always calculate the actual dates from relative
references.
# REASONING PROCESS (Think step-by-step):
Please follow the following Chain-of-Thought process step-by-step to ensure a
comprehensive and accurate answer:
## STEP 1: EVIDENCE EXTRACTION
Identify all memories that contain information relevant to the question.
- **Identify:** Quote the specific memory content and its timestamp.
- **Extract Entities:** List all specific entities (People, Locations,
Objects) found in these snippets.
## STEP 2: LOGICAL SYNTHESIS & MULTI-HOP REASONING
Analyze the evidence to establish connections and derive new insights.
- **Link:** Identify connections between different memories (e.g., "Memory 1 mentions X, Memory 2 links X to Y, therefore...").
- **Cross-reference:** Cross-reference entities appearing in multiple memories to uncover implicit relationships.
- **Infer:** Perform logical inferences where direct evidence is lacking but strongly suggested by the data.
## STEP 3: RESOLVE ENTITIES & TIME CALCULATIONS
Resolve any ambiguous reference to entities or timeframes to ensure clarity.
- **Resolve:** For any ambiguous entities (e.g., "the colleague," "the project"), clarify who/what they refer to based on context. For example, instead of "the project" specify "Project Phoenix"; instead of "a gift," specify "the birthday gift from Sarah" if that is clear from the memories.
- **Calculate Time:** For any relative time references (e.g., "last month," "in two weeks"), compute the absolute date based on the memory timestamp and the question date. For example, if a memory from 15 March 2023 mentions "tomorrow," then the date is 16 March 2023.
## STEP 4: REFUTATION OF CONTRADICTIONS
If conflicting information arises from different memories, identify and resolve these contradictions.
- **Identify Conflicts:** Highlight any discrepancies in the data (e.g., "Memory A states X, while Memory B states not X").
- **Resolution Strategy:** Determine which memory is more reliable based on recency, source credibility, or corroboration from other memories.
- **Resolve Conflicts:** Clearly state which information is accepted and which is discarded, along with the rationale.
## STEP 5: COMPLETENESS CHECK
Review your findings against the "Critical Requirements":
- Did I include all specific names (people, places, organizations)?
- Are all numbers and amounts exact?
- Did I convert all relative time references to specific dates?
- Is the answer derived strictly from the provided memories + logical inference?
## STEP 6: FINAL ANSWER
Provide the final, concise answer to the user.
- Write naturally but maintain high information density.
- Provide your final answer after "FINAL ANSWER:". The final answer should be concise yet include all necessary details.
---
**INPUT DATA:**
Memories:
{{ memories }}
Question: {{ question }}
Question Date: {{ question_date }}
**OUTPUT:**
LongMemEval-S judge
# System message
You are an expert grader that determines if answers to questions match a gold standard answer
LongMemEval-S judge (continued)
# User message: Default: single-session-user, single-session-assistant, multi-session, and other question types
I will give you a question, a correct answer, and a response from a model. Please answer yes if the response contains the correct answer. Otherwise, answer no. If the response is equivalent to the correct answer or contains all the intermediate steps to get the correct answer, you should also answer yes. If the response only contains a subset of the information required by the answer, answer no.
<QUESTION>
B: {question}
</QUESTION>
<CORRECT ANSWER>
{gold_answer}
</CORRECT ANSWER>
<RESPONSE>
A: {response}
</RESPONSE>
Please answer 'yes' or 'no':
# User message: Temporal reasoning
I will give you a question, a correct answer, and a response from a model. Please answer yes if the response contains the correct answer. Otherwise, answer no. If the response is equivalent to the correct answer or contains all the intermediate steps to get the correct answer, you should also answer yes. If the response only contains a subset of the information required by the answer, answer no. In addition, do not penalize off-by-one errors for the number of days. If the question asks for the number of days/weeks/months, etc., and the model makes off-by-one errors (e.g., predicting 19 days when the answer is 18), the model's response is still correct.
<QUESTION>
B: {question}
</QUESTION>
<CORRECT ANSWER>
{gold_answer}
</CORRECT ANSWER>
<RESPONSE>
A: {response}
</RESPONSE>
Please answer 'yes' or 'no':
# User message: Knowledge update
I will give you a question, a correct answer, and a response from a model. Please answer yes if the response contains the correct answer. Otherwise, answer no. If the response contains some previous information along with an updated answer, the response should be considered as correct as long as the updated answer is the required answer.
<QUESTION>
B: {question}
</QUESTION>
<CORRECT ANSWER>
{gold_answer}
</CORRECT ANSWER>
<RESPONSE>
A: {response}
</RESPONSE>
Please answer 'yes' or 'no':
# User message: Single-session preference
I will give you a question, a rubric for desired personalized response, and a response from a model. Please answer yes if the response satisfies
LongMemEval-S judge (continued)
the desired response. Otherwise, answer no. The model does not need to reflect all the points in the rubric. The response is correct as long as it recalls and utilizes the user's personal information correctly.
<QUESTION>
B: {question}
</QUESTION>
<RUBRIC>
{gold_answer}
</RUBRIC>
<RESPONSE>
A: {response}
</RESPONSE>
Please answer 'yes' or 'no':
Diagnostic Experiments
Full-bank Reading
We evaluate full-bank answerability by providing each method’s complete memory bank to the reader without retrieval. For ContextFact, we supply the complete fact bank only and exclude the entity view. GPT-4o-mini judges answer correctness, and Tokens denotes the mean evidence length per question.
LoCoMo. We evaluate all 1,540 questions using Qwen3.5-27B and GPT-4.1-mini as readers (Tab. 6). Full Context provides the complete dialogue, whereas oracle Gold-Session provides only sessions containing annotated supporting turns. For AtomMem, we use the authors’ released atomic facts, generated by a Qwen3-14B extractor trained with LoRA supervised fine-tuning on their high-quality, human-refined fact-extraction dataset [27]. ContextFact achieves the highest overall judge accuracy among the evaluated memory methods with both readers, at 85.32% and 85.06%, respectively.
LongMemEval-S. We evaluate all 500 questions using Qwen3.5-27B as the reader (Table 7). ContextFact achieves the highest overall accuracy among the evaluated memory methods, at 90.60%.
Table 7: Full-bank QA accuracy (%) on LongMemEval-S. Bold and underlined scores indicate the best and second-best results among memory methods, respectively.
| Method | Tokens | Single-User () | Single-Assistant () | Multi-Session () | Temporal () | Knowledge-Update () | Single-Preference () | Overall () |
| Full Context | 103,726 | 94.29 | 98.21 | 75.19 | 77.44 | 91.03 | 70.00 | 83.20 |
| Gold-Session | - | 97.14 | 100.00 | 88.72 | 91.73 | 92.31 | 90.00 | 92.60 |
| Mem0 | 6,687 | 92.86 | 14.29 | 79.70 | 78.20 | 88.46 | 86.67 | 75.60 |
| LightMem | 16,065 | 94.29 | 16.07 | 84.96 | 90.98 | 87.18 | 83.33 | 80.40 |
| SimpleMem | 18,425 | 92.86 | 51.79 | 75.19 | 75.94 | 87.18 | 93.33 | 78.20 |
| EMem | 97,648 | 95.71 | 98.21 | 75.94 | 87.22 | 92.31 | 76.67 | 86.80 |
| Nemori | 29,117 | 94.29 | 80.36 | 77.44 | 73.68 | 85.90 | 86.67 | 81.00 |
| Memora | 127,726 | 98.57 | 98.21 | 77.44 | 81.95 | 91.03 | 83.33 | 86.40 |
| ContextFact | 34,891 | 100.00 | 94.64 | 78.95 | 92.48 | 96.15 | 90.00 | 90.60 |
Table 7.
Retrieval-unit Boundaries
We index the same LoCoMo dialogue as individual turns or overlapping windows of two, three, or five turns. Windows use stride one within sessions; shorter sessions form a single unit. Complete windows are ranked by the same dense retriever. We expand ranked windows in their original turn order, deduplicate turns, and stop at exactly unique turns. Selected turns are presented chronologically. We report judge accuracy () and gold-turn recall:
where is the set of questions with valid supporting-turn annotations in the evaluated category, and and denote the sets of annotated supporting turns and retrieved turns for question , respectively.
Table 6: Full-bank QA performance (%) on LoCoMo. Bold and underlined scores indicate the best and second-best results among memory methods within each backbone, respectively; ties share the same rank. Full Context and Gold-Session are excluded from ranking.
| Method | Tokens | Single-hop | Single-hop | Single-hop | Temporal | Temporal | Temporal | Multi-hop | Multi-hop | Multi-hop | Open-domain | Open-domain | Open-domain | Overall | Overall | Overall |
| Qwen3.5-27B | ||||||||||||||||
| Full Context | 20,441 | 65.67 | 55.22 | 92.15 | 52.07 | 42.69 | 66.36 | 45.18 | 34.26 | 78.72 | 26.27 | 23.63 | 50.00 | 56.63 | 46.80 | 81.69 |
| Gold-Session | - | 66.92 | 53.60 | 93.22 | 61.71 | 47.90 | 83.80 | 50.93 | 39.08 | 83.33 | 30.70 | 25.89 | 57.29 | 60.65 | 48.03 | 87.21 |
| Mem0 | 6,774 | 47.26 | 41.16 | 69.80 | 34.85 | 27.02 | 49.84 | 39.43 | 30.20 | 68.44 | 20.58 | 18.15 | 37.50 | 41.58 | 34.77 | 63.38 |
| LightMem | 16,771 | 57.16 | 48.01 | 85.61 | 54.88 | 44.92 | 79.75 | 42.80 | 33.35 | 76.24 | 20.81 | 18.63 | 44.79 | 51.79 | 42.85 | 80.13 |
| SimpleMem | 10,581 | 53.81 | 45.99 | 79.67 | 60.58 | 48.82 | 84.74 | 44.37 | 34.33 | 76.95 | 21.95 | 18.01 | 45.83 | 51.50 | 42.70 | 78.12 |
| AtomMem | 12,945 | 59.56 | 49.80 | 85.97 | 60.28 | 51.77 | 77.88 | 44.72 | 33.93 | 76.24 | 23.25 | 19.66 | 47.92 | 54.73 | 45.43 | 80.13 |
| EMem | 15,992 | 56.25 | 47.58 | 84.90 | 66.02 | 55.09 | 76.95 | 42.71 | 32.31 | 76.95 | 25.19 | 22.57 | 51.04 | 53.87 | 44.79 | 79.68 |
| Nemori | 19,875 | 54.54 | 46.81 | 87.51 | 62.36 | 53.64 | 79.44 | 42.58 | 32.88 | 75.18 | 25.13 | 21.93 | 50.00 | 52.15 | 44.13 | 81.23 |
| Memora | 39,601 | 63.42 | 54.14 | 90.84 | 64.16 | 53.20 | 79.44 | 47.56 | 37.27 | 80.14 | 25.54 | 22.29 | 52.08 | 58.31 | 48.87 | 84.09 |
| ContextFact | 15,768 | 64.24 | 55.13 | 90.73 | 63.08 | 55.97 | 87.85 | 45.55 | 35.99 | 79.08 | 23.74 | 20.63 | 47.92 | 58.05 | 49.65 | 85.32 |
| GPT-4.1-mini | ||||||||||||||||
| Full Context | 20,441 | 64.36 | 56.73 | 89.77 | 58.98 | 48.29 | 80.06 | 44.46 | 33.38 | 80.14 | 27.29 | 22.00 | 58.33 | 57.28 | 48.53 | 84.03 |
| Gold-Session | - | 68.21 | 60.62 | 94.89 | 67.69 | 55.88 | 89.72 | 50.38 | 39.51 | 85.46 | 34.26 | 27.71 | 63.54 | 62.72 | 53.71 | 90.13 |
| Mem0 | 6,197 | 45.66 | 40.09 | 68.61 | 46.91 | 39.24 | 62.93 | 36.50 | 27.15 | 63.48 | 21.18 | 15.36 | 43.75 | 42.72 | 36.01 | 64.94 |
| LightMem | 14,235 | 54.24 | 47.56 | 83.59 | 49.91 | 40.72 | 78.82 | 42.89 | 31.89 | 76.60 | 22.64 | 18.17 | 54.17 | 49.29 | 41.43 | 79.48 |
| SimpleMem | 25,306 | 59.12 | 52.12 | 88.23 | 37.71 | 30.48 | 77.88 | 43.11 | 32.40 | 74.47 | 27.77 | 21.01 | 55.21 | 49.77 | 42.06 | 81.49 |
| AtomMem | 12,945 | 57.36 | 50.51 | 85.14 | 61.45 | 54.16 | 80.06 | 43.99 | 32.93 | 80.50 | 23.44 | 18.13 | 53.12 | 53.65 | 46.03 | 81.23 |
| EMem | 20,070 | 58.46 | 52.07 | 88.35 | 62.74 | 53.56 | 83.49 | 44.18 | 34.72 | 78.37 | 27.96 | 21.80 | 54.17 | 54.83 | 47.31 | 83.38 |
| Nemori | 21,065 | 51.36 | 44.88 | 86.92 | 58.55 | 49.84 | 78.19 | 41.98 | 31.84 | 81.56 | 25.83 | 20.76 | 53.12 | 49.55 | 42.02 | 82.01 |
| Memora | 38,887 | 60.17 | 52.98 | 90.49 | 62.17 | 48.67 | 80.37 | 43.91 | 33.67 | 78.01 | 26.45 | 21.61 | 51.04 | 55.51 | 46.59 | 83.64 |
| ContextFact | 13,761 | 59.75 | 52.53 | 89.54 | 62.38 | 53.79 | 85.67 | 44.44 | 33.46 | 80.50 | 23.47 | 17.62 | 5 | 55.23 | 47.13 | 85.06 |
Table 6.
Table 8: Effect of retrieval-unit granularity on LoCoMo. Judge accuracy (), gold-turn recall, token-set , and BLEU-1 () are reported as percentages. Each setting supplies exactly unique turns to the reader. Bold marks the highest score within each column and budget, including ties.
| Unit | Single-hop | Single-hop Recall | Single-hop | Single-hop | Temporal | Temporal Recall | Multi-hop | Multi-hop Recall | Open-domain | Open-domain Recall | Overall | Overall Recall | Overall | Overall | |
| 10 | Turn | 71.70 | 68.49 | 51.62 | 44.10 | 61.06 | 66.93 | 55.67 | 35.76 | 44.79 | 33.77 | 64.87 | 60.10 | 46.54 | 37.87 |
| 10 | Window-2 | 76.69 | 76.92 | 55.35 | 47.42 | 56.39 | 64.43 | 57.09 | 33.71 | 41.67 | 34.57 | 66.69 | 63.87 | 47.85 | 39.29 |
| 10 | Window-3 | 75.74 | 76.13 | 54.42 | 47.08 | 55.14 | 59.94 | 50.71 | 30.38 | 39.58 | 34.87 | 64.61 | 61.91 | 46.27 | 38.04 |
| 10 | Window-5 | 75.03 | 72.86 | 53.28 | 45.69 | 45.48 | 52.10 | 48.94 | 28.08 | 41.67 | 34.88 | 62.01 | 58.05 | 43.89 | 35.59 |
| 20 | Turn | 79.07 | 78.71 | 57.93 | 49.79 | 67.29 | 75.49 | 62.06 | 45.73 | 47.92 | 38.06 | 71.56 | 69.57 | 51.41 | 42.44 |
| 20 | Window-2 | 82.52 | 85.30 | 59.80 | 51.41 | 65.42 | 71.81 | 63.12 | 44.96 | 47.92 | 39.02 | 73.25 | 72.33 | 51.99 | 43.15 |
| 20 | Window-3 | 81.69 | 83.89 | 58.43 | 50.00 | 62.93 | 70.69 | 63.12 | 43.74 | 44.79 | 40.80 | 72.08 | 71.21 | 51.23 | 42.27 |
| 20 | Window-5 | 80.98 | 82.34 | 57.52 | 49.41 | 58.57 | 63.16 | 58.51 | 40.67 | 45.83 | 43.37 | 70.00 | 68.38 | 49.76 | 40.79 |
| 30 | Turn | 82.76 | 88.88 | 60.41 | 51.81 | 69.16 | 78.56 | 67.38 | 54.29 | 50.00 | 39.00 | 75.06 | 73.87 | 53.70 | 44.44 |
| 30 | Window-2 | 84.66 | 87.86 | 61.26 | 52.89 | 68.85 | 78.82 | 67.02 | 53.28 | 47.92 | 43.19 | 75.84 | 76.97 | 54.30 | 45.22 |
| 30 | Window-3 | 84.19 | 86.81 | 60.85 | 52.36 | 65.73 | 74.87 | 68.79 | 52.84 | 46.88 | 43.24 | 75.19 | 75.49 | 53.58 | 44.62 |
| 30 | Window-5 | 84.30 | 86.51 | 60.16 | 51.76 | 64.17 | 68.25 | 64.18 | 48.40 | 47.92 | 46.40 | 74.16 | 73.32 | 52.33 | 43.30 |
| 40 | Turn | 84.07 | 86.03 | 60.94 | 52.53 | 71.96 | 81.91 | 68.79 | 58.08 | 46.88 | 43.08 | 76.43 | 77.49 | 54.78 | 45.76 |
| 40 | Window-2 | 85.14 | 89.82 | 61.80 | 53.04 | 69.16 | 81.36 | 70.21 | 59.92 | 50.00 | 44.98 | 76.88 | 79.90 | 55.08 | 46.01 |
| 40 | Window-3 | 86.92 | 89.76 | 61.92 | 53.12 | 69.47 | 78.92 | 68.79 | 58.70 | 48.96 | 46.23 | 77.60 | 79.21 | 54.85 | 45.80 |
| 40 | Window-5 | 86.68 | 89.13 | 61.67 | 52.79 | 66.98 | 75.13 | 68.79 | 55.07 | 48.96 | 48.36 | 76.95 | 77.53 | 53.81 | 44.77 |
Table 8.
Additional Experimental Results
This section supplements the analyses in § 5 with evidence-budget and memory-decomposition results, temporal normalization during construction, entity reconstruction, and entity-linked expansion and entity readout, followed by reranker comparisons.
Memory-Unit Retrieval under Evidence Budgets
Tab. 9 reports category-level results on LoCoMo with Qwen3.5-27B under evidence budgets of tokens, following the token accounting in Appx. D. All baselines retain their original retrieval pipelines and are evaluated under the same reader-evidence cap. ContextFact-F retrieves RRF-ranked fact memories within each budget, without reranking, entity-linked expansion, or entity readout. ContextFact-F achieves the highest Overall judge accuracy at every budget and the highest single-hop judge accuracy from 0.5k to 4k, while ranking second at 8k. Rankings on the other question types vary across budgets.
Memory Decomposition
Table 10 extends Figure 5b to Dense and RRF retrieval across all question types, under evidence budgets of tokens. Evidence accounting follows Appx. D. We compare complete ContextFact units with two representations derived from the same fact content: verbatim sentence splits and atomic facts produced by rewriting the content of each fact independently.
Table 10: Memory decomposition under evidence-token budgets on LoCoMo with Qwen3.5-27B. Units denotes the mean number of memory units supplied to the reader per question. Bold and underlined scores indicate the best and second-best results within each retriever and budget, respectively, including ties.
| Budget | Method | Units | Single-hop | Single-hop | Single-hop | Temporal | Temporal | Temporal | Multi-hop | Multi-hop | Multi-hop | Open-domain | Open-domain | Open-domain | Overall | Overall | Overall |
| Dense | |||||||||||||||||
| 0.5k | ContextFact | 4.7 | 54.42 | 44.56 | 80.86 | 58.89 | 49.40 | 81.62 | 35.60 | __27.22__ | 64.89 | __21.60__ | __17.85__ | 43.75 | __49.86__ | __40.73__ | 75.78 |
| Sentence split | 15.9 | 51.78 | 42.35 | 74.67 | __60.43__ | __50.24__ | __79.13__ | __36.88__ | 28.75 | 67.73 | 21.12 | 17.78 | __41.67__ | 48.94 | 39.97 | 72.27 | |
| Atomic Fact | 20.8 | 53.47 | 42.76 | __80.26__ | 64.01 | 53.51 | 81.62 | 37.30 | 26.94 | 69.15 | 22.50 | 18.96 | __41.67__ | 50.77 | 40.62 | 76.10 | |
| 1k | ContextFact | 9.8 | 56.72 | 46.43 | 85.02 | __62.51__ | __52.86__ | 84.11 | 38.92 | 30.96 | 69.15 | 24.69 | 20.54 | 54.17 | 52.67 | 43.32 | 80.00 |
| Sentence split | 32.5 | 55.15 | 45.33 | 78.95 | 61.62 | 51.67 | __83.18__ | __39.22__ | __29.69__ | 71.99 | 20.75 | 17.57 | __43.75__ | 51.44 | 42.06 | 76.36 | |
| Atomic Fact | 42.3 | 55.60 | 44.53 | 82.76 | 63.82 | 53.92 | 82.55 | 40.32 | 30.46 | 75.18 | 22.52 | 18.97 | 42.71 | 52.45 | 42.32 | 78.83 | |
| 2k | ContextFact | 20.0 | 58.91 | 48.42 | 87.16 | 62.74 | 53.20 | 85.05 | 41.39 | 33.63 | 77.66 | 24.61 | 21.20 | 51.04 | 54.36 | 45.01 | 82.73 |
| Sentence split | 65.8 | 57.27 | 47.24 | 81.69 | __63.34__ | __52.99__ | __83.80__ | 39.64 | __30.46__ | 74.82 | 23.66 | 19.84 | __48.96__ | 53.21 | 43.66 | 78.83 | |
| Atomic Fact | 85.4 | 56.68 | 46.33 | 84.30 | 64.47 | 54.62 | 83.18 | 41.38 | 31.65 | 77.30 | 22.89 | 19.37 | 44.79 | 53.40 | 43.69 | 80.32 | |
| 3k | ContextFact | 30.0 | 59.49 | 49.52 | 87.99 | 64.51 | 55.05 | 87.23 | 43.94 | 35.24 | 79.79 | 24.32 | 19.96 | 50.00 | 55.50 | 46.22 | 83.96 |
| Sentence split | 98.9 | 58.18 | 48.54 | 82.40 | __64.87__ | __54.44__ | __85.36__ | 40.86 | __31.70__ | 74.82 | __23.48__ | __19.96__ | __46.88__ | 54.24 | 44.90 | 79.42 | |
| Atomic Fact | 128.6 | 56.86 | 46.88 | 83.59 | 64.58 | 54.79 | 84.11 | 42.75 | 32.71 | 81.21 | 24.75 | 21.27 | 46.88 | 53.88 | 44.34 | 80.97 | |
| 4k | ContextFact | 39.8 | 60.54 | 50.64 | 89.54 | 63.58 | 54.26 | 85.05 | 44.28 | 35.24 | 80.50 | 24.93 | 20.94 | 46.88 | 55.98 | 46.72 | 84.29 |
| Sentence split | 131.8 | 59.41 | 49.76 | 83.59 | __64.19__ | __54.16__ | __85.67__ | 41.97 | __32.68__ | 78.37 | 24.91 | 21.09 | 51.04 | 55.06 | 45.76 | 81.04 | |
| Atomic Fact | 171.8 | 57.80 | 47.94 | 84.54 | 64.35 | 54.76 | 82.87 | 43.34 | 33.22 | 81.21 | 23.01 | 20.14 | 44.79 | 54.35 | 44.93 | 81.10 | |
| RRF | |||||||||||||||||
| 0.5k | ContextFact | 4.2 | 56.15 | 46.06 | 82.76 | 62.16 | 52.35 | 82.87 | 29.64 | 21.42 | 56.03 | __22.57__ | __19.18__ | 43.75 | 50.46 | 41.18 | 75.45 |
| Sentence split | 15.4 | 53.41 | 43.23 | 76.81 | 60.87 | 50.99 | __80.06__ | 33.48 | 23.71 | 55.67 | 20.68 | 17.61 | __42.71__ | 49.28 | 39.68 | 71.49 | |
| Atomic Fact | 20.3 | 53.56 | 42.68 | 80.74 | 61.67 | 51.69 | 79.44 | 35.92 | 26.21 | 65.96 | 23.50 | 20.22 | 39.58 | 50.15 | 40.15 | 75.19 | |
| 1k | ContextFact | 8.9 | 58.68 | 47.69 | 86.09 | 63.64 | 53.61 | 84.42 | 37.03 | 28.58 | 66.67 | 24.24 | 20.91 | 47.92 | 53.60 | 43.75 | 79.81 |
| Sentence split | 31.4 | 57.04 | __46.43__ | 82.76 | 62.55 | 52.50 | __81.93__ | 37.39 | 28.60 | 63.48 | 20.70 | 17.28 | __43.75__ | 52.33 | 42.61 | 76.62 | |
| Atomic Fact | 41.2 | 55.80 | 44.69 | __82.76__ | 62.58 | 51.96 | 81.31 | 38.83 | 28.68 | 69.50 | 22.33 | 19.49 | 42.71 | 52.02 | 41.70 | 77.53 | |
| 2k | ContextFact | 18.2 | 60.24 | 49.44 | 88.82 | 65.15 | 54.72 | 86.92 | 40.42 | 31.32 | 72.34 | 24.45 | 20.62 | 48.96 | 55.40 | 45.43 | 82.92 |
| Sentence split | 63.5 | 59.30 | 48.58 | 85.26 | 64.29 | 54.10 | __85.36__ | 41.08 | __31.24__ | 71.63 | 22.18 | 19.35 | 48.96 | 54.69 | 44.73 | 80.52 | |
| Atomic Fact | 83.1 | 56.65 | 46.36 | 83.71 | 63.07 | 53.29 | 81.62 | 40.24 | 30.44 | 73.76 | 22.00 | 18.77 | 41.67 | 52.82 | 43.17 | 78.83 | |
| 3k | ContextFact | 27.6 | 61.12 | 50.57 | 89.77 | 64.68 | 55.36 | 85.36 | 42.66 | 33.30 | 76.60 | 26.14 | 22.16 | 52.08 | 56.30 | 46.63 | 84.09 |
| Sentence split | 95.5 | 60.27 | 50.05 | 86.33 | 64.47 | 54.31 | 85.36 | 41.54 | 31.15 | 73.40 | 24.18 | 20.71 | 50.00 | 55.46 | 45.65 | 81.49 | |
| Atomic Fact | 125.1 | 56.86 | 46.76 | 84.19 | 63.42 | 53.83 | __82.24__ | 41.72 | 32.29 | 75.89 | 20.98 | 17.83 | 41.67 | 53.22 | 43.78 | 79.61 | |
| 4k | ContextFact | 36.8 | 61.21 | 51.22 | 90.37 | 64.11 | 54.35 | 85.05 | 44.21 | 34.53 | 78.37 | 23.31 | 18.68 | 51.04 | 56.34 | 46.79 | 84.61 |
| Sentence split | 127.5 | 60.58 | 50.55 | 86.09 | 64.44 | 54.52 | 86.29 | 43.34 | 32.76 | 78.72 | 22.20 | 18.48 | 47.92 | 55.84 | 46.12 | 82.40 | |
| Atomic Fact | 167.4 | 58.01 | 47.87 | 84.90 | 63.84 | 54.81 | 81.93 | 41.59 | 31.92 | 75.18 | 20.89 | 17.85 | 43.75 | 53.91 | 44.53 | 79.94 |
Table 10.
Complete ContextFact units outperform both alternatives on single-hop questions with either retriever, whereas atomic facts can perform better on multi-hop questions. The relative performance of atomic facts and sentence splits also depends on the retriever, indicating that the benefits of memory granularity vary across retrieval settings and question types.
Temporal Normalization
Construction variants. We compare three ways of handling time during memory construction. No temporal guidance (P0) uses the original timestamped dialogue and removes the temporal-normalization instruction. Joint normalization (P1) uses the same unannotated dialogue but instructs the extractor to retain relative expressions and append absolute dates or intervals while rewriting facts. Rule-guided normalization (P2), the default ContextFact-F configuration, first annotates supported expressions with deterministic rules and then extracts facts from the annotated dialogue, retaining the original wording alongside the resolved dates or intervals. The extractor preserves these annotations and may correct them only when the source context provides contradictory evidence.
| Budget | Method | Units | Single-hop F1 ↑ | Single-hop B1 ↑ | Single-hop J ↑ | Temporal F1 ↑ | Temporal B1 ↑ | Temporal J ↑ | Multi-hop F1 ↑ | Multi-hop B1 ↑ | Multi-hop J ↑ | Open-domain F1 ↑ | Open-domain B1 ↑ | Open-domain J ↑ | Overall F1 ↑ | Overall B1 ↑ | Overall J ↑ |
| 0.5k | A-Mem | 3.2 | 35.65 | 31.17 | 50.54 | 27.41 | 23.59 | 35.83 | 21.00 | 12.47 | 34.75 | 14.57 | 12.20 | 31.25 | 29.93 | 24.98 | 43.38 |
| 0.5k | MemoryOS | 8.4 | 41.92 | 37.00 | 58.98 | 30.76 | 23.00 | 32.71 | 24.41 | 15.77 | 39.01 | 22.15 | 18.02 | 41.67 | 35.15 | 29.01 | 48.77 |
| 0.5k | SeCom | 1.4 | 43.57 | 34.88 | 63.73 | 35.11 | 26.93 | 40.81 | 21.86 | 13.80 | 42.20 | 20.35 | 17.60 | 36.46 | 36.38 | 28.29 | 53.31 |
| 0.5k | Mem0 | 23.7 | 40.46 | 33.65 | 58.98 | 49.19 | 37.05 | 55.76 | 33.82 | 24.02 | 55.32 | 19.54 | 16.17 | 36.46 | 39.76 | 31.51 | 56.23 |
| 0.5k | LightMem | 15.9 | 51.36 | 40.36 | 77.29 | 58.07 | 44.62 | 75.08 | 34.77 | 26.14 | 63.48 | 22.45 | 18.11 | 43.75 | 47.92 | 37.26 | 72.21 |
| 0.5k | SimpleMem | 8.3 | 51.67 | 46.37 | 74.91 | 60.76 | 47.09 | 82.24 | 35.93 | 26.47 | 65.25 | 22.65 | 18.93 | 42.71 | 48.87 | 41.16 | 72.66 |
| 0.5k | AtomMem | 16.4 | 52.68 | 42.34 | 75.86 | 60.79 | 51.32 | 73.83 | 36.01 | 26.63 | 63.12 | 22.74 | 18.41 | 40.62 | 49.45 | 39.84 | 70.91 |
| 0.5k | EMem | 16.7 | 53.33 | 43.13 | 80.74 | 64.44 | 53.21 | 73.52 | 35.41 | 24.30 | 63.12 | 21.94 | 18.47 | 45.83 | 50.41 | 40.25 | 73.83 |
| 0.5k | Nemori | 4.0 | 46.44 | 37.11 | 75.51 | 49.56 | 41.85 | 63.24 | 30.24 | 20.60 | 53.90 | 22.38 | 19.11 | 45.83 | 42.62 | 33.95 | 67.14 |
| 0.5k | Memora (S) | 5.2 | 46.14 | 36.84 | 68.61 | 51.88 | 40.57 | 61.37 | 30.39 | 21.25 | 53.55 | 17.55 | 14.85 | 38.54 | 42.67 | 33.39 | 62.47 |
| 0.5k | ContextFact-F | 4.2 | 56.15 | 46.06 | 82.76 | 62.16 | 52.35 | 82.87 | 29.64 | 21.42 | 56.03 | 22.57 | 19.18 | 43.75 | 50.46 | 41.18 | 75.45 |
| 1k | A-Mem | 6.9 | 43.30 | 38.64 | 59.81 | 32.66 | 27.53 | 45.79 | 26.84 | 18.36 | 47.52 | 17.31 | 13.81 | 34.38 | 36.45 | 31.06 | 53.05 |
| 1k | MemoryOS | 13.8 | 47.79 | 42.14 | 66.59 | 35.43 | 26.08 | 40.81 | 28.99 | 20.58 | 44.68 | 22.91 | 17.89 | 43.75 | 40.22 | 33.33 | 55.78 |
| 1k | SeCom | 3.2 | 54.46 | 43.75 | 78.95 | 48.67 | 37.82 | 57.94 | 29.55 | 20.68 | 53.19 | 22.38 | 19.66 | 41.67 | 46.69 | 36.79 | 67.53 |
| 1k | Mem0 | 47.3 | 45.57 | 38.36 | 65.99 | 49.18 | 37.30 | 57.32 | 38.10 | 28.87 | 66.31 | 23.64 | 19.83 | 38.54 | 43.59 | 35.25 | 62.53 |
| 1k | LightMem | 32.5 | 52.90 | 41.55 | 80.86 | 59.71 | 46.01 | 76.64 | 37.24 | 28.56 | 70.57 | 21.57 | 19.02 | 44.79 | 49.50 | 38.70 | 75.84 |
| 1k | SimpleMem | 16.9 | 53.51 | 48.29 | 77.65 | 62.80 | 48.98 | 84.74 | 38.18 | 28.67 | 73.05 | 21.94 | 17.93 | 43.75 | 50.67 | 42.95 | 76.17 |
| 1k | AtomMem | 33.3 | 54.77 | 44.43 | 80.38 | 61.93 | 52.45 | 73.83 | 40.83 | 30.65 | 71.28 | 22.55 | 19.25 | 43.75 | 51.70 | 42.01 | 75.06 |
| 1k | EMem | 33.8 | 54.21 | 43.79 | 83.83 | 65.45 | 54.73 | 75.39 | 38.28 | 29.78 | 68.09 | 23.16 | 18.32 | 45.83 | 51.61 | 41.59 | 76.82 |
| 1k | Nemori | 6.5 | 51.89 | 41.59 | 81.45 | 54.24 | 45.95 | 68.54 | 34.09 | 24.87 | 64.18 | 24.75 | 21.20 | 46.88 | 47.43 | 38.17 | 73.44 |
| 1k | Memora (S) | 7.6 | 51.87 | 41.19 | 76.22 | 53.34 | 42.86 | 67.91 | 33.86 | 24.17 | 59.93 | 23.29 | 19.98 | 42.71 | 47.30 | 37.09 | 69.42 |
| 1k | ContextFact-F | 8.9 | 58.68 | 47.69 | 86.09 | 63.64 | 53.61 | 84.42 | 37.03 | 28.58 | 66.67 | 24.24 | 20.91 | 47.92 | 53.60 | 43.75 | 79.81 |
| 2k | A-Mem | 14.3 | 48.86 | 43.70 | 67.18 | 38.11 | 31.85 | 50.16 | 33.89 | 26.30 | 58.87 | 14.70 | 11.55 | 37.50 | 41.75 | 36.04 | 60.26 |
| 2k | MemoryOS | 23.7 | 53.44 | 47.56 | 74.20 | 39.90 | 29.45 | 46.73 | 34.51 | 25.72 | 57.09 | 22.30 | 17.41 | 45.83 | 45.21 | 37.90 | 63.57 |
| 2k | SeCom | 6.7 | 60.35 | 49.23 | 86.56 | 54.77 | 42.56 | 66.04 | 35.91 | 26.22 | 63.48 | 21.72 | 18.91 | 44.79 | 52.30 | 41.74 | 75.45 |
| 2k | Mem0 | 94.8 | 46.84 | 39.36 | 68.01 | 49.16 | 37.79 | 58.88 | 40.34 | 31.45 | 70.57 | 23.99 | 19.83 | 39.58 | 44.71 | 36.36 | 64.81 |
| 2k | LightMem | 65.4 | 53.56 | 42.54 | 82.40 | 61.06 | 47.16 | 78.82 | 40.81 | 31.62 | 75.18 | 23.17 | 20.83 | 48.96 | 50.89 | 40.15 | 78.25 |
| 2k | SimpleMem | 34.0 | 54.89 | 49.69 | 79.79 | 64.34 | 50.27 | 87.54 | 41.09 | 32.18 | 76.24 | 22.88 | 18.81 | 45.83 | 52.34 | 44.68 | 78.64 |
| 2k | AtomMem | 66.9 | 56.82 | 46.41 | 83.71 | 67.13 | 53.38 | 77.88 | 42.02 | 32.90 | 76.95 | 24.48 | 20.86 | 47.92 | 53.42 | 43.80 | 79.03 |
| 2k | EMem | 67.8 | 54.80 | 44.82 | 84.07 | 64.97 | 54.04 | 75.39 | 41.32 | 31.17 | 74.47 | 22.14 | 19.49 | 46.88 | 52.42 | 42.66 | 78.18 |
| 2k | Nemori | 14.7 | 54.42 | 44.30 | 84.66 | 56.06 | 47.14 | 71.96 | 38.55 | 28.33 | 70.57 | 24.48 | 20.46 | 51.04 | 49.99 | 40.48 | 77.34 |
| 2k | Memora (S) | 12.4 | 55.84 | 44.70 | 81.21 | 57.48 | 45.21 | 73.21 | 36.02 | 26.42 | 65.60 | 21.14 | 18.41 | 40.62 | 50.39 | 39.82 | 74.16 |
| 2k | ContextFact-F | 18.2 | 60.24 | 49.44 | 88.82 | 65.15 | 54.72 | 86.92 | 40.42 | 31.32 | 72.34 | 24.45 | 20.62 | 48.96 | 55.40 | 45.43 | 82.92 |
| 4k | A-Mem | 29.2 | 54.45 | 49.24 | 75.62 | 37.70 | 31.80 | 53.27 | 36.72 | 28.89 | 63.48 | 17.55 | 13.42 | 40.62 | 45.41 | 39.65 | 66.56 |
| 4k | MemoryOS | 43.1 | 57.95 | 52.00 | 79.43 | 44.95 | 33.45 | 51.40 | 41.47 | 31.85 | 64.89 | 25.96 | 21.29 | 50.00 | 50.23 | 42.53 | 69.09 |
| 4k | SeCom | 13.8 | 63.21 | 52.15 | 89.42 | 57.54 | 45.36 | 69.16 | 41.10 | 31.04 | 73.05 | 22.93 | 19.71 | 46.88 | 55.47 | 44.85 | 79.55 |
| 4k | Mem0 | 189.9 | 47.06 | 39.92 | 69.68 | 50.50 | 39.55 | 60.44 | 42.85 | 33.22 | 72.70 | 21.64 | 17.88 | 42.71 | 45.42 | 37.24 | 66.62 |
| 4k | LightMem | 131.0 | 53.94 | 43.50 | 82.52 | 60.58 | 47.73 | 77.88 | 42.24 | 33.06 | 75.53 | 21.38 | 19.54 | 43.75 | 51.15 | 40.98 | 77.86 |
| 4k | SimpleMem | 67.9 | 55.99 | 50.55 | 80.98 | 64.54 | 50.73 | 86.60 | 43.64 | 34.75 | 82.98 | 24.37 | 20.71 | 48.96 | 53.54 | 45.84 | 80.52 |
| 4k | AtomMem | 133.5 | 57.93 | 48.19 | 85.49 | 62.89 | 54.22 | 76.01 | 43.80 | 33.91 | 79.78 | 23.89 | 20.18 | 44.79 | 54.26 | 45.09 | 79.94 |
| 4k | EMem | 135.5 | 55.67 | 46.06 | 85.14 | 65.12 | 54.26 | 76.95 | 41.88 | 31.73 | 76.60 | 24.54 | 21.33 | 48.96 | 53.18 | 43.60 | 79.61 |
| 4k | Nemori | 36.2 | 56.69 | 46.96 | 87.16 | 59.83 | 51.27 | 75.08 | 40.20 | 30.98 | 75.53 | 26.49 | 21.90 | 54.17 | 52.44 | 43.37 | 80.45 |
| 4k | Memora (S) | 22.1 | 58.41 | 47.39 | 85.26 | 61.51 | 47.75 | 78.19 | 39.66 | 29.77 | 75.18 | 22.83 | 20.03 | 42.71 | 53.40 | 42.53 | 79.29 |
| 4k | ContextFact-F | 36.8 | 61.21 | 51.22 | 90.37 | 64.11 | 54.35 | 85.05 | 44.21 | 34.53 | 78.37 | 23.31 | 18.68 | 51.04 | 56.34 | 46.79 | 84.61 |
| 8k | A-Mem | 59.1 | 57.09 | 51.51 | 78.12 | 40.60 | 33.86 | 56.39 | 42.17 | 34.14 | 74.47 | 18.35 | 15.02 | 40.62 | 48.51 | 42.38 | 70.58 |
| 8k | MemoryOS | 80.5 | 61.52 | 55.47 | 85.26 | 46.89 | 34.69 | 53.58 | 44.59 | 36.77 | 74.47 | 24.77 | 19.87 | 48.96 | 53.08 | 45.50 | 74.42 |
| 8k | SeCom | 29.1 | 46.44 | 54.79 | 91.20 | 59.49 | 47.56 | 71.34 | 42.66 | 32.86 | 78.72 | 23.65 | 20.97 | 50.00 | 56.89 | 46.61 | 82.21 |
| 8k | Mem0 | 369.4 | 47.76 | 41.03 | 70.87 | 49.37 | 38.01 | 60.44 | 42.59 | 33.02 | 70.21 | 22.30 | 17.96 | 42.71 | 45.56 | 37.50 | 66.82 |
| 8k | LightMem | 260.1 | 54.65 | 44.61 | 83.59 | 61.05 | 48.38 | 80.06 | 42.13 | 33.15 | 77.30 | 22.94 | 20.53 | 44.79 | 51.71 | 41.80 | 79.29 |
| 8k | SimpleMem | 136.0 | 56.07 | 50.56 | 81.57 | 65.39 | 51.23 | 87.23 | 43.77 | 35.09 | 83.69 | 26.33 | 22.00 | 48.96 | 53.91 | 46.09 | 81.10 |
| 8k | AtomMem | 263.6 | 58.89 | 49.55 | 85.85 | 62.70 | 54.41 | 78.82 | 44.66 | 34.69 | 81.56 | 23.64 | 20.25 | 44.79 | 54.88 | 46.01 | 81.04 |
| 8k | EMem | 269.3 | 56.22 | 47.35 | 85.14 | 66.80 | 55.56 | 77.88 | 43.28 | 33.26 | 78.37 | 24.43 | 20.84 | 48.96 | 54.08 | 44.83 | 80.13 |
| 8k | Nemori | 80.0 | 56.36 | 47.16 | 88.35 | 61.91 | 53.64 | 77.57 | 42.28 | 32.71 | 79.08 | 25.36 | 21.09 | 51.04 | 53.01 | 44.24 | 82.08 |
| 8k | Memora (S) | 42.6 | 60.36 | 49.58 | 87.75 | 64.02 | 50.83 | 79.75 | 43.34 | 33.09 | 77.66 | 23.85 | 20.39 | 44.79 | 55.73 | 45.00 | 81.56 |
| 8k | ContextFact-F | 73.8 | 61.66 | 52.29 | 90.49 | 65.12 | 55.95 | 86.60 | 44.47 | 34.80 | 79.08 | 22.55 | 19.72 | 45.83 | 56.80 | 47.82 | 84.81 |
Table 9. QA performance under evidence-token budgets on LoCoMo. For Memora, we evaluate the semantic-retrieval variant (S), which provides ranked memories for budget-constrained packing, rather than the policy-retrieval variant (P), which gathers evidence through adaptive multi-step search. “Units” denotes the mean number of memory units supplied to the reader per question. Bold and underlined scores indicate the best and second-best results within each budget, respectively, including ties.
Table 11: Temporal normalization ablations on LoCoMo. All variants use the same retrieval and readout pipeline.
| Method | Tokens | Single-hop () | Single-hop () | Single-hop () | Temporal () | Temporal () | Temporal () | Multi-hop () | Multi-hop () | Multi-hop () | Open-domain () | Open-domain () | Open-domain () | Overall () | Overall () | Overall () | |
| GPT-4.1-mini | |||||||||||||||||
| P0: No temporal guidance | 833 | 59.44 | 52.44 | 89.42 | 59.94 | 47.35 | 80.06 | 43.74 | 33.97 | 76.60 | 29.64 | 23.28 | 58.33 | 54.81 | 46.18 | 83.18 | |
| P1: Joint normalization | 855 | 58.80 | 51.98 | 88.59 | 61.91 | 51.55 | 81.93 | 43.56 | 33.92 | 78.72 | 31.66 | 24.87 | 61.46 | 54.96 | 46.89 | 83.70 | |
| P2: Rule-guided normalization | 932 | 59.45 | __52.42__ | 90.37 | 62.47 | 53.47 | 85.67 | 43.01 | 32.61 | __78.37__ | 32.90 | 27.24 | 64.58 | 55.41 | 47.44 | 85.58 | |
| Qwen3.5-27B | |||||||||||||||||
| P0: No temporal guidance | 1,061 | 61.92 | __50.20__ | 91.20 | 63.85 | 48.99 | 78.82 | 42.24 | 32.61 | 73.76 | 26.66 | 23.13 | 53.12 | 56.52 | 45.04 | 83.05 | |
| P1: Joint normalization | 1,091 | 61.35 | 50.06 | 90.84 | 65.97 | 55.33 | 84.74 | 43.56 | 33.84 | 76.95 | 25.72 | 21.34 | 52.08 | 56.84 | 46.40 | 84.61 | |
| P2: Rule-guided normalization | 1,153 | __61.71__ | 50.27 | 90.49 | __65.54__ | __54.53__ | 88.47 | 43.00 | 33.80 | __76.95__ | 25.51 | 20.80 | 54.17 | 56.83 | 46.30 | 85.32 |
Table 11.
| Type | Rule |
| Reference time | Use the session date by default. |
| Day offsets | Resolve expressions such as “yesterday” to individual dates. |
| Week offsets | Resolve expressions such as “last week” to the corresponding start–end intervals. |
| Month/year offsets | Resolve the corresponding month or year while retaining the original granularity. |
| Weekday references | Interpret “last” and “next” as the nearest previous and future occurrences. |
| Unresolved expressions | Leave vague or unsupported expressions unchanged. |
Table 12. General conventions for rule-guided temporal normalization.
| Variant | Tokens | Single-hop () F1 | Single-hop () B1 | Single-hop () J | Temporal () F1 | Temporal () B1 | Temporal () J | Multi-hop () F1 | Multi-hop () B1 | Multi-hop () J | Open-domain () F1 | Open-domain () B1 | Open-domain () J | Overall () F1 | Overall () B1 | Overall () J |
| GPT-4.1-mini | ||||||||||||||||
| Provisional entities | 4,568 | 60.23 | 52.62 | 90.37 | 61.68 | 53.32 | 86.60 | 45.16 | 35.52 | 81.56 | 31.88 | 26.03 | 60.42 | 56.00 | 47.98 | 86.10 |
| + Recon. (CF) | 4,144 | 58.52 | 51.31 | 90.73 | 63.22 | 54.59 | 88.16 | 44.60 | 34.92 | 81.56 | 26.73 | 21.96 | 56.25 | 54.97 | 47.16 | 86.36 |
| + Recon. (Source) | 4,139 | 59.36 | 51.81 | 91.44 | 64.31 | 55.28 | 89.72 | 45.06 | 35.43 | 81.56 | 29.82 | 24.05 | 59.38 | 55.93 | 47.80 | 87.27 |
| Qwen3.5-27B | ||||||||||||||||
| Provisional entities | 2,222 | 61.05 | 50.45 | 90.01 | 65.62 | 54.36 | 87.54 | 45.12 | 35.53 | 81.21 | 24.83 | 20.88 | 48.96 | 56.83 | 46.69 | 85.32 |
| + Recon. (CF) | 2,989 | 60.28 | 50.27 | 90.13 | 65.25 | 54.65 | 89.41 | 45.58 | 36.04 | 80.14 | 27.41 | 24.09 | 53.12 | 56.58 | 46.95 | 85.84 |
| + Recon. (Source) | 2,907 | 60.65 | 50.29 | 90.49 | 64.96 | 54.65 | 88.79 | 45.33 | 36.25 | 84.04 | 26.96 | 23.37 | 51.04 | 56.64 | 46.95 | 86.49 |
Table 13. Entity reconstruction ablation on LoCoMo. Provisional entities are obtained after incremental cross-session binding. From the same provisional bank, Recon. (CF) uses stored ContextFacts for reconstruction, while Recon. (Source) revisits the linked source dialogue. All variants share the fact bank and downstream retrieval/readout pipeline.
Analysis. Joint normalization can introduce incorrect absolute dates during fact rewriting. Comparing generated facts against source dialogues and session dates reveals recurring failure modes: erroneous day offsets, misassigned months or years, past events projected into the future, and dates contradicting explicit weekdays. For instance, in an August 14, 2023 session, GPT-4.1-mini normalized “next month” to August rather than September; similarly, in an August 3, 2023 session, Qwen3.5-27B mapped “last week” to August 27, 2022. We also observe distortions in temporal granularity, such as multi-day or week-level expressions collapsed into arbitrary dates, and weekends expanded into full weeks. Rule-guided pre-annotation provides explicit temporal anchors before fact extraction, reducing the need for the extractor to infer absolute dates or intervals.
Joint normalization: temporal instruction (P1)
– Dual-format time references
When the evidence gives a time relative to the conversation date, preserve the relative expression and append its resolved absolute date or date range: ‘relative time (absolute date)’. Resolve a day-level expression to one date, a week-level expression to a date range, and a year-level expression to the year. Write dates as ‘Month D, YYYY’ without a weekday or time. Keep vague expressions such as ‘recently’, ‘a few weeks ago’, and ‘around three years ago’ unchanged rather than inventing precision.
Entity Reconstruction
We compare three variants of entity-bank construction. Provisional entities are obtained through incremental cross-session binding, which updates entity descriptions while retaining the original session-level entity entries; no subsequent reconstruction is performed. Recon. (CF) reconstructs this bank using linked ContextFacts as supporting evidence. Recon. (Source), the default ContextFact configuration, instead revisits the linked source dialogue to verify entity identities and descriptions and organize cross-session information into records. The two reconstruction variants start independently from the same provisional bank. Within each backbone, all variants share the fact bank and downstream retrieval and readout configuration.
| Setting | Avg. tokens | Single-hop | Single-hop | Single-hop | Temporal | Temporal | Temporal | Multi-hop | Multi-hop | Multi-hop | Open-domain | Open-domain | Open-domain | Overall | Overall | Overall |
| Direct-retrieval references | ||||||||||||||||
| RRF-10 | 1,132 | 59.18 | 48.52 | 87.04 | 64.44 | 54.29 | 86.60 | 37.01 | 28.42 | 67.02 | 24.07 | 20.46 | 46.88 | 54.03 | 44.29 | 80.78 |
| RRF-30 | 3,383 | 60.97 | 50.64 | 90.37 | 64.57 | 55.34 | 85.36 | 42.91 | 34.08 | 76.60 | 24.56 | 20.74 | 47.92 | 56.14 | 46.72 | 84.16 |
| RRF-30 → rerank-10 | ||||||||||||||||
| MemReranker-4B | 1,153 | 61.71 | 50.27 | 90.49 | 65.54 | 54.53 | 88.47 | 43.00 | 33.80 | 76.95 | 25.51 | 20.80 | 54.17 | 56.83 | 46.30 | 85.32 |
| Qwen3-Reranker-4B | 1,076 | 60.77 | 49.94 | 89.54 | 64.42 | 54.18 | 87.54 | 41.78 | 32.66 | 73.76 | 24.64 | 20.98 | 52.08 | 55.80 | 45.86 | 83.90 |
| BGE-reranker-v2-m3 | 1,216 | 61.15 | 50.25 | 90.13 | 64.47 | 53.90 | 86.92 | 42.71 | 33.02 | 75.89 | 23.38 | 20.76 | 51.04 | 56.11 | 46.02 | 84.42 |
Table 15. Reranker comparison on LoCoMo with Qwen3.5-27B. All rerankers receive the same 30 RRF candidates and select ten fact memories; RRF-10 and RRF-30 are direct-retrieval references. All scores are percentages, and bold denotes the best result among the rerankers in each column.
Entity-Linked Expansion and Entity Readout
Table 14 expands the entity-mechanism ablation in Table 3 into its controlled variants. We additionally report linked-turn recall, defined as the mean fraction of annotated supporting turns covered by the provenance of selected ContextFacts and selected entities when applicable. Here, A denotes fact-seeded expansion, B entity-seeded expansion, and E complete-entity readout. R0/R4 and R3/R5 use identical selected ContextFacts and ordering, isolating the effect of entity readout without changing the fact evidence. R4/R5 use the same ten complete entities, isolating the additional effect of fact expansion. The two fact-only controls test whether the gains can be obtained by reading more ContextFacts: C1 reranks 60 directly retrieved facts to 30, whereas C2 preserves R3’s top ten expanded facts and appends the next twenty from the same expanded ranking in place of the entity readout.
| Setting | Path A | Path B | E | Reader Input | Tokens | Single | Temp. | Multi-hop | Recall↑ | Open | Overall |
| Expansion without entity readout | |||||||||||
| R0: No expansion | ✗ | ✗ | ✗ | CF10 | 1,153 | 90.49 | 88.47 | 76.95 | 80.03 | 54.17 | 85.32 |
| R1: Fact-seeded expansion | ✓ | ✗ | ✗ | CF10 | 1,168 | 90.37 | 89.10 | 77.66 | 84.18 | 52.08 | 85.39 |
| R2: Entity-seeded expansion | ✗ | ✓ | ✗ | CF10 | 1,170 | 90.84 | 89.41 | 79.08 | 85.60 | 55.21 | 86.17 |
| R3: Dual-path expansion | ✓ | ✓ | ✗ | CF10 | 1,171 | 90.84 | 88.79 | 78.37 | 86.14 | 54.17 | 85.84 |
| Entity readout | |||||||||||
| R4: w/o fact expansion | ✗ | ✗ | ✓ | CF10+E10 | 2,889 | 90.73 | 87.85 | 82.27 | 91.43 | 50.00 | 86.04 |
| R5: Full method | ✓ | ✓ | ✓ | CF10+E10 | 2,907 | 90.49 | 88.79 | 84.04 | 92.02 | 51.04 | 86.49 |
| Additional-fact controls | |||||||||||
| C1: Direct CF retrieval | ✗ | ✗ | ✗ | CF30 | 3,433 | 90.13 | 86.92 | 80.14 | 92.03 | 54.17 | 85.39 |
| C2: Replace E10 with 20 CFs | ✓ | ✓ | ✗ | CF30 | 3,501 | 90.73 | 85.36 | 81.21 | 93.69 | 55.21 | 85.65 |
Table 14. Entity-linked expansion and entity readout on LoCoMo with Qwen3.5-27B. A and B denote fact-seeded and entity-seeded expansion, respectively; E denotes complete-entity readout. CF and E denote selected ContextFacts and complete entities. Recall denotes linked-turn recall. All reported scores are percentages; bold marks the maximum in each column.
Choice of Reranker
To isolate the effect of reranking, we hold the fact bank, initial candidate pool, and final selection size fixed. Each reranker receives the same 30 RRF candidates and selects ten fact memories, without entity-linked expansion or entity readout. RRF-10 and RRF-30 provide direct-retrieval references without reranking. Among the rerankers, MemReranker-4B achieves the highest overall judge accuracy (85.32%), outperforming BGE-reranker-v2-m3 and Qwen3-Reranker-4B by 0.90 and 1.42 points, respectively. It also improves over reading all 30 RRF candidates by 1.16 points while using roughly one third as many evidence tokens. We therefore use MemReranker-4B for the main ContextFact experiments. Qwen3-Reranker-4B uses the same task instruction and scoring template as MemReranker, whereas BGE uses its native query–document format.
Computational Efficiency
Table 16 reports memory-construction token use and per-query latency on LoCoMo with GPT-4.1-mini under the deployment described in Appx. D.3.
| Method | Build (k) ↓ Input | Build (k) ↓ Output | Search (s) ↓ Mean | Search (s) ↓ P50 | Search (s) ↓ P95 | E2E (s) ↓ Mean | E2E (s) ↓ P50 | E2E (s) ↓ P95 | Acc. (%) ↑ |
| Mem0 | 1122.9 | 123.9 | 0.06 | 0.06 | 0.07 | 0.93 | 0.84 | 1.13 | 62.14 |
| MemoryOS | 305.3 | 102.0 | 1.64 | 1.44 | 2.50 | 2.50 | 2.30 | 3.44 | 71.88 |
| LightMem | 71.6 | 20.0 | 0.02 | 0.02 | 0.03 | 0.86 | 0.82 | 1.06 | 79.61 |
| SimpleMem | 40.7 | 77.2 | 0.06 | 0.06 | 0.07 | 1.50 | 1.42 | 2.07 | 80.06 |
| EMem | 56.8 | 17.7 | 2.27 | 1.58 | 6.24 | 3.09 | 2.40 | 7.12 | 79.42 |
| Nemori | 171.5 | 28.5 | 0.42 | 0.39 | 0.56 | 1.29 | 1.22 | 1.66 | 82.47 |
| Memora (P) | 609.4 | 68.5 | 6.69 | 5.84 | 13.87 | 8.33 | 7.48 | 15.86 | 85.32 |
| ContextFact-F | 100.9 | 20.3 | 0.18 | 0.18 | 0.20 | 0.95 | 0.91 | 1.11 | 85.58 |
| ContextFact-E | 273.5 | 71.1 | 0.70 | 0.66 | 1.04 | 1.49 | 1.45 | 1.90 | 87.27 |
Table 16. Efficiency comparison on LoCoMo using GPT-4.1-mini. Memory construction (Build) tokens are averaged per conversation and reported in thousands. Search and end-to-end (E2E) times are measured per query in seconds. Acc. denotes overall judge accuracy.
Accuracy–efficiency trade-off. ContextFact-F reaches 85.58% overall judge accuracy, slightly exceeding Memora (P) at 85.32%, while using substantially fewer construction tokens (100.9k input and 20.3k output versus 609.4k and 68.5k). Its mean end-to-end latency is 0.95 s, compared with 8.33 s for Memora (P), corresponding to an 8.8 speedup. Adding the entity view increases the cost of ContextFact-E to 273.5k input and 71.1k output construction tokens and 1.49 s mean end-to-end latency, while raising overall accuracy to 87.27%. Thus, the entity view introduces additional construction and query-time cost, but the full system remains 5.6 faster than Memora (P) in mean end-to-end latency while achieving higher accuracy.
Table 17 separates construction token use into fact extraction, cross-session entity binding, topic-based grouping, and source-grounded reconstruction. Fact extraction is the largest input-token component for both construction models, followed by entity binding and reconstruction; topic-based grouping uses the fewest input and output tokens. The largest output-token component is fact extraction for Qwen3.5-27B and GPT-4.1-mini. These measurements quantify the token requirements for constructing the memory banks used in our evaluation.
| Construction stage | Qwen3.5-27B Input(k) | Qwen3.5-27B Output(k) | GPT-4.1-mini Input(k) | GPT-4.1-mini Output(k) |
| Context-preserving fact extraction | 132.2 | 34.4 | 122.7 | 30.8 |
| Cross-session entity binding | 92.1 | 14.7 | 89.7 | 23.3 |
| Topic-based entity grouping | 5.6 | 3.8 | 3.2 | 2.0 |
| Source-grounded entity reconstruction | 66.5 | 21.7 | 57.9 | 15.0 |
| Total | 296.5 | 74.6 | 273.5 | 71.1 |
Table 17. ContextFact-E construction token use by stage on LoCoMo.
Generalizability of the Entity View across Memory Systems
To assess whether the entity view transfers across memory representations, we augment EMem’s event units ([32]), SeCom’s contextual segments ([17]), and SimpleMem’s self-contained facts ([11]). For each system, we retain its existing memory bank, construct an entity view over its units, and apply our retrieval pipeline to select original units and entity evidence (+Entity). We evaluate all three systems on LoCoMo with GPT-4.1-mini and Qwen3.5-27B. The original baselines in Table 1 and the budget-expanded controls (+Budget) retain each system’s native retrieval pipeline. The +Budget controls supply more original memory units to approximately match the mean reader-evidence length of +Entity (Table 18).
The entity-augmented systems achieve higher overall judge accuracy than both the original and budget-expanded baselines in all six system–model combinations. Relative to the budget-expanded controls, the gains are 1.10–8.12 percentage points overall, 1.42–10.28 points on multi-hop questions, and 2.49–15.58 points on temporal questions. These results support transferring our entity-construction, retrieval, and readout pipeline across the three evaluated memory representations at comparable evidence lengths. Gains are consistent on temporal and multi-hop questions, while open-domain effects vary across configurations.
Cross-Model Transferability
To assess transfer between memory construction and answering, we evaluate all combinations of five construction models and five reader models: Qwen3.5-27B, GPT-4.1-mini, Sol 6.1, Sonnet 5.0, and Opus 5.5. We set reasoning effort to low for Sol 6.1, Sonnet 5.0, and Opus 5.5 during both construction and answering. Within each variant, we vary only the construction and reader models. We conduct the cross-model evaluation separately from the main benchmark experiments in Table 1. Tab. 19 reports the detailed results, and Figure 7 summarizes the accuracy comparisons.

Figure 7. Cross-model judge accuracy on LoCoMo. In (b), Qwen3.5-27B constructs the ContextFact-E memory bank, and each bar gives the accuracy change relative to the Qwen3.5-27B reader. Panels (c) and (d) show ContextFact-E minus ContextFact-F for each construction–reader pair. All differences are in percentage points.
Accuracy varies more with the reader than with the construction model. For ContextFact-E, changing the construction model while holding the reader fixed yields an accuracy spread of 0.7–1.9 percentage points. Changing the reader while holding the constructed memory bank fixed yields a spread of 6.8–8.1 points (Figure 7a). GPT-4.1-mini achieves 86.43% with memories constructed by Qwen3.5-27B and 86.75% with its own. Opus 5.5 achieves 93.57% with Qwen3.5-27B memories, compared with 93.96% with its own. Conversely, Qwen3.5-27B achieves 86.17% with Opus 5.5 memories and 86.30% with its own. ContextFact-F shows the same pattern (Table 19). These results support choosing construction and reader models separately: a model with lower reader accuracy can construct memories that a higher-performing reader uses effectively.
| Construction | Reader | Single-hop F1 ↑ | Single-hop B1 ↑ | Single-hop J ↑ | Temporal F1 ↑ | Temporal B1 ↑ | Temporal J ↑ | Multi-hop F1 ↑ | Multi-hop B1 ↑ | Multi-hop J ↑ | Open-domain F1 ↑ | Open-domain B1 ↑ | Open-domain J ↑ | Overall F1 ↑ | Overall B1 ↑ | Overall J ↑ |
| ContextFact-F | Qwen3.5-27B | 61.91 | 50.30 | 90.49 | 65.48 | 54.49 | 88.79 | 42.98 | 33.83 | 76.60 | 24.94 | 20.04 | 54.17 | 56.88 | 46.27 | 85.32 |
| ContextFact-F | GPT-4.1-mini | 61.37 | 53.94 | 91.20 | 63.63 | 54.30 | 85.98 | 43.43 | 34.13 | 78.01 | 28.29 | 21.63 | 55.21 | 56.50 | 48.37 | 85.45 |
| ContextFact-F | Sol 6.1 | 61.92 | 45.07 | 91.91 | 67.54 | 49.42 | 89.41 | 44.77 | 32.47 | 80.14 | 32.66 | 21.70 | 59.38 | 58.13 | 42.21 | 87.21 |
| ContextFact-F | Sonnet 5.0 | 61.66 | 53.64 | 92.39 | 61.16 | 51.68 | 85.67 | 43.16 | 34.21 | 80.85 | 25.76 | 19.46 | 66.67 | 55.93 | 47.54 | 87.27 |
| ContextFact-F | Opus 5.5 | 67.87 | 60.59 | 94.77 | 67.71 | 57.71 | 93.15 | 51.16 | 41.67 | 89.01 | 34.46 | 27.04 | 77.08 | 62.70 | 54.44 | 92.27 |
| ContextFact-F | Qwen3.5-27B | 59.26 | 47.98 | 89.06 | 63.64 | 52.78 | 87.23 | 44.22 | 33.46 | 78.37 | 27.19 | 23.98 | 57.29 | 55.42 | 44.82 | 84.74 |
| ContextFact-F | GPT-4.1-mini | 59.14 | 52.10 | 89.89 | 62.32 | 53.29 | 86.92 | 43.41 | 33.37 | 78.72 | 33.41 | 27.28 | 62.50 | 55.32 | 47.37 | 85.52 |
| ContextFact-F | Sol 6.1 | 59.31 | 43.67 | 91.68 | 67.61 | 48.76 | 90.34 | 43.77 | 31.74 | 80.85 | 35.31 | 23.53 | 62.50 | 56.70 | 41.29 | 87.60 |
| ContextFact-F | Sonnet 5.0 | 59.69 | 51.44 | 92.39 | 61.74 | 51.78 | 90.03 | 42.65 | 33.04 | 83.33 | 29.85 | 25.16 | 66.67 | 55.13 | 46.50 | 88.64 |
| ContextFact-F | Opus 5.5 | 66.09 | 59.29 | 94.53 | 66.98 | 56.80 | 92.21 | 48.95 | 39.72 | 86.52 | 37.02 | 28.77 | 77.08 | 61.32 | 53.29 | 91.49 |
| ContextFact-F | Qwen3.5-27B | 61.15 | 48.78 | 89.89 | 65.35 | 54.61 | 87.85 | 43.62 | 33.38 | 77.66 | 24.86 | 21.46 | 48.96 | 56.55 | 45.47 | 84.68 |
| ContextFact-F | GPT-4.1-mini | 60.83 | 53.69 | 90.49 | 63.45 | 53.72 | 87.23 | 43.76 | 35.48 | 77.66 | 30.82 | 23.91 | 57.29 | 56.38 | 48.51 | 85.39 |
| ContextFact-F | Sol 6.1 | 59.68 | 43.74 | 92.15 | 69.07 | 50.54 | 91.28 | 44.95 | 32.96 | 79.08 | 33.14 | 22.20 | 60.42 | 57.28 | 41.84 | 87.60 |
| ContextFact-F | Sonnet 5.0 | 60.75 | 52.45 | 93.22 | 64.95 | 55.07 | 89.41 | 43.41 | 34.63 | 80.14 | 27.80 | 21.88 | 62.50 | 56.40 | 47.83 | 88.12 |
| ContextFact-F | Opus 5.5 | 68.08 | 61.13 | 95.72 | 68.18 | 58.01 | 92.83 | 49.51 | 40.52 | 86.88 | 33.63 | 25.93 | 76.04 | 62.55 | 54.51 | 92.27 |
| ContextFact-F | Qwen3.5-27B | 60.25 | 48.91 | 89.89 | 65.46 | 54.78 | 88.79 | 43.94 | 34.63 | 78.37 | 23.60 | 20.07 | 51.04 | 56.07 | 45.72 | 85.13 |
| ContextFact-F | GPT-4.1-mini | 60.49 | 52.89 | 90.37 | 64.77 | 54.84 | 88.16 | 45.32 | 35.87 | 78.37 | 30.14 | 23.48 | 59.38 | 56.71 | 48.35 | 85.78 |
| ContextFact-F | Sol 6.1 | 59.58 | 43.70 | 92.39 | 68.15 | 49.15 | 90.65 | 46.44 | 33.77 | 79.43 | 35.26 | 23.25 | 61.46 | 57.45 | 41.74 | 87.73 |
| ContextFact-F | Sonnet 5.0 | 60.40 | 52.20 | 93.46 | 63.02 | 53.20 | 91.59 | 43.87 | 35.41 | 83.33 | 27.52 | 21.22 | 64.58 | 55.87 | 47.40 | 89.42 |
| ContextFact-F | Opus 5.5 | 66.15 | 58.74 | 94.17 | 66.37 | 57.21 | 92.21 | 50.27 | 43.10 | 88.30 | 36.91 | 29.51 | 81.25 | 61.46 | 53.73 | 91.88 |
| ContextFact-F | Qwen3.5-27B | 62.29 | 50.09 | 90.49 | 65.16 | 54.88 | 89.10 | 44.57 | 34.35 | 78.72 | 25.38 | 21.22 | 54.17 | 57.34 | 46.41 | 85.78 |
| ContextFact-F | GPT-4.1-mini | 62.53 | 54.96 | 91.56 | 64.75 | 54.94 | 87.23 | 44.03 | 35.86 | 80.14 | 29.14 | 22.77 | 60.42 | 57.52 | 49.45 | 86.62 |
| ContextFact-F | Sol 6.1 | 61.35 | 44.89 | 91.44 | 68.16 | 50.03 | 90.03 | 45.74 | 33.13 | 82.27 | 34.96 | 23.40 | 61.46 | 58.26 | 42.47 | 87.60 |
| ContextFact-F | Sonnet 5.0 | 62.23 | 54.00 | 92.87 | 64.53 | 55.01 | 91.28 | 45.28 | 36.31 | 85.82 | 25.52 | 17.93 | 61.46 | 57.32 | 47.82 | 89.29 |
| ContextFact-F | Opus 5.5 | 68.57 | 61.18 | 95.36 | 66.90 | 56.72 | 92.83 | 51.55 | 41.95 | 87.94 | 35.29 | 27.03 | 77.08 | 63.03 | 54.60 | 92.34 |
| ContextFact-E | Qwen3.5-27B | 60.86 | 50.42 | 90.37 | 65.29 | 54.98 | 88.79 | 45.33 | 36.27 | 83.33 | 26.96 | 23.37 | 51.04 | 56.82 | 47.10 | 86.30 |
| ContextFact-E | GPT-4.1-mini | 59.85 | 52.34 | 91.08 | 63.89 | 54.83 | 88.47 | 45.16 | 35.94 | 79.43 | 28.31 | 21.84 | 59.38 | 56.04 | 47.96 | 86.43 |
| ContextFact-E | Sol 6.1 | 59.63 | 43.38 | 92.27 | 67.06 | 48.84 | 89.41 | 45.83 | 33.87 | 85.11 | 31.99 | 20.98 | 60.42 | 56.93 | 41.38 | 88.38 |
| ContextFact-E | Sonnet 5.0 | 60.33 | 50.82 | 93.46 | 62.20 | 51.96 | 89.10 | 44.96 | 36.06 | 87.94 | 27.43 | 21.60 | 66.67 | 55.85 | 46.53 | 89.87 |
| ContextFact-E | Opus 5.5 | 67.15 | 59.29 | 95.36 | 68.87 | 59.01 | 93.46 | 52.07 | 43.61 | 93.26 | 36.05 | 28.53 | 79.17 | 62.81 | 54.44 | 93.57 |
| ContextFact-E | Qwen3.5-27B | 58.88 | 48.82 | 89.89 | 65.78 | 56.66 | 88.16 | 45.50 | 35.14 | 82.27 | 27.55 | 23.10 | 53.12 | 55.92 | 46.34 | 85.84 |
| ContextFact-E | GPT-4.1-mini | 58.46 | 50.90 | 91.44 | 64.14 | 55.34 | 87.85 | 44.62 | 34.72 | 81.21 | 28.82 | 23.16 | 58.33 | 55.26 | 47.13 | 86.75 |
| ContextFact-E | Sol 6.1 | 58.56 | 43.08 | 92.87 | 68.16 | 49.38 | 90.03 | 45.01 | 32.80 | 84.40 | 35.03 | 23.20 | 64.58 | 56.62 | 41.27 | 88.96 |
| ContextFact-E | Sonnet 5.0 | 59.48 | 49.59 | 92.98 | 61.44 | 51.05 | 89.72 | 43.90 | 34.46 | 89.36 | 29.78 | 22.32 | 67.71 | 55.19 | 45.42 | 90.06 |
| ContextFact-E | Opus 5.5 | 65.55 | 58.29 | 94.89 | 67.18 | 57.32 | 93.46 | 52.47 | 43.71 | 93.26 | 37.70 | 28.88 | 80.21 | 61.76 | 53.59 | 93.38 |
| ContextFact-E | Qwen3.5-27B | 59.63 | 48.76 | 90.13 | 64.83 | 55.09 | 87.85 | 43.88 | 34.17 | 82.62 | 24.06 | 20.04 | 46.88 | 55.61 | 45.62 | 85.58 |
| ContextFact-E | GPT-4.1-mini | 60.64 | 53.37 | 91.80 | 62.63 | 53.07 | 89.72 | 44.78 | 36.62 | 81.91 | 29.75 | 24.54 | 57.29 | 56.23 | 48.44 | 87.40 |
| ContextFact-E | Sol 6.1 | 59.88 | 43.63 | 93.10 | 65.95 | 47.65 | 89.10 | 43.37 | 32.61 | 81.91 | 28.98 | 19.23 | 55.21 | 56.20 | 40.93 | 87.86 |
| ContextFact-E | Sonnet 5.0 | 60.43 | 50.62 | 93.46 | 62.59 | 52.58 | 89.41 | 42.38 | 34.56 | 82.98 | 23.42 | 17.39 | 53.12 | 55.27 | 46.02 | 88.18 |
| ContextFact-E | Opus 5.5 | 66.62 | 59.03 | 95.72 | 65.73 | 55.44 | 93.46 | 50.36 | 40.96 | 91.49 | 35.87 | 27.24 | 82.29 | 61.54 | 52.99 | 93.64 |
| ContextFact-E | Qwen3.5-27B | 60.09 | 50.05 | 90.49 | 66.50 | 55.88 | 90.65 | 45.72 | 36.02 | 81.91 | 25.45 | 21.86 | 51.04 | 56.63 | 46.94 | 86.49 |
| ContextFact-E | GPT-4.1-mini | 60.32 | 52.67 | 91.08 | 64.38 | 54.10 | 88.79 | 45.46 | 36.10 | 81.56 | 28.23 | 22.46 | 61.46 | 56.45 | 48.05 | 87.01 |
| ContextFact-E | Sol 6.1 | 59.18 | 43.22 | 92.51 | 68.05 | 49.40 | 90.97 | 45.50 | 34.20 | 82.27 | 34.31 | 22.65 | 67.71 | 56.97 | 41.57 | 88.77 |
| ContextFact-E | Sonnet 5.0 | 59.80 | 49.96 | 93.70 | 62.03 | 51.43 | 90.65 | 44.27 | 35.44 | 87.23 | 25.58 | 19.76 | 62.50 | 55.28 | 45.73 | 89.94 |
| ContextFact-E | Opus 5.5 | 65.70 | 57.88 | 95.36 | 66.71 | 56.31 | 93.15 | 53.30 | 44.48 | 92.20 | 34.64 | 26.93 | 79.17 | 61.70 | 53.17 | 93.31 |
| ContextFact-E | Qwen3.5-27B | 61.58 | 51.13 | 90.61 | 64.28 | 54.77 | 86.60 | 46.11 | 36.50 | 85.11 | 24.59 | 21.21 | 48.96 | 57.00 | 47.34 | 86.17 |
| ContextFact-E | GPT-4.1-mini | 62.35 | 54.93 | 92.27 | 62.99 | 53.35 | 88.47 | 45.49 | 36.80 | 80.14 | 30.86 | 24.87 | 59.38 | 57.43 | 49.41 | 87.21 |
| ContextFact-E | Sol 6.1 | 60.86 | 44.31 | 93.22 | 67.01 | 48.03 | 89.72 | 46.34 | 33.92 | 82.98 | 32.20 | 21.44 | 59.38 | 57.70 | 41.76 | 88.51 |
| ContextFact-E | Sonnet 5.0 | 61.37 | 50.77 | 94.17 | 61.44 | 50.21 | 89.41 | 44.82 | 36.22 | 87.94 | 25.86 | 19.12 | 60.42 | 56.14 | 46.02 | 89.94 |
| ContextFact-E | Opus 5.5 | 68.39 | 60.66 | 96.20 | 67.00 | 56.06 | 93.15 | 51.50 | 41.68 | 92.91 | 34.40 | 25.37 | 80.21 | 62.89 | 54.03 | 93.96 |
Table 19. Cross-model memory construction and transferability on LoCoMo with ContextFact-F and ContextFact-E.
Reader gains are largest on open-domain and multi-hop questions. Holding the Qwen3.5-27B ContextFact-E memory bank fixed, replacing the Qwen3.5-27B reader with Opus 5.5 raises judge accuracy by 28.12 percentage points on open-domain questions and 9.93 points on multi-hop questions. The corresponding gains are 4.99 points on single-hop questions and 4.67 points on temporal questions (Figure 7b). For this reader comparison, open-domain and multi-hop questions also show the two largest gains with each of the other four construction models (Tab. 19). This pattern is consistent with the demands of combining evidence across records and inferring answers that are not stated explicitly in the retrieved evidence.
Overall entity-view gains persist across construction–reader pairs. ContextFact-E achieves higher overall judge accuracy than ContextFact-F in all 25 pairs (Figure 7c). Averaged equally across these pairs, the gain is 3.9 percentage points on multi-hop questions and 1.1 points overall (Figure 7d). Multi-hop accuracy improves or remains unchanged in every pair. These results are consistent with the entity view’s role in organizing facts about the same entity across sessions.
Case Studies
In this section, we provide five case studies illustrating how ContextFact constructs and uses conversational memory. We first examine how fact memories preserve context across nonadjacent turns and separate distinct facts within a turn. We then illustrate how the entity view provides access to information missed by direct fact retrieval, resolves cross-session references, and supports counting distinct objects from retrieved evidence.
Memory-Unit Boundaries
The following two examples compare ContextFact’s context preservation against atomic-fact-based methods (represented by AtomMem) and segment-based methods (represented by SeCom).
Context across nonadjacent turns. Figure 8 illustrates how related context can be interleaved across nonadjacent turns: Nate first describes his tournament stress and the comfort his turtles bring him in T3, engages with Joanna’s discussion of her stuffed dog from T4 to T8, returns to his turtles in T9, and finally shifts to tournament practice in T11.
Figure 8. Preserving context across nonadjacent turns.
AtomMem stores the related details in separate atomic units, while SeCom’s contiguous segments mix the two discussions and separate Nate’s later update from the earlier context. ContextFact groups T3, T9, and T11 into one memory, connecting tournament stress, emotional support, and continued practice; a separate memory preserves Tilly’s role as a writing companion together with the connection to Joanna’s former dog that explains its name. These boundaries keep each focal fact together with its supporting context, even when another discussion intervenes.
Distinct facts within a turn. Figure 9 shows how a single turn can contribute to two distinct memories. In T6, Audrey accepts Andrew’s hike invitation and introduces the personalized tags she made for her dogs. The conversation then develops the tag-making discussion before returning to the hike and preparations for the dogs.
Figure 9. Separating distinct facts within a turn.
AtomMem stores the invitation and acceptance as separate atomic units. SeCom’s contiguous segments separate the invitation from the acceptance, group the acceptance with the dog-tag discussion, and place the later hike preparations in another segment. ContextFact groups the invitation, acceptance, and preparations into one memory about the planned hike. A separate memory connects the handmade tags with their design and Audrey’s motivation for making them. Both memories cite T6, but each retains the information relevant to its own focal fact. Memory boundaries can therefore separate distinct facts within a turn while gathering their supporting context from other turns.
Entity-Linked Expansion
The question in Figure 10 requires combining information from different sessions to identify John’s children. Direct fact retrieval finds the memory naming his son Kyle but misses the memory mentioning his daughter Sara in the context of a family birthday trip.
Figure 10. Entity-linked expansion recovers evidence missed by direct fact retrieval.
The two memories are connected through the entity John’s Children, providing two routes to the missing information. ContextFact can follow the entity’s links to retrieve the birthday-trip memory, or the reader can obtain Sara’s name directly from the entity record. Either route supplies the missing name and supports the complete answer “Kyle and Sara”, whereas direct fact retrieval alone provides evidence for Kyle.
Cross-Session Entity Readout
The following two examples illustrate how the entity view helps resolve references and count distinct objects across sessions.
Resolving cross-session references. In Figure 11, John identifies his “old area” as West County in one session and reports a flood in his old area in a later session. Both fact memories are retrieved, but the fact-only reader answers “John’s old area”, without resolving the reference to a named location.
Figure 11. Entity readout resolves cross-session references.
The entity West County Flood Event explicitly associates the flood with West County in its name and summary. Adding entity readout while keeping the selected fact memories fixed yields the answer “West County”. The explicit connection between the location and the event helps the reader interpret the evidence already retrieved.
Counting distinct objects across sessions. In Figure 12, three retrieved fact memories describe Calvin’s purchase of a red sports car, a subsequent Ferrari service, and a later Ferrari purchase. Counting the cars requires determining which mentions refer to the same vehicle. Treating each memory as a separate car would incorrectly give a count of three.
![Entity readout supporting counting distinct objects across sessions. Query: How many Ferraris does Calvin own? Session 2 · March 26, 2023: “… I just got a new red sports car and it’s amazing! [img: ferrari 488 gtb]…” All facts already retrieved. [CF1] New luxury sports car: Calvin shared a photo from yesterday (March 25, 2023) of a red ferrari parked on the side of the road, taken when he took it for a ride. Session 12 · August 3, 2023: “… I just took my Ferrari for a service and it was so stressful. I'm kinda attached to it. …” [CF2] Stressful Ferrari service: Calvin just took his Ferrari for a service and found it so stressful because he is kinda attached to it. Session 23 · October 15, 2023: “… Last week, I got a new Ferrari! It's a masterpiece on wheels. …” [CF3] New Ferrari purchase: Last week (October 2–8, 2023), Calvin got a new Ferrari, which he described as a masterpiece on wheels. [Entity] Calvin's Red Ferrari. [Record] Acquisition and Initial Impressions: On March 25, 2023, Calvin acquired a red Ferrari 488 GTB, describing it as a 'dream come true' and a reward for his hard work. [Record] Service and Emotional Significance: On August 3, 2023, Calvin took the Ferrari for a service, describing the experience as stressful due to his attachment to the vehicle. Purchase + service → one red car. [Entity] Calvin's new Ferrari. [Record] Calvin's new Ferrari: The new black sports car Calvin purchased last week (October 2–8, 2023). New purchase → a second car. Fact only: Three. Fact + Entity: Two Ferraris.] bbox=0.17,0.10,0.82,0.50
Figure 12. Entity readout supports counting distinct objects across sessions.
The entity view groups the initial purchase and service as records of the same red Ferrari, while representing the later purchase as a separate vehicle. Presenting these entities alongside the facts makes the two cars explicit and supports the answer “Two Ferraris”.
Failure Analysis of the Entity View
Adding the entity view lowers open-domain judge accuracy from 64.58% to 59.38% with GPT-4.1-mini and from 54.17% to 51.04% with Qwen3.5-27B. Among the 96 open-domain questions, nine Qwen3.5-27B answers change from accepted under ContextFact-F to rejected under ContextFact-E, while six change in the opposite direction. The corresponding counts for GPT-4.1-mini are ten and five. We refer to these judge-defined changes as regressions and gains, respectively.
We examine whether fact expansion accounts for the aggregate decline (Appx. H.1), audit the nine Qwen3.5-27B regressions against the source dialogue and reader inputs (Appx. H.2), and present all nine cases (Appx. H.3). The audit distinguishes observed answer patterns from causal explanations and examines whether another reader can recover the benchmark answer from the same evidence.
Does Fact Expansion Explain the Open-Domain Drop?
ContextFact-E changes both the selected fact evidence and the reader input. Entity-linked expansion enlarges the candidate pool before reranking, so the selected ContextFacts can differ from those in ContextFact-F. The reader also receives ten selected entities. We thus examine evidence-turn recall and controlled ablations to distinguish the effects of changing the fact list and adding entity readout.
Evidence-turn recall. We measure the fraction of annotated supporting turns cited by at least one selected ContextFact, averaged over questions with evidence annotations. Entity-linked expansion retains the original candidates and adds linked facts, although reranking can still replace individual selected facts. In Table 20, recall increases in every question category. For open-domain questions, it rises from 71.60% to 73.76% with the expanded fact pool and to 87.04% when provenance links from the selected entities are also counted. These aggregate results indicate broader coverage of annotated supporting turns.
| Question type | F: CF10 | E: CF10 | E: CF10 + entity links |
| Single-hop | 98.41 | 98.89 | 99.37 |
| Multi-hop | 80.03 | 86.14 | 92.02 |
| Temporal | 96.34 | 96.91 | 97.51 |
| Open-domain | 71.60 | 73.76 | 87.04 |
| Overall | 93.00 | 94.63 | 96.89 |
Table 20. Evidence-turn recall (%) on LoCoMo with Qwen. The first two columns use the top ten ContextFacts after reranking the original and the entity-expanded candidate pools, respectively. The last column also counts the source ContextFacts linked by the records of the ten selected entities.
Controlled readout comparisons. Table 14 separates fact expansion from entity readout. R0 corresponds to ContextFact-F, whereas R3 uses the expanded candidate pool but supplies only the selected ContextFacts. Both achieve 54.17% open-domain judge accuracy. Adding entity readout while holding the selected ContextFacts and their order fixed lowers accuracy from 54.17% to 50.00% without expansion (R0 versus R4) and from 54.17% to 51.04% with expansion (R3 versus R5). Thus, entity readout can reduce aggregate open-domain accuracy even when the fact evidence is unchanged.
Patterns in Open-Domain Flips
We examine the nine open-domain questions for which the judge accepts Qwen’s answer with ContextFact-F but rejects its answer with ContextFact-E. We compare both methods’ reader inputs and outputs against the source dialogue. In seven of the nine cases, relevant clues remain in the augmented input, but Qwen-E does not complete the inference or synthesis expected by the reference answer. Its responses rely on explicit details without making the required connection, or omit relevant parts of the answer.
Open-domain questions often require the reader to connect dialogue clues with background knowledge or synthesize information across records. Adding the entity view increases Qwen’s mean evidence length from 1,153 tokens with the fact view alone to 2,884 tokens with both views on open-domain questions. These records provide additional detail, but the reader must still identify the relevant clues and complete the required inference or synthesis. In the audited cases, Qwen-E exhibits two recurring patterns of incomplete evidence use:
| Construction | Method | Qwen3.5-27B | GPT-4.1-mini | Sol 6.1 | Sonnet 5.0 | Opus 5.5 |
| Qwen3.5-27B | F | 54.17 | 55.21 | 59.38 | 66.67 | 77.08 |
| Qwen3.5-27B | E | 51.04 | 59.38 | 60.42 | 66.67 | 79.17 |
| GPT-4.1-mini | F | 57.29 | 62.50 | 62.50 | 66.67 | 77.08 |
| GPT-4.1-mini | E | 53.12 | 58.33 | 64.58 | 67.71 | 80.21 |
Table 21. Open-domain accuracy (, %) on LoCoMo by reader.
Looking up an answer instead of inferring it. The question requires combining a written clue with background knowledge, but the reader answers only from what is written. It abstains when no written detail answers the question, or it returns a related written detail as the answer.
Shifting the focus. The question requires summarizing several events, but the reader builds its answer around the details that the entity records make prominent and omits other parts of the gold answer.
Five cases fall into the first category. Asked whether Calvin would enjoy performing at the Hollywood Bowl, Qwen-E answers that no information is available despite clues about his enjoyment of large stages and crowds. Asked which country Calvin and Dave want to meet in, it returns Boston rather than the country. The Fort Wayne case also involves a mismatch between the year in the question and the date assigned in the entity record.
Two cases fall into the second category. When asked to describe John’s attributes, Qwen-E lists traits such as resilience but omits the selflessness and family orientation expected by the reference answer. The remaining two cases involve ambiguity in the source dialogue. The hiking excerpts leave the number of distinct, completed hikes uncertain. In Jill’s case, the phrase your Jill is the only clue to her relationship with John and leaves its nature open to interpretation. The reference answer tentatively identifies her as John’s partner.
A stronger reader recovers all seven benchmark answers. Given the same Context-E inputs, Opus 5.5 produces judge-accepted answers for all seven cases in the two categories. It connects Calvin’s enjoyment of large crowds to the Hollywood Bowl, maps Boston to the United States, links C. S. Lewis to fantasy, and makes the tentative residence inference expected from the Stamford clue. Tab. 21 reports open-domain accuracy from the cross-model experiment in Tab. 19. Opus 5.5 achieves the highest open-domain accuracy in every setting shown. The case analysis and cross-model results suggest that the benefit of entity records depends partly on the reader’s ability to select relevant evidence and connect it to the question.
Across all 1,540 LoCoMo questions, Qwen3.5-27B has 68 gains and 50 regressions. The manual audit identifies 22 gains involving newly available clues and 40 involving better organization or use of existing evidence. Among the regressions, 14 involve missed clues or incomplete inference, and eight involve misleading or competing evidence. These reported categories provide a partial account of the flips. The number of regressions is 20 with Opus 5.5, compared with 50 with Qwen3.5-27B. These results suggest that the reader’s ability to select and connect evidence affects whether the additional entity records help.
Failure Cases on Open-Domain Questions
The following nine cases cover all open-domain questions for which the judge accepted Qwen-F and rejected Qwen-E. Each case retains the source excerpts, retrieved evidence, reference answer, and model outputs.
Looking up an answer instead of inferring it
1. Inferring Calvin’s interest in performing at the Hollywood Bowl
Question Would Calvin enjoy performing at the Hollywood Bowl?
Hint The reader must connect the Hollywood Bowl to Calvin’s enjoyment of big stages and connection with the crowd.
Source turn [2023-05-31] Performing live always fuels my soul! I love the rush and connection with the crowd, the feeling’s indescribable—it’s an absolute high!
[2023-08-31] Performing on such a big stage was a dream come true! ...
Context-E ContextFacts
[CF #1] Calvin said performing on such a big stage was a dream come true...
[CF #3] Calvin stated that performing live always fuels his soul, providing an indescribable rush and connection with the crowd that feels like an absolute high.
Supplementary Entity Memories
[Entity #8] Calvin’s Tour with Frank Ocean: The tour involved performing on large stages with high energy and strong crowd connection.
Gold Answer Yes; because he enjoys the rush of performing onstage to large crowds
Qwen-F Yes, he would love it.
Qwen-E No information available.
Opus-E Yes, he loves big crowds.
Analysis Although the added entity records again describe large stages and crowd energy, Qwen-E answers that no information is available. Given the same Context-E, Opus infers the correct answer.
2. Inferring James’s state of residence from Stamford
Question Does James live in Connecticut?
Hint The reader must link Stamford to Connecticut and use the adoption location as a clue to James’s likely residence.
Source turn [2022-04-12] I adopted a pup from a shelter in Stamford last week ...
[2022-10-31] We rented an apartment not far from McGee’s bar.
Context-E ContextFacts
[CF #2] James and Samantha have decided to move in together. . . . They rented an apartment not far from McGee’s bar.
[CF #10] James adopted a pup from a shelter in Stamford last week ...
Supplementary Entity Memories
[Entity #3] James and Samantha’s apartment: An apartment rented by James and Samantha in late October 2022, located near McGee’s bar. . . .
[Entity #4] Stamford Shelter: The animal shelter in Stamford where James adopted his dog, Ned, in early April 2022.
Gold Answer Likely yes
Qwen-F Yes, he lives in Connecticut.
Qwen-E No evidence confirms this.
Opus-E Likely yes; he adopted Ned in Stamford.
Analysis Although the added entity records describe the Stamford shelter and James’s apartment, none states where he lives, and Qwen-E answers that no evidence confirms it. Given the same Context-E, Opus makes the tentative residence inference expected by the gold answer.
Linking C. S. Lewis to Tim’s love of fantasy
| Question | Would Tim enjoy reading books by C. S. Lewis or John Greene? |
| Hint | The reader must recognize C. S. Lewis as a fantasy author and link him to Tim’s love of fantasy novels. |
| Source turn | [2023-08-02] Harry Potter and Game of Thrones are amazing - I’m totally hooked! [2023-10-02] It’s filled with my favorite fantasy novels. |
| Context-E | ContextFacts [CF #3] Tim shared a photo of a bookcase filled with DVDs and games, stating it was filled with his favorite fantasy novels. [CF #10] Tim is totally hooked on Harry Potter and Game of Thrones. . . . Supplementary Entity Memories [Entity #1] Tim’s Fantasy Reading Habit: Tim’s consistent practice of reading fantasy literature, particularly Harry Potter. . . . |
| Gold Answer | C. S. Lewis |
| Qwen-F | Yes, he would enjoy C. S. Lewis. |
| Qwen-E | No, he prefers fantasy. |
| Opus-E | C. S. Lewis, given his fantasy love. |
| Analysis | Context-F contains the same ten ContextFacts, so the reader inputs differ only in the added entity records, which frame Tim’s interest as a fantasy reading habit. Qwen-E restates this preference without connecting it to C. S. Lewis’s fantasy writing, whereas Opus, given the same Context-E, infers the correct answer. |
Table 22.
Mapping Boston to the requested country
| Question | Which country do Calvin and Dave want to meet in? |
| Hint | The reader must map the city Boston to its country the United States. |
| Source turn | [2023-04-20] I can’t wait for your trip to Boston... [2023-08-22] ... I’m heading to Boston. Maybe we can meet up then! [2023-09-02] Cool! Let me know when you’re free and we can catch up in Boston. |
| Context-E | ContextFacts [CF #2] He mentioned he is heading to Boston, suggesting they might meet up then. [CF #5] Calvin plans to let Dave know when he is in Boston so they can catch up. Supplementary Entity Memories [Entity #1] Calvin’s Boston Trip: A trip Calvin booked for late August 2023 to Boston, where he planned to meet Dave. |
| Gold Answer | United States |
| Qwen-F | They want to meet in the USA. |
| Qwen-E | They want to meet in Boston. |
| Opus-E | United States (Boston) |
| Analysis | Qwen-E answers with the city instead of the requested country. Given the same Context-E, Opus gives the correct answer. |
Table 23.
Linking Fort Wayne to Joanna’s summer visit
| Question | What state did Joanna visit in summer 2021? |
| Issue | The phrase last summer, used in November 2022, is assigned to summer 2022 in the entity record, whereas the question asks about summer 2021. The location clue links Fort Wayne to Indiana. |
| Source turn | [2022-11-09] Thanks, Nate! I took that pic on a hike last summer near Fort Wayne. The sunset and the surrounding beauty were just incredible. |
| Context-E | ContextFacts<br>[CF #1] Joanna shared a photo of a sunflower in a field with a sunset in the background. She took that pic on a hike last summer near Fort Wayne.<br>Supplementary Entity Memories<br>[Entity #1] Joanna’s Summer 2022 Fort Wayne Hike: A hiking trip taken by Joanna in the summer of 2022 near Fort Wayne, resulting in a photo of a sunflower and sunset. |
| Gold Answer | Indiana |
| Qwen-F | Indiana |
| Qwen-E | No visit mentioned in memories. |
| Opus-E | Indiana |
| Analysis | Both contexts keep the ContextFact with the original phrase last summer. Context-E additionally dates the hike to summer 2022, which conflicts with the question’s year, 2021. Qwen-E reports no visit, whereas Opus returns the state expected by the gold answer. |
Table 5 (PDF p. 50).
Shifting the focus
Summarizing John’s traits
| Question | What attributes describe John? |
| Hint | The reader must generalize from John’s volunteer work and devotion to family to traits such as selfless and family-oriented. |
| Source turn | [2022-12-22] ... I’m so passionate about making a positive impact.<br>[2022-12-22] Family time means a lot to me.<br>[2023-01-01] . . . We also organized a toy drive for kids in need. |
| Context-E | ContextFacts<br>[CF #5] He said they help him stay centered, remind him why he is passionate about making a positive impact, are his rock in tough times, and always cheer him on.<br>Supplementary Entity Memories<br>[Entity #3] John’s Political Campaigns and Candidacies: . . . characterized by networking, community engagement, and resilience despite previous lack of success.<br>[Entity #7] John’s Family Unit: John’s immediate family . . . serves as his primary source of emotional strength and motivation.<br>[Entity #9] John’s Service-Focused Online Group: An online community John joined in late December 2022 to connect with individuals passionate about service. . . |
| Gold Answer | Selfless, family-oriented, passionate, rational |
| Qwen-F | Determined, passionate, supportive, inspiring, grateful. |
| Qwen-E | Dedicated, passionate, resilient, determined, grateful. |
| Opus-E | Dedicated, passionate, determined, family-oriented, community-minded |
| Analysis | Although Context-E contains entity records on John’s family and community service, Qwen-E lists traits such as resilience and omits the selflessness and family orientation expected by the gold answer. Given the same Context-E, Opus includes family-oriented and community-minded. |
Table 6 (PDF p. 50).
Summarizing how Sam addresses his health challenges
Question What challenges does Sam face in his quest for a healthier lifestyle, and how does he address them?
Hint The reader must summarize Sam’s challenges and responses across sessions, including his cooking class and Evan’s support.
Source turn [2023-08-15] I’m taking a cooking class to learn how to make healthier meals. [2023-08-15] It’s okay to feel overwhelmed, Sam. Just keep moving forward slowly and taking small steps. You’re doing awesome. [2023-10-25] My family’s really pushing for it, and I feel so pressured. [2023-11-21] I’ve been dealing with some discomfort and it’s been limiting my movement. . . . I’ve been trying to make changes diet-wise, but it can be hard.
Context-E
ContextFacts
[CF #1] Sam’s family is really pushing for it, making Sam feel pressured. [CF #3] Sam has been dealing with discomfort that is limiting his movement. [CF #9] Sam is taking a cooking class to learn how to make healthier meals. . . . Evan encouraged Sam, saying it is okay to feel overwhelmed and keep moving forward . . .
Supplementary Entity Memories
[Entity #1] Sam’s health and diet journey: . . . struggles with cravings and family pressure, physical discomfort. . . . [Entity #7] Sam’s family: Sam’s family members who encouraged and pressured him to maintain a new health routine in October 2023. [Entity #8] Sam’s Weight Watchers coach role: The coaching position Sam obtained within his Weight Watchers group in November 2023. . . . [Entity #10] Evan and Sam’s mutual health support: A long-term reciprocal support system between Evan and Sam, characterized by encouragement. . . .
Gold Answer Sam faces challenges like maintaining motivation and making dietary changes. He addresses them by enrolling in cooking classes and seeking support from friends like Evan.
Qwen-F Cravings, discomfort, weight; diet, coaching, cooking.
Qwen-E Cravings, pressure, discomfort; slow steps, coaching.
Opus-E Challenges: weight, cravings, gastritis, pressure; addressed through cooking classes, diet, exercise, planning.
Analysis The added entities describe family pressure, and Qwen-E centers its answer on pressure, discomfort, and coaching, omitting the cooking class that CF #9 still contains. Given the same Context-E, Opus includes the cooking class.
Ambiguous Evidence and Entity Descriptions
| 8. Counting Joanna’s hikes | |
| Question | How many hikes has Joanna been on? |
| Issue | The displayed excerpts contain five hiking-related mentions, but whether all of them are distinct, completed hikes is unstated, so the excerpts do not determine the gold total of four. |
| Source turn | [2022-04-15] It reminded me of this gorgeous sunset I saw while hiking the other day.<br>[2022-04-17] I found an awesome hiking trail in my hometown yesterday!<br>[2022-05-12] I went hiking and found some more amazing trails in my town.<br>[2022-06-03] Yep, I’m hiking with some buddies this weekend. . . . Can’t wait!<br>[2022-11-09] I took that pic on a hike last summer near Fort Wayne. |
| Gold Answer | Four |
| Qwen-F | At least four hikes. |
| Qwen-E | At least five hikes. |
| Opus-E | At least five hikes. |
| Analysis | Qwen-E and Opus both answer at least five. The excerpts include a planned hike and do not establish whether all five mentions refer to distinct, completed hikes. The displayed evidence therefore does not uniquely determine either the gold total of four or the models’ lower bound of five. |
Table 8 (PDF p. 52).
| 9. Interpreting John’s relationship to Jill | |
| Question | Who is Jill? |
| Issue | The entity record resolves the ambiguous phrase your Jill as an acquaintance of John. |
| Source turn | [2022-07-22] Certainly! And not only impressions, I also brought souvenirs. For both you and your Jill!<br>[2022-07-22] Thank you very much, Jill will be delighted! |
| Context-E | ContextFacts<br>[CF #1] James confirmed he brought souvenirs for both John and John’s Jill. John thanked James and said Jill would be delighted.<br>Supplementary Entity Memories<br>[Entity #1] Jill: An acquaintance of John for whom James brought a souvenir. |
| Gold Answer | Most likely John’s partner. |
| Qwen-F | John’s partner. |
| Qwen-E | John’s acquaintance. |
| Opus-F | Likely John’s partner (relationship unspecified) |
| Opus-E | John’s acquaintance who received James’s souvenir |
| Analysis | Both contexts contain CF #1, which keeps the original phrase John’s Jill. Context-E adds an entity record that describes Jill as an acquaintance, and both readers adopt this description. We do not count this case as a reconstruction error: the dialogue never states who Jill is, and even the gold answer is hedged (most likely). The record does not contradict the source; it turns an ambiguous phrase into one specific relationship. |
Table 9 (PDF p. 52).
References
- [1]Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, and Deshraj Yadav. Mem0: Building production-ready AI agents with scalable long-term memory. arXiv preprint arXiv:2504.19413, 2025.arxiv.org/abs/2504.19413
- [2]Gordon V Cormack, Charles LA Clarke, and Stefan Buettcher. Reciprocal rank fusion outperforms Condorcet and individual rank learning methods. In Proceedings of the 32nd international ACM SIGIR conference on Research and development in information retrieval, pp. 758–759, 2009. URL https://dl.acm.org/doi/10.1145/1571941.1572114.DOI
- [3]Xingbo Du, Loka Li, Duzhen Zhang, and Le Song. MemR³: Memory retrieval via reflective reasoning for LLM agents. arXiv preprint arXiv:2512.20237, 2025.
- [4]Darren Edge, Ha Trinh, Newman Cheng, Joshua Bradley, Alex Chao, Apurva Mody, Steven Truitt, Dasha Metropolitansky, Robert Osazuwa Ness, and Jonathan Larson. From local to global: A Graph RAG approach to query-focused summarization. arXiv preprint arXiv:2404.16130, 2024. URL https://arxiv.org/abs/2404.16130.
- [5]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. LightMem: Lightweight and efficient memory-augmented generation. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=dyJ0GWpjJB.arxiv.org/abs/2510.18866
- [6]Bernal Jiménez Gutiérrez, Yiheng Shu, Yu Gu, Michihiro Yasunaga, and Yu Su. HippoRAG: Neurobiologically inspired long-term memory for large language models. In Advances in Neural Information Processing Systems, volume 37, 2024. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/6ddc001d07ca4f319af96a3024f6dbd1-Abstract-Conference.html.arxiv.org/abs/2405.14831
- [7]Bernal Jiménez Gutiérrez, Yiheng Shu, Weijian Qi, Sizhe Zhou, and Yu Su. From RAG to memory: Non-parametric continual learning for large language models. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pp. 21497–21515. PMLR, 2025. URL https://proceedings.mlr.press/v267/gutierrez25a.html.arxiv.org/abs/2502.14802
- [8]Shuo Ji, Yibo Li, and Bryan Hooi. Memory is reconstructed, not retrieved: Graph memory for LLM agents. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=xRWFtS3ES.arxiv.org/abs/2606.06036
- [9]Jiazheng Kang, Mingming Ji, Zhe Zhao, and Ting Bai. Memory OS of AI agent. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pp. 25961–25970, 2025. doi: 10.18653/v1/2025.emnlp-main.1318. URL https://aclanthology.org/2025.emnlp-main.1318/.
- [10]Chunyu Li, Mengyuan Zhang, Jingyi Kang, Ding Chen, Jiajun Shen, Bo Tang, Xuanhe Zhou, Feiyu Xiong, and Zhiyu Li. MemRanker: Reasoning-aware reranking for agent memory retrieval. arXiv preprint arXiv:2605.06132, 2026. URL https://arxiv.org/abs/2605.06132v2.
- [11]Jiaqi Liu, Yaofeng Su, Peng Xia, Siwei Han, Zeyu Zheng, Cihang Xie, Mingyu Ding, and Huaxiu Yao. SimpleMem: Efficient lifelong memory for LLM agents. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=oBgLvd5YC6.arxiv.org/abs/2601.02553
- [12]Nelson F Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. Lost in the middle: How language models use long contexts. Transactions of the Association for Computational Linguistics, 12:157–173, 2024. URL https://aclanthology.org/2024.tacl-1.9/.arxiv.org/abs/2307.03172
- [13]Wenguan Ma, Jiayan Nan, and Wenlong Wu. What deserves memory: Adaptive memory distillation for LLM agents. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 34789–34812, 2026.
- [14]Adyasha Maharana, Dong-Ho Lee, Sergey Tulyakov, Mohit Bansal, Francesco Barbieri, and Yuwei Fang. Evaluating very long-term conversational memory of LLM agents. In Lun-Wei Ku, Andre Martins, and Vivek Srikumar (eds.), Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 13851–13870, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.acl-long.747. URL https://aclanthology.org/2024.acl-long.747/.DOI
- [15]OpenAI. GPT-4.1 mini. OpenAI API model documentation, 2025. URL https://developers.openai.com/api/docs/models/gpt-4.1-mini. Accessed September 14, 2026.
- [16]Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G Patil, Ion Stoica, and Joseph E Gonzalez. Memgpt: Towards LLMs as operating systems. arXiv preprint arXiv:2310.08560, 2023.arxiv.org/abs/2310.08560
- [17]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. SeCom: On memory construction and retrieval for personalized conversational agents. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=xRDZAW0He3.arxiv.org/abs/2502.05589
- [19]Preston Rasmussen, Pavlo Paliychuk, Travis Beauvais, Jack Ryan, and Daniel Chalef. Zep: a temporal knowledge graph architecture for agent memory. arXiv preprint arXiv:2501.13956, 2025.arxiv.org/abs/2501.13956
- [20]Stephen Robertson and Hugo Zaragoza. The probabilistic relevance framework: BM25 and beyond. Foundations and trends® in information retrieval, 4(1-2):1–174, 2009.
- [21]Zhanyu Shen, Sijie Cheng, Zhicheng Guo, Weiqin Wang, Yile Wang, and Hui Huang. AnchorMem: Anchored facts with associative contexts for building memory in large language models. In Findings of the Association for Computational Linguistics: ACL 2026, pp. 34784–34798, 2026. URL https://aclanthology.org/2026.findings-acl.1736/.
- [22]Jingwei Sun, Jianing Zhu, Jiangchao Yao, Tongliang Liu, and Bo Han. Rethinking how to remember: Beyond atomic facts in lifelong LLM agent memory. arXiv preprint arXiv:2605.19952, 2026.arxiv.org/abs/2605.19952
- [24]Menglin Xia, Xuchao Zhang, Shantanu Dixit, Paramaguru Harimurugan, Rujia Wang, Victor Rühle, Robert Sim, Chetan Bansal, and Saravan Rajmohan. Memora: A harmonic memory representation balancing abstraction and specificity. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=zSrvkj0ers.arxiv.org/abs/2602.03315
- [25]Wujiang Xu, Zujie Liang, Kai Mei, Hang Gao, Juntao Tan, and Yongfeng Zhang. A-Mem: Agentic memory for LLM agents. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=FiMOM8gcct.arxiv.org/abs/2502.12110
- [26]B. Y. Yan, Chaofan Li, Hongjin Qian, Shuqi Lu, and Zheng Liu. General agentic memory via deep research. arXiv preprint arXiv:2511.18423, 2025.arxiv.org/abs/2511.18423
- [27]Yanyu Yao, Shangze Li, Zhi Zheng, Hui Zheng, Qi Liu, Tong Xu, and Enhong Chen. AtomMem: Building simple and effective memory system for LLM agents via atomic facts. arXiv preprint arXiv:2606.19847, 2026. URL https://arxiv.org/abs/2606.19847.
- [28]Jiangnan Yu, Kisson Songqi Lin, and Jilong Wu. WhenLoss: Diagnosing write and retrieval bottlenecks in long-context memory systems. arXiv preprint arXiv:2605.24579, 2026.arxiv.org/abs/2605.24579
- [29]Boqin Yuan, Yue Su, and Kun Yao. Diagnosing retrieval vs. utilization bottlenecks in LLM agent memory. arXiv preprint arXiv:2603.02473, 2026.arxiv.org/abs/2603.02473
- [30]Yanzhao Zhang, Mingxin Li, Dingkun Long, Xin Zhang, Huan Lin, Baosong Yang, Pengjun Xie, An Yang, Dayiheng Liu, Junyang Lin, Fei Huang, and Jingren Zhou. Qwen3 Embedding: Advancing text embedding and reranking through foundation models. arXiv preprint arXiv:2506.05176, 2025.arxiv.org/abs/2506.05176
- [31]Wanjun Zhong, Lianghong Guo, Qiqi Gao, He Ye, and Yanlin Wang. MemoryBank: Enhancing large language models with long-term memory. In Proceedings of the AAAI conference on artificial intelligence, volume 38, pp. 19724–19731, 2024. URL https://doi.org/10.1609/aaai.v38i17.29946.
- [32]Sizhe Zhou and Jiawei Han. A simple yet strong baseline for long-term conversational memory of LLM agents. arXiv preprint arXiv:2511.17208, 2025.arxiv.org/abs/2511.17208
- [33]Luyao Zhuang, Shengyuan Chen, Yilin Xiao, Huachi Zhou, Yujing Zhang, Hao Chen, Qinggang Zhang, and Xiao Huang. LinearRAG: Linear graph retrieval augmented generation on large-scale corpora. In International Conference on Learning Representations, volume 2026, pp. 147053–147075, 2026.arxiv.org/abs/2510.10114







