Editorial research note / Agent memory retrieval: a learned search fusion
Only a larger embedding model closes the vocabulary gap
- Question
- Do a cross-encoder reranker or larger embedding models, added to the served fusion, recover the remaining paraphrase misses, judged question by question with an exact paired test?
- Result
- Only the 4-billion-parameter embedding model gave a demonstrated gain: paraphrase top-1 0.793 (241) and top-5 0.977 (297), keyword top-1 0.961 (292), with paired p-values 0.003 / 0.043. Paraphrase top-5 misses fall from 18 to 7 of 304 (keyword lookup: 50, 7x fewer). The reranker and the 0.6-billion-parameter model showed no demonstrated gain, and structure-aware passage units changed nothing (top-5 286 vs 286, top-1 228 vs 230 (p=0.79)) and were reverted.
- Limits
- The large model needed a GPU (Cost of the 4B: 7.5 GiB of GPU memory, 60 s load, one query 225 ms median (p90 234)) on a machine that was then retired, so it could not be served from there.
- Next question
- Can the large model's gain be kept without a GPU, by distillation or on another machine?
0.793 (241) | 0.977 (297) | 0.961 (292) | 0.003 / 0.043
Fusion plus the 4B embedding model (para top-1, para top-5, keyword top-1, p)
Source & quoted measure
| Qwen3-Embedding-4B | 0.793 (241) | 0.977 (297) | 0.961 (292) | 0.003 / 0.043 |
paraphrase top-5 misses fall from 18 to 7 of 304 (keyword lookup: 50, 7x fewer)
Paraphrase top-5 misses with the 4B model
Source & quoted measure
Demonstrated: with Qwen3-4B, paraphrase top-5 misses fall from 18 to 7 of 304 (keyword lookup: 50, 7x fewer);
top-5 286 vs 286, top-1 228 vs 230 (p=0.79)
Structure-aware units
Source & quoted measure
Structure-aware units (one per bullet/paragraph, 2,635, added as three more signals) changed nothing: top-5 286 vs 286, top-1 228 vs 230 (p=0.79); reverted.
Cost of the 4B: 7.5 GiB of GPU memory, 60 s load, one query 225 ms median (p90 234)
Cost of the large model
Source & quoted measure
Cost of the 4B: 7.5 GiB of GPU memory, 60 s load, one query 225 ms median (p90 234)
The reranker and the 0.6B model show no demonstrated gain
Reranker and the 0.6-billion-parameter model
Source & quoted measure
The reranker and the 0.6B model show no demonstrated gain.
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
The misses are vocabulary, which only the larger model closed.
Memory search measured-results file · excerpt