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

Đang mở
#113 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
machine-learning, search

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
9
Fork
6
Merge trung bình
13 giờ 8 phút
Pull request đã merge (30 ngày)
40

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tonydzi/sqlite-graph-memory

Tất cả issue của tonydzi/sqlite-graph-memory

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.