Skip to content
The Plain Paper

New method · Language and computation

Keeping conversations intact helps a memory system find facts across sessions

SAG-Mem stores full messages, then uses clues in retrieved messages to search again. Under Qwen, it scored 83.08% on LoCoMo and 80.20% on LongMemEval, beating the Full Context baseline on both.

In brief

  • SAG-Mem keeps complete messages rather than first turning them into summaries or extracted facts, and uses retrieved evidence to guide another search.
  • Under Qwen, SAG-Mem scored 83.08% on LoCoMo and 80.20% on LongMemEval; Full Context scored 80.46% and 68.88%, respectively.
  • SAG-Mem-Lite is cheaper and faster than SAG-Mem, but under Qwen its LoCoMo score, 77.09%, trails Full Context’s 80.46%.
  • Removing SAG-Mem’s expansion step lowered accuracy to 78.15% on LoCoMo and 75.20% on LongMemEval, compared with 83.08% and 80.20% with expansion.
  • The evaluations use two benchmarks and language-model judging; the paper reports no significance tests or uncertainty ranges.

The background

A long-running chat can contain an answer spread across several conversations. A question may mention one person or event, while the message that completes the answer shares only a small clue with the question. A system that searches only for wording similar to the question can miss that link.

A benchmark is a set of tasks used to compare systems. LoCoMo tests question answering over very long conversations, including questions about time and facts that require connecting more than one part of a conversation. Its conversations average 300 turns and 9K tokens, and can span up to 35 sessions. [s1]1

LongMemEval tests whether a chat assistant can remember details across interactions. Its questions cover multi-session and temporal reasoning, updated information, and whether the assistant should abstain when it lacks enough evidence. [s2]2

What the researchers did

SAG-Mem stores the original messages in chunks: groups of consecutive, complete messages from one session. It indexes the text without using a language model to extract facts or make summaries. Speaker and date information stay with the messages.

For a question, the system first uses BM25, a search method that ranks text by how its words overlap with the query, to find candidate chunks. JEV, an evidence evaluator, then scores how useful each chunk is for answering, including whether it supplies a connecting clue. The highest-scoring chunks become seeds: their words guide another lexical search for messages that may not match the original question well.

SAG-Mem rescored the candidates found in that extra search while considering the selected evidence. It then returned up to 20 chunks to the answer-writing model. After retrieval, a deterministic date renderer adds calendar dates to supported relative phrases such as “yesterday,” while keeping the original wording.

SAG-Mem-Lite keeps the same general retrieval plan but replaces JEV with embedding similarity. An embedding is a numerical representation of text; Lite compares the question’s representation with each candidate’s to rank it. The paper uses different search budgets for the two configurations, so their results do not isolate the effect of scoring alone.

What they found

Under Qwen3.6-35B-A3B-FP8, SAG-Mem scored 83.08% on LoCoMo, compared with 80.46% for Full Context, which gives the answer model the whole conversation. On LongMemEval, SAG-Mem scored 80.20%, compared with 68.88% for Full Context.

Under the same Qwen configuration, SAG-Mem-Lite scored 77.09% on LoCoMo, below Full Context’s 80.46%. On LongMemEval it scored 77.20%, above Full Context’s 68.88%. Under DeepSeek-V4.1-Flash-1017, SAG-Mem scored 83.99% on LoCoMo and 82.60% on LongMemEval, compared with Full Context’s 83.43% and 74.40%. Lite still trailed Full Context on LoCoMo under DeepSeek: 81.22% versus 83.43%.

The expansion step mattered in the full-benchmark comparison. Without it, SAG-Mem scored 78.15% on LoCoMo and 75.20% on LongMemEval, compared with 83.08% and 80.20% with the step included. In a separate test, replacing JEV with Zev-1 slightly raised LoCoMo accuracy from 83.08% to 83.50%, but lowered LongMemEval accuracy from 80.20% to 77.60%.

