EpiLens: Lightweight RAG for Epidemiological Knowledge Acquisition
Organizations: ISI Foundation, Turin, Italy.
Abstract
To prepare for future outbreaks, researchers need to know what studies have been done and what data they use. Mapping a large literature by hand is slow, while large language models alone can misstate or conflate sources. We present EpiLens, a lightweight, open-source retrieval-augmented generation package that applies a fixed retrieval template and output schema to every paper in a corpus and links outputs to source passages. We build a corpus of 2,297 papers from the sources of a multi-pathogen parameter study and evaluate EpiLens's paper-classification workflow against 214 manually labelled papers. Without task-specific training data, the classifier matches or exceeds the tested supervised and zero-shot baselines across four tasks. The study's early extraction sheets cite published sources for 327 estimates. We link each estimate to a cited document or to corpus studies included by a review. Then, we use the classifier's labels to compare the papers associated with different parameters and pathogens. EpiLens labels more papers linked to reproduction numbers than fatality risks as model-based (54% versus 22%, compared with 62% versus 24% in the manual labels). The gap is consistent with the frequent use of transmission models to estimate reproduction numbers and persists within each of five pathogens compared. Beyond the contrast between parameters, the model-based share of papers linked to incubation-period estimates differs by pathogen: 55% for SARS-CoV-2 versus 6% for mpox.
Figures & tables
| Floor | gemini-2.5-pro | gemini-2.5-flash | Nemotron | |||
|---|---|---|---|---|---|---|
| Task | Majority | |||||
| Geography | 0.353 | |||||
| Data access. | 0.472 | |||||
| Data type | 0.843 | |||||
| Paper type | 0.593 | |||||
| Qwen2.5-32B (local) | Gemini pro | Gemini flash | Nemotron | ||||||
|---|---|---|---|---|---|---|---|---|---|
| fully local | partially local | ||||||||
| Task | |||||||||
| Geography | 100.0 | 80.4 | 100.0 | 78.5 | 94.9 | 93.0 | 92.1 | 81.3 | 86.9 |
| Data access. | 100.0 | 17.8 | 100.0 | 20.6 | 63.6 | 51.4 | 66.8 | 32.2 | 44.9 |
| Data type | 100.0 | 79.4 | 100.0 | 83.6 | 89.3 | 90.2 | 94.9 | 89.3 | 86.9 |
| Paper type | 100.0 | 87.4 | 100.0 | 86.9 | 87.9 | 86.0 | 89.7 | 76.2 | 82.7 |
| Method | Requirements | Jaccard by task | ||||
|---|---|---|---|---|---|---|
| Body? | Task sup. | Paper type | Geo- graphy | Data type | Data access. | |
| Reference | ||||||
| Majority prior (floor) | No | Weak | 0.593 | 0.353 | 0.843 | 0.472 |
| Zero-shot (no training labels) | ||||||
| Prototype (TF-IDF) | No | None | 0.407 | 0.283 | 0.315 | 0.217 |
| Prototype (SPECTER) | No | None | 0.126 | 0.165 | 0.515 | 0.360 |
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Paper | Data sources extracted (name and link or accession where given) |
|---|---|
| Lauer et al. ( Lauer et al., 2020 ) COVID-19 incubation | • News and public health reports • Johns Hopkins Center for Systems Science and Engineering • HopkinsIDD/ncov_incubation GitHub repository ( https://github.com/HopkinsIDD/ncov_incubation ) • Zenodo record 3692048 ( https://zenodo.org/record/3692048 ) |
| Althaus ( Althaus, 2014 ) Ebola | • World Health Organisation (WHO) • Chowell et al. (study) |
| Nguku et al. ( Nguku et al., 2010 ) Rift Valley fever, Kenya | • International Livestock Research Institute (ILRI) GIS site ( http://www.ilri.org/gis ) • Kenya Soil Survey, Report E1, 1982 • LANDSAT images obtained in 1987 by JICA for the Kenya National Water Master Plan • National Oceanic and Atmospheric Administration’s (NOAA) Surface Data Global Summary of the Day file ( http://www.cdo.ncdc.noaa.gov/cdo/dataproduct ) • 1999 Kenya Census • Genbank |
| Nakoune et al. ( Nakoune et al., 2017 ) Monkeypox, CAR | • DDBJ/EMBL/GenBank database • KP849469, A27L gene (reference sequence) • Standardized tools for data collection (Ministry of Health and World Health Organization) • Consultation registers, health records, and hospitalization forms • Institut Pasteur de Bangui (IPB) reports of suspected cases |
| Output (billable) | ||||
|---|---|---|---|---|
| Axis | Input | Reasoning | Visible | Total |
| Paper type | ||||
| Geography | ||||
| Data type | ||||
| Data accessibility | ||||
| All axes (mean) | ||||
| Scope | Cases | Gen. in | Gen. out | Embed (1 ) |
|---|---|---|---|---|
| Evaluation sample (214 papers) | ||||
| Full corpus (2297 papers) |
| gemini-2.5-pro | gemini-2.5-flash | Nemotron | |||
|---|---|---|---|---|---|
| Metric | |||||
| Geography | |||||
| Jaccard | |||||
| Micro precision | |||||
| Micro recall | |||||
| Micro F 1 | |||||
| Label | Pro | Flash | Nemotron | Qwen (local) | |
|---|---|---|---|---|---|
| Geography | |||||
| Asia | 85 | ||||
| Africa | 67 | ||||
| Europe | 42 | ||||
| North America | 24 | ||||
| Irrelevant | 15 | ||||
| Floor | Qwen2.5-32B (self-hosted) | Served backends | ||||
|---|---|---|---|---|---|---|
| Task | Majority | fully local | partially local | Nemotron | flash | pro |
| Geography | 0.353 | |||||
| Data access. | 0.472 | |||||
| Data type | 0.843 | |||||
| Paper type | 0.593 | |||||
| Floor | Qwen2.5-32B (open weight, self-hosted generation) | ||||
|---|---|---|---|---|---|
| fully local (bge-m3) | partially local (Gemini index) | ||||
| Task | Majority | ||||
| Geography | 0.353 | ||||
| Data access. | 0.472 | ||||
| Data type | 0.843 | ||||
| Paper type | 0.593 | ||||
| Qwen2.5-32B (open weight, self-hosted generation) | ||||
| fully local (bge-m3) | partially local (Gemini index) | |||
| Metric | ||||
| Geography | ||||
| Jaccard | ||||
| Micro precision | ||||
| Micro recall | ||||
| Task | |||||
|---|---|---|---|---|---|
| Geography | 25 | 45 | 20 | 80.0% | 44.4% |
| Data type | 25 | 32 | 20 | 80.0% | 62.5% |
| Data accessibility | 95 | 123 | 72 | 75.8% | 58.5% |
| Paper type | 34 | 37 | 15 | 44.1% | 40.5% |
| Task | |||||
|---|---|---|---|---|---|
| Geography | 28 | 59 | 25 | 89.3% | 42.4% |
| Data type | 30 | 40 | 26 | 86.7% | 65.0% |
| Data accessibility | 116 | 163 | 106 | 91.4% | 65.0% |
| Paper type | 37 | 54 | 23 | 62.2% | 42.6% |
| Baseline | Paper type | Geography | Data type | Data access. |
|---|---|---|---|---|
| Majority prior (floor) | ∗ | ∗ | ∗ | ∗ |
| Zero-shot NLI | ∗ | ∗ | ∗ | ∗ |
| TF-IDF + SVM | ∗ | ∗ | ∗ | ∗ |
| SetFit | ∗ | ∗ | ∗ | ∗ |
| ModernBERT (full body) | ∗ | ∗ | ∗ | ∗ |
| metadata_llm | ∗ | ∗ | ∗ |
| Configuration | Paper type | Geog. | Data type | Data access. |
|---|---|---|---|---|
| TF-IDF (title+abstract) | ||||
| Linear SVM | 0.713 / 0.713 | 0.592 / 0.607 | 0.854 / 0.871 | 0.533 / 0.538 |
| Logistic Reg. | 0.706 / 0.696 | 0.593 / 0.575 | 0.881 / 0.871 | 0.528 / 0.514 |
| GB trees | 0.595 / – | 0.453 / – | 0.814 / – | 0.467 / – |
| MLP | 0.696 / – | 0.599 / – | 0.856 / – | 0.558 / – |
| TF-IDF (full body) | ||||
| Method | Paper type | Geography | Data type | Data access. |
|---|---|---|---|---|
| Reference | ||||
| Majority prior (floor) | 0.593 | 0.353 | 0.843 | 0.472 |
| Unsupervised topic models (best across sweep, oracle label alignment) | ||||
| LSA | 0.593 | 0.501 | 0.843 | 0.489 |
| LDA | 0.757 | 0.489 | 0.880 | 0.484 |
| NMF | 0.682 | 0.576 | 0.874 | 0.516 |
| Papers | Model-based (%) | Simulated data (%) | |
| By parameter | |||
| Reproduction number | |||
| Fatality risk | |||
| Serial interval | |||
| Incubation period | |||
| Dispersion | |||
| Pathogen | Parameter | Papers | Model-based (%) |
|---|---|---|---|
| Reproduction number and fatality risk | |||
| SARS-CoV-2 | Reproduction number | ||
| Fatality risk | |||
| MERS-CoV | Reproduction number | ||
| Fatality risk | |||
| Ebola virus | Reproduction number | ||
LLM Information Extraction
Large language model information extraction converts unstructured documents into structured entities, relations, events, and records.
See all 232 papers