Skip to content

About

LoCoMo benchmark harness for Caura, with the full-context baseline and random-selection control the benchmark needs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Caura on LoCoMo: a full-context baseline, and what it costs to read one

This repository is the harness we used to run LoCoMo against Caura, together with every run a number here rests on.

The headline is a baseline, not a system score: with the entire conversation in the prompt and no retrieval at all, a gpt-5-mini reader answers 87.27% of LoCoMo's scored questions (1,344 / 1,540) under a single-pass GPT-4o judge.

configuration GPT-4o judge GPT-4o-mini judge
uniform prompt, no category routing within categories 1–4 87.27% 87.08%
category-routed prompt, 3 runs 87.71% ± 0.36 88.27% ± 0.31

For comparison, mem0's paper reports a full-context baseline of 72.90% (gpt-4o-mini reader, GPT-4o judge) — higher than every memory system it evaluated — and a separate study reports 92.85% for a gpt-5-mini reader under a three-vote generous judge. Our figure sits between them; the differences are the reader and the judge, not a memory system.

Three things this harness does that we could not find in other published LoCoMo runs:

  • A random-selection baseline for retrieval. locomo baseline prints the expected evidence-hit rate if k sessions were drawn uniformly at random. With ~27 sessions per conversation, k=50 reaches 96% of the store by construction, so a retrieval number is unreadable without this line beside it.
  • Both error rates for abstention. LoCoMo's category 5 is usually excluded on the stated grounds that ground truth is unavailable; in fact all 446 items carry an adversarial_answer field. Scoring it only works if abstention is offered to both classes, which --abstain-all does — otherwise "abstain iff category 5" scores 100%.
  • Prompt provenance in every result file. Each run records the prompts it used, their hashes, and the routing configuration.

Quick start

uv sync
cp .env.example .env          # optional: flags and exported env vars work too
uv run locomo download        # fetch locomo10.json from the official repo
uv run locomo stats

Baseline arm — no memory system involved:

uv run locomo run --name uniform --arm fullcontext --no-derive \
    --reader-model gpt-5-mini --concurrency 32
uv run locomo rejudge outputs/uniform/results.json --judge-model gpt-4o

run judges inline with the cheaper model ($SECONDARY_JUDGE_MODEL, default gpt-4o-mini); rejudge applies the headline judge ($JUDGE_MODEL, default gpt-4o) to the saved answers. Both numbers are reported.

Retrieval arms — ingest once, then query:

uv run locomo ingest --tenant-id <tenant> --samples all
uv run locomo run --name recall-k10 --arm recall --tenant-id <tenant> --top-k 10   # no LLM cost
uv run locomo baseline --ks 3,5,10,20,50                                          # the comparison line
uv run locomo run --name retrieval-k10 --arm retrieval --tenant-id <tenant> --top-k 10

The three arms

arm context given to the reader cost
fullcontext the entire conversation ~19.2k tokens/question
retrieval top-k sessions from the store k × ~2.6k chars
recall none — evidence-hit only, no LLM calls free

Dataset

Ten conversations, 1,986 questions. The paper describes 50 conversations; only 10 are public.

category n
1 multi-hop 282
2 temporal 321
3 open-domain 96
4 single-hop 841
5 adversarial 446
scored (1–4) 1,540

Several published harnesses ship this mapping inverted; tests/test_dataset.py pins it against the file.

What is in outputs/

run what it is
uniform/ the headline: one prompt for categories 1–4, both judges
routed-r1..r3/ three runs of the category-routed prompt, for variance
abstain-control/ one abstention-permitting prompt for all 1,986 questions
recall-sweep/ evidence-hit at k = 3, 5, 10, 20, 50
prompt-progression/ three prompts, reader and judge held fixed

Per-question answers, both judges' verdicts, prompt hashes and configuration are in each results.json.

These runs predate the packaged CLI and their summaries use the earlier key names (k, accuracy_cat1_4); the rows are unchanged and the shipped scripts read both spellings. New runs written by locomo run use top_k and accuracy.

Reading these numbers

See REPRODUCE.md for the exact commands, environment, and the limitations that bound every figure above — including the ones that cost us earlier drafts of this README.

License

MIT. LoCoMo itself is distributed by snap-research/locomo under its own terms.

About

LoCoMo benchmark harness for Caura, with the full-context baseline and random-selection control the benchmark needs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages