Skip to content

Editorial research note / Agent memory retrieval: a learned search fusion

Only a larger embedding model closes the vocabulary gap

2026-10-21 · Round 5 heading dated 2026-10-21 in the results file · result

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 |

Memory search measured-results file

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);

Memory search measured-results file

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.

Memory search measured-results file

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)

Memory search measured-results file

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.

Memory search measured-results file

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

Selected source passage; full source not published

The misses are vocabulary, which only the larger model closed.

Source fingerprint · SHA-256 13650bf71f4c08c916c3d0b1549538ef80cb69f54eeed9e92d376346de90d8f5 · 21,887 bytes

Memory search measured-results file · excerpt

Research direction: Anthony Michael Collado.
Original credits remain with each source. Source passages, editorial guides and unreviewed source-index notes are distinguished in the research record.