Machine learning / Information retrieval
Ranking scientific abstracts with SciFact
Which abstracts should a scientific search engine return, and when should it withhold a citation candidate?
Solution
I built a SQLite abstract index, compared two ranking methods and calibrated when to withhold weak matches.
My contribution · I built the abstract index and ranking pipeline, then calibrated and evaluated an abstention rule.
Tools Python · SQLite FTS5 · BM25
Results
On 300 official test queries, weighted BM25 scored 0.677 nDCG@10 versus 0.589 for rank fusion.
The gate returned 163 citation candidates. Of these, 119 had a positive relevance judgment.
- BM25 test nDCG@10
- 0.677 Source
Data & evaluation
Data sources
- SciFact via BEIR, including 300 official test queries
Method
- Compare weighted BM25 with phrase-based rank fusion. Select a query–passage overlap threshold on a separate calibration split.
- Build a local FTS5 abstract index, preserve document identifiers and score an emitted candidate only against the test relevance judgments.
Limitations
Document relevance does not establish whether a paper supports or refutes the claim.
Evaluating evidence support requires separate labels for supporting, refuting and insufficient evidence.
Reproduce the study
Use Python 3.11 or newer and SQLite with FTS5. Prepare the SciFact data and run the recorded ranking and citation-gate evaluation.
Local reproduction instructions and pinned sourceSkills demonstrated
- Information retrieval
- Ranking evaluation
- Selective prediction
Project figures

Weighted BM25 outperformed the phrase fusion on the test ranking metrics, including nDCG@10 (0.677 vs 0.589).
Idriss Lemnouni. Aggregate results on SciFact via BEIR.Figure source
119 of 163 returned candidates had positive relevance judgments. The system abstained on 137 of 300 queries.
Idriss Lemnouni. Aggregate results on SciFact via BEIR.Figure source