SAG-Mem-Lite had a total operational cost of 0.70 USD on LoCoMo and 0.95 USD on LongMemEval. SAG-Mem cost 2.86 USD and 1.91 USD, respectively. In the reported LoCoMo latency test, Lite took 0.9056 seconds end to end and SAG-Mem took 3.2820 seconds; the paper attributes SAG-Mem’s higher latency mainly to JEV scoring.

Of 42 head-to-head comparisons the paper prints, 17 favour its own contribution, 14 go against it and 11 are level.

  • Compared with Full Context, 11 results: 8 favour the paper, 3 go against it.
  • Compared with SAG-Mem-Lite, 9 results: 2 favour the paper, 4 go against it and 3 are level.
  • Compared with SAG-Mem, 6 results: 1 favours the paper, 2 go against it and 3 are level.
  • Compared with default, 2 results: 1 favours the paper, 1 goes against it.
Results as the paper prints them, with the difference worked out for this page
What was measuredResultCompared withDifference
SAG-Mem
overall score on LoCoMoAs reported in the abstract.83.08
overall score on LongMemEvalAs reported in the abstract.80.20
advantage over the strongest compared baseline on LongMemEval7.20 pointsstrongest compared baseline
overall answer accuracy on LoCoMo under Qwen3.6-35B-A3B-FP8Questions with failed API requests are excluded from the denominator.83.08 %Full Context: 80.46+2.62
overall answer accuracy on LongMemEval under Qwen3.6-35B-A3B-FP8Questions with failed API requests are excluded from the denominator.80.20 %Full Context: 68.88+11.32
SAG-Mem-Lite
overall score on LoCoMoAs reported in the abstract.77.09
overall score on LongMemEvalAs reported in the abstract.77.20
overall answer accuracy on LoCoMo under Qwen3.6-35B-A3B-FP8Questions with failed API requests are excluded from the denominator.77.09 %Full Context: 80.46-3.37Goes against the paper
overall answer accuracy on LongMemEval under Qwen3.6-35B-A3B-FP8Questions with failed API requests are excluded from the denominator.77.20 %Full Context: 68.88+8.32
Full Context
overall answer accuracy on LoCoMo under Qwen3.6-35B-A3B-FP8Questions with failed API requests are excluded from the denominator.80.46 %
overall answer accuracy on LongMemEval under Qwen3.6-35B-A3B-FP8Questions with failed API requests are excluded from the denominator.68.88 %
BM25-only
overall answer accuracy on LoCoMo under Qwen3.6-35B-A3B-FP8Questions with failed API requests are excluded from the denominator.72.60 %SAG-Mem: 83.08-10.48
Show 28 more results
More results, as the paper prints them
What was measuredResultCompared withDifference
Dense RAG
overall answer accuracy on LoCoMo under Qwen3.6-35B-A3B-FP8Questions with failed API requests are excluded from the denominator.76.20 %SAG-Mem-Lite: 77.09-0.89
MemOS
overall answer accuracy on LongMemEval under Qwen3.6-35B-A3B-FP8Questions with failed API requests are excluded from the denominator.69.00 %SAG-Mem: 80.20-11.20
SAG-Mem
overall answer accuracy on LoCoMo under DeepSeek-V4.1-Flash-1017Questions with failed API requests are excluded from the denominator.83.99 %Full Context: 83.43+0.56
overall answer accuracy on LongMemEval under DeepSeek-V4.1-Flash-1017Questions with failed API requests are excluded from the denominator.82.60 %Full Context: 74.40+8.20
temporal-question accuracy on LoCoMo under Qwen3.6-35B-A3B-FP879.44 %Full Context: 64.85+14.59
multi-hop answer accuracy on LoCoMo under Qwen3.6-35B-A3B-FP875.89 %Full Context: 78.37-2.48Goes against the paper
knowledge-update accuracy on LongMemEval under Qwen3.6-35B-A3B-FP878.21 %SAG-Mem-Lite: 85.90-7.69Goes against the paper
printed DeepSeek-minus-Qwen change in overall LoCoMo accuracy+0.91 percentage points
printed DeepSeek-minus-Qwen change in overall LongMemEval accuracy+2.40 percentage points
total operational cost on LoCoMoQwen configuration; operational cost includes construction, retrieval, and Reader generation, excluding offline judging.2.86 USDSAG-Mem-Lite: 0.70+2.16 (+308.6%)Goes against the paper
total operational cost on LongMemEvalQwen configuration; operational cost includes construction, retrieval, and Reader generation, excluding offline judging.1.91 USDSAG-Mem-Lite: 0.95+0.96 (+101.1%)Goes against the paper
end-to-end query latency on LoCoMo under QwenQuery-time latency over prebuilt indexes.3.2820 secondsSAG-Mem-Lite: 0.9056+2.3764 (+262.4%)Goes against the paper
overall answer accuracy on LoCoMo with expansionQwen configuration; N=1,986.83.08 %No expansion (H=0): 78.15+4.93
overall answer accuracy on LongMemEval with expansionQwen configuration; N=500.80.20 %No expansion (H=0): 75.20+5.00
SAG-Mem-Lite
overall answer accuracy on LoCoMo under DeepSeek-V4.1-Flash-1017Questions with failed API requests are excluded from the denominator.81.22 %Full Context: 83.43-2.21Goes against the paper
overall answer accuracy on LongMemEval under DeepSeek-V4.1-Flash-1017Questions with failed API requests are excluded from the denominator.81.60 %Full Context: 74.40+7.20
knowledge-update accuracy on LongMemEval under Qwen3.6-35B-A3B-FP885.90 %SAG-Mem: 78.21+7.69
total operational cost on LoCoMoQwen configuration; operational cost includes construction, retrieval, and Reader generation, excluding offline judging.0.70 USDBM25-only: 0.67+0.03 (+4.5%)
total operational cost on LongMemEvalQwen configuration; operational cost includes construction, retrieval, and Reader generation, excluding offline judging.0.95 USDDense RAG: 0.79+0.16 (+20.3%)
end-to-end query latency on LoCoMo under QwenQuery-time latency over prebuilt indexes.0.9056 secondsFull Context: 1.0441-0.1385 (-13.3%)
Full Context
printed DeepSeek-minus-Qwen change in overall LongMemEval accuracy+5.52 percentage points
total operational cost on LoCoMoQwen configuration.6.20 USDSAG-Mem: 2.86+3.34 (+116.8%)
total operational cost on LongMemEvalQwen configuration.9.80 USDSAG-Mem-Lite: 0.95+8.85 (+931.6%)
Zep
total operational cost on LongMemEvalQwen configuration.687.49 USDSAG-Mem-Lite: 0.95+686.54 (+72267.4%)
SAG-Mem without expansion
overall answer accuracy on LoCoMoQwen configuration; N=1,986.78.15 %Main (H=1): 83.08-4.93Goes against the paper
overall answer accuracy on LongMemEvalQwen configuration; N=500.75.20 %Main (H=1): 80.20-5.00Goes against the paper
SAG-Mem with JEV
overall answer accuracy on LoCoMoQwen configuration.83.08 %Zev-1: 83.50-0.42Goes against the paper
SAG-Mem with Zev-1
overall answer accuracy on LoCoMoQwen configuration.83.50 %JEV: 83.08+0.42

