Skip to content

Latest commit

 

History

History
61 lines (52 loc) · 6.14 KB

LEADERBOARD.md

File metadata and controls

61 lines (52 loc) · 6.14 KB

Leaderboard — memory-bench v0.1

Synthetic vault: 202 notes · 91 questions (69 answerable, 22 with no answer in the vault). How to read and how to add your system: README · CONTRIBUTING.

system R@5 R@10 answer verbatim cite faithful quotes abstains when absent false abstain ↓ CI-reproduced by
plain-rag reference 0.93 0.94 0.33 0.33 1.00 0.18 0.20 yes Jason-Vaughan
sqlite-graph-memory-vector 0.3.0 0.88 0.92 0.33 0.33 1.00 0.45 0.26 yes tonydzi
mem0-local 2.2.1 0.87 0.92 0.36 0.36 1.00 0.14 0.13 yes tonydzi
fidelis 0.2.0 0.86 0.93 0.42 0.42 1.00 0.18 0.16 yes tonydzi
sqlite-graph-memory 0.3.0 0.85 0.91 0.33 0.33 1.00 0.45 0.26 yes tonydzi
mempalace 3.11.0 0.82 0.88 0.42 0.42 1.00 0.00 0.03 self-reported tonydzi
bm25 reference 0.77 0.79 0.42 0.42 1.00 0.36 0.04 yes tonydzi
tangleclaw-style reference 0.77 0.79 0.42 0.42 1.00 0.45 0.04 yes Jason-Vaughan
second-brain b17e6d5e9a1b 0.76 0.76 0.42 0.42 1.00 0.00 0.04 yes tonydzi
sqlite-fts5 reference 0.76 0.76 0.42 0.42 1.00 0.00 0.04 yes tonydzi

Recall@5 by question class

system fact bridge paraphrase paraphrase_bridge temporal
plain-rag 1.00 0.87 1.00 0.50 1.00
sqlite-graph-memory-vector 1.00 0.97 0.80 0.08 1.00
mem0-local 1.00 0.70 1.00 0.25 1.00
fidelis 1.00 0.73 0.90 0.17 1.00
sqlite-graph-memory 1.00 1.00 0.50 0.08 1.00
mempalace 1.00 0.93 0.40 0.08 1.00
bm25 1.00 1.00 0.00 0.00 1.00
tangleclaw-style 1.00 1.00 0.00 0.00 1.00
second-brain 1.00 0.97 0.00 0.00 1.00
sqlite-fts5 1.00 0.97 0.00 0.00 1.00

Abstention by question class (share of unanswerable questions left unanswered)

system absent_entity absent_attribute
plain-rag 0.40 0.00
sqlite-graph-memory-vector 0.60 0.33
mem0-local 0.30 0.00
fidelis 0.40 0.00
sqlite-graph-memory 0.60 0.33
mempalace 0.00 0.00
bm25 0.80 0.00
tangleclaw-style 1.00 0.00
second-brain 0.00 0.00
sqlite-fts5 0.00 0.00

Notes from the submitters

  • plain-rag — Plain dense chunk RAG reference row: same index_notes.py chunker and intfloat/multilingual-e5-base bi-encoder as sqlite-graph-memory, ranked by cosine similarity alone (topk=60, no wikilink graph hop, no cross-encoder reranker) with the shared _extract.best_sentence floor and no cosine threshold (the 0.18 abstention rate comes solely from _extract.best_sentence returning (None, None, 0) when no sentence in the top-3 notes shares a non-stopword token with the question on 4/10 absent_entity questions). Beats sqlite-graph-memory on paraphrase (R@5 1.00 vs 0.50, where the mmarco cross-encoder demotes zero-overlap hits), while sqlite-graph-memory beats it on bridge (1.00 vs 0.87) and on abstention (0.45 vs 0.18).
  • sqlite-graph-memory-vector — Our own system, vector-only. Ranks ahead of graph mode on this vault (graph helps bridge, hurts paraphrase). Same answer-side weaknesses as graph mode.
  • mem0-local — mem0 2.x local: Ollama nomic-embed-text, embedded Qdrant, infer=False so notes are stored verbatim (extraction on would rewrite them). Pure dense search, no abstention rule. Produced and rerun in CI on Linux against a pinned Ollama container held to its haswell CPU kernel (macOS gives the same answers, R@10 0.93 there).
  • fidelis — fidelis-memory 0.2.0 zero_llm tier, BM25+dense+RRF with the hybrid extra on, Ollama nomic-embed-text, notes stored verbatim, embeddings memoized by the adapter (same vectors). No abstention rule at this tier. Produced and rerun in CI on Linux against a pinned Ollama container held to its haswell CPU kernel (macOS gives the same answers, a few rank-8-to-10 swaps).
  • sqlite-graph-memory — Our own system, graph mode. Answers come from a simple extractor, not an LLM. Weakest spots: cites the superseded decision on 6/6 current-deadline questions; abstains on all 16 paraphrase questions, including the ones it retrieved; answers 55% of absent-fact questions anyway.
  • mempalace — MemPalace 3.11 defaults: miner.mine projects mode, search_memories n_results=20, no LLM; shared extractive answer floor
  • bm25 — Keyword search with no model and an extractive answer: the floor every other row has to clear. Wins on names, scores 0.00 on paraphrase.
  • tangleclaw-style — In-adapter Python/SQLite reference pipeline for TangleClaw markdown continuity: BM25 + SQLite FTS5 + 1-hop wikilinks (brain_ask._links_in) fused via ppr.rrf_fuse, YAML frontmatter superseded_by lineage promotion, capitalized-entity abstention gate (no domain-noun stopwords), and shared _extract.best_sentence floor. Resolves superseded decisions (10/10 temporal) and absent entities (10/10); scores 0.00 on paraphrase and absent_attribute (no embedding model or LLM reader).
  • second-brain — Run from a clone at a pinned commit (not on PyPI). Raw questions are an FTS5 syntax error in SecondBrain.search(), so the adapter quotes and OR-joins the words. Pure FTS5 ranking, no entity check: answers all 22 absent questions.
  • sqlite-fts5 — FTS5 as shipped: SQLite's own bm25() rank over whole notes, question words OR-joined. No entity check, so it answers all 22 absent questions. Ties second-brain on every metric.