Same answers, different scores: how much of a memory benchmark number is the memory

Many teams pick a memory component for their LLM agent by one number: accuracy on LoCoMo or LongMemEval. I wanted to know how much of that number belongs to the memory system and how much belongs to the way it was measured.

The most striking result is this. One memory system, the same 400 held-out LongMemEval questions, and my own runs give accuracies from 63.50 to 92.25. That is a range of 28.75 points. Not all of it is evaluation, because the software changed between versions. But the controlled pairs below explain most of it without any change in retrieval.

One disclosure, once. The system I measured is my own open-source project, total-agent-memory (TAM, MIT license). I chose it because its saved runs let me pair experiments on identical questions. This is not a claim that TAM is better or worse than any other system. Where TAM is compared with Mem0, the differences are reported as not significant.

What I compared

I did not run new experiments for this article. I went back to 37 saved runs from three weeks of development in September 2026. They cover LoCoMo, LongMemEval-S and MemoryAgentBench. The TAM versions range from a 14.0.0 development image (11 September 2026) to release 14.5.1 (24 September 2026).

Each run saved every question, answer and verdict. So I could pick pairs of runs that differ in one evaluation choice, with the same questions and, in most cases, the same retrieved record identifiers.

As a control I used the per-question answers that Mem0 published for its LoCoMo and LongMemEval figures: Mem0 Platform, answered by gpt-5 from the top 200 retrieved memories. I did not run Mem0 myself.

The held-out sets are 1,144 LoCoMo questions and 400 LongMemEval questions. Eleven LoCoMo question texts occur twice, so pairs keyed by question text drop them.

The judge changes the score

Take identical saved answers and grade them twice.

On LoCoMo, I used two judge prompts on the same model, gpt-4o-mini. One is the prompt that Zep and Mem0 published for LoCoMo. The other is the more tolerant rubric from Mem0’s benchmark repository. Across four systems, the second prompt added 5.07 to 7.69 points. Cohen’s kappa between the two judges was 0.565 to 0.719.

The change goes one way only. Across 4,576 system-question pairs there are 285 changes from wrong to correct and none in the other direction. The tolerant rubric accepts a date within 14 days of the gold date, a duration within 50%, and an answer that contains one item of a gold list.

The size of the gain also differs by system: 7.69 for TAM with gpt-5 and 5.07 for the TAM default. So the gap between TAM with gpt-5 and Mem0 Platform is minus 1.92 points (p=0.097) under the first judge and minus 0.09 (p=1.0) under the second.

On LongMemEval the judges agree more (kappa 0.762 to 0.824). But the systems are close, and the top two swap places:

  • Official judge: TAM with gpt-5 is ahead of Mem0 Platform by 1.25 points (p=0.50).
  • Mem0 judge: TAM is behind by 1.00 point (p=0.64).

Neither difference is significant, and neither judge is wrong. A reader who sees only one table still comes away with an ordering.

A smaller detail: the output limit of the judge call. The official LongMemEval evaluator uses 10 output tokens. My cross-grading script used 200. For TAM with gpt-5 the same answers score 91.25 with the first and 92.25 with the second. Four of 400 verdicts differ. I did not save the judge replies, so I cannot say what caused the change. A one-point shift from a setting that most papers do not report is nearly as large as the 1.25-point gap between the two systems in the same table.

Packing the same sessions

In my baseline run, each LongMemEval session was one record, the top five sessions were retrieved, and their text was cut at 24,000 bytes. The audit found that the cap was exceeded for all 500 questions, so every context was cut.

The next run kept the same five sessions for every question (identical identifiers in 500 of 500 cases). It changed only how the text was packed: the budget is split across sources, passages are chosen by overlap with the question, and each source keeps its header and date.

Accuracy went from 63.20 to 73.00, plus 9.80 points (95% interval plus 6.0 to plus 13.8). The mean input to the reader did not grow: 5,510 tokens before, 5,384 after. In one case the answer to a question about a dog’s breed sat at about character 9,808 of a 14,067-character session. Retrieval found the session. The byte cut removed the sentence before the reader saw it.

This matters because “retrieval found the right session” and “the reader saw the right sentence” are different events. In the baseline, at least one gold session was in the top five for 454 of 470 answerable questions (96.6%), and accuracy was still 63.2%. A reported accuracy also measures a context builder that is often not described.

On LoCoMo, where each record is one short turn, the same packing changed nothing measurable (minus 0.25 points, p=0.76).

More context, and which questions count

On LoCoMo I added the neighbouring turns of each retrieved turn, keeping the retrieved anchor turns identical (1,986 of 1,986). The mean reader input grew from 1,102 to 2,883 tokens.

  • Answerable questions (1,540): plus 6.43 points.
  • Adversarial questions (446), where the right response is to decline: minus 15.47 points.
  • All 1,986 questions: plus 1.51 points, not significant (p=0.11).

More context gave the reader more material to build a wrong answer from. Whether this change looks good depends on a decision made before any run: does the adversarial category count? Every published memory-system figure I compared against excludes it. Under that convention the change is a clear gain. With the category included, it is a wash with a large regression in one group.

The harness adapter

MemoryAgentBench lets a memory method return hits, and the harness builds the reader prompt from them, labelling each hit “Memory i”. The task tells the reader that a fact with a larger serial number is newer. So the order in which the adapter returns hits tells the reader which fact is newest.

With TAM 14.5.0 I ran each configuration twice on the same day, returning the same 10 hits in rank order and in recorded order. The reader input length was identical in each pair. Scores on FactConsolidation single-hop (SubEM, 100 questions per file):

  • With dates, 6k context: 88 in rank order, 98 in recorded order.
  • With dates, 262k context: 78 against 92.
  • Without dates, 6k: 73 against 97.
  • Without dates, 262k: 65 against 91.

