Editorial research note / Agent memory retrieval: a learned search fusion
Question benchmark: keyword lookup is strong, small embeddings are worse
- Question
- On questions with a verbatim answer in one passage, how do keyword lookup, BM25, dense embeddings, hybrids and a cross-encoder compare?
- Result
- On 306 questions over 865 passages of 162 notes, keyword lookup reached paraphrase top-1 0.637 [0.582, 0.689]; a small dense embedding scored 0.405, and a hybrid with a cross-encoder rerank 0.676 [0.622, 0.726] at 3,000 ms per query.
- Limits
- Questions were written by agents, two per sampled passage, so the notes' distinctive names favour keyword lookup.
- Next question
- Can stronger embeddings and a learned fusion beat keyword lookup without losing keyword queries?
306 questions
Benchmark size
Source & quoted measure
306 questions, two per sampled passage (written once by 6 agents, every answer quote verbatim in its passage), corpus = all 865 passages of 162 notes:
865 passages of 162 notes
Corpus
Source & quoted measure
306 questions, two per sampled passage (written once by 6 agents, every answer quote verbatim in its passage), corpus = all 865 passages of 162 notes:
0.637 [0.582, 0.689]
Keyword lookup, paraphrase top-1
Source & quoted measure
| keyword (today) | 0.637 [0.582, 0.689] | 0.840 | 0.967 | 3 |
0.405
Small dense embedding, paraphrase top-1
Source & quoted measure
| dense bge-small | 0.405 | 0.693 | 0.516 | 19 |
0.676 [0.622, 0.726] | 0.873 | 0.853 | 3,000
Hybrid with cross-encoder rerank: paraphrase top-1; ms per query
Source & quoted measure
| hybrid + MiniLM cross-encoder rerank | 0.676 [0.622, 0.726] | 0.873 | 0.853 | 3,000 |
Provenance
What the retained source says.
The guide above is editorial. The passages below are source quotations. A fingerprint identifies the retained source bytes; it does not establish the scientific claim by itself. Availability is stated for each source.
01 / Memory search measured-results file
Keyword lookup is strong on these notes (they are dense with distinctive names); small embeddings are worse.
Memory search measured-results file · excerpt