What to be careful about

The two systems were evaluated on LoCoMo and LongMemEval, using language models to judge answer correctness. The paper says questions with failed API requests were excluded from accuracy denominators. It reports no statistical significance tests or uncertainty ranges, so the results do not show how much scores might vary across repeated evaluations.

SAG-Mem does not lead on every task. Under Qwen, its LoCoMo multi-hop score was 75.89%, below Full Context’s 78.37%. On LongMemEval knowledge updates, SAG-Mem scored 78.21%, while Lite scored 85.90%. Lite also trails Full Context on LoCoMo overall under both tested model configurations.

A comparison between SAG-Mem and Lite changes more than the scoring method: the systems use different candidate limits and numbers of search rounds. The paper also notes that Lite scores chunks by similarity to the question alone, so a bridging message that becomes useful only when paired with another message may not rank highly.

The results establish performance only in the reported benchmark settings. The paper notes that its experimental dialogue is English, although its time rules are described as covering English and Chinese. Its measurements do not establish how the approach performs across other languages or real-world conversations.

How it fits with other research

LoCoMo was introduced as a benchmark for very long-term conversational memory. Its creators describe question-answering tasks that include multi-hop, temporal, and adversarial questions, among other types. This helps explain why the paper tests both connecting clues across conversations and interpreting dates. [s1]1

