Editorial research note / Agent memory retrieval: a learned search fusion
A contradiction check with no model call
- Question
- Can a deterministic check flag a note that contradicts an earlier one as well as the paid model-based judge it was meant to replace?
- Result
- On the judge's own pre-registered seeded set the shipped check caught 32/40 seeded contradictions against the judge's 31/40, with 1/69 false fires on hard negatives against the judge's 2/69. On fresh sets drawn after the code was written it caught 153/200 = 0.765 [0.702, 0.818] seeded contradictions with 0/200 [0, 0.019] false fires, at 26-33 ms per check on one core and zero tokens. The judge it replaced had used a median 82,011 input tokens per call.
- Limits
- It catches a near-verbatim restatement with a different number; a paraphrase with few shared words is not caught. Two versions were tuned after reading misses on the judge's sets, so those rows are optimistic; only the fresh rows are clean.
- Next question
- Can paraphrased contradictions be caught without a model call?
32/40 | 31/40
Seeded contradictions caught, judge's set (shipped check, judge)
Source & quoted measure
| P: 40 seeded contradictions, caught | 30/40 | 36/40 | 32/40 | 31/40 |
1/69 | 2/69
Hard negatives, false fires
Source & quoted measure
| H: 69 hard negatives, false fires | 1/69 | 2/69 | 1/69 | 2/69 |
153/200 = 0.765 [0.702, 0.818]
Fresh seeded contradictions caught (shipped)
Source & quoted measure
| FRESH P: 200 seeded contradictions | - | 173/200 = 0.865 [0.811, 0.906] | 153/200 = 0.765 [0.702, 0.818] | - |
0/200 [0, 0.019]
Fresh unchanged statements, false fires (shipped)
Source & quoted measure
| FRESH N: 200 unchanged statements vs other notes | - | 3/200 false [0.005, 0.043] | 0/200 [0, 0.019] | - |
26-33 ms per check on one core, zero tokens
Cost per check
Source & quoted measure
26-33 ms per check on one core, zero tokens.
median 82,011 input tokens
Judge input per call
Source & quoted measure
median 82,011 input tokens
a paraphrase (few shared words) is not caught
Limit
Source & quoted measure
Limit: it catches a near-verbatim restatement with a different number; a paraphrase (few shared words) is not caught.
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
v2 and v3 were changed after reading misses/fires on the judge's sets, so those rows are optimistic for them; the FRESH rows are not.
Memory search measured-results file · excerpt