Skip to content

Releases

v0.2.0: M2 reranking and significance

Choose a tag to compare

@Arjun-Sivasankar Arjun-Sivasankar released this 25 Nov 23:29
7100874

Second milestone (M2): cross-encoder reranking on top of hybrid search, with paired significance tests.

Results

1,000 PubMedQA questions over 62,249 abstracts. RTX 5060 Laptop GPU (8 GB), Windows 11, Qdrant 1.20.0, fp16. Latency is one query at a time, with systems interleaved per query.

Pipeline Recall@1 Recall@5 nDCG@10 End-to-end p50 / p95 (ms)
BM25 0.793 0.908 0.865 17 / 30
Hybrid, DBSF fusion 0.843 0.958 0.913 31 / 54
+ MiniLM-L6 (ms-marco) on abstracts 0.864 0.959 0.922 73 / 107
+ MedCPT cross-encoder on abstracts 0.892 0.975 0.943 136 / 182

Full table: README and results/summary.md (generated by python -m clinical_rag.report).

  • MedCPT reranking of parent abstracts beats hybrid DBSF by +4.9 points of Recall@1 (95% CI [+3.0, +6.8], Holm-adjusted McNemar p = 4e-6).
  • Reranking whole abstracts beats reranking chunks for all three cross-encoders.
  • Hybrid DBSF beats BM25 by +5.0 points (Holm p = 6e-6). The smaller steps (dense vs BM25, DBSF vs dense) are suggestive but not conclusive after correction.

Merged

  • #23 feat(rerank): cross-encoder reranking of chunks vs parent abstracts (closes #4)
  • #24 feat(eval): significance tests and a README table generated from results (closes #5)

Next

M3: vLLM generation, query rewriting, RAGAS and a validated LLM judge (#6–#9).

v0.1.0: M1 retrieval baselines

Choose a tag to compare

@Arjun-Sivasankar Arjun-Sivasankar released this 25 Nov 18:22

First milestone (M1): PubMedQA retrieval baselines, measured end to end on one laptop GPU.

Results

1,000 expert-labelled PubMedQA questions over 62,249 abstracts (207,664 section chunks). Scored per abstract. RTX 5060 Laptop GPU (8 GB), Windows 11, Qdrant 1.20.0 in Docker. Latency is one query at a time, with systems interleaved per query.

System Recall@1 Recall@5 Recall@10 MRR@10 nDCG@10 End-to-end p50 / p95 (ms)
BM25 (Qdrant sparse, IDF; avg_len = corpus mean) 0.793 0.908 0.934 0.843 0.865 17.3 / 29.6
Dense (bge-small-en-v1.5) 0.822 0.952 0.968 0.878 0.900 30.0 / 50.8
Hybrid, RRF fusion 0.829 0.959 0.977 0.885 0.908 31.5 / 55.2
Hybrid, DBSF fusion 0.843 0.958 0.972 0.893 0.913 30.6 / 54.2

Source: results/m1_retrieval.md / .json. Per-query rankings are in results/runs/.

Merged

  • #14 fix(ci): install into the venv setup-uv creates (closes #1)
  • #15 feat(data): PubMedQA corpus loader and hierarchical chunking (closes #2)
  • #16 feat(retrieval): Qdrant hybrid retrieval and the M1 retrieval ablation (closes #3)
  • #22 chore: keep the internal project plan out of the repository (closes #21)
  • #20 fix(bm25): normalise by corpus mean length, interleave eval timing (closes #17, #19)

Next

M2: cross-encoder reranking (#4) and paired significance tests (#5).