The order alone moved single-hop scores by up to 26 points. It also changed the ranking. In rank order without dates, TAM (73 and 65) sits below the published agentmemory (83 and 79). In recorded order it sits above the published knowl (95 and 89). One caveat: as far as their modules show, knowl and agentmemory also present hits in rank order, so the recorded-order rows are not like-for-like with them.

The value of a feature depends on the other choices. In rank order with release 14.3.1, showing record dates was worth 11 points on the 6k file (82 against 71). In recorded order with release 14.5.1 the difference nearly vanished (100 against 98).

A related case: release 14.5.1 changed the re-ranker so that the newest value ranked first for 98 of 100 questions instead of 45. In rank order the score got worse, 27 in a partial run I stopped, because the reader took the last label as the newest. A retrieval improvement registered as a regression.

The reader and the refusals

With retrieved records fixed, I changed only the answering model, from gpt-4.1-mini to gpt-5. The effect depends on the benchmark and the judge:

  • LongMemEval, official judge: plus 4.75 points (87.50 to 92.25, p=0.003).
  • LongMemEval, Mem0 judge: plus 2.50, not significant.
  • LoCoMo, published judge: minus 1.49. Mem0 judge: minus 0.09.
  • gpt-4.1 against gpt-4.1-mini on 400 LoCoMo questions: minus 2.00.

A stronger reader is not a fixed bonus. A comparison of two memory systems that use different readers mixes the reader effect into the memory effect.

Stronger readers also refused more often. On 1,155 LoCoMo questions gpt-5 refused 65 times against 22 for gpt-4.1-mini. Judges grade answers that begin with a refusal and then state facts in opposite ways on the two benchmarks. For the 65 gpt-5 refusals on LoCoMo, the Mem0 judge accepted 45 and the published judge 12. For the 17 gpt-5 refusals on answerable LongMemEval questions, the official judge accepted 10 and the Mem0 judge 3.

Splits and pooled totals

On LoCoMo, conversations 0 to 2 are easier than conversations 3 to 9, with no tuning involved: 72.73 against 64.50 in an untuned run, a gap of 8.2 points. A number on a subset of conversations is not comparable with a number on all ten.

Pooled totals can hide a shift. A candidate change called a stricter premise policy was tested on 100 answerable and 100 adversarial LoCoMo questions. Pooled, it gained 13 answers (124 to 137). Split by group, it lost 4 answerable questions (73 to 69) and gained 17 correct abstentions (51 to 68). It was rejected under a rule written before the run. In three of four such candidates, the pooled total hid or understated a shift between answering and declining.

What did not move

The measured noise is small next to the effects above:

  • The same judge configuration run twice on LoCoMo: 3 answers per system disagreed on 1,133 questions, and accuracy moved by at most 0.26 points.
  • On LongMemEval, repeated judging changed at most 4 of 400 verdicts, about 1 point.
  • Repeated generation at temperature 0.7 in MemoryAgentBench varied by 1 to 4 SubEM points on 100-question files.
  • Exact match was at most 2 points below SubEM on the same outputs. The metric mattered much less than presentation.
  • Packing did nothing on LoCoMo.

The gains that a changelog calls progress sit near these bounds. My candidate gained 3.25 points on LongMemEval (p=0.041) and 1.41 on LoCoMo (p=0.085). The differences between TAM and Mem0 on the same questions were 0 to 3.5 points. That is smaller than most of the effects above.

What to do as a practitioner

  • Re-grade, do not re-read. Where per-question answers are published, grade them yourself with one fixed judge. My cross-grading run, 400 questions for three systems under two judges, cost 0.51 dollars of API spend.
  • Fix the reader. Compare memory systems with the same answering model.
  • Check the context builder. Verify that the gold sentence, not only the gold session, reaches the reader.
  • Count abstentions separately. Report answerable and unanswerable questions as two numbers.
  • Write acceptance rules before the run. Per-group rules rejected two candidates whose pooled totals were equal or higher.
  • Run more than once, or report intervals. With 100 to 400 questions, differences of 1 to 4 points are within repeat variation.
  • Ask for the whole configuration. Dataset file and split, ingest granularity, retrieval depth, context budget, order and labels of hits, reader and prompt, judge model, prompt, temperature, output limit and verdict rule, number of runs, per-question answers with verdicts.

Limits of the study

  • One memory system produced almost all runs. Other systems may be more or less sensitive. A system that returns short facts would gain less from packing.
  • The runs were made for development and selected afterwards. Some pairs differ in more than one respect: the two LongMemEval judges differ in model and rubric at once.
  • No judge was validated against human labels. I make claims about how verdicts change, not about which verdict is right.
  • The official-judge cells for the head-to-head comparison used a 200-token output limit, not the evaluator’s 10. Mem0’s answers were not graded at the limit of 10, so the 1.25-point gap may differ at the official setting.
  • I treated questions as independent. LoCoMo questions within a conversation are not, so the LoCoMo intervals are too narrow. Small gates of 50 to 300 questions have low power, and I report them as cases.
  • The readers and judges are closed models that may change behind the same name.

A memory benchmark score is a property of a configuration. It should be published with that configuration, with answerable and abstention figures separately, and with per-question results that let others re-grade.

Paper, data and code

This is a technical report by one author. It is not peer reviewed.

The text was drafted with the help of Claude Code and Codex. The measurements, code and conclusions are mine, and every number was checked against the raw data.