Abstention: one reranker threshold discards 16/16 paraphrase answers it already retrieved

Aperta
#113 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start with the abstention rule and reranking path, then read the Baseline section in bench/README.md and inspect bench/results/sqlite-graph-memory-vector.json. Compare the reranker gate with the proposed bi-encoder cosine signal for queries lacking lexical overlap. Done means false_abstain on paraphrase is well below 1.00 while abstain_correct stays at or above 0.45 on the 22 absent questions.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

On memory-bench v0.1 the vector row says "I don't know" on 18 of 69 answerable questions; 16 of those 18 are paraphrase (10/10) and paraphrase_bridge (6/6). Retrieval already found most of them (paraphrase R@5 0.80), but the abstention rule (top reranker score < 0) throws the answer away: the mmarco cross-encoder scores zero-word-overlap hits below zero (median -4.8, see bench/README.md "Baseline").

One threshold is doing two jobs: rejecting absent entities and judging paraphrase relevance.

Proposal: keep the reranker gate for lexical matches, and for queries with no lexical overlap with the top hit use the bi-encoder cosine (or a separately calibrated threshold) as the abstention signal. Acceptance: false_abstain on paraphrase drops well below 1.00 without abstain_correct falling below 0.45 on the 22 absent questions. Numbers from bench/results/sqlite-graph-memory-vector.json.

Lingua principale
Python
Stelle
9
Fork
6
Merge medio
13h 8m
PR unite (30g)
40

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tonydzi/sqlite-graph-memory

Tutte le issue di tonydzi/sqlite-graph-memory

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.