Skip to content

Applications / active

Agent memory retrieval: a learned search fusion

Can a small local search service find the passage in an agent's working notes that answers a question better than keyword lookup, with no model calls at query time, and can a check without a model replace a paid model judge for contradictions?

Built
Benchmark questions were written once per sampled passage, each with a verbatim answer quote, and every change was scored against keyword lookup with Wilson intervals or exact paired tests on the same questions. Keyword, fielded BM25 and dense-embedding signals, sentence windows and note descriptions were combined by a learned listwise fusion, cross-validated with folds grouped by passage; variants that did not win were reverted rather than served.
Found
The served fusion is no longer worse than keyword lookup on any measure and is better where the wording differs; adding a larger embedding model, served from a second machine, cut paraphrase top-5 misses several-fold. Distilling that model into the small one, and synthetic questions from a tiny model, both failed and were not served. A model-free contradiction check matched the paid judge on the judge's own seeded set.
Boundary
One corpus of working notes, with benchmark questions written by agents rather than people. Keyword-style questions showed no difference, a paraphrase contradiction is not caught, and no method predicted which note an agent would read next.
Next question
Do people's own questions about the notes behave like the benchmark's paraphrases?

Evidence and development

8 research records.

Browse 1 source note awaiting synthesis →

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.