LongMemEval was designed to test several kinds of long-term memory, including multi-session questions, time-based reasoning, and tracking updates to information. Those task types make it possible to compare not just general recall but also how systems handle changing or time-dependent details. [s2]2

Papers here on the same methods and data

  1. 24 Nov 2026

    SOARS: System One Assisted Reranking for Agentic Search

    SOARS reranks search results as an agent works. On BrowseComp-Plus, GPT-5.4 Mini accuracy rose from 73.9% to 84.7%, while its search calls fell from 23 to 14.

    Also covers BM25

Who can use it

The authors describe SAG-Mem as a design for long-term conversational question answering when relevant details may be spread across sessions. Its direct storage and query-time search are intended to avoid model-based extraction during memory construction, while its date annotations are intended to help the answer model interpret supported relative-time phrases.

Terms explained

RAG
Retrieval-augmented generation: a system searches stored information and gives relevant results to a language model to help it answer.
BM25
A text-search method that ranks documents by how well their words match a query.
JEV
The evidence evaluator used by SAG-Mem to score whether a message helps answer the question, including by providing an intermediate clue.
Embedding
A numerical representation of text that lets a system compare the similarity of a question and a passage.
Seed
A high-scoring retrieved message used as a source of words for the next search.
Lexical expansion
Searching again with useful words from the first retrieved messages, in addition to the original question’s words.
Recall@K
A measure of how much of the annotated supporting evidence appears among the first K retrieved items.
Full Context
The comparison system that gives the answer model the complete conversation history rather than retrieved selections.

Explained in full on this site: BM25.

Questions this paper answers

How does SAG-Mem retrieve facts scattered across conversations?

It retrieves candidate messages with BM25, scores them for usefulness with JEV, and uses words from high-scoring messages to search again for complementary evidence.

How accurate is SAG-Mem on LoCoMo and LongMemEval?

Under Qwen3.6-35B-A3B-FP8, SAG-Mem scored 83.08% on LoCoMo and 80.20% on LongMemEval. Under DeepSeek-V4.1-Flash-1017, it scored 83.99% and 82.60%, respectively.

Does SAG-Mem-Lite outperform Full Context?

Not in every setting. Under Qwen, Lite scored 77.09% on LoCoMo, below Full Context’s 80.46%, but scored 77.20% on LongMemEval, above Full Context’s 68.88%.

What does SAG-Mem do with phrases such as “yesterday”?

After retrieval, it adds a calendar-date interpretation based on the date of the message while leaving the original phrase in place.

What are the main limitations of the SAG-Mem evaluation?

The paper evaluates two benchmarks and uses language-model judging, but reports no significance tests or uncertainty ranges. SAG-Mem also loses to Full Context on LoCoMo multi-hop questions under Qwen, and its comparison with Lite changes search budgets as well as scoring.

The paper in detail

Everything below is recorded from the paper and matched against its text.

