KaryaResearchMemory

Relevance can't be judged at write time.

A cheap model that searches the raw history when the question arrives beats memory systems that decide in advance what to keep.

Read-time search0.746
mem0 platform, GPT-50.632
RAG, full 32K, same model0.568
RAG, paper setup, same model0.497
LIGHT, BEAM paper0.336
BEAM-1M, 699 of 700 questions, average of 10 abilities. Official BEAM scoring code and judge (GPT-4.1-mini). Read-time search and both RAG runs answered by GLM-5.3-flash. mem0's column is its own published answers, re-scored unchanged.

Why read-time memory.

Most AI memory works at write time. As you talk, a model decides what to keep. It extracts “facts”, stores them, and later retrieves the ones that look most similar to your question.

That design depends on one assumption: that you can tell what will matter before anyone has asked. You cannot.

Relevance is not a property of a piece of information. It is a relationship between information and a question. At write time, the question does not exist yet. So the extractor must guess, once and for good, on behalf of every question anyone will ever ask. What it guesses wrong is gone.

Read-time memory moves the decision to the only moment it can be made well: when the question arrives. Keep the raw history. When a question comes in, let a model search the original words with the question in hand, read what comes back, search again with what it learned, and check its answer against what it found.

Plain RAG is a half-step. It keeps the raw text, but it fixes chunk boundaries and embeddings at write time, and judges relevance once, by similarity. Read-time search judges relevance the way a person does: by reading.

A small example.

March · team chat“Move the standup to 9:30, the 9am clashes with school drop-off on Tuesdays.”
Write-time memory storesStandup is at 9:30.
June · question“Can I take a 9am client call next Tuesday?”
Stored fact saysNothing about Tuesdays.
Read-time search findsThe March message, in milliseconds. No: Tuesdays at 9 clash with school drop-off.

The extractor did its job. It could not know that the reason would become the important part. The raw message still says it.

Why it matters.

  1. Future questions have no limit. An extractor must anticipate every question that will ever be asked of the history. Nobody can, person or model.
  2. Extraction loses things, one way. Reasons, qualifiers, who said it, how sure they were, the exact words and the order of events are compressed away.
  3. Change gets flattened. Overwriting “lives in Pune” with “lives in Mumbai” erases the fact that something changed, and when. On BEAM this is where the gap is largest: flagging contradictions 0.74 against 0.35, using the latest value 0.76 against 0.49.
  4. Mistakes are silent and permanent. A bad extraction is never revisited, because its source was discarded.
  5. Raw history gets better with every model. Extracted facts stay at the quality of the extractor that wrote them. Next year's model can re-read the raw record.
  6. Cost lands where the value is. Write-time pays for a model call on every message. Read-time pays only when someone asks.
Keep the raw history as the source of truth. Indexes, timelines and entity maps are useful as a map that points into it, never as a replacement for it.

Results.

Both benchmarks were scored with their official scoring code and official judge models. On LongMemEval-S (500 questions, GPT-4o judge) read-time search scored 94.6%, at about $0.003 a question. On BEAM-1M it scored 0.746, at about $0.01 a question.

Read-time searchRAG, full 32K, same model
Contradictions.743 / .354
Information extraction.905 / .752
Knowledge update.764 / .486
Temporal reasoning.552 / .331
Event ordering.340 / .228
Multi-session.756 / .589
Instruction following.921 / .716
Abstention.857 / .750
Preference following.913 / .838
Summarization.709 / .641
BEAM-1M by ability, same answering model, official scoring. Event ordering uses Kendall tau, normalised.
AbilityRead-timemem0 (GPT-5)RAG 32KRAG top-5
Contradictions0.7430.2460.3540.346
Information extraction0.9050.6920.7520.619
Knowledge update0.7640.6290.4860.457
Temporal reasoning0.5520.4310.3310.200
Event ordering0.3400.2410.2280.202
Multi-session0.7560.6810.5890.452
Instruction following0.9210.8690.7160.683
Abstention0.8570.8360.7500.800
Preference following0.9130.9210.8380.770
Summarization0.7090.7710.6410.437
Average0.7460.6320.5680.497

mem0 wins summarization and ties on preferences. The largest gap is flagging contradictions: 0.74 against 0.25.

How it works.

  1. Overview. The model gets the question and a short overview of the history: sessions, dates and opening lines. Not the history itself.
  2. Search. It calls three tools: search (regex, filtered by role or range), read (the full text of a range of turns) and count (matches by session).
  3. Iterate. It searches with several phrasings, reads around promising hits, and repeats until it is confident. About 3 steps per question on LongMemEval, about 7 on BEAM-1M.
  4. Verify. A second call sees the question, the answer and everything retrieved. It can correct the answer, for example to use a later value or fix date arithmetic, but it may not drop a specific answer only because its support is incomplete.

Honest caveats.

  • What the comparisons show. The RAG comparison uses the same model, so it measures how relevance is judged. The mem0 comparison uses the same questions and grader, but mem0 answered with GPT-5, a much stronger model. We did not run mem0, Zep or Supermemory ourselves.
  • Token budget. mem0 answers from about 7K tokens of memories per question. Read-time search reads about 103K prompt tokens per question on BEAM (74% from cache). The accuracy gap has a cost and latency gap in the other direction.
  • The RAG baseline is the paper's setup, not a tuned production stack: bge-small embeddings, top-k, no reranker, no hybrid keyword search. A stronger retriever would likely close part of the gap.
  • Model against method. Most of the jump from the BEAM paper's 0.31 comes from the newer model. Read-time search adds +0.18 on top of same-model RAG.
  • Weak spots. Event ordering (0.34 on the official Kendall-tau metric) and temporal reasoning (0.55).
  • One run, one answering model, no repeats. One BEAM question has no answer because of a network stall.

Every answer, every official verdict and the code to recompute each number are public. Check them →

Want your firm's memory
to keep the reasons?