Editorial research note / Agent memory retrieval: a learned search fusion
Learned fusion beats keyword lookup where the wording differs
- Question
- Do a stronger embedding model, a learned fusion of signals, sentence windows, note descriptions and query-shape features beat keyword lookup on paraphrased questions without hurting keyword-style ones?
- Result
- The largest embedding model tried (335M parameters, dense paraphrase top-1 0.412) was worse and slower, so a 109M model was chosen; equal-weight fusion hurt keyword queries, so the fusion was learned. On 612 questions it cut paraphrase top-5 misses from 16.3% to 7.5%. With sentence windows and note descriptions paraphrase top-1 rose +11.8 points, intervals apart, and on paraphrase top-1 the served version scored 0.757 [0.705, 0.801] against keyword lookup's 0.635 [0.579, 0.687]; paraphrase top-5 misses fell 16.4% to 5.9%, 2.8x fewer, and mean reciprocal rank rose from 0.853 to 0.908.
- Limits
- Keyword-style questions showed no difference (0.957 [0.928, 0.975] (no difference) against keyword lookup). Benchmark and service share one feature code path, with Service parity 30/30, median 70 ms, but the questions remain agent-written.
- Next question
- Which misses remain, and are they vocabulary that only a larger model can close?
Largest embedding model: size and dense paraphrase top-1
Source & quoted measure
| mxbai-embed-large-v1 | 335M | 0.412 | 0.582 | 0.670 | 205-218 |
Chosen embedding model: size
Source & quoted measure
| snowflake-arctic-embed-m-v1.5 | 109M | 0.503 | 0.683 | 0.758 | 66-73 |
Question set
Source & quoted measure
| 612 questions | keyword (today) | RRF | learned fusion |
Learned fusion, paraphrase top-5 misses
Source & quoted measure
Demonstrated (intervals apart): paraphrase r@5 and all-question r@5, misses cut from 16.3% to 7.5% and from 8.2% to 3.9%.
Windows and note descriptions, paraphrase top-1 gain
Source & quoted measure
Demonstrated now: paraphrase r@1 (+11.8 points, intervals apart)
Served version, paraphrase top-1 (keyword, served)
Source & quoted measure
| paraphrase r@1 | 0.635 [0.579, 0.687] | 0.757 [0.705, 0.801] |
Served version, paraphrase top-5
Source & quoted measure
| paraphrase r@5 | 0.836 [0.790, 0.873] | 0.941 [0.908, 0.962] (misses 16.4% -> 5.9%, 2.8x fewer) |
Served version, keyword-style top-1
Source & quoted measure
| keyword-query r@1 | 0.967 [0.941, 0.982] | 0.957 [0.928, 0.975] (no difference) |
Mean reciprocal rank, all questions (keyword, served)
Source & quoted measure
| MRR (all) | 0.853 | 0.908 |
Service parity with the benchmark
Source & quoted measure
Service parity 30/30, median 70 ms.
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
No longer worse than keyword lookup on any measure; better where wording differs.