What the paper claims, in its own terms
  • Shown

    SAG-Mem has the highest overall accuracy among evaluated methods on LoCoMo and LongMemEval under the Qwen configuration.

    Holds when: Qwen3.6-35B-A3B-FP8; reported benchmark settings.

  • Shown

    SAG-Mem achieves the highest overall scores on both benchmarks under the DeepSeek configuration.

    Holds when: DeepSeek-V4.1-Flash-1017.

  • Shown

    The lexical expansion round and evidence rescoring contribute to SAG-Mem’s accuracy on both benchmarks.

    Holds when: Qwen configuration; full pipeline compared with the no-expansion control.

  • Shown

    SAG-Mem-Lite costs less than Full Context and all memory-based baselines on both evaluated benchmarks.

    Holds when: Qwen configuration and the paper’s operational-cost accounting.

  • Shown

    Increasing the returned chunk budget improves multi-hop accuracy despite comparatively small aggregate coverage changes in the reported sweep.

    Holds when: SAG-Mem on the LoCoMo multi-hop subset under Qwen.

  • Shown

    The renderer resolves supported relative-time expressions against the date of the source message and preserves the original expression.

    Holds when: For supported expressions under the stated deterministic rendering rules.

The method, step by step
  1. Process conversation histories in source order and group consecutive complete messages into non-overlapping chunks within each session, using a soft 512-token budget.
  2. Render messages with speaker, source date, and provenance metadata; append chunks to a lexical index without model inference.
  3. Retrieve an initial BM25 pool of up to 50 chunks for SAG-Mem or 100 for SAG-Mem-Lite.
  4. For SAG-Mem, use JEV to score initial candidates and select the 10 highest-scoring chunks as seeds; for Lite, score candidates by cosine similarity using the question embedding and precomputed chunk embeddings.
  5. Select up to 20 lexical expansion terms from seed text, retrieve new matching chunks, and interleave per-term results into a bounded candidate set.
  6. For SAG-Mem, rescore the second-round pool using the selected evidence as shared context; Lite uses its fixed question-to-chunk similarity scores and can use up to two expansion rounds.
  7. Return up to 20 chunks in score order and render them with deterministic calendar interpretations of supported relative-time expressions.
  8. Ask the Reader to answer from the retrieved evidence and abstain when it is insufficient.

New in this paper

  • Applying evidence-guided lexical expansion to complete conversational message chunks, with JEV-based scoring in SAG-Mem.
  • The Lite configuration combining lexical candidate expansion with embedding-based candidate scoring and larger retrieval budgets.
  • Appending deterministic date interpretations to supported relative-time expressions only after retrieval, while retaining the original wording.

Taken from earlier work

  • BM25 candidate retrieval, JEV evidence scoring, seed selection, expansion-term weighting, interleaved per-term retrieval, and protection of the first five BM25 matches are adopted from SAG2.
  • The embedding model bge-large-en-v1.5 is used for chunk embeddings and tokenization.
  • The renderer follows rule-based temporal taggers such as SUTime and HeidelTime.

Assumptions

  • Each message has source date information or inherits the session date when its own date is absent.
  • The relevant answer evidence can be found among retrieved source chunks within the evidence budget.
  • Supported relative-time expressions can be interpreted deterministically relative to the source-message date.
  • The Reader should abstain when retrieved evidence is insufficient.
  • SAG-Mem uses one expansion round by default; Lite uses up to two.
