SAG-Mem-1.0 Technical Report
Organizations: Zleap AI
Abstract
Long-term conversational memory requires retrieving complementary facts scattered across dialogue sessions, including intermediate evidence with limited similarity to the original question. Existing approaches often rely on derived memory representations or persistent relational structures, introducing construction costs and potentially losing source details. We present SAG-Mem, a conversational memory framework that preserves complete dialogue messages in non-overlapping chunks and discovers complementary evidence through query-time lexical expansion. Memory construction requires no model inference, using a lexical index without LLM-based extraction, summarization, or semantic relation construction. At query time, BM25 retrieves initial candidates, an evidence evaluator identifies useful chunks, and lexical cues from selected evidence guide an additional retrieval round. Retrieved dialogue is further annotated with calendar interpretations of supported relative-time expressions, preserving the original wording and temporal granularity. We also introduce SAG-Mem-Lite, an alternative configuration that replaces evidence scoring with embedding-based candidate scoring, achieving lower operational cost than Full Context and all memory-based baselines across both benchmarks with low query latency. On LoCoMo and LongMemEval, SAG-Mem achieves overall scores of 83.08 and 80.20, respectively, the highest among the evaluated methods on both benchmarks. On LongMemEval, it exceeds the strongest compared baseline by 7.20 points. SAG-Mem-Lite achieves scores of 77.09 and 77.20, respectively. These results support dialogue preservation and evidence-guided retrieval expansion as an effective design for long-term conversational memory.
Figures & tables
| Concern | Stage | Design choice |
|---|---|---|
| RQ1 | Memory construction | Complete messages stored verbatim with append-only writes |
| RQ2 | Initial and evidence-guided retrieval | A second lexical search driven by terms from selected chunks, plus rescoring in the context of gathered evidence |
| RQ3 | Answer generation | Deterministic date annotations after retrieval while keeping source wording |
| System / Role | Component | Version or Model Identifier |
| Zep | Memory backend | Graphiti 0.29.3 |
| Mem0 | Memory backend | Mem0 2.2.1 |
| MemOS | Memory backend | MemOS 2.0.32 |
| TDAM | Memory backend | TencentDB-Agent-Memory (GitHub, Nov 2026) |
| BM25-only | Lexical retrieval | BM25 ( Robertson and Zaragoza, 2009 ) |
| Dense RAG | Embedding model | text-embedding-bge-large-en-v1.5 |
| Method | LoCoMo | LongMemEval | |||||||||||
| Ove. | M-H | O-D | S-H | Temp. | Adv. | Ove. | M-S | K-U | Temp. | S-P | S-A | S-U | |
| LLM configuration: Qwen3.6-35B-A3B-FP8 | |||||||||||||
| Full Context | 80.46 | 78.37 | 42.71 | 90.13 | 64.85 | 82.96 | 68.88 | 54.13 | 69.23 | 65.15 | 37.93 | 100.00 | 91.43 |
| Zep | 58.25 | 46.09 | 32.29 | 53.50 | 42.99 | 91.47 | 57.77 | 42.10 | 61.04 | 54.14 | 50.00 | 67.86 | 85.71 |
| TDAM | 53.67 | 45.39 | 29.16 | 62.66 | 33.64 | 61.66 | 54.70 | 40.60 | 71.80 | 34.60 | 16.70 | 91.10 | 87.10 |
| Mem0 | 73.91 | 59.92 | 34.37 | 74.31 | 71.65 | 92.15 | 68.80 | 55.64 | 74.36 | 63.16 | 63.33 | 76.79 | 94.29 |
| Method | LoCoMo | LongMemEval | ||||
|---|---|---|---|---|---|---|
| Qwen | DeepSeek | Qwen | DeepSeek | |||
| Full Context | 80.46 | 83.43 | +2.97 | 68.88 | 74.40 | +5.52 |
| SAG-Mem-Lite | 77.09 | 81.22 | +4.13 | 77.20 | 81.60 | +4.40 |
| SAG-Mem | 83.08 | 83.99 | +0.91 | 80.20 | 82.60 | +2.40 |
| Method | LoCoMo | LongMemEval | ||||||
|---|---|---|---|---|---|---|---|---|
| Total ($) | Extract. (M) | Search/Read (M) | Emb. ($) | Total ($) | Extract. (M) | Search/Read (M) | Emb. ($) | |
| Full Context | 6.20 | – | 61.66 | – | 9.80 | – | 59.47 | – |
| Zep | 9.18 | 48.69 | 4.91 | 0.0024 | 687.49 | 4257.52 | 1.08 | 0.372 |
| TDAM | 3.53 | 26.59 | 3.14 | 0.0030 | 253.41 | 1353.21 | 3.33 | 0.491 |
| Mem0 | 0.71 | 7.00 | 1.23 | 0.0041 | 189.86 | 3659.63 | 0.41 | 0.772 |
| MemOS | 0.95 | 1.26 | 3.64 | 0.0028 | 40.07 | 233.43 | 1.08 | 0.481 |
| Method | Retrieval (s) | Generation (s) | Total (s) |
|---|---|---|---|
| Full Context | 0.0012 | 1.0429 | 1.0441 |
| Zep | 0.1908 | 0.7748 | 0.9656 |
| TDAM | 0.0616 | 0.7753 | 0.8369 |
| Mem0 | 0.0890 | 0.5097 | 0.5987 |
| MemOS | 0.2450 | 0.7947 | 1.0397 |
| BM25-only | 0.0085 | 1.0238 | 1.0323 |
| Dataset | Main ( ) | No exp. ( ) | ||
|---|---|---|---|---|
| LoCoMo | 1,986 | 83.08 | 78.15 | |
| LongMemEval | 500 | 80.20 | 75.20 |
| Evidence Evaluator | LoCoMo | LongMemEval |
|---|---|---|
| JEV | 83.08 | 80.20 |
| Zev-1 | 83.50 | 77.60 |
| Dataset & Method | Main | Raw dates | Date only |
|---|---|---|---|
| LoCoMo ( ) — SAG-Mem | 79.44 | 63.55 | 61.37 |
| LoCoMo ( ) — SAG-Mem-Lite | 68.54 | 56.39 | 56.07 |
| LongMemEval ( ) — SAG-Mem | 76.69 | 76.69 | 75.19 |
| LongMemEval ( ) — SAG-Mem-Lite | 72.18 | 69.17 | 70.68 |
| Method | Dataset | Session R@5 / R@10 / R@20 | Turn R@5 / R@10 / R@20 | |
|---|---|---|---|---|
| SAG-Mem | LoCoMo | 1,973 | 94.44 / 96.56 / 97.85 | 90.60 / 93.09 / 94.15 |
| SAG-Mem-Lite | LoCoMo | 1,973 | 79.45 / 87.91 / 94.14 | 66.33 / 75.99 / 84.62 |
| SAG-Mem | LongMemEval | 500 | 96.19 / 97.66 / 98.40 | 91.11 / 94.88 / 95.72 |
| SAG-Mem-Lite | LongMemEval | 500 | 89.98 / 96.22 / 98.22 | 77.56 / 90.25 / 94.02 |
| Config | Correct / Total | Acc. (%) | Msg. Cov. (%) | Sess. Cov. (%) | |||
|---|---|---|---|---|---|---|---|
| k20_h1 | 50 | 1 | 20 | 214 / 282 | 75.9 | 94.6 | 96.8 |
| k40_h1 | 50 | 1 | 40 | 226 / 282 | 80.1 | 94.3 | 97.0 |
| k60_h1 | 60 | 1 | 60 | 227 / 282 | 80.5 | 95.8 | 97.2 |
| k20_h2 | 50 | 2 | 20 | 220 / 282 | 78.0 | 95.1 | 96.9 |
| Configuration | Correct | Complete Miss | Evidence Present, Wrong |
|---|---|---|---|
| 214 | 4 | 64 | |
| 220 | 1 | 61 |
| Config | Correct / Total | Acc. (%) | |||
|---|---|---|---|---|---|
| default | 50 | 1 | 20 | 94 / 125 | 75.2 |
| k10 | 50 | 1 | 10 | 90 / 125 | 72.0 |
| k40 | 50 | 1 | 40 | 100 / 125 | 80.0 |
| b20 | 20 | 1 | 20 | 94 / 125 | 75.2 |
| b100 | 100 | 1 | 20 | 98 / 125 | 78.4 |
| h0 | 50 | 0 | 20 | 91 / 125 | 72.8 |
Long-Term Conversational Memory
Long-term conversational memory helps AI assistants retain, update, and use information from past conversations across sessions.
See all 298 papers