CiteMD answers clinical research questions from published medical literature and shows its work. Every claim carries a citation to the passage it came from, and when the evidence is too thin it declines to answer instead of guessing.
Dense vector search plus keyword search over a PubMed index, fused and reranked to pull the most relevant abstracts.
A language model writes the answer using only those passages, with an inline citation on every claim.
A confidence gate declines the least-supported questions instead of risking a confident wrong answer.
Generation runs through KVGate, and self-hosted through vLLM with LMCache, which offloads the GPU KV cache under memory pressure.
The Serving Path tab reports measured latency and throughput from KVGate and LMCache. The Evaluation tab reports accuracy, calibration, and abstention with confidence intervals. Pick an example below to see a grounded answer with its supporting spans.
Does regular low-dose aspirin use reduce the long-term risk of colorectal cancer?
Yes. In a long-term follow-up of randomized trials, regular low-dose aspirin was associated with a reduced incidence of colorectal cancer, with the benefit emerging after about ten years of follow-up [1]. A pooled cohort analysis reported a similar direction of effect, though absolute risk reduction was modest [2].
Both cited passages report a reduction in colorectal cancer incidence with sustained low-dose aspirin use.
In a pooled analysis of randomized trials with long-term follow-up, allocation to aspirin reduced the 20-year risk of colorectal cancer. The reduction became apparent only after approximately ten years and was consistent across trial populations.
Regular aspirin use was associated with a lower incidence of colorectal cancer in this prospective cohort, although the absolute risk difference was small and confined to longer durations of use.
Long-term aspirin use carries an increased risk of upper gastrointestinal bleeding, which must be weighed against any chemopreventive benefit.
Non-aspirin NSAIDs reduced adenoma recurrence in a randomized prevention trial but were limited by cardiovascular adverse events.
Screening colonoscopy was associated with reduced colorectal cancer mortality in a large observational study.
Architecture and stack
Ingest and index
PubMed abstracts are parsed, chunked, and embedded on CPU, then stored in Postgres with pgvector for dense search and full-text BM25 for keywords.
Retrieve and read
A question hits both indexes, fused with Reciprocal Rank Fusion and reranked by a cross-encoder. A model writes the answer from those passages with a citation on every claim.
Abstain
A confidence gate declines the least-supported questions instead of guessing, so a wrong-but-confident answer is turned into a measured abstention.
Serve and evaluate
Generation runs through KVGate to a provider or to self-hosted vLLM with LMCache. MIRAGE questions score accuracy, calibration, faithfulness, and risk-coverage.
Open source and reproducible
CiteMD is an open-source clinical-evidence RAG with a full evaluation harness. Every number on this site is measured and reproducible from the commands in the repository. Built by Rishika Vaish.