Terms as the paper defines them
evidence budget K
The maximum number of retrieved chunks passed to the Reader.
source chunks
Non-overlapping dialogue chunks containing consecutive complete messages from a single session and retaining the original text and metadata.
U_t
The candidate pool for round t, consisting of protected initial matches, earlier seeds, and that round’s new candidates.
cosine similarity
The dot product of the normalized question and chunk vectors used for Lite scoring.
calendar week
A week running from Monday to Sunday under the renderer’s conventions.
Methods, datasets and ideas it names
  • SAG-MemMethod · Introduced here

    A conversational memory framework that preserves complete dialogue messages in non-overlapping chunks and uses query-time lexical expansion to find complementary evidence.

  • SAG-Mem-LiteMethod · Introduced here

    An alternative configuration that replaces JEV evidence scoring with embedding-based candidate scoring.

  • JEVTool · Used

    The evidence evaluator used to score candidates and select seeds in SAG-Mem.

  • BM25Method · Used

    The lexical retrieval method used to retrieve initial candidates and expansion candidates.

  • bge-large-en-v1.5Tool · Used

    The tokenizer used for chunk-length measurement and the embedding model used for Lite scoring.

  • long-term conversational memoryConcept · Studied

    The task of answering questions using information accumulated across past interactions.

  • complementary evidenceConcept · Studied

    Facts that jointly support an answer, including intermediate facts that may not closely match the original question.

  • model-free memory constructionConcept · Introduced here

    Construction of SAG-Mem’s memory from dialogue chunks and a lexical index without model inference.

  • dialogue chunkOther · Used

    A non-overlapping group of consecutive complete messages from a single session, retaining original text and metadata.

  • expansion seedsConcept · Used

    The highest-scoring initial chunks that remain candidates and supply terms for a further search.

  • expansion termsConcept · Used

    Terms selected deterministically from seed text to guide an additional lexical search.

  • time clarificationMethod · Introduced here

    A deterministic rendering step that appends calendar interpretations to supported relative-time expressions in retrieved messages.

  • cosine scoringMethod · Used

    Lite scores candidates using cosine similarity between normalized question and chunk vectors.

  • LongMemEval-SDataset · Used

    The LongMemEval benchmark used in the experiments.

  • LoCoMoDataset · Used

    A conversational question-answering benchmark evaluated without image captions.

  • JEV-based evidence scoringMethod · Used

    Candidate scoring that judges whether a chunk supplies a fact needed to answer the question, including an intermediate fact.

  • SUTimeTool · Compared against

    A rule-based temporal tagger cited as an example related to the renderer’s pattern matching and calendar arithmetic.

  • HeidelTimeTool · Compared against

    A rule-based temporal tagger cited as an example related to the renderer’s pattern matching and calendar arithmetic.

Limits the authors state
  • The experiments use English dialogue, although the time-rendering rules are described as covering English and Chinese expressions.
  • SAG-Mem and SAG-Mem-Lite differ in both scoring and search budgets, so their comparison does not isolate the scoring functions.
  • Lite’s candidate scores do not incorporate gathered evidence, so a bridging chunk useful only alongside a seed may be ranked by similarity to the question alone.
  • Separate end-to-end runs can have minor JEV score fluctuations near seed-selection boundaries.
  • The accuracy denominator excludes questions whose API requests failed.
  • Efficiency measurements exclude offline indexing and judging.
How the evidence was gathered
Samples or repeats
LoCoMo contains 1,986 questions in the text-only setting; LongMemEval-S contains 500. Retrieval recall uses 1,973 annotated LoCoMo questions and all 500 LongMemEval questions. The LoCoMo multi-hop budget sweep uses N=282; the LongMemEval sensitivity sweep uses N=125. No repeated-run count is stated.
Uncertainty reported
No
Significance tested
No
Notes
Accuracy is judged by an LLM-as-a-Judge, and questions with failed API requests are excluded from the denominator. The paper reports independent runs and notes minor JEV score fluctuations near seed-selection boundaries, but does not report statistical tests or uncertainty intervals.
Code and data
Questions the paper leaves open
  • Can the design be extended to improve Reader-side multi-hop reasoning without increasing the retrieved context substantially?
  • How well do the temporal rules perform on dialogue in languages other than English?
  • How would the configurations compare if scoring functions were evaluated with identical search budgets?

Sources

  1. 1Evaluating Very Long-Term Conversational Memory of LLM Agentssnap-research.github.io
  2. 2LongMemEval: Benchmarking Chat Assist-ants on Long-Term Interactive Memoryarxiv.org

Paper details

Title
SAG-Mem-1.0 Technical Report
Authors
Yuchao Wu, XingCheng Liang, Xuanze Wang, Yini Huang, Yue Wu
Published
24 November 2026
Version read
v1
Field
Language and computation
arXiv
2611.33124

This explanation was written for this site from the paper's own source. 103 passages and figures recorded from the paper were matched against its own text; 7 that could not be matched were left off this page. It does not judge whether the paper is right, and most papers on arXiv have not been peer reviewed. Read the paper before relying on a result.