End-to-end answer accuracy (LLM-judged)¶
Retrieval metrics (docs/benchmarks.md) say whether the evidence is in the context. Published memory-system results (Mem0, Zep, Memori, Supermemory, ...) report the accuracy of an LLM's answer, judged by an LLM. This harness measures that for OliviaDB and the plain baselines.
cargo run --release -p oliviadb-models --example eval_contexts -- locomo|lme|lmdev OUT.jsonl ...builds the contexts (OliviaDB RECALL, BM25, vector, hybrid RRF at 1000/2000/4000 tokens).tools/e2e_eval.py estimate|run|reportbuilds the benchmarks' prompts, calls the model, judges, and tabulates. Calls are cached by prompt hash inprivate/eval-cache(git-ignored).run --jobs Nsets the number of calls at once,--shuffle SEEDa fixed random question order (a run stopped early has judged a uniform sample, every system on the same questions),report --completekeeps only questions with every cell judged;rejudgeandbatch-answerare the batching experiments below.tools/e2e_precompute.pycomputes bge-small embeddings and cross-encoder scores on a GPU (PyTorch, plain BERT forward from the same model files, equal to the reference values to the printed digits) into the examples' caches, soeval_contextsdoes not compute 87 000 LongMemEval embeddings and 125 000 reranker pairs on a busy CPU. The pairs come from a firsteval_contextspass withOLIVIADB_RR_RECORD=FILE.
Prompts (copied verbatim from the sources)¶
| use | source |
|---|---|
LoCoMo answer (QA_PROMPT, CONV_START_PROMPT, the category-2 date hint, the RAG turn format (date) Speaker said, "text") |
github.com/snap-research/locomo @ 3eb6f2c585f5e1699204e3c3bdf7adc5c28cb376, task_eval/gpt_utils.py, task_eval/rag_utils.py |
LoCoMo judge, the "J" metric (ACCURACY_PROMPT: CORRECT/WRONG, generous grading) |
github.com/mem0ai/mem0 @ b3ede5b7c0ac0e847b03786a603c107ac943b3ee (last commit before evaluation/ moved to mem0ai/memory-benchmarks), evaluation/metrics/llm_judge.py |
| LongMemEval answer (no chain of thought, natural-language history, sessions sorted by date) | github.com/xiaowu0162/LongMemEval @ 9e0b455f4ef0e2ab8f2e582289761153549043fc, src/generation/run_generation.py |
| LongMemEval judge (per question type, yes/no) | same commit, src/evaluation/evaluate_qa.py get_anscheck_prompt |
Deviations, all forced by the setting: the answerer and judge are Claude Haiku
(claude-haiku-5-5, Claude Code headless, no tools, temperature not settable, every item run once,
raw outputs kept) instead of GPT-4o / GPT-4o-mini; LoCoMo answers use LoCoMo's own prompt, not
Mem0's 5-6-word memory prompt; retrieval items are single turns (LoCoMo) or user-assistant
rounds (LongMemEval), listed in date order, in the benchmarks' own context formats.
Splits fixed before any result¶
- LongMemEval-S: held-out set = the 470 non-abstention questions minus the 30 development ids
(docs/benchmarks.md) = 440. Abstention questions (
_abs) are excluded. - LoCoMo (categories 1-4, 1540 questions): development split = conversations 0, 1, 2 in file
order (
conv-26,conv-30,conv-41); test split = the other seven. Changes to OliviaDB recall are judged on the development split (and on LongMemEval-M development questions) only; the test split is run once at the end. Baseline tables in the first sections cover all questions.
Pilot (2026-11-30): 100 questions per benchmark¶
Answerer and judge: Claude Haiku (claude-haiku-5-5) through Claude Code headless, not GPT-4o /
GPT-4o-mini: the numbers compare the systems with each other and are only approximately
comparable with published results (Mem0, Zep, ...), which used other models and, for LoCoMo,
other answer prompts. One run per item, temperature not settable, raw outputs kept in
private/eval-cache. Context tokens are approximate (4 characters per token) and measured on the
retrieved text; every system, OliviaDB included, is charged the same per-item head (YYYY-MM-DD user:
plus 6 tokens), so equal budgets mean equal context size. The "oliviadb" rows are the default before the
plain-hybrid change (it changes no ranking to three decimals, docs/benchmarks.md).
Samples: LoCoMo every 15th of the 1540 questions, first 100 (single-hop 53, multi-hop 21, temporal 19, open-domain 7). LongMemEval-S held-out set (440) every 4th, first 100 (knowledge-update 14, multi-session 30, single-session-preference 8, single-session-user 16, temporal-reasoning 32; the sample has no single-session-assistant question). 95 % intervals are Wilson; with n = 100 they are about +-0.09, so differences below 0.10 between systems are not significant.
Cost of the pilot (answers + judgements, distinct prompts; cached calls cost nothing):
| questions x cells | model calls | input tokens | wall time | |
|---|---|---|---|---|
| LoCoMo (12 retrieval cells + full conversation per question) | 100 x 13 | 2134 new (466 repeated prompts served from cache) | 9.1 M | 7074 s (includes a 1 h wait for the 5-hour usage limit) |
| LongMemEval-S (12 retrieval cells per question; full haystack for 40) | 100 x 12 + 40 | 1882 new (598 cached) | 11.4 M | 3037 s |
LoCoMo (100 questions)¶
| system | budget | n | accuracy (95% CI) | ctx tokens | multi-hop | open-domain | single-hop | temporal |
|---|---|---|---|---|---|---|---|---|
| oliviadb | 1000 | 100 | 0.620 (0.522-0.709) | 953 | 0.619 (21) | 0.143 (7) | 0.679 (53) | 0.632 (19) |
| bm25 | 1000 | 100 | 0.610 (0.512-0.700) | 957 | 0.381 (21) | 0.286 (7) | 0.660 (53) | 0.842 (19) |
| vector | 1000 | 100 | 0.580 (0.482-0.672) | 957 | 0.429 (21) | 0.429 (7) | 0.642 (53) | 0.632 (19) |
| hybrid | 1000 | 100 | 0.640 (0.542-0.727) | 956 | 0.619 (21) | 0.429 (7) | 0.679 (53) | 0.632 (19) |
| oliviadb | 2000 | 100 | 0.670 (0.573-0.754) | 1914 | 0.571 (21) | 0.286 (7) | 0.679 (53) | 0.895 (19) |
| bm25 | 2000 | 100 | 0.630 (0.532-0.718) | 1919 | 0.524 (21) | 0.286 (7) | 0.623 (53) | 0.895 (19) |
| vector | 2000 | 100 | 0.620 (0.522-0.709) | 1920 | 0.524 (21) | 0.571 (7) | 0.679 (53) | 0.579 (19) |
| hybrid | 2000 | 100 | 0.720 (0.625-0.799) | 1918 | 0.667 (21) | 0.429 (7) | 0.774 (53) | 0.737 (19) |
| oliviadb | 4000 | 100 | 0.710 (0.615-0.790) | 3836 | 0.571 (21) | 0.429 (7) | 0.755 (53) | 0.842 (19) |
| bm25 | 4000 | 100 | 0.670 (0.573-0.754) | 3845 | 0.714 (21) | 0.286 (7) | 0.698 (53) | 0.684 (19) |
| vector | 4000 | 100 | 0.750 (0.657-0.825) | 3848 | 0.714 (21) | 0.571 (7) | 0.774 (53) | 0.789 (19) |
| hybrid | 4000 | 100 | 0.750 (0.657-0.825) | 3844 | 0.619 (21) | 0.429 (7) | 0.792 (53) | 0.895 (19) |
| full | all | 100 | 0.820 (0.733-0.883) | 23323 | 0.762 (21) | 0.714 (7) | 0.811 (53) | 0.947 (19) |
LongMemEval-S (100 questions; full-context row: first 40 only, haystack about 124 k tokens)¶
| system | budget | n | accuracy (95% CI) | ctx tokens | knowledge-update | multi-session | single-session-preference | single-session-user | temporal-reasoning |
|---|---|---|---|---|---|---|---|---|---|
| oliviadb | 1000 | 100 | 0.260 (0.184-0.354) | 989 | 0.357 (14) | 0.033 (30) | 0.500 (8) | 0.688 (16) | 0.156 (32) |
| bm25 | 1000 | 100 | 0.240 (0.167-0.332) | 1002 | 0.500 (14) | 0.033 (30) | 0.125 (8) | 0.750 (16) | 0.094 (32) |
| vector | 1000 | 100 | 0.260 (0.184-0.354) | 1003 | 0.500 (14) | 0.100 (30) | 0.500 (8) | 0.562 (16) | 0.094 (32) |
| hybrid | 1000 | 100 | 0.280 (0.201-0.375) | 1002 | 0.429 (14) | 0.067 (30) | 0.375 (8) | 0.750 (16) | 0.156 (32) |
| oliviadb | 2000 | 100 | 0.430 (0.337-0.528) | 2005 | 0.643 (14) | 0.300 (30) | 0.375 (8) | 0.875 (16) | 0.250 (32) |
| bm25 | 2000 | 100 | 0.470 (0.375-0.567) | 2014 | 0.857 (14) | 0.233 (30) | 0.375 (8) | 0.688 (16) | 0.438 (32) |
| vector | 2000 | 100 | 0.380 (0.291-0.478) | 2018 | 0.643 (14) | 0.200 (30) | 0.375 (8) | 0.750 (16) | 0.250 (32) |
| hybrid | 2000 | 100 | 0.500 (0.404-0.596) | 2015 | 0.714 (14) | 0.267 (30) | 0.500 (8) | 0.812 (16) | 0.469 (32) |
| oliviadb | 4000 | 100 | 0.510 (0.413-0.606) | 4026 | 0.714 (14) | 0.400 (30) | 0.375 (8) | 0.938 (16) | 0.344 (32) |
| bm25 | 4000 | 100 | 0.610 (0.512-0.700) | 4045 | 0.786 (14) | 0.433 (30) | 0.250 (8) | 0.812 (16) | 0.688 (32) |
| vector | 4000 | 100 | 0.580 (0.482-0.672) | 4047 | 0.929 (14) | 0.400 (30) | 0.250 (8) | 0.812 (16) | 0.562 (32) |
| hybrid | 4000 | 100 | 0.590 (0.492-0.681) | 4042 | 0.786 (14) | 0.400 (30) | 0.250 (8) | 0.875 (16) | 0.625 (32) |
| full | all | 40 | 0.600 (0.446-0.737) | 124486 | - | 0.562 (16) | 0.375 (8) | 0.750 (16) | - |
The same systems on exactly the 40 questions of the full-context row (multi-session 16, single-session-preference 8, single-session-user 16):
| system | budget | n | accuracy (95% CI) | ctx tokens | multi-session | single-session-preference | single-session-user |
|---|---|---|---|---|---|---|---|
| oliviadb | 1000 | 40 | 0.400 (0.263-0.554) | 990 | 0.062 (16) | 0.500 (8) | 0.688 (16) |
| bm25 | 1000 | 40 | 0.350 (0.221-0.505) | 1000 | 0.062 (16) | 0.125 (8) | 0.750 (16) |
| vector | 1000 | 40 | 0.325 (0.201-0.480) | 1004 | 0.000 (16) | 0.500 (8) | 0.562 (16) |
| hybrid | 1000 | 40 | 0.400 (0.263-0.554) | 1006 | 0.062 (16) | 0.375 (8) | 0.750 (16) |
| oliviadb | 2000 | 40 | 0.500 (0.352-0.648) | 2012 | 0.188 (16) | 0.375 (8) | 0.875 (16) |
| bm25 | 2000 | 40 | 0.400 (0.263-0.554) | 2015 | 0.125 (16) | 0.375 (8) | 0.688 (16) |
| vector | 2000 | 40 | 0.425 (0.285-0.578) | 2023 | 0.125 (16) | 0.375 (8) | 0.750 (16) |
| hybrid | 2000 | 40 | 0.475 (0.329-0.625) | 2017 | 0.125 (16) | 0.500 (8) | 0.812 (16) |
| oliviadb | 4000 | 40 | 0.525 (0.375-0.671) | 4035 | 0.188 (16) | 0.375 (8) | 0.938 (16) |
| bm25 | 4000 | 40 | 0.475 (0.329-0.625) | 4046 | 0.250 (16) | 0.250 (8) | 0.812 (16) |
| vector | 4000 | 40 | 0.475 (0.329-0.625) | 4047 | 0.250 (16) | 0.250 (8) | 0.812 (16) |
| hybrid | 4000 | 40 | 0.475 (0.329-0.625) | 4047 | 0.188 (16) | 0.250 (8) | 0.875 (16) |
| full | all | 40 | 0.600 (0.446-0.737) | 124486 | 0.562 (16) | 0.375 (8) | 0.750 (16) |
Reading the pilot (n = 100, intervals about +-0.09): at equal budgets OliviaDB, BM25, vector and hybrid are within noise of one another on LoCoMo (0.58-0.64 at 1000 tokens, 0.62-0.72 at 2000, 0.67-0.75 at 4000), and the full conversation (23 k tokens) reaches 0.82. On LongMemEval-S accuracy rises steeply with the budget (0.24-0.28 at 1000, 0.38-0.50 at 2000, 0.51-0.61 at 4000); multi-session and temporal-reasoning questions are the weak categories at every budget; on the 40-question subset the full haystack (0.60) is about equal to 4000 tokens of retrieved context (0.48-0.53). Hybrid and BM25 lead OliviaDB at 2000-4000 tokens on LongMemEval-S temporal-reasoning (0.44-0.69 against 0.25-0.34); the pilot does not show why, and at this n (32 questions) it is not conclusive.
Estimate for the full runs¶
Pilot rates: 1.5 s of model time per call, 2 calls at once. Full sets as specified (LoCoMo 1540 questions x 12 retrieval cells + full conversation; LongMemEval-S 440 x 12 + full haystack), about 39 000 + 11 500 = 51 000 calls (about 16 h + 5 h of wall time at these rates, and 30 times the pilot's tokens, roughly 270 M input tokens), i.e. several 5-hour usage windows and an unknown share of the weekly limit. Cheaper designs: hybrid and OliviaDB only at 3 budgets plus full (7 cells): LoCoMo 21 000 + LongMemEval 6 200; the 7 LoCoMo test conversations only (about 1160 questions); or one budget (2000 tokens). The run made on 2026-12-01 is in "Test sets" below.
Batching questions per call (2026-12-01)¶
Question: can 100-500 questions go into one model call instead of one call each? Measured with the
same answerer, judge and prompts (e2e_eval.py batch-answer and rejudge; about 620 calls).
- Answering in batches changes the result and saves no input. Each question needs its own retrieved context, so a batch carries the sum of the contexts (50 questions at 2000 tokens = about 100 k tokens in one prompt): the call count falls, the input tokens do not, and the protocol is no longer the published one (answers see each other's contexts, long-context loss). On the first 50 questions of the LoCoMo development sample, hybrid at 2000 tokens, each answer judged singly: answered one per call 0.820, 10 per call 0.660 (-0.16), 50 per call 0.360 (-0.46). In the batched answers the date arithmetic is lost (the session date instead of "the day before") and some answers name facts of other tasks. Not used.
- Judging in batches is more lenient than judging singly. The cached pilot answers (LoCoMo 1300, LongMemEval-S 1240 verdicts) re-judged with the benchmark's own judge instructions, N items per call, one label per line, against the single verdicts:
| judge | LoCoMo agreement | LoCoMo accuracy shift | LongMemEval-S agreement | LongMemEval-S shift | largest per-system shift |
|---|---|---|---|---|---|
| 25 items per call (52 + 51 calls) | 93.2 % | +0.035 | 92.7 % | +0.065 | 0.06 / 0.20 |
| 100 items per call (13 + 14 calls) | 89.8 % | +0.044 | 90.1 % | +0.069 | 0.09 / 0.09 |
| single, judged again (200 random verdicts each, repeatability) | 99.5 % | +0.005 | 95.5 % | -0.005 | - |
The rule set beforehand (agreement at least 97 % and every per-system shift at most 0.01) is not met at either size; the disagreements are mostly WRONG turned CORRECT (LoCoMo 67 of 89 at 25 per call), so batched judging would inflate every system, unevenly. The full run judges singly.
Development set: effect of the recall changes (LoCoMo conversations 0-2, every 2nd question, 193)¶
Same answerer, judge and prompts as the pilot. oliviadb+old is the default before this round (MiniLM, no
reranker); oliviadb+bge-small+ce6+top80 is the dev-selected candidate (bge-small embedder,
ms-marco-MiniLM-L6 cross-encoder over the best 80 candidates, fused with the first-stage rank);
hybrid is the plain baseline with MiniLM, hybrid-bge-small the same with bge-small. These
are development numbers: the candidate was chosen on this conversation set, so they are optimistic;
the test split (conversations 3-9) has not been run for any configuration.
| system | budget | n | accuracy (95% CI) | ctx tokens | multi-hop | open-domain | single-hop | temporal |
|---|---|---|---|---|---|---|---|---|
| hybrid | 1000 | 193 | 0.684 (0.615-0.745) | 952 | 0.515 (33) | 0.583 (12) | 0.663 (101) | 0.872 (47) |
| oliviadb+bge-small+ce6+top80 | 1000 | 193 | 0.808 (0.747-0.858) | 954 | 0.727 (33) | 0.667 (12) | 0.802 (101) | 0.915 (47) |
| oliviadb+old | 1000 | 193 | 0.694 (0.626-0.755) | 952 | 0.545 (33) | 0.583 (12) | 0.693 (101) | 0.830 (47) |
| hybrid-bge-small | 1000 | 193 | 0.720 (0.653-0.779) | 954 | 0.515 (33) | 0.583 (12) | 0.713 (101) | 0.915 (47) |
| hybrid | 2000 | 193 | 0.793 (0.730-0.844) | 1912 | 0.545 (33) | 0.667 (12) | 0.822 (101) | 0.936 (47) |
| oliviadb+bge-small+ce6+top80 | 2000 | 193 | 0.834 (0.775-0.880) | 1916 | 0.606 (33) | 0.750 (12) | 0.871 (101) | 0.936 (47) |
| oliviadb+old | 2000 | 193 | 0.756 (0.691-0.812) | 1911 | 0.455 (33) | 0.583 (12) | 0.792 (101) | 0.936 (47) |
| hybrid-bge-small | 2000 | 193 | 0.808 (0.747-0.858) | 1915 | 0.636 (33) | 0.583 (12) | 0.842 (101) | 0.915 (47) |
Candidate against the old default: +0.114 at 1000 tokens (0.808 vs 0.694) and +0.078 at 2000 (0.834
vs 0.756); at 193 questions the 1000-token difference is outside the +-0.06 intervals, the 2000-token
one is not. About half of the gain at 1000 tokens comes from the embedder alone (hybrid-bge-small
0.720 vs hybrid 0.684), the rest from the reranker. Cost: 80 query-passage pairs of the 22.7M
cross-encoder per recall (about 1.1 s of CPU), opt-in; the embedder is 2x MiniLM's latency.
Cost of this dev run: 2545 new calls, 5.7 M input tokens, 3614 s.
Test sets (2026-12-01): LoCoMo conversations 3-9, LongMemEval-S held-out¶
Systems: oliviadb = the new default (bge-small-en-v1.5, no reranker), oliviadb+ce6 = the default with the
ms-marco-MiniLM-L6 cross-encoder over the best 80 candidates, hybrid = the plain BM25 + MiniLM
vector RRF baseline (the best baseline of the pilot), full = the whole LoCoMo conversation (LoCoMo
only). Budgets 1000 and 2000 tokens, and 4000 on LongMemEval-S. Answerer and judge: Claude Haiku
(claude-haiku-5-5) through Claude Code headless, not GPT-4o / GPT-4o-mini; prompts and judges as
above, one verdict per call (batched judging was rejected, previous section). Splits as fixed before
any result: LoCoMo test = conversations 3-9 (1155 questions), LongMemEval-S held-out (440).
Estimate before the run: LoCoMo 1155 x 7 cells = 8085 answers, LongMemEval-S 440 x 9 = 3960, as many
judgements: about 24 100 calls; distinct prompts 8004 + 3125 (identical contexts of two systems share
a call), so 22 300 calls, of which about 3 100 came from the cache (pilot and an earlier pass of the
hybrid/full cells). Throughput on the machine as it was (other builds running): 5 + 3 calls at
once, about 2.3 calls per second; the Claude Code process costs about 4 s of CPU per call, which, not
the model, set the rate.
The run is partial. At 02:38 CET the 5-hour usage limit stopped the calls (14 400 new calls
since 00:20 including the batching experiments, 58.6 M input tokens). Questions were run in a random
order fixed by a seed before the run (--shuffle 20261201), so the questions with every cell judged
are a uniform random sample of each test split, the same questions for every system: LoCoMo 831 of
1155, LongMemEval-S 310 of 440. Retrieval inputs: bge-small embeddings and cross-encoder scores
were computed with tools/e2e_precompute.py (GPU, same model files, equal to the reference values);
everything else is the eval_contexts export.
LoCoMo test split (831 questions, all cells)¶
| system | budget | n | accuracy (95% CI) | ctx tokens | multi-hop | open-domain | single-hop | temporal |
|---|---|---|---|---|---|---|---|---|
| oliviadb | 1000 | 831 | 0.692 (0.660-0.722) | 956 | 0.550 (149) | 0.414 (58) | 0.775 (449) | 0.691 (175) |
| hybrid | 1000 | 831 | 0.665 (0.633-0.697) | 957 | 0.523 (149) | 0.431 (58) | 0.766 (449) | 0.606 (175) |
| oliviadb+ce6 | 1000 | 831 | 0.741 (0.710-0.770) | 956 | 0.591 (149) | 0.483 (58) | 0.842 (449) | 0.697 (175) |
| oliviadb | 2000 | 831 | 0.759 (0.729-0.787) | 1918 | 0.631 (149) | 0.483 (58) | 0.842 (449) | 0.749 (175) |
| hybrid | 2000 | 831 | 0.742 (0.712-0.771) | 1921 | 0.591 (149) | 0.397 (58) | 0.844 (449) | 0.726 (175) |
| oliviadb+ce6 | 2000 | 831 | 0.782 (0.753-0.809) | 1918 | 0.658 (149) | 0.466 (58) | 0.869 (449) | 0.771 (175) |
| full | all | 831 | 0.833 (0.806-0.857) | 24137 | 0.758 (149) | 0.517 (58) | 0.911 (449) | 0.800 (175) |
Paired differences on the same questions (95 % bootstrap interval; won / lost = questions only one of the two answered correctly):
| difference | value |
|---|---|
oliviadb@1000 - hybrid@1000 |
+0.026 (95% CI -0.002 to +0.052), n 831, 73 won / 51 lost |
oliviadb+ce6@1000 - hybrid@1000 |
+0.076 (95% CI +0.049 to +0.102), n 831, 100 won / 37 lost |
oliviadb+ce6@1000 - oliviadb@1000 |
+0.049 (95% CI +0.024 to +0.076), n 831, 80 won / 39 lost |
oliviadb@2000 - hybrid@2000 |
+0.017 (95% CI -0.007 to +0.040), n 831, 57 won / 43 lost |
oliviadb+ce6@2000 - hybrid@2000 |
+0.040 (95% CI +0.016 to +0.064), n 831, 68 won / 35 lost |
oliviadb+ce6@2000 - oliviadb@2000 |
+0.023 (95% CI +0.001 to +0.046), n 831, 53 won / 34 lost |
full@0 - oliviadb+ce6@2000 |
+0.051 (95% CI +0.024 to +0.076), n 831, 79 won / 37 lost |
oliviadb@1000 - hybrid@1000 |
-0.032 (95% CI -0.068 to +0.003), n 310, 13 won / 23 lost |
oliviadb+ce6@1000 - hybrid@1000 |
-0.013 (95% CI -0.052 to +0.026), n 310, 15 won / 19 lost |
oliviadb+ce6@1000 - oliviadb@1000 |
+0.019 (95% CI -0.003 to +0.045), n 310, 10 won / 4 lost |
oliviadb@2000 - hybrid@2000 |
-0.029 (95% CI -0.077 to +0.019), n 310, 25 won / 34 lost |
oliviadb+ce6@2000 - hybrid@2000 |
+0.019 (95% CI -0.032 to +0.068), n 310, 33 won / 27 lost |
oliviadb+ce6@2000 - oliviadb@2000 |
+0.048 (95% CI +0.010 to +0.084), n 310, 26 won / 11 lost |
oliviadb@4000 - hybrid@4000 |
-0.035 (95% CI -0.084 to +0.010), n 310, 23 won / 34 lost |
oliviadb+ce6@4000 - hybrid@4000 |
+0.013 (95% CI -0.042 to +0.068), n 310, 37 won / 33 lost |
oliviadb+ce6@4000 - oliviadb@4000 |
+0.048 (95% CI +0.006 to +0.090), n 310, 33 won / 18 lost |
LongMemEval-S held-out (310 questions, all cells)¶
| system | budget | n | accuracy (95% CI) | ctx tokens | knowledge-update | multi-session | single-session-assistant | single-session-preference | single-session-user | temporal-reasoning |
|---|---|---|---|---|---|---|---|---|---|---|
| oliviadb | 1000 | 310 | 0.326 (0.276-0.380) | 989 | 0.407 (54) | 0.086 (81) | 1.000 (18) | 0.316 (19) | 0.778 (45) | 0.140 (93) |
| hybrid | 1000 | 310 | 0.358 (0.307-0.413) | 1003 | 0.407 (54) | 0.099 (81) | 0.944 (18) | 0.316 (19) | 0.800 (45) | 0.237 (93) |
| oliviadb+ce6 | 1000 | 310 | 0.345 (0.294-0.400) | 991 | 0.519 (54) | 0.086 (81) | 0.944 (18) | 0.263 (19) | 0.800 (45) | 0.151 (93) |
| oliviadb | 2000 | 310 | 0.494 (0.438-0.549) | 1994 | 0.741 (54) | 0.272 (81) | 0.944 (18) | 0.368 (19) | 0.889 (45) | 0.290 (93) |
| hybrid | 2000 | 310 | 0.523 (0.467-0.578) | 2018 | 0.722 (54) | 0.222 (81) | 0.944 (18) | 0.579 (19) | 0.867 (45) | 0.409 (93) |
| oliviadb+ce6 | 2000 | 310 | 0.542 (0.486-0.597) | 1999 | 0.759 (54) | 0.309 (81) | 0.944 (18) | 0.474 (19) | 0.933 (45) | 0.366 (93) |
| oliviadb | 4000 | 310 | 0.623 (0.567-0.675) | 4003 | 0.796 (54) | 0.519 (81) | 0.944 (18) | 0.421 (19) | 0.933 (45) | 0.441 (93) |
| hybrid | 4000 | 310 | 0.658 (0.604-0.709) | 4045 | 0.889 (54) | 0.420 (81) | 1.000 (18) | 0.316 (19) | 0.933 (45) | 0.602 (93) |
| oliviadb+ce6 | 4000 | 310 | 0.671 (0.617-0.721) | 4001 | 0.852 (54) | 0.593 (81) | 0.889 (18) | 0.474 (19) | 0.933 (45) | 0.505 (93) |
| difference | value |
|---|---|
oliviadb@1000 - hybrid@1000 |
-0.032 (95% CI -0.068 to +0.003), n 310, 13 won / 23 lost |
oliviadb+ce6@1000 - hybrid@1000 |
-0.013 (95% CI -0.052 to +0.026), n 310, 15 won / 19 lost |
oliviadb+ce6@1000 - oliviadb@1000 |
+0.019 (95% CI -0.003 to +0.045), n 310, 10 won / 4 lost |
oliviadb@2000 - hybrid@2000 |
-0.029 (95% CI -0.077 to +0.019), n 310, 25 won / 34 lost |
oliviadb+ce6@2000 - hybrid@2000 |
+0.019 (95% CI -0.032 to +0.068), n 310, 33 won / 27 lost |
oliviadb+ce6@2000 - oliviadb@2000 |
+0.048 (95% CI +0.010 to +0.084), n 310, 26 won / 11 lost |
oliviadb@4000 - hybrid@4000 |
-0.035 (95% CI -0.084 to +0.010), n 310, 23 won / 34 lost |
oliviadb+ce6@4000 - hybrid@4000 |
+0.013 (95% CI -0.042 to +0.068), n 310, 37 won / 33 lost |
oliviadb+ce6@4000 - oliviadb@4000 |
+0.048 (95% CI +0.006 to +0.090), n 310, 33 won / 18 lost |
Reading¶
- LoCoMo: the reranker configuration is better than the plain hybrid baseline at both budgets (+0.076 at 1000 tokens, +0.040 at 2000, intervals above zero) and better than the default without it; the default without reranker is level with hybrid (+0.02 to +0.03, intervals touch zero). The development-set gain of the candidate over the old default (+0.11 / +0.08) is not a gain over the best baseline: on the test split the margin over hybrid is about half of that. Full context (24 k tokens) stays 0.05 above the best 2000-token context.
- LongMemEval-S: no configuration is separated from hybrid (all intervals contain zero). The default without the reranker is 0.03 below hybrid at every budget (not significant), with the reranker -0.01 to +0.02 against it; the reranker's own effect is positive (+0.05 at 2000 and 4000, intervals above zero). Temporal-reasoning remains OliviaDB's weak category against hybrid (0.44-0.51 vs 0.60 at 4000).
- Choice of defaults: the measurements support bge-small as the embedder and show the reranker is worth its CPU cost where answers matter; it stays opt-in as decided.
Against published numbers (not the same models: read the ratios, not the levels)¶
| benchmark | system (paper) | answerer / judge | accuracy | full context, same paper |
|---|---|---|---|---|
| LoCoMo cat. 1-4, all 10 conversations | Mem0 / Mem0 graph / Zep / LangMem / best RAG (arXiv 2504.19413, Table 2, J, mean of 10 runs) | gpt-4o-mini / an LLM judge the paper does not name in its main text | 66.88 / 68.44 / 65.99 / 58.10 / 60.97 % | 72.90 % (26 k tokens) |
| LoCoMo cat. 1-4, conversations 3-9 (831 q) | OliviaDB + reranker, 2000 tokens / OliviaDB default / hybrid (this run) | Claude Haiku 5.5 / Claude Haiku 5.5, Mem0's J prompt, one run | 78.2 / 75.9 / 74.2 % | 83.3 % (24 k tokens) |
| LongMemEval-S (500 q) | Zep (arXiv 2501.13956, Table 2), 1.6 k tokens | gpt-4o / GPT-4o judge | 71.2 % (gpt-4o-mini: 63.8 %) | 60.2 % (gpt-4o-mini 55.4 %), 115 k tokens |
| LongMemEval-S (500 q) | full history (arXiv 2410.10813, Fig. 3b) | GPT-4o / GPT-4o | - | 60.6 % (64.0 % with Chain-of-Note) |
| LongMemEval-S held-out (310 q, no abstention) | OliviaDB + reranker / OliviaDB default / hybrid at 4000 tokens (this run) | Claude Haiku 5.5 | 67.1 / 62.3 / 65.8 % | not run on the test split (pilot: 0.60 on 40 questions) |
The answer model dominates the level: Haiku 5.5 with the whole LoCoMo conversation scores 83.3 % against gpt-4o-mini's 72.9 %. Relative to full context in its own paper, OliviaDB with the reranker at 2000 tokens keeps 94 % of the full-context score (78.2 / 83.3), Mem0 92 % (66.88 / 72.90), Mem0 graph 94 %, Zep 91 % (Mem0's run of Zep). LongMemEval-S numbers are not comparable across papers here: different answer models, Zep's 1.6 k-token contexts are extracted facts rather than raw rounds, our set excludes abstention questions, and our full-haystack row was not run on the test split.
Not done¶
- The rest of the test sets: the run stopped at the usage limit with LoCoMo and LongMemEval-S
partly judged (numbers above); rerunning the same commands (
private/eval/full,--shuffle 20261201) continues from the cache. LoCoMo conversations 0-2 (development) and all of LoCoMo's other systems (BM25, vector) were not run on the test split; nor was the full LongMemEval haystack. - One run per item; the published J scores are means of 10 runs. The single-judge repeatability measured above (99.5 % LoCoMo, 95.5 % LongMemEval-S) bounds the judge's share of the noise.
- Query rewriting with the same headless Haiku:
tools/e2e_eval.py rewriteandOLIVIADB_REWRITESinmemory_benchare built and untested; no rewrite call was made. - LongMemEval-M development comparison of embedders on all 30 questions (only the first 10 and only the MiniLM configurations were run; the set is saturated at 1.000).