You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve retrieval evidence coverage for multi-hop questions. Measured on an internal conversation eval (multi-hop category, one unit, n=14):
Gold-token union coverage: cov@5 = 41.6%, cov@10 = 47.9%, cov@30 = 57.3%, cov@100 = 57.3% (ceiling at ~30)
A naive lexical-overlap re-ranker (fetch 30 → rank by query-token overlap → keep 10) loses to native ranking: 44.3% vs 47.9% cov@10 — so re-ranking on top of the existing RRF fusion with naive signals is a dead end; the improvement must come from the engine.
Promising directions (engine-side):
Query decomposition / facet retrieval: split a multi-hop question into sub-facets, retrieve per facet, fuse results (dedupe by memory id) — targets the "evidence exists but ranked outside top-5" failure mode
Cross-hit fusion signals: co-citation (memories repeatedly retrieved together across paraphrases), chunk/session proximity, recency weighting — combined in the existing fusion layer rather than a post-hoc re-ranker
Why
Multi-hop is the weakest end-to-end category (62.5% baseline, 68.8% after answerer-side prompt work) and the strongest cloud use case: synthesis across time ("combine decisions from last month with this week's preferences"). Coverage ceiling at cov@30 shows more slots alone do not help — ranking quality for spread-out evidence is the bottleneck.
Testing
Coverage harness: gold-token union coverage at K=5/10/30 as a regression metric
Validation run 2026-09-12: date anchors on LongMemEval (partial, 21 questions)
Setup: LMEVAL_DATE_ANCHOR=1 on a 50-question slice (results/anchor50-v018/), same binary (develop 6ffd8db, 0.17.0 + #1238 anchors), fusion strategy, chunked sessions. Run terminated early by an import timeout on question 22 (900s subprocess cap — ingest slowness, pre-existing), so this is a partial comparison on the 21 completed questions (all single-session-user on this slice).
recall_all@5
baseline v0.17.0 (same 21 qids)
19/21 = 0.905
+ date anchor ingest
20/21 = 0.952
Delta: +1 query recovered, 0 regressions on the completed set. Consistent with the direction from the internal conversation eval (#1232: temporal QA 15% -> 100% with anchors).
Caveats:
n=21 (all single-session-user) — NOT yet the full 500-question picture; temporal-reasoning and multi-session (the heavier beneficiaries) were not reached before the timeout.
The 900s import timeout on question 22 is a pre-existing ingest slowness issue on large haystacks, unrelated to the anchor change.
Next: full-500 anchor run requires either raising the subprocess timeout or batching ingest differently — parked pending owner confirmation on whether to pursue.
Full-500 result: bundle NOT CONFIRMED (negative), experiment documented
Ran the dry-run bundle at full scale on Modal (10 shards, binary 0.18.0 built from 514d2f9): default + --fusion --chunk-sessions --decompose with 500/500 pre-computed GLM facets + date anchors.
Paired vs the published v0.17.0 Modal baseline (same 500 qids, same topology):
Key finding: the 50Q dry-run jump (0.880 → 0.980) was sample bias — the first 50 qids are simply easier: baseline scores 48/50 on those exact qids. Decompose adds only +1 there.
Caveats: bundle is confounded (3 levers + anchors vs a plain-default baseline) — the +1pp NDCG could be anchors, not decomposition. Per-lever attribution would need unbundled runs (~$1 each on Modal).
Full paired data: uteke-bench/results/decomp500-vs-baseline-paired.json (all 48 flips listed). Raw: benchmarks/longmemeval/scripts/results_modal_default_dec500/ (not committed to git).
Recommendation: do not promote decompose to a default retrieval path — costs ~5x query latency (3 extra fts5 recalls per question) for a net-negative recall delta. Keep as opt-in bench tooling; the harness flags stay on feat/lmeval-decompose.
The 50Q dry-run jump (0.880 -> 0.980) was sample bias: the first 50 qids are simply easier (baseline 48/50 on those exact ids).
Decision: do not promote decompose to a default retrieval path — ~5x query latency (3 extra FTS5 recalls per query) for a net-negative recall delta. The flags remain opt-in bench tooling on the bench branch; paired flip data preserved in uteke-bench (results/decomp500-vs-baseline-paired.json, all 48 flips).
Multi-hop evidence coverage (baseline cov@5 41.6% on the internal eval) remains a known gap. Re-open — or file a scoped successor targeting a specific retrieval mechanism — if engine-side multi-hop work is prioritized.
Activity
ajianaz commentedon Sep 12, 2026
Validation run 2026-09-12: date anchors on LongMemEval (partial, 21 questions)
Setup:
LMEVAL_DATE_ANCHOR=1on a 50-question slice (results/anchor50-v018/), same binary (develop6ffd8db, 0.17.0 + #1238 anchors), fusion strategy, chunked sessions. Run terminated early by an import timeout on question 22 (900s subprocess cap — ingest slowness, pre-existing), so this is a partial comparison on the 21 completed questions (all single-session-user on this slice).Delta: +1 query recovered, 0 regressions on the completed set. Consistent with the direction from the internal conversation eval (#1232: temporal QA 15% -> 100% with anchors).
Caveats:
Next: full-500 anchor run requires either raising the subprocess timeout or batching ingest differently — parked pending owner confirmation on whether to pursue.
ajianaz commentedon Sep 13, 2026
Full-500 result: bundle NOT CONFIRMED (negative), experiment documented
Ran the dry-run bundle at full scale on Modal (10 shards, binary
0.18.0built from514d2f9):default + --fusion --chunk-sessions --decomposewith 500/500 pre-computed GLM facets + date anchors.Paired vs the published v0.17.0 Modal baseline (same 500 qids, same topology):
Key finding: the 50Q dry-run jump (0.880 → 0.980) was sample bias — the first 50 qids are simply easier: baseline scores 48/50 on those exact qids. Decompose adds only +1 there.
Caveats: bundle is confounded (3 levers + anchors vs a plain-default baseline) — the +1pp NDCG could be anchors, not decomposition. Per-lever attribution would need unbundled runs (~$1 each on Modal).
Full paired data:
uteke-bench/results/decomp500-vs-baseline-paired.json(all 48 flips listed). Raw:benchmarks/longmemeval/scripts/results_modal_default_dec500/(not committed to git).Recommendation: do not promote decompose to a default retrieval path — costs ~5x query latency (3 extra fts5 recalls per question) for a net-negative recall delta. Keep as opt-in bench tooling; the harness flags stay on
feat/lmeval-decompose.feat(benchmarks): dual-channel rank fusion mode (rrop plain x2 + bund…
ajianaz commentedon Sep 15, 2026
Conclusion (2026-09-15): negative result at full scale — closing
The proposed lever (facet decomposition bundle) was validated end-to-end and did not survive full-scale paired evaluation:
514d2f9), bundle = fusion + chunk-sessions + decompose + date anchors, 500/500 pre-computed GLM facets; paired against the published 0.17.0 Modal baseline (same 500 qids, same topology).Decision: do not promote decompose to a default retrieval path — ~5x query latency (3 extra FTS5 recalls per query) for a net-negative recall delta. The flags remain opt-in bench tooling on the bench branch; paired flip data preserved in uteke-bench (
results/decomp500-vs-baseline-paired.json, all 48 flips).Multi-hop evidence coverage (baseline cov@5 41.6% on the internal eval) remains a known gap. Re-open — or file a scoped successor targeting a specific retrieval mechanism — if engine-side multi-hop work is prioritized.