Skip to content

Menu

WorksComputer Science

EpiLens: Lightweight RAG for Epidemiological Knowledge Acquisition

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_f9pr7ndk. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

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. Run locally with an open-weight model, so that licensed full texts never leave our hardware, the classifier is comparable to supervised baselines trained on the manual labels, and ahead of them on geography, despite the lack of task-specific training data. 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 (53% versus 15%, 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 largely persists within pathogens.

Introduction

If a new pandemic started tomorrow, we would again face basic questions. Which data streams are available and where? How have they been used in past outbreaks? Which analyses depended on non-traditional data such as mobility traces, economic data, or social media activity, and under what conditions were those data shared? What kinds of papers produce the parameter estimates we would use, such as reproduction numbers or fatality risks, and how often are they model-based or based on simulated data? Recent work in digital epidemiology and non-traditional data has shown the potential and the limitations of these sources for crisis response [1, 2, 3]. Yet, answering such questions still requires the manual screening of hundreds (if not thousands) of papers.

At the same time, large language models (LLMs) have advanced to the point where they can support a wide range of knowledge-intensive tasks, including search-like question answering, summarisation, and information extraction in scientific and technical domains [4, 5, 6]. Nevertheless, these models are prone to hallucination: they produce fluent but non-factual statements or conflate sources, which undermines their reliability as stand-alone knowledge repositories [7]. Retrieval-augmented generation (RAG) addresses this issue by coupling LLMs with explicit document retrieval, so that generation is conditioned on retrieved evidence and not just on the model’s parameters [8, 9]. For epidemiology, where provenance, transparency, and reviewability are essential, such architectures offer a natural way to leverage LLMs’ strengths while maintaining stricter epistemic standards. Finally, a practical obstacle remains in the use of commercial LLMs: some publishers do not allow the full texts they license to be sent to external AI services. Therefore, analyses have to run where the documents are held, on models the analyst operates.

To address these challenges, this work introduces EpiLens, a Python package that enables scalable, structured analysis of unstructured outbreak literature by extracting comparable information across a corpus using user-configurable dimensions. The system enables researchers to map data use, availability, and analysis types efficiently, supporting rapid, evidence-grounded assessment during emergencies. This paper’s aim is not to automate epidemiological judgement. Instead, we focus on reallocating human effort. RAG-based tooling can handle the mechanical processing of research literature at scale (search, extraction, structured labelling), while researchers focus on intentionality, domain expertise, and interpretation. This assistance can be particularly relevant during emergencies, when time pressure makes it difficult to maintain both breadth and depth in literature surveillance. Figure 1 illustrates this principle.

Division of labour between EpiLens and the researcher

Figure 1. Division of labour between EpiLens and the researcher. EpiLens processes outbreak literature into structured, user-configurable dimensions (left), as illustrated by examples in this paper. By automating extraction and provenance, the system allows researchers to shift from manual sorting to higher-level interpretation (right).

We argue that epidemiology can benefit from AI-assisted knowledge acquisition, and we develop EpiLens, an open-source RAG package designed to support this shift. Prior work already establishes the strengths of RAG in grounding model outputs, as well as its vulnerabilities to low-quality corpora, retrieval errors, and context misuse [8, 9, 10]. Therefore, we do not seek to re-establish these conclusions, but focus on the design of workflows that apply RAG systematically across a corpus. EpiLens provides structured workflows: reusable analyses that fix the retrieval template and constrain the model’s output with an explicit schema, then apply that same template identically to every paper in a corpus. This design supports consistent, inspectable corpus-wide analysis: each paper is processed with the same template, outputs are checked against the schema, and retrieved passages are retained for review. EpiLens runs these workflows entirely on local hardware with open-weight models, so they can be applied to licensed literature after a few installation steps; hosted models remain an option where licences allow. We then use a multi-pathogen corpus as a case study to show what becomes possible when such workflows are applied to questions of data use, availability, and geographic coverage, and to the source literature associated with compiled parameter estimates.

Contributions

The contributions of this paper are:

  • A Python package for structured, reusable analysis workflows over epidemiological corpora. EpiLens turns an analyst-defined retrieval template and output schema into a workflow that applies consistently across papers and adapts to new tasks. It supports local or remote inference and links each output to its supporting passages.

  • A reusable worked example: the Paper Classifier. We develop and evaluate a classification workflow across four label axes with different evidence demands. The evaluation shows the accuracy attainable without task-specific training labels, where body-text retrieval is most useful, and where accuracy remains limited.

  • A corpus-scale case study in digital epidemiology. We provide a multi-axis description of the review-seeded corpus of 2,297 papers and a source-level comparison of the papers associated with parameter estimates from the seed study by Ward et al. [11], by parameter and pathogen.

§ 2 positions the work, and § 3 describes EpiLens, its two workflows, and the evaluation setup. § 4 evaluates the Paper Classifier on a manually labelled sample, applies it to the full corpus, and links the corpus papers to the parameter estimates of the seed study. § 5 discusses how retrieval-grounded workflows may fit into the knowledge-acquisition toolkit of digital epidemiology and sets out the limitations. The appendices hold the detail behind each step: system components, an extraction workflow, and inference cost (Section A); corpus construction and the licences of the evaluation papers (Sections B and B.5); the labelling protocol (Section C); full metrics, the fully local deployment and error diagnostics (Section D); the baselines and statistical tests (Section E); and the linkage of estimates to corpus papers (Section F).

Background

This work sits at the intersection of digital epidemiology, RAG, and automated literature processing. From digital epidemiology, it takes the motivation to understand how diverse data sources and methods have been used across outbreaks and to turn that understanding into a component of preparedness. From RAG, it takes the architectural pattern of grounding LLM outputs in retrieved evidence and the associated evaluation concerns. From literature processing tools, it inherits an emphasis on machine-readable and extensible corpora and references. By combining these elements in an open, lightweight package focused on epidemiological corpora, EpiLens aims to make AI-assisted knowledge acquisition a part of digital epidemiology.

Digital Epidemiology and Data-Centric Preparedness

Digital epidemiology developed as a response to the increasing availability of digital data describing human behaviour, mobility, and health, and to the need for more timely and granular information on disease dynamics. Early work framed digital epidemiology as the use of digitally collected data and tools to study patterns of health and disease, emphasising both its possibilities and the technical and computational challenges it introduces [12]. Subsequent reviews have documented how digital epidemiology expanded in scope, driven by mobile devices, online services, and novel sensing technologies, and how it began to complement traditional surveillance by covering gaps in timeliness or spatial coverage [3, 13]. The COVID-19 pandemic accelerated the use of varied data sources in epidemiology, including structured and unstructured data collected inside and outside health systems [14].

Alongside this expansion came a need to better understand not only which data exist but also how they have been used across pathogens, regions, and modelling tasks. Work on non-traditional data during COVID-19 illustrates this point. The Data4COVID19 Review [1] and related efforts [2] catalogued how mobility, financial transactions, social media activity, and other unconventional sources supported decision-making, while further highlighting difficulties around integration, governance, and sustainability. More broadly, recent reviews argue that digital epidemiology will only fulfil its promise if the biases and shortcomings of new data sources are explicitly recognised and if methods and data practices are adapted accordingly [14]. In this context, being able to quickly map which data have been used for which analyses, under which assumptions, becomes a component of preparedness in its own right.

Large language models and RAG

Large language models can summarise, answer questions, and extract information at scale [15], but are prone to hallucinating plausible but incorrect statements when used as stand-alone knowledge sources [7]. Grounding conclusions in verifiable evidence is a basic requirement across the empirical sciences. In epidemiology and public health, the cost of failing to do so is especially high. A fabricated or misattributed finding can propagate into surveillance summaries, resource allocation, and clinical or policy decisions. During an outbreak, these decisions are made under time pressure, with little opportunity to catch an error before it has consequences. An unverifiable model output is therefore not simply an inconvenience in this setting, but a direct risk. RAG tackles this by conditioning generation on passages retrieved from an external corpus rather than using parametric memory alone [8].

RAG has also been applied to the analysis of scientific literature [5]. Recent surveys of RAG architectures detail the integration of retrieval and generation for knowledge-intensive tasks, including open-domain question answering and summarisation, and analyse common design choices and trade-offs in these workflows [9, 10]. PaperQA2 and OpenScholar employ RAG to synthesise cited answers to questions concerning scientific literature [16, 17]. In contexts more closely related to this work, LLMs have been evaluated across stages of systematic reviews, from screening to data extraction [18, 19], as well as in epidemiological reviews of WHO priority pathogens [20]. These studies investigate whether a model can replicate the decisions made in a given review. Agreement varies depending on the specific task and the evaluation metrics used [19]. The epidemiological benchmark identifies structured extraction as the primary bottleneck, with current models remaining unreliable without human oversight [20]. SciDaSynth uses RAG to extract structured, source-linked tables from scientific PDFs for interactive validation [21]. Here, we evaluate fixed-template classification across an epidemiological corpus, including a fully local setup, against manual labels and classification baselines. Ease of use is also a primary design objective. Researchers can begin with a predefined workflow and adapt its retrieval template and output schema without constructing the underlying RAG pipeline.

Finally, RAG has also begun to be adopted in healthcare and biomedicine, where factual accuracy and provenance are critical. Surveys document applications in medical question answering, guideline querying, and electronic health record summarisation [22, 23, 24]. The challenge is adapting these ideas to the specific needs of epidemiology, where questions often concern data availability, study design, and modelling assumptions rather than clinical recommendations alone.

Approaches to classifying a literature at scale

Classification is our main example of an EpiLens workflow. In this context, it tackles the need to organise a body of literature too large to screen by hand into analytically useful categories, without turning each new research question into a new annotation project. Methods for this differ along two requirements that are easy to conflate: i) whether the category scheme is specified by the analyst or discovered from the corpus, and ii) whether the method needs manually labelled training examples before it can be applied. Supervised classifiers learn an analyst-specified scheme, but only from manually labelled examples, typically hundreds per version of the scheme, which must be relabelled whenever the scheme changes. Active-learning screening tools such as ASReview [25] reduce this labelling cost by learning from reviewer decisions during screening and prioritising likely relevant records, but they typically learn a single inclusion decision rather than an analyst-defined, multi-axis scheme. Off-the-shelf zero-shot classifiers apply analyst-specified categories without task-specific training labels; the NLI and prototype baselines tested here score the title and abstract without retrieving passages from the paper’s body. Topic models need no labels, but they discover categories from the corpus and can at most be steered towards a scheme with seed terms. The Paper Classifier combines an analyst-specified scheme, revisable as text and applied without task-specific training labels, with evidence retrieved from the full document. Recent general-purpose decision models such as Jev [26, 27] extend the zero-shot family: given analyst-written options and their descriptions, they return a probability for each without task-specific training. They decide from the text they are given, so they complement evidence retrieval rather than replace it. We lay out this design space, instantiate each family with standard methods, and summarise the head-to-head comparison in § 4.2.4, developing it in full in Section E.

Methods

This section describes the system design of EpiLens, our RAG package for epidemiological literature analysis. The system offloads mechanical text-processing work (retrieval, evidence filtering, extraction, and coarse categorisation) while keeping domain judgement and interpretation with the researcher. This division of labour is consistent throughout EpiLens’s design and deployment. EpiLens supports a family of structured workflows: automated analyses that produce structured, machine-readable outputs based on user-defined templates and schemas. In this paper, we develop two such workflows: the Paper Classifier, which is the target of our quantitative evaluation, and the Precision Miner, an extraction workflow whose output we illustrate on three corpus papers (Section A.2).

System overview

EpiLens implements a standard three-stage RAG pipeline: ingestion and indexing, retrieval, and generation. Ingestion parses papers, segments them into chunks, embeds them, and stores them in a searchable index. Retrieval selects the most relevant chunks for a query or template, optionally filtered by paper metadata. Generation prompts an LLM to produce an output that is grounded in the retrieved evidence. We accompany every output with structured provenance that links each extracted fact or label back to the source paper and the exact text snippets used as evidence. EpiLens follows a local-first design: the analyst controls parsing, storage, retrieval, and task logic, while embedding and generation can run locally or via external APIs, and the package can also use a remote vector database. This local layer assembles and structures relevant chunks and enforces schemas, treating the LLM as a stateless computation step that cannot access the corpus or any context beyond what it is given.

Figure 2 illustrates the ingestion (indexing) and interrogation (querying) branches of this pipeline. Additional implementation details, including component interfaces and backend choices, are provided in Section A.

RAG workflow used in EpiLens

Figure 2. RAG workflow used in EpiLens. Dashed arrows indicate one-time ingestion and indexing of the corpus. Solid arrows indicate per-task interrogation (query embedding, search, and generation) with structured outputs linked to source chunks.

EpiLens is deliberately lightweight, by which we mean three things. First, it depends only on standard, swappable libraries rather than on a general-purpose RAG framework. The local CLI parses PDFs with pdfminer.six by default, with unstructured [28] or GROBID [29] available as alternatives. Parsed documents are held in memory or, optionally, in a MongoDB database. Embeddings use a sentence-transformers model [30] or a provider embedding API (our main configuration embeds locally with BAAI/bge-m3; the served reference uses Gemini embeddings). Vector storage uses a local file index, FAISS [31], or a Qdrant server [32]. Schema definition and validation use pydantic [33], and generation uses a provider API (OpenAI, Google, Anthropic, OpenRouter) or a local model. Any layer can be swapped without touching the others. Second, the core orchestration can run on commodity hardware such as a laptop. External embedding, generation, or vector-database services are optional deployment choices rather than architectural requirements. Setup is minimal: local-first defaults run out of the box, with optional upgrades (GROBID parsing, a Qdrant server, a Streamlit UI) for users who want to scale up. Third, cost is bounded: because each prompt carries a fixed retrieval budget regardless of document length, per-paper token usage is nearly flat in the length of the paper, which keeps corpus-scale application affordable (Section A.3). General RAG toolkits such as LangChain [34], LlamaIndex [35], and Haystack [36] expose low-level primitives for assembling arbitrary pipelines and maximise flexibility. EpiLens offers higher-level building blocks, from ad-hoc retrieval-augmented question answering to structured workflows, trading breadth of customisation for out-of-the-box usability.

Structured workflows for systematic corpus characterisation

Unlike one-off question answering, structured workflows produce structured, machine-readable outputs rather than free-text answers. Running RAG over each document of a corpus raises two problems that one-off question answering does not. First, the analysis must be identical across papers so that the per-paper results are comparable and can be aggregated. Second, the outputs must be structured and validated so that results can be computed across thousands of papers. Our workflow resolves both through two artefacts that the user writes once: a template and a schema.

The template fixes how every paper is interrogated, through two parts with distinct jobs. Its retrieval queries fix what evidence is gathered: a fixed set of search phrases (or per-category exemplars) is run against each paper, so the same kind of passage is surfaced from every document rather than left to whatever a one-off query happens to return. Its prompt instructions fix what to do with that evidence: the task and the criteria for performing it, such as the operational definition of each label, held identical across papers so the same judgement is applied everywhere. Together, they ensure every paper is asked the same question over the same kind of evidence.

The schema fixes the shape of the answer: the allowed fields, their types, and their permitted values, expressed as a constrained JSON structure. It also acts as a validation gate: every generated output is checked against it and rejected if it does not conform. This is what makes the results usable at scale: each one is guaranteed to be well-formed structured data ready for aggregation, not prose to be re-read and re-parsed by hand. As shown in Figure 2, the template governs the query and instruction components of the interrogation branch, and the schema governs the structure of the generator’s output, turning an interactive RAG session into a pipeline that can run unattended over an entire corpus.

All workflows share core ingestion, retrieval, generation, validation, and provenance components, but are configured differently for each task. The Paper Classifier performs category-specific evidence aggregation and returns labels from a fixed vocabulary. The Precision Miner pools evidence from flat queries, can filter by section, and returns a variable-length list of items. We evaluate the classifier quantitatively and show the miner’s output on three corpus papers in Section A.2.

Paper Classifier

For evaluation, the Paper Classifier labels each paper by data type, data accessibility, geographical coverage, and paper type (see Section C). The difficulty is that the category scheme is a moving target: it depends on the question and changes as the question evolves, with new pathogens, a shifting geographic focus, or a revised coding scheme. This is the setting that the usual tools handle poorly (§ 2.3): supervised classifiers need hundreds of labelled examples per scheme version, and re-labelling whenever it changes, while unsupervised methods cannot be told which scheme to recover and instead surface what the vocabulary signals rather than what the question requires. A RAG-based classifier sidesteps both: the analyst specifies each category in natural language and revises it by editing text, with no task-specific training labels, and retrieval grounds each decision in the paper’s own evidence. The trade-off becomes an engineering one (retrieval quality, prompt design, model choice) rather than a data-availability one. Mechanically, the classifier retrieves evidence for each candidate label using exemplar-guided queries and asks the LLM to discriminate among the competing categories, producing a standardised classification that supports a bird’s-eye view of the literature. Component and workflow details are provided in Section A.

Precision Miner

Some questions need the concrete items themselves rather than a label: the datasets and repositories a field uses, or the sources behind its parameter values. The Precision Miner is the extraction workflow for such questions: it pools evidence from several retrieval queries per paper and returns a variable-length list of items, each with a name, an optional URL or identifier, a short explanation, and the source sentence as provenance. Its output is a per-paper worklist to verify rather than a distribution to tally. Section A.2 describes it and shows its output on three corpus papers.

Evaluation setup

We evaluate the Paper Classifier on four axes: data type, data accessibility, geographical coverage, and paper type (Section C). The first three are set-based (multi-label), whereas paper type is a single primary label. Retrieval has a fixed budget of k=15k=15 chunks per label axis: for each axis, the system embeds every template paragraph, retrieves its kk nearest chunks from the target paper, pools these candidates across paragraphs, removes duplicates, and keeps the kk highest-scoring unique chunks as the evidence context passed to the generator with the task instructions.

We compare three generator backends, with configurations that differ by model, serving mode (local or remote), temperature, and, for the local generator, retrieval index. The main configuration is fully local: we self-host the open-weight qwen2.5:32b-instruct [37] on our own hardware, embed the corpus on-device with BAAI/bge-m3 [38], and evaluate it at T=0T=0 and T=1T=1. For reference, two models are accessed through remotely served inference: Google’s proprietary gemini-2.5-flash and gemini-2.5-pro [39], each evaluated at T=0T=0 and T=1T=1. All remotely served configurations retrieve with gemini-embedding-001 [40], and a partially local configuration combines the local generator with the same Gemini-embedded index. Because some publishers do not allow their papers to be sent to external AI services, every configuration that uses a remote service is evaluated only on the openly licensed papers of the evaluation sample (licence screen in Section B.5). For each configuration, we repeat the classification task R=5R=5 times, holding the prompts and post-processing fixed throughout.

Results

After describing the corpus (§ 4.1), we evaluate the Paper Classifier on a manually labelled sample (§ 4.2) using the settings of § 3.3. The main results use fully local deployment on all 214 papers: we report accuracy and run-to-run stability, test retrieval’s contribution via ablation, and compare the classifier with external baselines. Served models are reported as a reference on the papers selected by the licence screen of Section B.5 (§ 4.2.2). We then use the local classifier to describe the full corpus and the papers associated with the seed study’s parameter estimates (§ 4.3 and § 4.4).

Case-study corpus

We evaluate EpiLens on a purpose-built corpus of epidemiological literature. The corpus was seeded from the sources of a recent review of epidemiological parameters for pathogens with pandemic potential [11], which we refer to as the seed study. Its authors shared the data extraction sheets of an early version of the study (close to its first preprint) with us [41].

Once identifiers are resolved, the sheets name 138 published sources: reviews, studies, and other documents (Section F). We retained the directly cited studies and other documents, then added the studies retrieved from the source reviews. The final corpus contains 2,297 papers and excludes the source reviews themselves. A separate, semi-automated pipeline identified included studies (with LLM assistance for reviews with an open licence), resolved bibliographic records and DOIs, retrieved documents, and ingested them. Its archived records show what entered the corpus and what remained unresolved or unretrieved, although reconstructing the exact document collection still depends on access to the documents (Section B). We retain the links between corpus papers and the seed study’s sources to define the labelled-sample strata (§ 4.2) and to analyse the papers associated with its parameter estimates (§ 4.4).

Classification on the manually labelled sample

We evaluate the classifier on 214 papers sampled from the 2,297-paper corpus. The sampling groups are the source reviews that contributed papers to the corpus and, as one additional group, the corpus documents cited directly by the seed study (§ 4.1). From each group of nn papers, we randomly select max⁡(⌊0.1n⌋,1)\max(\lfloor0.1n\rfloor, 1) papers. The one-paper minimum samples the smallest reviews at a higher rate than larger ones. Only 14 sampled papers come from reviews with fewer than ten papers.

One annotator labelled each sampled paper on all four axes using a written protocol that defines the labels and sets rules for ambiguous cases (Section C). We discuss the limitation of relying on a single annotator in § 5.2. The annotations were completed before the annotator saw any model output. The classifier prompts use the same label definitions, aligning the instructions given to the model with those the annotator followed.

We specified the classifier prompts, retrieval templates, and configuration from the protocol before evaluating on the 214 papers and made no changes in response to results on this set. The sample therefore serves as a held-out evaluation set for EpiLens. Where a baseline required tuning of NLI wording, topic count, or supervised model configuration, we report the strongest setting observed on these same papers (Sections E.2.1, E.2.2 and E.5), which favours the baselines.

We report the unweighted mean per-paper Jaccard similarity (JJ) on each axis, with a 95% bootstrap interval over papers. For each paper, JJ is the number of labels shared by the prediction and manual annotation divided by the number in either set. For paper type, which has one label per paper, this is ordinary accuracy. We report micro- and macro-averaged precision, recall, F1F_1, and subset accuracy in Section D. Because papers from the smallest reviews were sampled at a higher rate, we checked whether unequal sampling affects the reported averages. Weighting each paper by the inverse of its selection probability changes the mean JJ of the fully local EpiLens at T=0T=0 by at most 0.009 on any axis (effective sample size 207).

As set out in § 3.3, served models are reported only on the 122 openly licensed papers (Section B.5). On these papers we score every method, so that comparisons with the served models are paired. The subset is not a random sample. It over-represents open-access journals and public-health agencies, and it is somewhat easier on geography and data type, where the majority floor rises from 0.353 to 0.416 and from 0.843 to 0.870.

Performance and stability of EpiLens

We first evaluate the fully local workflow on the 214 manually labelled papers. Table 1 reports mean per-paper JJ with bootstrap intervals, the majority floor, and stability across five runs.

TaskFloorJaccard JJStable papers (%)
MajorityT=0T=0T=1T=1T=0T=0T=1T=1
Geography0.3530.869 0.82–0.910.869 0.83–0.90100.080.4
Data access.0.4720.539 0.48–0.590.516 0.47–0.56100.017.8
Data type0.8430.861 0.82–0.900.866 0.83–0.90100.079.4
Paper type0.5930.794 0.73–0.840.775 0.72–0.82100.087.4

Table 1. Accuracy and stability of the fully local workflow.

Agreement with the manual labels on all 214 evaluation papers for EpiLens with qwen2.5:32b-instruct served by Ollama on our own hardware and a BAAI/bge-m3 index built locally, so no stage of the classification contacts a remote service. JJ is the mean over R=5R=5 runs. The subscript is a 95% bootstrap interval over papers (BCa, B=10,000B=10{,}000), computed after averaging each paper’s score over the runs. Stable papers is the share of papers whose complete label set is identical in all five runs. The Floor column gives the leave-one-out majority label-set reference. Paper type is a single-label task. The remaining tasks are multi-label.

At T=0T=0, the workflow scores above the majority floor on every axis, with the largest margins on geography (0.869 versus 0.353) and paper type (0.794 versus 0.593). For each paper, the floor predicts the most frequent complete label set among the other manual annotations. It uses the evaluation sample’s label frequencies but no paper content. EpiLens is not fitted to these labels, although pretraining and prompt wording may favour some categories; the floor cannot isolate the contribution of any such preference to its JJ.

On data type, the workflow reaches J=0.861J=0.861 against an already high floor of 0.843, reflecting the prevalence of Traditional. Mean JJ gives limited information about less common labels; Section D.3 reports per-label F1_1 on the 122 openly licensed papers, where several labels have small support. Data accessibility is the most difficult axis (0.539 against 0.472). Moving from T=0T=0 to T=1T=1 changes mean JJ by at most 0.023 on any axis. Mean agreement does not show whether repeated runs assign the same labels to each paper. We define stability as the share of papers whose complete predicted label set is identical across all five runs. At T=0T=0, every paper is stable on every axis. At T=1T=1, stability falls to 79–87% on geography, data type, and paper type, and to 17.8% on data accessibility. Mean JJ nevertheless changes little between runs (standard deviation at most 0.027; Table D1): gains and losses across papers largely offset each other, and a changed prediction often alters only part of a label set.

MetricT=0.0T=0.0T=1.0T=1.0
Geography
Jaccard0.869±0.0000.869\pm0.0000.869±0.0140.869\pm0.014
Micro precision0.804±0.0000.804\pm0.0000.8222±0.00750.8222\pm0.0075
Micro recall0.891±0.0000.891\pm0.0000.889±0.0140.889\pm0.014
Micro F1_10.846±0.0000.846\pm0.0000.8543±0.00860.8543\pm0.0086
Macro precision0.651±0.0000.651\pm0.0000.6762±0.00890.6762\pm0.0089
Macro recall0.736±0.0000.736\pm0.0000.731±0.0260.731\pm0.026
Macro F1_10.682±0.0000.682\pm0.0000.694±0.0160.694\pm0.016
Subset accuracy0.827±0.0000.827\pm0.0000.833±0.0130.833\pm0.013
Data access.
Jaccard0.539±0.0000.539\pm0.0000.516±0.0270.516\pm0.027
Micro precision0.574±0.0000.574\pm0.0000.552±0.0230.552\pm0.023
Micro recall0.629±0.0000.629\pm0.0000.611±0.0190.611\pm0.019
Micro F1_10.600±0.0000.600\pm0.0000.580±0.0200.580\pm0.020
Macro precision0.435±0.0000.435\pm0.0000.438±0.0160.438\pm0.016
Macro recall0.491±0.0000.491\pm0.0000.512±0.0110.512\pm0.011
Macro F1_10.431±0.0000.431\pm0.0000.442±0.0160.442\pm0.016
Subset accuracy0.364±0.0000.364\pm0.0000.328±0.0440.328\pm0.044
Data type
Jaccard0.861±0.0000.861\pm0.0000.8661±0.00610.8661\pm0.0061
Micro precision0.897±0.0000.897\pm0.0000.8971±0.00860.8971\pm0.0086
Micro recall0.848±0.0000.848\pm0.0000.8578±0.00810.8578\pm0.0081
Micro F1_10.871±0.0000.871\pm0.0000.8770±0.00700.8770\pm0.0070
Macro precision0.389±0.0000.389\pm0.0000.479±0.0340.479\pm0.034
Macro recall0.375±0.0000.375\pm0.0000.464±0.0600.464\pm0.060
Macro F1_10.338±0.0000.338\pm0.0000.390±0.0350.390\pm0.035
Subset accuracy0.790±0.0000.790\pm0.0000.7925±0.00850.7925\pm0.0085
Paper type
Jaccard0.794±0.0000.794\pm0.0000.775±0.0130.775\pm0.013
Micro precision0.794±0.0000.794\pm0.0000.775±0.0130.775\pm0.013
Micro recall0.794±0.0000.794\pm0.0000.775±0.0130.775\pm0.013
Micro F1_10.794±0.0000.794\pm0.0000.775±0.0130.775\pm0.013
Macro precision0.740±0.0000.740\pm0.0000.631±0.0330.631\pm0.033
Macro recall0.643±0.0000.643\pm0.0000.514±0.0550.514\pm0.055
Macro F1_10.615±0.0000.615\pm0.0000.520±0.0430.520\pm0.043
Subset accuracy0.794±0.0000.794\pm0.0000.775±0.0130.775\pm0.013

Table D1. Full agreement-metric profile of the fully local workflow.

Served models on the openly licensed papers

Table 2 compares the local workflow with the two served backends on the 122 openly licensed papers, all at T=0T=0.

TaskFloor MajorityQwen2.5-32B fully localQwen2.5-32B partially localServed backends flashServed backends pro
Geography0.4160.4160.892±0.0000.892 \pm0.0000.890±0.0000.890 \pm0.0000.890±0.0090.890 \pm0.0090.936±0.0010.936 \pm0.001
Data access.0.4740.4740.536±0.0000.536 \pm0.0000.553±0.0000.553 \pm0.0000.642±0.0210.642 \pm0.0210.778±0.0280.778 \pm0.028
Data type0.8700.8700.907±0.0000.907 \pm0.0000.929±0.0000.929 \pm0.0000.934±0.0060.934 \pm0.0060.968±0.0110.968 \pm0.011
Paper type0.6150.6150.795±0.0000.795 \pm0.0000.811±0.0000.811 \pm0.0000.843±0.0070.843 \pm0.0070.877±0.0160.877 \pm0.016

Table 2. Self-hosted and served backends of the same workflow.

Sample-averaged Jaccard on the 122 openly licensed evaluation papers (Section B.5), as mean with the standard deviation across R=5R=5 repeated runs shown as a subscript. Every column is at T=0T=0. Both Qwen2.5-32B columns generate with qwen2.5:32b-instruct run locally through Ollama on our own hardware, and differ only in how the retrieval index is embedded: fully local embeds with BAAI/bge-m3 on the same machine, so no stage of the pipeline contacts a remote service, whereas partially local reuses the Gemini-embedded index shared with the served-backend runs. Everything else is held fixed across all columns (dense retrieval, workflow_top_k=15, grobid parses, identical prompts, schema-constrained decoding). The Floor column is the deterministic majority-class baseline. The two Gemini backends, flash and pro, are the served reference. Both self-hosted configurations return identical predictions on all four axes across all five repeats, so their SD is exactly zero (Section D.1).

gemini-2.5-pro has the highest mean on every axis. On these papers the local workflow matches gemini-2.5-flash on geography (0.892 against 0.890), is lower on data type (0.907 against 0.934) and paper type (0.795 against 0.843–0.877), and furthest behind on data accessibility (0.536, against 0.642 for Flash and 0.778 for Pro), the axis that benefits most from a stronger model. Retrieving from a Gemini-embedded index instead of the local one changes the local workflow’s JJ by at most 0.022.

Unlike the local workflow, both served backends change some labels even at T=0T=0 (Table D2). Flash and Pro are stable on 84–97% of papers on geography, data type, and paper type, but on 61–66% on data accessibility. Variation under nominally deterministic settings has also been observed elsewhere [42]. At T=0T=0 decoding is nominally greedy, picking the most probable token, but the probabilities are recomputed for every request, and a floating-point system depends on the order in which its terms are added [43, 44]. On a shared inference server, that order changes with the batch size a request is grouped into, which depends on other users’ traffic. A small difference can then reverse a near tie between two tokens, and every later token follows from the changed prefix [45]. With kernels whose results do not depend on the batch, He and Thinking Machines Lab [45] obtained identical completions in 1,000 repeats, at some cost in speed [see also 46]. We cannot observe how the served models batch our requests, so this is the likely but untested explanation for their label changes.

TaskQwen2.5-32B (local)Gemini proGemini flash
fully localpartially local
T=0T=0T=1T=1T=0T=0T=1T=1T=0T=0T=1T=1T=0T=0T=1T=1
Geography100.078.7100.079.596.794.393.483.6
Data access.100.017.2100.021.360.748.466.433.6
Data type100.073.8100.081.191.891.094.389.3
Paper type100.089.3100.086.984.482.888.573.0

Table D2. Label stability across repeated runs.

Ablation of body-text access and selection

Aggregate performance does not reveal which components of the workflow are driving its gains. Therefore, we compare conditions that, within each generator, use the same model, prompt, and post-processing and differ only in the evidence supplied:

  1. No body text (metadata_llm): The model receives only the paper’s title and abstract.

  2. Random body retrieval (random_chunk_llm): the prompt additionally receives kk body-text chunks sampled uniformly at random from the paper.

  3. Targeted retrieval (full EpiLens): The same number of body-text chunks is selected by semantic similarity to the template paragraphs.

  4. Whole body (full_body_llm): The prompt receives every body-text chunk of the paper, in document order, with no selection.

The contrast between step 1 and step 2 measures the contribution of access to body text, while the contrast between step 2 and step 3 measures the additional contribution of semantic targeting at a fixed evidence budget. Step 4 tests whether selecting passages improves on supplying the whole parsed body.

The largest and most consistent gain comes from access to body text, even when the passages are selected at random (Figure 3). Moving from title and abstract alone to random body-text retrieval increases JJ by +0.06 on geography, +0.20 on data accessibility, +0.12 on data type, and +0.15 on paper type. Papers in this corpus have 33 chunks on average (Section A.3), so the 15 randomly selected chunks already expose the model to much of the body. Nevertheless, the starting point differs by task. Title and abstract alone already give J=0.807J=0.807 on geography, 0.741 on data type, and 0.659 on paper type, but only 0.213 on data accessibility, indicating that the latter depends much more strongly on information beyond the abstract.

Bar chart showing ablation results for paper type, geography, data type, and data access under four body-text conditions

Figure 3. Ablation results for the fully local workflow. qwen2.5:32b-instruct at T=0T=0 on all 214 evaluation papers, with the model, prompt, and post-processing fixed. The four conditions are title and abstract only, title and abstract plus k=15k=15 randomly selected body-text chunks, title and abstract plus k=15k=15 semantically retrieved chunks, and title, abstract, and the whole parsed body. Comparing conditions 1 and 2 shows the effect of adding body text. Comparing conditions 2 and 3 shows the effect of targeted selection with the same number of chunks. Figure D1 repeats the ablation with gemini-2.5-flash on the openly licensed papers.

Semantic targeting contributes additional value more selectively. Its largest effect is on data accessibility, where replacing random chunks with targeted ones raises JJ by +0.13 (0.412→0.539). On the other three axes, the effect is small or absent. In the paired paper-level resampling check of Section E.4, the gain from adding random body-text chunks meets the within-task Holm-adjusted threshold on every axis, and the gain from targeted chunks meets it only on data accessibility. Supplying the whole parsed body instead of the 15 targeted chunks brings no clear gain on any axis, despite about twice the input tokens (Section A.3). On data accessibility, JJ falls from 0.539 with targeted chunks to 0.410 with the whole body (pointwise 95% BCa interval for the difference, 0.05–0.20), the only one of the four comparisons that meets the threshold. Selecting passages can therefore help on this task even when the whole parsed body fits in the model’s context window. With gemini-2.5-flash on the openly licensed papers, the decomposition is similar: body text helps most on data accessibility, paper type, and data type, and targeting mainly on data accessibility (Figure D1).

Figure D1. Ablation results on the openly licensed papers. The upper panel uses the served gemini-2.5-flash model and the lower panel the self-hosted qwen2.5:32b-instruct, both at T=0T=0 on the 122 papers selected by the licence screen of Section B.5. The conditions are those of Figure 3.

Comparison with classification baselines

We compare EpiLens with alternative workflows that a practitioner might use to organise a literature corpus. Standard supervised classifiers pair a paper representation with a classifier head trained on labelled examples. Here, we use TF-IDF + linear SVM for a lexical setup and frozen ModernBERT with an MLP head for a long-context setup. Zero-shot NLI instead uses a pretrained language encoder to score how strongly a paper supports each verbalised category, without task-specific fitting. Guided and semi-supervised BERTopic discover corpus-specific clusters rather than applying a fixed taxonomy, so their topics require subsequent interpretation and alignment. SetFit provides a distinct supervised route, contrastively fine-tuning an MPNet encoder on pairs of labelled examples before fitting a classification head. We also include two prototype approaches, which encode each category description (or, for geography, its name) in sparse TF-IDF or dense SPECTER space and assign papers by similarity, with label-free and threshold-calibrated variants. Finally, as in the preceding results, a majority prior that always predicts the most prevalent label set provides a no-text reference floor. The abstract-only metadata_llm row is kept only as the scope-matched EpiLens condition analysed in the ablation above. All baseline rows in Table 3 run on our own hardware. The methods also differ in practical text scope, recorded by Body? in Table 3. The prototype, NLI, and SetFit baselines use title and abstract, whereas BERTopic, ModernBERT, and full EpiLens use parsed body text. The wider supervised grid tests both scopes wherever possible. Body text is not uniformly beneficial: some representation–head combinations decline slightly, perhaps because additional text dilutes task-relevant cues already concentrated in the abstract, although the best full-body configuration raises the supervised ceiling on every axis.

MethodBody?Task sup.Paper typeGeographyData typeData access.
Reference
Majority prior (floor)NoWeak0.5930.3530.843
Zero-shot (no training labels)
Prototype (TF-IDF)NoNone0.4070.2830.315
Prototype (SPECTER)NoNone0.1260.1650.515
Zero-shot NLI (DeBERTa)NoNone0.5650.7090.018
Topic models (corpus-derived, label-guided)
Guided BERTopicYesWeak0.6210.5760.843
Semi-supervised BERTopicYesWeak0.6260.5810.843
Supervised (title + abstract)
TF-IDF + Linear SVMNoManual0.7130.5920.854
SetFit (MPNet)NoManual0.7340.5990.864
Prototype (TF-IDF)NoManual0.4070.3390.315
Prototype (SPECTER)NoManual0.1260.1790.672
Supervised (full body)
ModernBERT (MLP head)YesManual0.7850.6520.864
Best supervised (ceiling)YesManual0.7850.7710.898
LLM, self-hosted (abstract-only ablation and full EpiLens)
Abstract only (metadata_llm)NoNone0.6590.8070.741
EpiLens (qwen2.5:32b-instruct)YesNone0.7940.8690.861
0.73–0.840.82–0.910.82–0.90

Table 3. Performance and requirements of the baseline approaches.

Creating a sufficiently broad labelled set is a substantial additional step for a large or diverse corpus, and a changed coding scheme generally requires renewed labelling and model fitting. All rows are scored on the same papers with the same metric. Where a baseline needs tuning, we report its strongest setting, which favours the baselines because EpiLens was fixed before evaluation (§ 4.2). The notes to Table 3 define its columns and its upper-bound rows, and Section E gives the configurations, tuning, complete supervised grid, and statistical comparisons.

In this comparison, which is deliberately favourable to the baselines, the fully local workflow, lacking task-specific training labels, has the highest point estimate on geography and paper type, including the retrospective supervised ceiling. On data type it matches SetFit and ModernBERT, and on data accessibility it is slightly below them (0.539 against 0.574 and 0.577); on both axes the supervised ceiling is higher. In paired tests, its advantage on geography meets the within-task Holm-adjusted threshold against every baseline, and on paper type against TF-IDF + SVM; on data type and data accessibility the differences from the supervised baselines are small and not significant (Table E1). On the 122 openly licensed papers, Pro has the highest point estimate on every axis, widening the margin over the baselines, and Flash is above every baseline (Table D3). With this smaller sample, Flash’s advantage over the supervised baselines meets the threshold against all of them on geography, against TF-IDF + SVM on data accessibility, on paper type only against the leave-one-out variant of TF-IDF + SVM, and against none on data type (Table D4).

MethodBody?Task sup.Paper typeGeographyData typeData access.
Reference
Majority prior (floor)NoWeak0.6150.4160.8700.474
Zero-shot (no training labels)
Prototype (TF-IDF)NoNone0.4510.2460.3100.206
Prototype (SPECTER)NoNone0.0980.1570.5390.369
Zero-shot NLI (DeBERTa)NoNone0.6070.7590.0140.341
Topic models (corpus-derived, label-guided)
Guided BERTopicYesWeak0.5900.5970.8700.474
Semi-supervised BERTopicYesWeak0.5900.6010.8700.441
Supervised (title + abstract)
TF-IDF + Linear SVMNoManual0.7500.6420.8930.495
SetFit (MPNet)NoManual0.7700.6420.8950.552
Prototype (TF-IDF)NoManual0.4510.3300.3100.232
Prototype (SPECTER)NoManual0.0980.1540.7340.369
Supervised (full body)
ModernBERT (MLP head)YesManual0.7750.7060.9060.536
Best supervised (ceiling)YesManual————
LLM, self-hosted (abstract-only ablation and full EpiLens)
Abstract only (metadata_llm)NoNone0.6800.8440.7680.154
EpiLens (qwen2.5:32b-instruct)YesNone0.795; 0.71–0.850.892; 0.83–0.930.907; 0.86–0.940.536; 0.46–0.60
LLM, served (abstract-only ablation and full EpiLens)
Abstract only (metadata_llm)NoNone0.6970.8830.8370.175
EpiLens (gemini-2.5-flash)YesNone0.843; 0.78–0.890.890; 0.84–0.930.934; 0.90–0.960.642; 0.57–0.71
EpiLens (gemini-2.5-pro)YesNone0.877; 0.82–0.920.936; 0.89–0.970.968; 0.94–0.980.778; 0.72–0.83

Table D3. Performance and requirements of the baseline approaches.

BaselinePaper typeGeographyData typeData access.
Zero-shot NLI+0.236*+0.131*+0.920*+0.300*
TF-IDF + SVM+0.093+0.248*+0.040+0.147*
TF-IDF + SVM (LOO)+0.109*+0.235*+0.020+0.128*
TF-IDF + SVM (full body)+0.093+0.231*+0.012+0.068
SetFit+0.072+0.249*+0.039+0.090
ModernBERT (full body)+0.068+0.184*+0.028+0.106
metadata_llm+0.146*+0.007+0.096*+0.467*
Reference
Majority prior (floor)+0.228*+0.474*+0.064*+0.167*

Table D4. Paired comparisons of EpiLens (gemini-2.5-flash, T=0T=0) with selected baselines.

Table E1 Paired comparisons of EpiLens (qwen2.5:32b-instruct, T=0T=0) with selected baselines.

BaselinePaper typeGeographyData typeData access.
Zero-shot NLI+0.229*+0.160*+0.844*+0.184*
TF-IDF + SVM+0.082*+0.277*+0.008+0.006
TF-IDF + SVM (LOO)+0.082*+0.262*−0.010+0.001
TF-IDF + SVM (full body)+0.070+0.254*−0.019−0.051
SetFit+0.061+0.269*−0.002−0.035
ModernBERT (full body)+0.009+0.217*−0.003−0.039
metadata_llm+0.136*+0.062*+0.121*+0.325*
Reference
Majority prior (floor)+0.201*+0.516*+0.019+0.067

Table E1. Paired comparisons of EpiLens (qwen2.5:32b-instruct, T=0T=0) with selected baselines.

Corpus-level analysis

As mentioned in § 4.1, we assembled the corpus from sources cited for epidemiological parameter estimates across several pathogens. After evaluating the classifier on a manually labelled sample, we turn to the literature those sources gathered. The overall label distribution across 2,297 papers provides a reference for comparing papers by parameter and pathogen. Both analyses use the fully local workflow at T=0T=0, so that no paper leaves our hardware. We report corpus shares only for paper type, geography, and data type, where it agrees best with the manual labels (§ 4.2.1).

Across the full corpus, the model labels 69.4% of papers as empirical and 18.9% as inference, with 44.2% covering Asia and 33.8% Africa. It labels 94.5% as using traditional data and 11.0% as presenting simulated data. On the labelled sample, the same model labels more papers empirical than the annotator (70% against 59%) and detects model-based and simulated-data papers less often (sensitivity 0.65 and 0.68; Section F), so these shares probably understate model-based work. Detailed distributions appear in Figure D2.

Figure D2. Label distributions across all 2,297 corpus papers. Panels show paper type, geography, and data type as labelled by the fully local workflow (qwen2.5:32b-instruct and a BAAI/bge-m3 index) at T=0T=0. Bar lengths show percentages, and the adjacent numbers show paper counts. Paper type is single-label, whereas geography and data type are multi-label, so their percentages can sum to more than 100%.

Papers associated with parameter estimates

We now turn from the full corpus to the papers associated with the seed study’s parameter estimates. We make these comparisons using the source links retained Sample-averaged Jaccard similarity JJ on the fixed 214-paper evaluation set. Body? indicates whether parsed body text is required. No generally means title and abstract, while the majority floor uses no text. Task sup. records the task-specific input used to construct or fit the method: None uses no labelled papers, Weak uses a class prior, seeds, or partial paper labels, and Manual uses a fully manually labelled training set. All scores use the same manual labels. Prototype rows contrast uncalibrated similarity with threshold calibration. BERTopic uses the best topic count and oracle cluster-to-label alignment. Best supervised is the per-task maximum over the supervised grid. Both are favourable descriptive upper bounds rather than single deployable configurations. For EpiLens, the mean is over R=5R=5 runs at T=0T=0, with its 95% bootstrap interval over papers beneath it, as in Table 1. Other rows are deterministic evaluations or cross-validated estimates. Scores are rounded to three decimals. Paired tests are reported in Table E1. Full method specifications are given in Section E.

during corpus construction (§ 4.1). The privately shared early extraction sheets contain 346 estimate rows; our source-link audit finds that 327 cite a published source (Section F). We exclude the other 19 from this analysis. For each of the 327, we link the estimate to its cited corpus document or, if it cites a review, to the retrieved studies included in that review. We refer to these as the papers behind an estimate. When an estimate cites a review, the link does not identify which of the retrieved included studies informed the particular value. We describe those studies as a group associated with the estimate, without assigning the value to any one study (Section F). Of those estimates, 180 cite reviews and 147 cite single studies or other documents (Figure 4).

Figure 4. Sources of parameter estimates. Estimates of each parameter, by source: a review whose included studies are in our corpus, or a single study or other document in our corpus. Parameters are ordered by the share of their estimates taken from reviews.

Parameter

Figure 5 compares the profiles of papers associated with each parameter. Its first row shows all 2,297 corpus papers for reference. The profiles use the same paper-type, data-type, and geographic labels as the corpus overview, from the fully local workflow. For this comparison, we group papers labelled inference or forecast under model-based, including statistical distribution fitting and transmission modelling, and use the synthetic-data label for simulated data (Section C). The model-based and simulated-data shares are tabulated in Table F1.

Figure 5. Profiles of associated papers by parameter. The first row describes all 2,297 corpus papers, and each other row the papers behind the estimates of one parameter, as labelled by the fully local EpiLens (model outputs, not estimates). Rows are ordered by the share of model-based papers, and nn is the number of papers. (a) Percentage of the papers with each paper type. Each paper has one, and model-based papers are those labelled forecast or inference. (b, c) Percentage of papers by data type and continent. A paper can have several. “No data” means no empirical data, and “no location” means irrelevant or unclear. (d) Fractional allocation of the corpus: each paper has total weight one, divided equally among the pathogen–parameter pairs whose estimates it lies behind, so that the row weights sum to 100%.

PapersModel-based (%)Simulated data (%)
By parameter
Reproduction number6295331
Fatality risk1,549158
Serial interval5394523
Incubation period8452211
Dispersion kk1375331
Infectious period1863830
Latent period1404737
By pathogen
SARS-CoV-25903615
Influenza
A/H1N11097445
A/H1N1pdm091216637
A/H2N21276236
A/H3N21216639
A/H1N1 and A/H3N21——
A/H5N11465531
SARS and MERS
MERS-CoV904016
SARS-CoV-1643323
Ebola and Marburg
Ebola virus2622618
Marburg virus5983
Bunyavirales
CCHF virus49732
Lassa virus12566
RVF virus21430
Mpox virus15353
Nipah virus11212
Zika virus1463316
All2,2972111

Table F1. Labels of the papers behind the estimates, by parameter and by pathogen. Each row counts distinct corpus records associated with estimates of one parameter or pathogen. A record associated with several parameters or pathogens counts for each, so the rows add up to more than All. Model-based and Simulated data: percentage of these papers to which EpiLens assigns the label with qwen2.5:32b-instruct on local hardware (model outputs, not estimates). Model-based means paper type INFERENCE or FORECAST, and simulated data means data type SYNTHETIC. Shares are not shown for rows with fewer than 10 papers. § 4.4 compares these labels with the manual labels for the comparisons it draws. Parameters are ordered as in Figure 4. Bold headings name the pathogen groups in the early extraction sheets shared by the authors of Ward et al. [41] that cover several pathogens. A/H1N1: estimates not specific to the 2009 pandemic virus. A/H1N1pdm09: the 2009 pandemic virus. A/H1N1 and A/H3N2: estimates reported for both subtypes together. CCHF: Crimean–Congo haemorrhagic fever. RVF: Rift Valley fever. Fatality risk: case or infection fatality risk. The influenza A subtype sets overlap heavily: reviews covering several influenza pandemics link largely the same model-based papers to every subtype, whereas empirical papers tend to be specific to one subtype. Each subtype set therefore has a higher model-based share than the merged set in Figure 6. Unindented rows are pathogens not grouped in the extraction sheets.

We focus first on reproduction numbers and fatality risks, the parameters with the most estimates (68 and 83). In the manually labelled sample (§ 4.2), 62% of the 61 papers behind reproduction numbers are model-based (49% inference, 13% forecast), against 24% of the 144 behind fatality risks (20% inference, 4% forecast). A higher model-based share for reproduction numbers is plausible given the role of model fitting in their estimation. Across all associated corpus papers, EpiLens’s outputs show the same ordering: 53% of the 629 papers behind reproduction numbers are model-based (48% inference, 5% forecast), against 15% of the 1,549 behind fatality risks (13% inference, 2% forecast).

The papers behind each parameter span different pathogens, so the gap could simply reflect the mix of pathogens behind each parameter. To check this, we compare the two sets within pathogens: within SARS-CoV-2, MERS-CoV, Ebola, and Lassa, the reproduction-number papers are still more often model-based, by 7–28 percentage points, whereas for mpox the two sets hardly differ. Standardised to the pathogen mix of either parameter, the gap is smaller (16–18 percentage points, against 38 overall), so it is partly, but not only, a matter of which pathogens lie behind each parameter (Table F2).

PathogenParameterPapersModel-based (%)
Reproduction number and fatality risk
SARS-CoV-2Reproduction number20457
Fatality risk33541
MERS-CoVReproduction number5536
Fatality risk6730
Ebola virusReproduction number11750
Fatality risk23723
Lassa virusReproduction number2223
Fatality risk1246
Mpox virusReproduction number615
Fatality risk554
Other fatality-risk comparisons
CCHF virusFatality risk4973
Nipah virusFatality risk1111
RVF virusFatality risk1853
Incubation period
SARS-CoV-2Incubation period33434
Mpox virusIncubation period1151

Table F2. Model-based shares in the pathogen–parameter comparisons.

Pathogen

We now compare the corpus papers linked to the seed study’s cited sources across pathogens. Figure 6 shows their paper type, data type, and geographic profiles, pooling papers across parameters for each pathogen.

Figure 6. Papers linked to cited sources by pathogen. The first row describes all 2,297 corpus papers. Each other row describes papers linked to sources cited for that pathogen across all parameters in the seed study. The panels show the same measures as in Figure 5. Pathogens with at least 10 associated papers are shown. Influenza A subtypes are merged here and listed separately in Table F1. CCHF: Crimean–Congo haemorrhagic fever. RVF: Rift Valley fever.

In the model’s labels, the source sets fall into two groups. Six (influenza A, SARS-CoV-1, SARS-CoV-2, MERS-CoV, Zika, and Ebola) contain larger shares of inference papers and of papers using simulated data than the corpus as a whole, with influenza A and MERS-CoV highest on inference (40% and 38%, against 19%). The other six (Marburg, Lassa, mpox, CCHF, RVF, and Nipah) are predominantly empirical (78–93% of papers). In the geography panel, nearly all papers linked to MERS-CoV cover Asia, and nearly all those linked to Marburg and RVF cover Africa. Because each row pools the papers behind all of a pathogen’s estimates, these profiles also reflect which parameters the seed study estimated for each pathogen (Section F).

Discussion

In this work, we present EpiLens, a RAG package for organising epidemiological literature at a scale that manual review cannot reach. It treats the generator model as a linguistic engine over retrieved passages and retains the intermediate artefacts behind each output (the retrieved passages, the prompt, and the schema-validated label or extraction with a back-link to its source chunks), so that any aggregate result can be traced to the evidence that produced it rather than discarded once the answer is returned. Our evaluation shows both the effectiveness of the retrieval-augmented workflow and how its performance depends on the target analytical task. In the broad corpus-organising axes of geography, data type, and paper type, the full RAG workflow, run entirely on local hardware, achieves high agreement with the manual annotations (on data type, little above the majority baseline) and is comparable to supervised classifiers without requiring task-specific training labels, ahead of them on geography (Section E). Performance is lower on data accessibility, which emerges consistently as the most difficult of the four axes: the local workflow agrees least with the manual labels there, and the served models gain most on this axis.

The ablation analysis clarifies where these gains come from (§ 4.2.3). Across both the self-hosted qwen2.5:32b-instruct and, on the openly licensed papers, the served gemini-2.5-flash, access to body text supplies the largest and most consistent improvement over title- and abstract-only classification. Semantic targeting adds a further, task-dependent gain: it matters most for data accessibility and little for geography. This pattern aligns with access-related evidence being comparatively sparse and localised, while place-related cues are more widespread throughout a paper. Supplying the whole body showed no clear accuracy advantage over selected passages despite about twice the input tokens. On data accessibility, it diminished accuracy for the self-hosted generator. The pattern recurs across two generators, while the overall performance level remains model-dependent.

More broadly, the workflow fills a different role from standard supervised classification. An analyst can define or revise a coding scheme in natural language, apply it directly to full document evidence, and retain provenance for each classification. This makes the approach especially useful when taxonomies are evolving, labelled examples are limited, or the relevant evidence is not consistently available in titles and abstracts. The absence of training labels also makes the workflow complementary to established approaches: an annotation-free pass can map a corpus, identify difficult cases for expert inspection, or provide candidate labels for subsequent supervised modelling or manual curation. Running locally, in turn, makes such analyses possible on licensed literature that cannot be sent to external AI services (§ 3.3), at the accuracy reported here. Once an axis has been validated on a labelled sample, the same specification can then be applied across the full corpus to produce structured distributions while retaining a path back to the papers and passages that support them. Applied to our corpus, the labels describe both the literature as a whole and the paper sets linked to the seed study’s parameter estimates (§ 4.3 and § 4.4). In this setting, domain expertise shifts from manually coding every document toward defining operational categories, validating their reliability, and auditing the evidence behind decisions.

Significance for Digital Epidemiology and Preparedness

Pandemic preparedness depends in part on having a transparent, up-to-date map of what has been studied, on which data, and in which settings. EpiLens facilitates maintaining such a map, while retaining the link between high-level summaries and the underlying documents that support them. A recurring concern in digital epidemiology is not only whether data exist, but how they have been used across pathogens, regions, and modelling tasks. The corpus-level analyses outlined in § 4.3 begin to make this usage legible in a structured, updateable form. The four dimensions describe complementary features of the literature. Data type records the kinds of evidence used. Data accessibility records stated access routes or whether printed values permit limited reconstruction. Geographical coverage locates the evidence, and paper type records the principal contribution. Together, they support retrospective assessment and prospective planning by making explicit the corpus’s mix of study types, data sources, and geographic settings. Aggregate agreement with manual labels on three of these four dimensions (§ 4.2.1) suggests that such a characterisation can be obtained with limited manual coding and updated as new studies appear. The fourth dimension, data accessibility, is both the hardest for the workflow and arguably the most directly preparedness-relevant: knowing whether the data behind past analyses were made available and reusable is a prerequisite for any rapid re-analysis when a new threat emerges. Because this axis has lower agreement, and lower stability under sampling and with the served models, improving it is a priority. We examine why it is hard, and how to address it, in § 5.2.

Limitations and Future Work

RAG reduces unsupported generations by conditioning outputs on retrieved passages, but errors can still occur when relevant evidence is missed, incomplete, or incorrectly interpreted.

Evaluation scope.

The present evaluation assumes that the coding scheme can be specified independently of the corpus being evaluated. Our four axes were defined in advance using explicit operational criteria and externally anchored distinctions, including the United Nations M49 standard for geography, with Northern America, Central America, and the Caribbean merged into North America [47], and the traditional/non-traditional data distinction from previous work [1]. This lets us evaluate the resulting fixed scheme directly on the annotated sample. Other applications may instead derive or improve their categories after inspecting the corpus or preliminary outputs. In that setting, the workflow’s ability to revise categories in natural language is still useful, but the evaluation design should separate a development set used to refine the scheme from a held-out set used only for final performance estimation.

Corpus and annotation.

Some limitations arise from the case-study corpus rather than from EpiLens itself. The corpus was assembled through a semi-automated pipeline (Sections B and 4.1). This process is explicitly best-effort and logs exceptions such as inaccessible PDFs, incomplete references, and non-machine-readable supplements, but downstream retrieval and classification can only operate on material that has been correctly identified, parsed, and indexed. At the same time, EpiLens can provide useful downstream warning signals, for example when an unexpected paper-type label suggests that a spurious document has entered the corpus. Another limitation is that a single annotator produced the evaluation labels following the explicit coding protocol in Section C. Operational definitions and tie-breaking rules reduce ambiguity, but they do not allow us to report inter-annotator agreement. A multi-annotator evaluation with adjudicated labels is therefore an important next step.

Licences and served models.

Because served models were run only on the 122 openly licensed papers (§ 3.3), and the corpus is described with the fully local workflow, this subset is not a random sample of the evaluation papers, so the served models’ scores indicate their performance rather than measure it on the whole sample, and comparisons on it have less statistical power. The fully local workflow is also less accurate than gemini-2.5-pro on every axis and than gemini-2.5-flash on all but geography, particularly on data accessibility. On the manually labelled sample, it detects model-based and simulated-data papers less often than the annotator (sensitivity 0.65 and 0.68, specificity at least 0.97), so the shares of these labels reported for the corpus and for the papers associated with parameter estimates (§ 4.3 and § 4.4) are probably lower than manual labelling would give. On the openly licensed papers, the served models identify inference and forecast papers more reliably (F1F_1 0.775–0.935, against 0.364–0.623; Table D8), so the under-detection lies mainly with the local generator. The same criterion applies to corpus construction: Gemini read only the source reviews with an open licence, and we extracted the included studies from the others by hand (Section B).

LabelnnProFlashQwen (local)
Geography
Asia550.9752±0.00390.9752 \pm0.00390.9532±0.00450.9532 \pm0.00450.930±0.0000.930 \pm0.000
Africa330.9735±0.00650.9735 \pm0.00650.9402±0.00590.9402 \pm0.00590.925±0.0000.925 \pm0.000
Europe180.8674±0.00970.8674 \pm0.00970.802±0.0100.802 \pm0.0100.818±0.0000.818 \pm0.000
North America110.693±0.0190.693 \pm0.0190.631±0.0340.631 \pm0.0340.750±0.0000.750 \pm0.000
Irrelevant80.857±0.0000.857 \pm0.0000.66±0.110.66 \pm0.110.769±0.0000.769 \pm0.000
Oceania70.947±0.0300.947 \pm0.0300.960±0.0370.960 \pm0.0370.750±0.0000.750 \pm0.000
South America70.933±0.0000.933 \pm0.0000.788±0.0370.788 \pm0.0370.824±0.0000.824 \pm0.000
Data accessibility
Reported720.866±0.0200.866 \pm0.0200.733±0.0130.733 \pm0.0130.730±0.0000.730 \pm0.000
Referenced410.812±0.0420.812 \pm0.0420.713±0.0460.713 \pm0.0460.511±0.0000.511 \pm0.000
Open320.818±0.0400.818 \pm0.0400.754±0.0140.754 \pm0.0140.667±0.0000.667 \pm0.000
Upon request70.808±0.0350.808 \pm0.0350.680±0.0620.680 \pm0.0620.308±0.0000.308 \pm0.000
Not stated70.418±0.0810.418 \pm0.0810.286±0.0370.286 \pm0.0370.267±0.0000.267 \pm0.000
Closed30.571±0.0000.571 \pm0.0000.750±0.0000.750 \pm0.0000.200±0.0000.200 \pm0.000
Data type
Traditional1180.9941±0.00380.9941 \pm0.00380.9875±0.00290.9875 \pm0.00290.974±0.0000.974 \pm0.000
Simulated230.979±0.0000.979 \pm0.0000.927±0.0110.927 \pm0.0110.829±0.0000.829 \pm0.000
Non-trad. sentiment20.20±0.450.20 \pm0.450.500±0.0000.500 \pm0.0000.800±0.0000.800 \pm0.000
No empirical data20.73±0.150.73 \pm0.150.40±0.370.40 \pm0.370.000±0.0000.000 \pm0.000
Non-trad. economic10.93±0.150.93 \pm0.151.000±0.0001.000 \pm0.0000.000±0.0000.000 \pm0.000
Non-trad. mobility10.61±0.240.61 \pm0.240.264±0.0200.264 \pm0.0200.000±0.0000.000 \pm0.000
Paper type
Empirical750.905±0.0130.905 \pm0.0130.9227±0.00780.9227 \pm0.00780.889±0.0000.889 \pm0.000
Inference340.825±0.0200.825 \pm0.0200.780±0.0180.780 \pm0.0180.623±0.0000.623 \pm0.000
Forecast90.935±0.0470.935 \pm0.0470.775±0.0350.775 \pm0.0350.364±0.0000.364 \pm0.000
Methodological20.71±0.130.71 \pm0.130.365±0.0240.365 \pm0.0240.800±0.0000.800 \pm0.000
Commentary10.20±0.450.20 \pm0.450.000±0.0000.000 \pm0.0000.667±0.0000.667 \pm0.000
Synthesis11.000±0.0001.000 \pm0.0001.000±0.0001.000 \pm0.0001.000±0.0001.000 \pm0.000

Table D8. Per-label F1F_1 of EpiLens against the manual labels.

Tracing estimates to papers.

Our study links estimates to their cited sources. For an estimate citing a review, the associated set contains its retrieved included studies, which may include related infections. The link does not identify which studies contributed to the reported value. Parameter-specific study lists, where reviews provide them, would allow more precise links, as the epireview data illustrate [48].

The corpus contains 61% of the reported inclusions in expanded source reviews with available counts, with coverage varying across reviews (Section F). Restricting the reproduction-number–fatality-risk comparison to better-covered reviews preserves its direction but changes the individual label shares. The profiles also use model-assigned labels. The manual labels show the same ordering for the main contrasts, while the small labelled sets behind some pathogen–parameter comparisons limit how precisely their differences can be assessed.

Evidence retrieval and verification.

The ablation points to evidence selection as one important target for improvement. Relevant statements may be missed because chunking separates them from their context, the retrieval query does not match the terminology used in the paper, or ranking places the decisive passage below the cut-off. This is most visible for data accessibility, which gains the most from targeted retrieval and also benefits most from the stronger generator (§ 4.2.2 and § 4.2.3). Improving this axis therefore calls for attention to both evidence selection and subsequent interpretation. Promising directions are hybrid lexical and dense retrieval, section-aware retrieval targeting locations such as Methods and Data Availability, stronger reranking, and direct measurement of retrieval recall separately from downstream classification performance. The accessibility axis also illustrates an important scope distinction: our protocol evaluates what the paper reports about access to its data, not whether the stated access mechanism still works. A natural extension is to add a verification stage that checks resolvable links, accession identifiers, repositories, or request mechanisms after extracting the reported access condition.

Reliability and repeatability.

Repeated runs can flag difficult cases only when outputs vary. In the fully local deployment at T=0T=0, repeats are identical, so run-to-run disagreement carries no signal. At T=1T=1, and for the served models, disagreements concentrate on data accessibility (Table D2). For the deterministic local configuration, comparable signals can come from sampling at T=1T=1 or from disagreement between models. The two served models, for example, largely share their errors on three of the four tasks (81–92% containment at T=0T=0 on the openly licensed papers, Section D.5). Neither signal should be interpreted as calibrated confidence without further validation.

Extensions.

Finally, a package like EpiLens benefits from the continuing improvements in language models and retrieval components. Stronger locally runnable models may narrow the remaining gap to the served models, while task-specific fine-tuning of smaller models could provide a practical option when labelled examples are available and a classification scheme has stabilised. Better embedding models, rerankers, and structured decoding methods can likewise be incorporated. More agentic approaches could also be useful when kept deliberately constrained, for example by triggering a second retrieval step, checking an external identifier, or requesting additional evidence only for papers whose initial classification is ambiguous or unstable. Such selective escalation is preferable here to long autonomous agent chains, since it preserves the predictable cost, provenance, and inspectability that motivate the framework in the first place.

Ethical Aspects

Epidemiological evidence informs surveillance, resource allocation, and public-health policy. Errors in its organisation or interpretation may therefore have serious consequences, particularly during emergencies. We therefore state EpiLens’s intended role, the risks related to its use, and the safeguards needed to reduce them. As with any analytical tool used in a consequential setting, its outputs should be interpreted within clearly defined conditions of use and by people able to assess them.

EpiLens acts as a filter through which evidence is viewed. Its classifications can affect which studies are surfaced, inspected, prioritised, or treated as absent, so systematic classification errors could distort the resulting map of the literature. Their practical consequences depend on how the labels are used. When labels only prioritise papers for expert review, false positives mainly add verification work.

When labels are used to exclude papers or stop screening, false negatives can alter the apparent evidence base by removing relevant studies from view. Work on ML-assisted screening therefore treats the risk of omitted studies as something that must be assessed and communicated [49]. Such omissions are harder to detect and correct during outbreaks, when decisions are urgent, scientific information is uncertain and changing, and time and resources are limited. If they are also unevenly distributed throughout regions or languages, the resulting map may reinforce existing under-representation. WHO raises a related distributional concern for scientific research supported by large multimodal models [50].

Accordingly, EpiLens should support evidence triage and corpus mapping rather than replace systematic screening, critical appraisal, or expert judgement. In this study, the manually labelled evaluation and repeated runs quantify performance and stability for the case-study corpus, while provenance supports inspection of individual outputs. Applications to a new corpus or coding scheme should therefore be validated on relevant labelled examples, with closer review of unstable outputs and of performance across relevant corpus strata where sample sizes permit. Domain experts should verify outputs before they inform consequential research or preparedness decisions, and the level of review should reflect the intended downstream use. Performance should be reassessed after material changes to the corpus, taxonomy, retrieval pipeline, or underlying model. Users should also check whether the terms under which they hold the documents allow sending them to a remote model; a fully local deployment avoids the question.

Conclusions

We presented EpiLens, a RAG package that applies analyst-defined questions identically across a corpus of epidemiological papers, returns structured, validated outputs, and keeps a path from each output back to its evidence. Without task-specific training labels and running entirely on local hardware, the Paper Classifier outperforms the zero-shot approaches tested and is comparable to supervised classifiers trained on manual labels, ahead of them on geography; the strongest served model scores higher where licences allow its use. Agreement with manual labels is strongest for geography, data type, and paper type, while data accessibility remains more difficult. The ablations show that finding relevant evidence in full texts is an important part of this performance.

We also applied the classifier to 2,297 outbreak-related papers assembled from the cited sources of a multi-pathogen study of epidemiological parameters. The labels describe this corpus as a whole. Linking them to the study’s cited sources shows that the kinds of papers associated with its parameter estimates differ across parameters and pathogens.

More broadly, we argue for treating tools such as EpiLens as part of epidemiology’s analytical infrastructure. Their function is not to replace expert review, but to shift expert effort from manually processing every paper toward defining meaningful questions, validating how reliably they can be answered, and interrogating the evidence behind the resulting map of the literature. Because the analytical scheme, retrieval components, and language model remain separable, the same package can incorporate improvements in models and retrieval without sacrificing provenance or inspectability. Because it runs on local hardware, it can also be applied to literature whose licences do not allow sending full texts to external AI services. As corpora grow and models improve, such tools can help ensure that the knowledge accumulated across past epidemics remains reachable and actionable when the next threat emerges.

Abbreviations

AI: artificial intelligence. API: application programming interface. BCa: bias-corrected and accelerated. CCHF: Crimean–Congo haemorrhagic fever. COVID-19: coronavirus disease 2019. CV: cross-validation. DOI: digital object identifier. JSON: JavaScript Object Notation. LDA: latent Dirichlet allocation. LLM: large language model. LOO: leave-one-out. LSA: latent semantic analysis. MERS(-CoV): Middle East respiratory syndrome (coronavirus). ML: machine learning. MLP: multilayer perceptron. NLI: natural language inference. NMF: non-negative matrix factorisation. NTD: non-traditional data. PCR: polymerase chain reaction. PDF: Portable Document Format. PLSA: probabilistic latent semantic analysis. RAG: retrieval-augmented generation. RVF: Rift Valley fever. SARS: severe acute respiratory syndrome. SARS-CoV-1, SARS-CoV-2: severe acute respiratory syndrome coronavirus 1 and 2. SD: standard deviation. SVM: support vector machine. TEI: Text Encoding Initiative. TF-IDF: term frequency–inverse document frequency. UI: user interface. URL: uniform resource locator. WHO: World Health Organization. XML: Extensible Markup Language.

Declarations

Availability of data and materials

The datasets supporting the conclusions of this article will be made available on Zenodo [51]. The reproduction package [51] contains the corpus bibliography, the 214-paper manually labelled evaluation set, per-paper and aggregate outputs, and a per-estimate file recording pathogen, parameter, source author, year and DOI, and links to corpus papers. Its scripts regenerate the reported tables and figures from the released inputs. Predictions of the fully local workflow will be released for all papers; predictions of the served models will be released only for the 122 openly licensed evaluation papers (Section B.5).

The software is available as follows.

Project name: EpiLens.

Project home page: https://github.com/VinsRR/EpiLens [52]; also distributed on PyPI as epilens.

Operating system(s): platform independent.

Programming language: Python (version 3.10 or later).

Other requirements: the Python dependencies declared in the package; optionally a GROBID server for parsing, a MongoDB server for document storage, a Qdrant server for vector storage, and a local model server such as Ollama.

License: GNU Affero General Public License v3.0 (AGPL-3.0-only).

Any restrictions to use by non-academics: none beyond the licence terms.

The article PDFs and full-text index cannot be redistributed because of publisher copyright. The seed study’s extraction sheets [41] were shared privately and are not redistributed. The released source links contain no parameter values.

Competing interests

The authors declare that they have no competing interests.

Funding

This project has received funding from the European Union’s Horizon Europe research and innovation programme under grant agreement No 101095619 (ESCAPE).

Authors' contributions

VP designed and implemented EpiLens, built the corpus, produced the manual labels, ran the experiments, and wrote the manuscript. CC and DP supervised the study. All authors approved the manuscript.

Use of AI tools in preparing this work

Apart from the models evaluated in this study, we used OpenAI Codex to write and test parts of the analysis code and to revise parts of the text. The authors reviewed all such output and take full responsibility for the content.

Acknowledgements

We thank Jack Ward and W. John Edmunds for sharing the seed study’s early data extraction sheets and approving release of the derived source links.

Not applicable.

Not applicable.

System and workflow details

This appendix adds component-level detail to the system summarised in § 3. Here we specify the components and backends used at each stage of that pipeline.

Pipeline components and backends

Each pipeline stage is handled by distinct, interchangeable components that a researcher can swap to suit their setup.

Phase 1: Ingestion and Indexing

This phase transforms a collection of scientific papers into a searchable index. It involves parsing, chunking, embedding, and storing the content.

Document Parsing.

The local EpiLens CLI defaults to pdfminer.six for PDFs and uses Unstructured [28] for other formats. For academic papers, it can instead use GROBID [29], which extracts plain text, rich metadata (title, authors, journal), structured sections (abstract, methods, results), and a bibliography. All experiments in this paper use GROBID. Parsed content is stored in memory or in MongoDB; our experiments use MongoDB.

Text Chunking.

To create focused, contextually relevant units for retrieval, we segment the parsed text sections into smaller chunks. EpiLens provides many of the standard strategies, including splitting by paragraph, sentence, or fixed-size overlapping windows. In all experiments, we split by paragraph.

Embedding.

Each text chunk is mapped to a high-dimensional vector using an embedding model. EpiLens is model-agnostic and supports a range of providers, including open-source sentence-transformer models from Hugging Face, as well as API-based models from OpenAI, Google (Gemini), and local models served via Ollama. This grants flexibility in regulating performance, computational cost, and privacy.

Vector Storage.

The generated embeddings and their associated metadata (e.g., paper ID, section title, text) are stored in a vector database. This database provides the core functionality for efficient similarity search. EpiLens includes swappable backends for Qdrant, FAISS, and a simple file-based storage system, enabling deployment in a range of environments from local machines to server-based setups.

Phase 2: Retrieval

The retrieval phase calls the vector database to find the most relevant indexed text chunks in response to a user query.

Query Processing.

EpiLens supports multiple retrieval modes. The primary mode is semantic search, where a user query is embedded using the same model as the document chunks, and the vector database is searched for the "nearest" chunk embeddings. For the experiments in the main text, we used Qdrant. A keyword search is also available for simple term matching.

Similarity Search and Filtering.

The core retrieval operation is a nearest-neighbor search performed by the vector database. Results can be filtered by metadata, for instance by restricting the search to a specific paper ID or a set of paper sections (e.g., methods). For the experiments presented in the main text, we used cosine similarity as the distance metric. The standard RAG approach uses the user query as a reference for finding similar chunks. We additionally use a template-based approach (see Section A.2).

Phase 3: Generation

In the final phase, an LLM synthesises a coherent answer from the retrieved evidence.

Prompt Engineering.

The system compiles the retrieved text chunks into a carefully structured prompt, together with the original user query. The prompt explicitly instructs the LLM to base its answer strictly on the provided evidence and to avoid using its internal knowledge. The only exception is geographic: the model may use its own knowledge to map a stated location to its continent (Section C.2). For the workflows discussed in Section A.2, we provide a schema to guide the model to generate JSON output with specific characteristics.

Answer Synthesis.

EpiLens’s Generator component sends the prompt to a local or remote LLM through a provider client. This lets users select a model that fits their performance, privacy, and cost requirements.

Provenance and Inspectability.

A core principle of EpiLens is to preserve transparency. Every generated answer is accompanied by a list of evidence items, each linking back to a precise text chunk from a source paper and containing the source excerpt, the paper ID, and the section. This makes it possible to inspect the path from query to answer and check the output against the cited source passages.

High-Level Analytical Workflows in EpiLens

The structured-workflow contract (a fixed retrieval template plus a validating JSON schema, implemented with Pydantic [33] and applied identically across a corpus) is defined in § 3. Here we record the implementation specifics of the two instantiations used in this paper, the Precision Miner (extraction) and the Paper Classifier (classification). They reuse the same ingestion, retriever, generator, validation, and provenance components, but use workflow-specific evidence aggregation, prompts, schemas, and parsing.

The Precision Miner for Structured Extraction

The Precision Miner is the extraction instantiation of the pattern. It finds and lists specific, concrete pieces of information in a paper, such as the data sources used, links to supplementary materials, or key bibliographic references.

Methodology.

The miner’s implementation of the pattern is geared towards maximising the discovery of relevant facts within a document.

  • Retrieval phase (multi-query aggregation): The miner is configured with several queries designed to find relevant passages (for example, “What datasets were used in this study?” or “Where can supplementary data be found?”). It searches each paper separately for every query, can restrict candidates by section, and combines the results into one deduplicated, score-ranked evidence pool. The multi-query strategy is intended to broaden candidate coverage without guaranteeing recall.

  • Generation phase (the LLM as an extractor): The consolidated evidence pool is formatted into a prompt and sent to the LLM, which is given the role of an information extractor: it scans the snippets, identifies every instance of the target information (for example, dataset names and URLs), and organises them into a list. The JSON schema requires an object containing this list, where each item has fields such as name, url, and explanation, with the source sentence retained as provenance.

Worked outputs.

We ran the find_data_sources variant of the miner over the corpus index on three corpus papers from different pathogen families, to show what an extraction workflow returns rather than to benchmark its accuracy. Table A1 lists the result: for each paper, a variable-length list of concrete data sources, each with a link or accession where the paper supplies one. The recovered sources are heterogeneous, from public code and data repositories (GitHub, Zenodo, GenBank) to surveillance systems, health records, reports from the World Health Organization, and the cited studies behind model parameters. Other variants ship with the package to find supplementary materials or important references. The table is limited to paper identifiers, source names, and links or accessions: the miner also returns source sentences and model explanations for auditing a run, but these can reproduce publisher text and are not redistributed.

PaperData sources extracted (name and link or accession where given)
Lauer et al. [53]<br>COVID-19<br>incubation• News and public health reports<br>• Johns Hopkins Center for Systems Science and Engineering<br>• HopkinsIDD/ncov_incubation GitHub repository (https://github.com/HopkinsIDD/ncov_incubation)<br>• Zenodo record 3692048 (https://zenodo.org/record/3692048)
Althaus [54]<br>Ebola R0R_0• World Health Organization (WHO)<br>• Chowell et al. (study)
Nakoune et al. [55]<br>Mpox, CAR• DDBJ/EMBL/GenBank database<br>• KP849469, A27L gene (reference sequence)<br>• Standardized tools for data collection (Ministry of Health and World Health Organization)<br>• Consultation registers, health records, and hospitalization forms<br>• Institut Pasteur de Bangui (IPB) reports of suspected cases

Table A1. Output of a second structured workflow: the data-source Precision Miner.

Rights-safe output of the find_data_sources miner on three corpus papers from different pathogen families. The released summary contains identifiers, data-source names, and links or accessions. It deliberately omits source sentences, retrieved text, prompts, and model traces.

The Paper Classifier for Automated Categorisation

The Paper Classifier instantiates this pattern for classification. It is designed to automatically assign categorical labels to an entire paper along predefined axes, such as study design, data accessibility, or geographic focus.

Methodology.

The classifier is built to gather comparative evidence and facilitate judgement.

  • Retrieval Phase (Evidence Gathering by Category): Unlike the miner, the classifier’s templates are exemplars: canonical text snippets that represent each of the possible categories in a classification scheme (e.g., a sentence describing open data access is an exemplar for the OPEN category). Each exemplar retrieves its nearest chunks from the paper, and each distinct chunk is assigned to the category whose exemplar it matches best. The kk highest-scoring chunks across all categories are passed to the model grouped by category, as a structured “dossier” of evidence for the competing labels. A label whose exemplars match only weakly may receive no chunk.

  • Generation Phase (The LLM as a Classifier): This comparative dossier is presented to the LLM. Its task is not to extract items, but to weigh the evidence for the competing categories and make a final, reasoned decision about which label (or labels) best applies to the paper as a whole. The JSON schema requires one or more valid labels and a textual justification. A confidence score is optional. Schema validation makes the output structured, while the retained passages make the decision inspectable.

Token usage and projected inference cost

This section estimates the token cost of running the EpiLens Paper Classifier over a corpus. A classification pass has two components: (i) a one-time embedding stage that indexes the corpus for retrieval, and (ii) a per-call generation stage that classifies each paper on each axis. We report token usage rather than monetary cost, letting readers convert these figures using the pricing model of their chosen provider. Embedding costs were estimated from corpus statistics, as described below.

Generation: token usage per call.

Table A2 reports the mean token usage of one EpiLens classification call (one paper, one axis). Input is dominated by the fifteen retrieved chunks (mean 760 characters, approximately 190 tokens each) together with the task instructions. The visible JSON output is small (about 150 tokens), but gemini-2.5-flash is a reasoning model, so most billable output consists of internal reasoning tokens (about 1,200 tokens). Overall, a call averages approximately 3,500 input and 1,400 output tokens, measured on the 122 openly licensed evaluation papers (Section B.5). The whole-body ablation used 7,665 input tokens per call, against 3,510 for the fixed-chunk proxy, a factor of 2.2 (§ 4.2.3).

AxisInputReasoningVisibleTotal
Paper type4,1021,5981525,852
Geography3,2939041654,362
Data type3,1519061234,180
Data accessibility3,4951,4701535,118
All axes (mean)3,5101,2201484,878

Table A2. Mean token usage per classification case in the cost proxy. Output (billable). Measured on the random-chunk ablation with gemini-2.5-flash, T=0T=0, and k=15k=15, on the openly licensed evaluation papers (Section B.5). The targeted workflow uses the same prompts, schemas, generator, and retrieval budget but different evidence selection.

Generation at corpus scale.

EpiLens performs one classification case per paper for each of the four axes. Averaged across all axes, classifying a single paper requires approximately 20,000 tokens (roughly 14,000 input and 5,500 output tokens). Scaling the per-case averages to the full corpus of 2,297 papers (9,188 classification cases) gives approximately 32M input and 13M output tokens, or about 45M generation tokens in total (Table A3). The 214-paper evaluation corpus corresponds to approximately 4.2M generation tokens. These counts describe the served reference. Non-reasoning models such as the local

ScopeCasesGen. inGen. outEmbed (1×)
Evaluation sample (214 papers)8563.0 M1.2 M1.3 M
Full corpus (2,297 papers)9,18832.3 M12.6 M14.5 M

Table A3. Projected token usage of one EpiLens classification pass over the four axes. Projected from the ablation-based per-case proxy in Table A2. Generation is incurred per pass. Corpus embedding is a one-time estimate.

qwen2.5:32b-instruct produce far fewer output tokens, and in the fully local workflow the same prompts cost compute time on local hardware rather than billed tokens.

Retrieval: one-time embedding cost.

Generation is only one component of the overall token budget. Retrieval additionally requires embedding the corpus, although this cost is incurred only once when constructing the index. Unlike generation, embedding usage was not metered directly. Instead, we estimate it from corpus statistics. Using the observed mean of 33 retained chunks of about 190 tokens each gives approximately 6,300 embedded tokens per paper, or roughly 14M tokens for the complete corpus. This is an approximation because chunking can overlap text and can omit short fragments. The cost is amortised across subsequent workflows that reuse the same index. The queries, a fixed set of short exemplar paragraphs (one or more for each candidate label), are embedded once and reused for every paper, so their cost is negligible. Overall, corpus indexing contributes an estimated one-time cost of about 14M embedding tokens, compared with approximately 45M generation tokens for each complete classification pass (Table A3).

Corpus construction pipeline details

This appendix documents the four-stage corpus construction pipeline summarised in § 4.1. Exact reconstruction of the document collection remains access-dependent. Figure B1 illustrates the pipeline.

Corpus construction pipeline showing extraction sheets, seed set, review-expansion route, direct-source route, four processing stages, logged exceptions, and structured corpus

Figure B1. Corpus construction pipeline. Source reviews are expanded to include papers; then identifiers are resolved, documents are retrieved, and records are ingested. Directly cited source documents bypass review expansion and join the flow at identifier resolution. The pipeline tracks unmatched references, supplement-only cases, and inaccessible documents during construction.

Stage 1: Review Expansion

The first stage identifies the papers reported as included evidence by each seed source selected for review expansion. Parsing the complete reference section is insufficient because a review can cite many papers that were not included in its analysis. We therefore target the subset of references that are explicitly described as included studies in the review text, tables, or appendices.

Methodology.

Stage 1 identifies the included evidence for each source review by extracting references, followed by rule-based matching. Extraction is LLM-assisted for the reviews whose stored copy carries an open licence and manual for the others (step 1). We maintain the extraction and matching code separately from EpiLens. For each source review selected for expansion, we execute the following steps.

  1. Candidate extraction. For reviews with an open licence, an LLM reads the review PDF and extracts spans that enumerate included studies. This includes narrative “study characteristics” descriptions and tables listing included trials or observational studies. We use Gemini’s document understanding [56, 57], prompting the model to output the included studies as full bibliographic citations exactly as reported in the review’s reference list. We used Gemini only for the source reviews whose stored copy carries an open licence, under the criterion of Section B.5. For the 20 reviews without one, we identified the included studies by hand from the review’s GROBID parse and tables, assisted by local tools, and matched them to the bibliography as in steps 2 and 3. When the included studies are listed in a supplementary file rather than the main text, the model returns the supplement’s label (e.g., “Supplementary tbl:S1”) and URL instead, and the supplement is processed case by case.

  1. Bibliographic parsing and normalisation. In parallel, the review PDF is processed with GROBID to extract structured bibliographic records and reference strings [29].

  1. Candidate–bibliography matching. We index bibliography entries by the normalised surname of the first author and link each extracted candidate to one entry. A unique exact surname match is selected directly. When several entries share that surname, the implementation compares the normalised candidate with each entry’s title plus raw reference string using RapidFuzz’s fuzz.ratio similarity [58]. A score of at least 65 is recorded as title-based disambiguation. Below that threshold, the highest-scoring same-surname entry is retained and explicitly marked as an ambiguous best guess. If there is no exact surname token, surnames are compared fuzzily and accepted at a threshold of 70. Candidates with no accepted surname match are marked unmatched and excluded from downstream stages. This constrains candidates to bibliography entries parsed independently from the source PDF and records the match score and reason for audit.

  1. Recorded outputs. The reproduction package releases the final review–paper links in review_membership.tsv and source-review metadata in source-reviews.tsv [51]. Intermediate extraction runs are not included.

Stage 2: Metadata Backfilling and DOI Resolution

Matched references can lack a DOI or carry incomplete metadata. Stage 2 retains a DOI parsed by GROBID when present and otherwise attempts to resolve one through Crossref [59]. Directly cited source documents enter the pipeline at this stage.

Methodology.

For each matched reference without a DOI, the implementation:

  1. Bibliographic query. Queries Crossref with the title, up to two author strings, journal, and, where available, a publication-year filter.

  2. Candidate scoring. Ranks the returned records by title similarity using RapidFuzz token_set_ratio, dividing its score by 100 to place it on a 0–1 scale.

  3. DOI assignment. Writes the DOI of the best candidate when title similarity is at least 0.85. Otherwise, it retains the unresolved status or query error.

Stage 3: Semi-Automated Document Retrieval

Stage 3 attempted to obtain the documents identified in Stage 2. The collection that can be recovered depends on access to those documents at the time of retrieval.

Methodology.

We ran a DOI-driven PDF harvester over the resolved identifiers. It searched online for full-text copies of each paper, downloaded candidate PDFs, and logged successes and failures. For unresolved cases, a fallback script searched DOI and PubMed landing pages for PDF links. We then manually examined failures and suspect files, recovered papers where possible, and verified that the retained files were valid PDFs. The archived download records also identify documents already obtained through another review. The released corpus manifest lists the papers retained for analysis [51], with identifiers that readers can use to attempt retrieval under their own access conditions. Files of directly cited sources were named by year, first author, and parameter.

Stage 4: Corpus Ingestion and Structuring

Stage 4 converts the retrieved documents into the structured representation EpiLens uses for downstream indexing and RAG workflows.

Methodology.

We process each document as follows.

  1. Deep parsing. Each PDF is parsed with GROBID into structured TEI XML, including section boundaries, metadata, and a parsed bibliography [29].

  1. Corpus database population. We insert the parsed representation into the corpus database (MongoDB) as the source of truth for retrieval and provenance.

The frozen manifest contains 2,297 corpus records used by every downstream analysis. The resulting records are then available for embedding, vector indexing, and query-dependent retrieval.

Licences of the evaluation papers

This section describes our process for selecting papers for served-model experiments based on their licences (§ 3.3). While the fully local workflow included all 214 papers, we restricted the served-model experiments based on licensing requirements. We adopted a conservative criterion: we selected papers for served-model experiments based on the licence of the copy available to us, relying on Creative Commons licences or public-domain/CC0 status rather than making a general determination about compatibility with provider terms. When necessary, we verified external metadata to confirm licensing information. Our selection includes papers under Creative Commons licences that contain non-commercial or no-derivatives clauses. This process resulted in the selection of 122 out of 214 sampled papers: 54 under CC BY, 1 under CC BY-SA, 27 in the public domain or under CC0, and 40 under licences with non-commercial or no-derivatives clauses. Publisher-specific permissions were not considered open licences. These include Elsevier’s user licence (3 papers), research permissions for COVID-19 and mpox content (4), temporary COVID-19 access granted by other publishers (7), and free-to-read copies without a stated licence (2). These papers are among the 92 excluded from all analyses involving a served model. The reproduction package specifies the licence and version used for each paper.

Labelling protocol

This appendix defines four classification axes: geography, accessibility, data type, and the paper’s main research contribution. The first three describe the datasets a paper uses. The fourth describes the paper as a whole. Making these principles explicit is essential both to define the labels used as ground truth and to preserve consistency between these criteria and the instructions in the LLM prompts, which would otherwise default to unknown and potentially inconsistent standards. Specifically, some documents may plausibly fall into more than one category, depending on interpretation, or may be sensitive to where boundaries are drawn between categories in the context of our specific classification task. Potentially ambiguous cases include unclear data availability statements (e.g., claims that data are in the public domain, which may apply only under specific emergency conditions), the appropriate geographic labelling of analyses of contagion events originating in one country but detected in another, and the classification of paper types consistent with the practices of the relevant scientific community (in this case, epidemiology).

For the three data axes (geography, data accessibility, and data type), classification applies to the individual datasets within a paper, not to the paper itself. Each dataset used to obtain results via the described methodology is assigned a label. This excludes datasets that, e.g., are only mentioned in a background section. The final output for each axis is the union of these per-dataset labels, so duplicates are automatically collapsed: if three datasets are assigned labels AA, AA, and BB, the resulting set is {A,B}\{A, B\}. The fourth axis, paper type, is instead assigned at the level of the whole paper, as described in its own section below.

Label set

We assign labels along four axes, the first three abbreviated GEO, DAVAIL, and DTYPE below:

  1. Geography. A set-valued label representing the continents associated with the epidemiological evidence used in the paper, or whether this information is irrelevant, e.g., in the case of laboratory settings.

  2. Data accessibility. A set-valued label recording the access mechanisms stated for the data used in the paper, or whether printed values permit limited in-paper reconstruction.

  3. Data type. A set-valued label capturing whether the contribution uses data and the nature of the data used for the contribution, i.e., whether it uses traditional data, non-traditional data [1], or synthetic data.

  4. Paper type. A primary label used in evaluation, with optional secondary labels retained in the stored output, denoting the paper’s research-contribution type with respect to epidemiological parameter estimation.

Labels are assigned exclusively based on information provided within the document, disregarding external knowledge or verification. For instance, if a paper states that its data are available in an online repository, we use that statement regardless of whether the repository is still accessible. This is motivated by our focus on extraction fidelity, not, for example, on verifying data accessibility. The only exception is the mapping of geographic locations to continents. Here we allow the model to map a location to its geographic label using its internal knowledge, e.g., mapping a nation to its continent, providing guidance only for the ambiguous cases discussed below.

Geography, data type, and paper type include an UNCLEAR fallback for insufficient evidence, distinct from IRRELEVANT (geography) and OTHER (paper type).

Geographic labelling

This pipeline is intended as a first-stage, high-recall filter for identifying subsets of papers that merit subsequent, more specialised analyses. Accordingly, we adopt an intentionally inclusive definition of geographic information: we include all locations that are explicitly tied to the epidemiological evidence used in the paper, even when multiple plausible “geographic perspectives” coexist (e.g., location of exposure vs. location of detection/ascertainment). For instance, when infections are acquired in one country but cases are detected, diagnosed, or reported in another, we include both locations in the multi-label GEO output. We do not include a location mentioned only incidentally: if a paper analyses an outbreak in continent A and merely notes similar patterns in continent B, the correct label is A alone. More granular labelling (e.g., separating exposure from ascertainment into distinct labels) is feasible, but is beyond our current aim.

There are, however, cases in which location information is considered irrelevant. If the analysis is conducted entirely in controlled laboratory settings such that geographic or ecological variation is not meaningful (e.g., laboratory-bred animals or strictly controlled experimental conditions), the GEO axis is marked as IRRELEVANT. The same label applies when the paper relies on purely synthetic or otherwise non-geographic data that are not meaningfully tied to any real-world location. By contrast, wildlife, farm, market, household, and other field-like settings are treated as geographically meaningful and labelled using the locations the authors state.

Consistent with our general principle of relying only on stated information, we do not infer geographic origin from strain identifiers, sample naming conventions, or external domain knowledge unless the paper explicitly states the geographic origin in the text.

The continent label set is Africa, Asia, Europe, North America, South America, and Oceania (together with IRRELEVANT and UNCLEAR). Some countries straddle two continents and are intrinsically ambiguous under informal conventions. For these cases, we fix a single, reproducible country-to-continent assignment based on the United Nations Statistics Division M49 standard (“Standard Country or Area Codes for Statistical Use”, Series M, No. 49) [47], rather than ad hoc geopolitical or cultural criteria. M49 regions map directly to our Africa, Asia, Europe, and Oceania labels. M49 does not define North and South America as separate regions: it divides the Americas into Northern America and Latin America and the Caribbean, with the latter further divided into the Caribbean, Central America, and South America. We therefore label countries in M49’s Northern America, Central America (including Mexico and Panama), and Caribbean as North America, and countries in M49’s South America as South America. For transcontinental countries where the pathogens in scope, those with pandemic potential, have been reported, the annotation prompt uses fixed assignments: Russia to Europe, Egypt to Africa, and Turkey, Kazakhstan, Azerbaijan, Georgia, Armenia, and Cyprus to Asia.

Other sources of ambiguity, such as no-longer-existing political entities (e.g., USSR, Yugoslavia) or politically disputed/recognition-dependent territories (e.g., Kosovo), are largely avoided in this setting because our evaluation targets continent-level labels. By collapsing geographic mentions onto continents, we anchor the GEO axis to relatively stable, predominantly geographic reference entities, reducing sensitivity to changes in statehood, naming, or recognition. Finally, for papers covering a global scope, we list all continents.

Data accessibility labelling

DAVAIL records what the paper states about access to each dataset and whether the paper prints enough values to meet the REPORTED re-aggregation rule. It measures reported accessibility and in-paper reconstructability, not verified access or general dataset reusability.

OPEN. The data are publicly available via a persistent identifier (e.g., DOI, accession number), a stable link to a repository, or by being fully released within the paper package (e.g., full line-lists or complete contingency tables) in a form sufficient for a third party to reconstruct the dataset for new analyses. Mentions of supplementary material only qualify if they contain the specific, extractable data used for the work (the link/identifier must point to the underlying data supporting the results, not just be a “supplementary information exists” pointer).

REPORTED. The dataset is not fully released, but the paper provides granular, extractable data values (e.g., detailed frequency tables, stratified counts, or partial time-series) that allow a third party to independently recompute at least one primary summary statistic used in the analysis (e.g., a frequency, proportion, or rate) from the reported values alone, without requiring access to unreported data or relying on the authors’ interpretive conclusions. This label applies based on the richness of the in-paper reporting, regardless of whether the data source is internal or a third party. It does not imply access to the underlying dataset or the ability to reproduce the full analysis.

REFERENCED. The data are credited to a specifically identifiable third-party source (e.g., public health authorities, institutional databases, emergency dashboards, named public sources, other papers), but the paper provides neither a stable retrieval path for the source data nor sufficient detail to re-aggregate the data or re-use them as inputs for other analyses without relying on the author’s interpretation (i.e., fails the REPORTED re-aggregation criterion). This data-thin reporting (limited to derived outputs like effect sizes, coefficients, or fitted model curves) prevents independent verification. Vague attributions (e.g., "government data") do not qualify (lean towards NOT_STATED).

AVAILABLE_UPON_REQUEST. The paper explicitly provides a request-based mechanism, such as contacting the author, a data access committee, or a specific institutional process.

CLOSED. The paper explicitly states that the data cannot be shared or are restricted due to legal, ethical, or licensing constraints, without providing an actionable access mechanism.

NOT_STATED. The paper provides no data access statement, no data repository link, no request mechanism, and no identifiable third-party attribution, and it also fails to provide extractable values sufficient for REPORTED. Statements that data were collected/generated, without an access mechanism and without re-aggregatable values, should be labelled NOT_STATED.

Precedence is applied within each dataset, after which the paper-level output is the union of the per-dataset labels. For one dataset, use OPEN when a qualifying public route is stated. Otherwise use AVAILABLE_UPON_REQUEST when an actionable request route exists, and CLOSED for an explicit restriction without such a route. If none applies, distinguish REPORTED from REFERENCED by the re-aggregation criterion, and use NOT_STATED when neither applies.

Operational scope

The protocol is descriptive rather than a compliance assessment: it classifies what a paper states or prints, using categories adapted to the heterogeneous availability statements encountered across journals and communities. Two rules make the categories operational for both annotation and prompting: OPEN requires a stable retrieval route or a reconstructable in-paper release, and REPORTED requires enough printed values to recompute at least a primary summary statistic.

Data type labelling

The DTYPE labels identify the nature of the data used to support a paper’s contribution. DTYPE is set-valued because a paper can use several data types. The operational NO_EMPIRICAL_DATA output is exclusive and is used only when the contribution relies on neither empirical nor simulated data. The traditional, health, mobility, economic, and sentiment categories build on the #Data4COVID19 Review [1]. SYNTHETIC (reported as “simulated data” in figures and tables) and NO_EMPIRICAL_DATA are extensions introduced for this corpus. In a nutshell, NTD refers to information digitally captured, mediated, or observed through new instrumentation mechanisms, often privately held and repurposed for uses unrelated to its initial collection.

TRADITIONAL when a paper relies on standard epidemiological and public-health data sources collected through established surveillance infrastructure, regardless of digital vs analogue collection methods. Examples include daily or weekly case counts from a national surveillance system, hospital admissions and deaths, and PCR- or antigen-confirmed test line lists.

NON_TRADITIONAL_HEALTH novel or non-standard health data sources that emerged outside traditional public-health surveillance systems, such as: (i) digital patient data from large-scale electronic-health-record repositories, (ii) platform-facilitated self-reports and symptom proxies collected through apps or web platforms, (iii) wastewater surveillance as a community-level proxy for spread, and (iv) wearable or biometric signals.

NON_TRADITIONAL_MOBILITY when the paper uses mobility data, understood as data describing the location of a device relative to people/landmarks in the physical world or to other devices. This includes mobility signals derived from telecommunications (e.g., call detail records), location data from software development kits embedded in smartphone apps, GPS and vehicle traces, and proximity technologies (e.g., Bluetooth), when used as epidemiological proxies (e.g., population movement patterns, contact opportunities).

NON_TRADITIONAL_SENTIMENT when the paper uses NTD intended to capture how individuals or groups perceive and interpret epidemic-related developments and interventions. This category includes social-media, crowdsourced, app-based, and online-panel data used to track behaviour or perceptions rather than clinical infections. Conventional epidemiological surveys remain TRADITIONAL.

NON_TRADITIONAL_ECONOMIC when a paper uses digitally captured or platform-mediated data describing the economic activity of individuals, groups, or organisations. This category includes credit and debit card transaction data, open procurement/contracting data, and supply chain data.

SYNTHETIC when simulated data are presented as evidence and support for claims. We do not assign SYNTHETIC when simulations are used solely to illustrate model fit or calibration. Examples include simulation-based evaluation of policy scenarios, model-based counterfactual projections, and sensitivity analyses where simulated outcomes support the main claim (versus a purely illustrative fit plot, for which we do not assign the label). The distinction depends on whether what is produced is considered data at all, rather than on whether it is synthetic.

NO_EMPIRICAL_DATA when the paper relies on neither an empirical dataset nor simulated data as evidence. Examples include a conceptual commentary on containment approaches without data and a theoretical derivation of a model without fitting or empirical evaluation.

Paper type labelling

PAPER_TYPE classifies each document by the kind of scientific contribution it makes to epidemiological parameter estimation. Epidemiological research integrates multiple tasks (collecting data, inferring parameters, and making forecasts) within a single workflow. While usually focused around a main contribution, papers combine different types of contributions. We handle this by distinguishing between a paper’s primary contribution (the main scientific claim or deliverable) and any secondary contributions (supporting tasks that enable or accompany the main contribution). We therefore assign a primary label and may assign additional secondary labels as needed. The same label set is used for both primary and secondary contributions.

EMPIRICAL. The contribution is based on original empirical data collection, where claims rely on direct measurement from a clearly defined study population or sample. Examples: observational cohort studies, case–control studies, cross-sectional surveys, randomised trials, surveillance reports, or data papers describing new datasets.

INFERENCE. The contribution involves estimating parameters or reconstructing unobserved epidemic processes by fitting explicit statistical or mechanistic models to observed data. Results depend on model structure and assumptions, not on direct measurement alone. Examples: papers estimating R0R_0 or generation time from case data, reconstructing transmission chains, performing phylodynamic inference, or estimating seroconversion rates from serological surveys.

FORECAST. The contribution is prediction or scenario analysis: forward projections of epidemic trends, comparisons of intervention scenarios, or counterfactual simulations. The outputs are projected future outcomes or policy comparisons under stated assumptions. Examples: epidemic projections for policy planning, intervention scenario comparisons, or real-time forecasting submissions.

SYNTHESIS. The contribution is a systematic synthesis of existing evidence using predefined search, selection, and appraisal criteria (e.g., meta-analyses or PRISMA-compliant systematic reviews). Examples: quantitative meta-analyses pooling estimates across studies, or systematic reviews synthesising evidence on transmission parameters or intervention effectiveness.

METHODOLOGICAL. The contribution is the development, evaluation, or comparison of methods: new estimators, inference frameworks, identifiability analyses, software tools, or theoretical results about epidemic processes. Examples: papers proposing new inference algorithms, proving identifiability results, developing software packages, or obtaining analytical results on epidemic thresholds.

COMMENTARY. The contribution is discussion or interpretation without presenting new empirical estimates, model-based inference, or systematic evidence synthesis. Examples include narrative literature reviews, perspective pieces on research priorities, and policy commentaries.

We use OTHER when a paper does not fit any of the categories above. In our analysis, we focus on the main contribution, making this a single-label classification task. Secondary contributions are recorded but not used in the evaluation.

Supplementary results and diagnostics

This appendix provides the detailed quantitative results that support § 4. Results for the fully local workflow use all 214 manually labelled papers, except in Table D7 and Table D8 and Figure D1, which restrict it to the 122 openly licensed papers (Section B.5) so that it can be compared with the served models on the same papers. On these 122 papers, every method is scored, so comparisons are paired. Unless stated otherwise, values are mean ±\pm SD across R=5R=5 repeated runs.

Metricfully local (bge-m3), T=0.0T=0.0fully local (bge-m3), T=1.0T=1.0partially local (Gemini index), T=0.0T=0.0partially local (Gemini index), T=1.0T=1.0
Geography
Jaccard0.892±0.0000.892 \pm0.0000.894±0.0170.894 \pm0.0170.890±0.0000.890 \pm0.0000.9030±0.00930.9030 \pm0.0093
Micro precision0.827±0.0000.827 \pm0.0000.852±0.0140.852 \pm0.0140.815±0.0000.815 \pm0.0000.860±0.0130.860 \pm0.013
Micro recall0.928±0.0000.928 \pm0.0000.928±0.0220.928 \pm0.0220.921±0.0000.921 \pm0.0000.919±0.0210.919 \pm0.021
Micro F1_10.875±0.0000.875 \pm0.0000.888±0.0140.888 \pm0.0140.865±0.0000.865 \pm0.0000.8887±0.00470.8887 \pm0.0047
Macro precision0.794±0.0000.794 \pm0.0000.829±0.0180.829 \pm0.0180.792±0.0000.792 \pm0.0000.8392±0.00980.8392 \pm0.0098
Macro recall0.886±0.0000.886 \pm0.0000.882±0.0450.882 \pm0.0450.873±0.0000.873 \pm0.0000.861±0.0400.861 \pm0.040
Macro F1_10.824±0.0000.824 \pm0.0000.839±0.0330.839 \pm0.0330.808±0.0000.808 \pm0.0000.835±0.0180.835 \pm0.018
Subset accuracy0.844±0.0000.844 \pm0.0000.852±0.0160.852 \pm0.0160.844±0.0000.844 \pm0.0000.8623±0.00900.8623 \pm0.0090
Data access.
Jaccard0.536±0.0000.536 \pm0.0000.500±0.0400.500 \pm0.0400.553±0.0000.553 \pm0.0000.525±0.0220.525 \pm0.022
Micro precision0.564±0.0000.564 \pm0.0000.538±0.0280.538 \pm0.0280.569±0.0000.569 \pm0.0000.559±0.0140.559 \pm0.014
Micro recall0.630±0.0000.630 \pm0.0000.614±0.0260.614 \pm0.0260.660±0.0000.660 \pm0.0000.632±0.0210.632 \pm0.021
Micro F1_10.595±0.0000.595 \pm0.0000.573±0.0260.573 \pm0.0260.611±0.0000.611 \pm0.0000.593±0.0120.593 \pm0.012
Macro precision0.434±0.0000.434 \pm0.0000.422±0.0190.422 \pm0.0190.439±0.0000.439 \pm0.0000.454±0.0440.454 \pm0.044
Macro recall0.511±0.0000.511 \pm0.0000.513±0.0200.513 \pm0.0200.519±0.0000.519 \pm0.0000.533±0.0490.533 \pm0.049
Macro F1_10.447±0.0000.447 \pm0.0000.441±0.0190.441 \pm0.0190.438±0.0000.438 \pm0.0000.458±0.0360.458 \pm0.036
Subset accuracy0.352±0.0000.352 \pm0.0000.290±0.0610.290 \pm0.0610.377±0.0000.377 \pm0.0000.320±0.0380.320 \pm0.038
Data type
Jaccard0.907±0.0000.907 \pm0.0000.9051±0.00890.9051 \pm0.00890.929±0.0000.929 \pm0.0000.927±0.0100.927 \pm0.010
Micro precision0.930±0.0000.930 \pm0.0000.921±0.0110.921 \pm0.0110.939±0.0000.939 \pm0.0000.945±0.0110.945 \pm0.011
Micro recall0.905±0.0000.905 \pm0.0000.909±0.0100.909 \pm0.0100.939±0.0000.939 \pm0.0000.928±0.0100.928 \pm0.010
Micro F1_10.917±0.0000.917 \pm0.0000.9151±0.00880.9151 \pm0.00880.939±0.0000.939 \pm0.0000.9362±0.00890.9362 \pm0.0089
Macro precision0.371±0.0000.371 \pm0.0000.413±0.0530.413 \pm0.0530.414±0.0000.414 \pm0.0000.401±0.0210.401 \pm0.021
Macro recall0.386±0.0000.386 \pm0.0000.484±0.0660.484 \pm0.0660.418±0.0000.418 \pm0.0000.396±0.0280.396 \pm0.028
Macro F1_10.372±0.0000.372 \pm0.0000.418±0.0490.418 \pm0.0490.416±0.0000.416 \pm0.0000.395±0.0240.395 \pm0.024
Subset accuracy0.844±0.0000.844 \pm0.0000.839±0.0190.839 \pm0.0190.877±0.0000.877 \pm0.0000.869±0.0150.869 \pm0.015
Paper type
Jaccard0.795±0.0000.795 \pm0.0000.793±0.0160.793 \pm0.0160.811±0.0000.811 \pm0.0000.800±0.0160.800 \pm0.016
Micro precision0.795±0.0000.795 \pm0.0000.793±0.0160.793 \pm0.0160.811±0.0000.811 \pm0.0000.800±0.0160.800 \pm0.016
Micro recall0.795±0.0000.795 \pm0.0000.793±0.0160.793 \pm0.0160.811±0.0000.811 \pm0.0000.800±0.0160.800 \pm0.016
Micro F1_10.795±0.0000.795 \pm0.0000.793±0.0160.793 \pm0.0160.811±0.0000.811 \pm0.0000.800±0.0160.800 \pm0.016
Macro precision0.783±0.0000.783 \pm0.0000.67±0.100.67 \pm0.100.724±0.0000.724 \pm0.0000.615±0.0240.615 \pm0.024
Macro recall0.790±0.0000.790 \pm0.0000.677±0.0920.677 \pm0.0920.830±0.0000.830 \pm0.0000.711±0.0150.711 \pm0.015
Macro F1_10.724±0.0000.724 \pm0.0000.600±0.0940.600 \pm0.0940.715±0.0000.715 \pm0.0000.611±0.0220.611 \pm0.022
Subset accuracy0.795±0.0000.795 \pm0.0000.793±0.0160.793 \pm0.0160.811±0.0000.811 \pm0.0000.800±0.0160.800 \pm0.016

Table D7. Full agreement-metric profile of the self-hosted open-weight backend.

The fully local workflow

We run the Paper Classifier with qwen2.5:32b-instruct, served locally through Ollama [60], with a retrieval index built locally with BAAI/bge-m3, so parsing, embedding, retrieval, and generation in the classification workflow require no remote service. All other components are those of § 3.3: the same GROBID parses, dense retrieval with workflow_top_k=15, prompts, schema-constrained decoding, and R=5R=5 repeats. No prompt reached Qwen’s context window of 32,768 tokens: the recorded prompts are at most 12,090 tokens long on the evaluation set, 18,464 in the corpus-scale run of § 4.3, and 22,771 in the whole-body condition of § 4.2.3. Table D1 reports the full metric profile on all 214 papers. For the single-label paper-type task, micro-averaged scores coincide with subset accuracy. The macro-averaged scores are lower than the corresponding micro-averaged scores, showing sensitivity to uneven class support. Section D.3 gives per-label F1_1 on the 122 openly licensed papers. On data type, the majority floor has macro- and macro-averaged F1_1 of 0.851 and 0.138 on the same 214 papers, compared with 0.871 and 0.338 for the fully local workflow at T=0T=0. The higher macro score reflects detection of some labels beyond the majority set on this sample, although several labels have too few examples for precise per-label estimates.

The local workflow was exactly repeatable at T=0T=0 in our experiments. Across five independent executions, it returned identical label sets for every paper on all four axes, and the repeats also agree on the generated text, retrieved evidence, and recorded prompt and completion token counts. Exact repeatability disappears at T=1T=1, without a consistent gain in accuracy. Our runner sent one request at a time, so we computed each request in its own batch, removing what He and Thinking Machines Lab [45] identify as the main source of run-to-run variation at T=0T=0. Exact repeatability is therefore a property of the deployment tested here rather than a general guarantee of self-hosting: serving concurrent requests, or changing kernels or numerical precision, can reintroduce variation even under greedy decoding. The experiment shows that controlling sampling and serving end to end was sufficient to achieve exact repeatability on this hardware and software stack, which is useful for an audit trail that may need to be regenerated later.

Served backends on the openly licensed papers

On the 122 openly licensed papers, Table D5 gives the mean Jaccard of each served configuration with its bootstrap interval, Table D6 the full set of agreement metrics, and Table D2 the run-to-run stability of every configuration. The served configurations are gemini-2.5-pro and gemini-2.5-flash at T=0T=0 and T=1T=1; both retrieve with gemini-embedding-001. Temperature has little systematic effect on mean Jaccard for the served models.

TaskFloorgemini-2.5-progemini-2.5-flash
MajorityT=0T=0T=1T=1T=0T=0T=1T=1
Geography0.4160.936 0.89–0.970.936 0.89–0.970.890 0.84–0.930.883 0.83–0.92
Data access.0.4740.778 0.72–0.830.747 0.69–0.800.642 0.57–0.710.657 0.60–0.71
Data type0.8700.968 0.94–0.980.958 0.92–0.980.934 0.90–0.960.931 0.89–0.96
Paper type0.6150.877 0.82–0.920.885 0.83–0.920.843 0.78–0.890.856 0.80–0.90

Table D5. Accuracy of the served backends.

Metricgemini-2.5-pro, T=0.0T=0.0gemini-2.5-pro, T=1.0T=1.0gemini-2.5-flash, T=0.0T=0.0gemini-2.5-flash, T=1.0T=1.0
Geography
Jaccard0.9355±0.00150.9355 \pm0.00150.9358±0.00320.9358 \pm0.00320.8903±0.00920.8903 \pm0.00920.883±0.0120.883 \pm0.012
Micro precision0.8840±0.00890.8840 \pm0.00890.8898±0.00890.8898 \pm0.00890.810±0.0130.810 \pm0.0130.774±0.0290.774 \pm0.029
Micro recall0.964±0.0000.964 \pm0.0000.964±0.0000.964 \pm0.0000.9496±0.00720.9496 \pm0.00720.9496±0.00510.9496 \pm0.0051
Micro F10.9223±0.00480.9223 \pm0.00480.9254±0.00480.9254 \pm0.00480.874±0.0100.874 \pm0.0100.852±0.0200.852 \pm0.020
Macro precision0.760±0.0100.760 \pm0.0100.767±0.0100.767 \pm0.0100.698±0.0120.698 \pm0.0120.658±0.0280.658 \pm0.028
Macro recall0.814±0.0000.814 \pm0.0000.814±0.0000.814 \pm0.0000.783±0.0160.783 \pm0.0160.783±0.0110.783 \pm0.011
Macro F10.7807±0.00550.7807 \pm0.00550.7847±0.00550.7847 \pm0.00550.717±0.0190.717 \pm0.0190.691±0.0290.691 \pm0.029
Subset accuracy0.9082±0.00370.9082 \pm0.00370.9066±0.00450.9066 \pm0.00450.834±0.0110.834 \pm0.0110.828±0.0160.828 \pm0.016
Data Accessibility
Jaccard0.778±0.0280.778 \pm0.0280.747±0.0170.747 \pm0.0170.642±0.0210.642 \pm0.0210.657±0.0120.657 \pm0.012
Micro precision0.808±0.0220.808 \pm0.0220.778±0.0170.778 \pm0.0170.661±0.0170.661 \pm0.0170.671±0.0140.671 \pm0.014
Micro recall0.800±0.0360.800 \pm0.0360.777±0.0180.777 \pm0.0180.716±0.0170.716 \pm0.0170.741±0.0280.741 \pm0.028
Micro F10.804±0.0290.804 \pm0.0290.778±0.0170.778 \pm0.0170.687±0.0160.687 \pm0.0160.704±0.0200.704 \pm0.020
Macro precision0.721±0.0220.721 \pm0.0220.690±0.0290.690 \pm0.0290.617±0.0220.617 \pm0.0220.607±0.0240.607 \pm0.024
Macro recall0.743±0.0350.743 \pm0.0350.728±0.0300.728 \pm0.0300.7526±0.00790.7526 \pm0.00790.757±0.0360.757 \pm0.036
Macro F10.716±0.0240.716 \pm0.0240.691±0.0250.691 \pm0.0250.653±0.0140.653 \pm0.0140.649±0.0170.649 \pm0.017
Subset accuracy0.682±0.0240.682 \pm0.0240.643±0.0250.643 \pm0.0250.507±0.0220.507 \pm0.0220.5000±0.00580.5000 \pm0.0058
Data Type
Jaccard0.968±0.0110.968 \pm0.0110.9582±0.00390.9582 \pm0.00390.9337±0.00590.9337 \pm0.00590.931±0.0100.931 \pm0.010
Micro precision0.963±0.0100.963 \pm0.0100.9523±0.00540.9523 \pm0.00540.9059±0.00720.9059 \pm0.00720.910±0.0140.910 \pm0.014
Micro recall0.9837±0.00910.9837 \pm0.00910.9769±0.00370.9769 \pm0.00370.9823±0.00370.9823 \pm0.00370.9741±0.00890.9741 \pm0.0089
Micro F10.9731±0.00950.9731 \pm0.00950.9644±0.00450.9644 \pm0.00450.9426±0.00530.9426 \pm0.00530.9409±0.00740.9409 \pm0.0074
Macro precision0.687±0.0670.687 \pm0.0670.628±0.0960.628 \pm0.0960.585±0.0810.585 \pm0.0810.516±0.0940.516 \pm0.094
Macro recall0.729±0.0900.729 \pm0.0900.670±0.0780.670 \pm0.0780.684±0.0380.684 \pm0.0380.635±0.0890.635 \pm0.089
Macro F10.675±0.0840.675 \pm0.0840.618±0.0800.618 \pm0.0800.583±0.0530.583 \pm0.0530.524±0.0830.524 \pm0.083
Subset accuracy0.943±0.0180.943 \pm0.0180.9279±0.00690.9279 \pm0.00690.877±0.0100.877 \pm0.0100.875±0.0170.875 \pm0.017
Paper Type
Jaccard0.877±0.0160.877 \pm0.0160.885±0.0200.885 \pm0.0200.8426±0.00690.8426 \pm0.00690.856±0.0150.856 \pm0.015
Micro precision0.877±0.0160.877 \pm0.0160.885±0.0200.885 \pm0.0200.8426±0.00690.8426 \pm0.00690.856±0.0150.856 \pm0.015
Micro recall0.877±0.0160.877 \pm0.0160.885±0.0200.885 \pm0.0200.8426±0.00690.8426 \pm0.00690.856±0.0150.856 \pm0.015
Micro F10.877±0.0160.877 \pm0.0160.885±0.0200.885 \pm0.0200.8426±0.00690.8426 \pm0.00690.856±0.0150.856 \pm0.015
Macro precision0.75±0.110.75 \pm0.110.84±0.110.84 \pm0.110.644±0.0120.644 \pm0.0120.669±0.0420.669 \pm0.042
Macro recall0.790±0.0650.790 \pm0.0650.891±0.0900.891 \pm0.0900.7247±0.00650.7247 \pm0.00650.745±0.0980.745 \pm0.098
Macro F10.763±0.0810.763 \pm0.0810.86±0.100.86 \pm0.100.6404±0.00800.6404 \pm0.00800.667±0.0610.667 \pm0.061
Subset accuracy0.877±0.0160.877 \pm0.0160.885±0.0200.885 \pm0.0200.8426±0.00690.8426 \pm0.00690.856±0.0150.856 \pm0.015

Table D6. Aggregate agreement metrics by task and configuration.

Mean with the standard deviation across R=5R=5 repeated runs shown as a subscript, on all 214 evaluation papers, for qwen2.5:32b-instruct served by Ollama with a BAAI/bge-m3 index built on the same machine. For the single-label paper-type task, micro-averaged scores coincide with subset accuracy. All T=0T=0 standard deviations are exactly zero: the five repeats return identical label sets for every paper.

Percentage of papers whose predicted label set was identical across five repeated runs under each configuration. A prediction is considered stable if the full label set is unchanged across runs. The Qwen2.5-32B columns are the self-hosted backend of Section D.1: fully local embeds the index locally with BAAI/bge-m3, while partially local reuses the Gemini-embedded index. Both are perfectly stable at T=0T=0, returning an identical label set for every paper across all five repeats. Gemini pro and Gemini flash are gemini-2.5-pro and gemini-2.5-flash. The majority floor is omitted here because it is deterministic.

Sample-averaged Jaccard similarity JJ on the 122 openly licensed evaluation papers. Body? indicates whether parsed body text is required. No generally means title and abstract, while the majority floor uses no text. Task sup. records the task-specific input used to construct or fit the method: None uses no labelled papers, Weak uses a class prior, seeds, or partial paper labels, and Manual uses a fully manually labelled training set. All scores use the same manual labels. Prototype rows contrast uncalibrated similarity with threshold calibration. BERTopic uses the best topic count and oracle cluster-to-label alignment. Best supervised is the per-task maximum over the supervised grid. Both are favourable descriptive upper bounds rather than single deployable configurations. The supervised grid is recorded only as a summary over all 214 labelled papers, so its ceiling is not shown on this subset. For EpiLens, the mean is over R=5R=5 runs at T=0T=0, with its 95% bootstrap interval over papers beneath it, as in Table D5. Other rows are deterministic evaluations or cross-validated estimates. Scores are rounded to three decimals. Paired tests are reported in Table D4. Full method specifications are given in Section E.

Each cell is the mean per-paper Jaccard difference (EpiLens minus the baseline) on the N=122N=122 openly licensed evaluation papers. A marker (*) denotes a Holm-adjusted pp-value below 0.05 across eight comparisons per task. All eight comparisons in the correction are shown. The majority floor is shown for reference: it predicts the most common label set of the manual labels, which EpiLens does not see, and its row tests whether JJ exceeds what label skew alone gives. It enters the Holm correction, which can only make the other comparisons more conservative, never less. Tests use B=10,000B=10{,}000 paired BCa resamples (Section E.4). They hold the manual labels, predictions, and configurations fixed. The topic-model and Best supervised rows of Table D3 are descriptive because their alignment or configuration was selected using the evaluation papers. Prototype rows are reported as diagnostics and are not tested here.

Mean Jaccard similarity on the 122 openly licensed evaluation papers over R=5R=5 runs per configuration. The subscript is a 95% bootstrap interval over papers (BCa, B=10,000B=10{,}000), computed after averaging each paper’s score over the runs: it shows how precisely these papers determine the score. Each interval describes one configuration; methods are compared with the paired tests of Section E.4. Run-to-run standard deviations are in Table D6. The Floor column (set off on the left) is the majority-class baseline, a single deterministic value included as a reference point for reading the scores. Paper type is a single-label task. The remaining tasks are multi-label.

Computed on the 122 openly licensed evaluation papers. Values are mean with the standard deviation as a subscript, across R=5R=5 repeated runs.

Table D7 adds a partially local configuration, in which the local generator retrieves from the Gemini-embedded index used by the served models. Because the two indices use different encoders, they can retrieve different evidence, so we treat their comparison as a comparison between deployment setups rather than a measure of embedding quality. On these papers, the fully local configuration is lower than the partially local one in seven of the eight task–temperature pairs, by at most 0.025, so removing the remote embedding dependency costs little here.

Mean with the standard deviation across R=5R=5 repeated runs shown as a subscript, on the 122 openly licensed evaluation papers. All four columns generate with qwen2.5:32b-instruct run locally through Ollama under the identical workflow, and use schema-constrained decoding. The fully local pair embeds the retrieval index with BAAI/bge-m3 on the same machine, so the pipeline makes no remote call at any stage. The partially local pair reuses the Gemini-embedded index shared with the served-backend runs. Within each pair the columns differ only in sampling temperature. For the single-label paper-type task, micro-averaged scores coincide with subset accuracy. All T=0T=0 standard deviations are exactly zero: the five repeats return identical label sets for every paper.

Figure D1 repeats the ablation of § 4.2.3 with gemini-2.5-flash and the local workflow on the same 122 papers, and Table D3 and Table D4 repeat the comparison with the baselines.

Per-label F1

Table D8 gives the F1F_1 of each label at T=0T=0 on the openly licensed papers, with the number of papers that carry it. On data type, the Jaccard similarity is dominated by Traditional (118 of the 122 papers), which every backend labels with an F1F_1 of at least 0.974, whereas Simulated ranges from 0.829 for the local workflow to 0.979 for Pro, and the rarer labels occur in at most two papers. On data accessibility, no backend exceeds 0.42 on Not stated.

Corpus-scale classification

The corpus-level analyses of § 4.3 and § 4.4 use one fully local run over all 2,297 papers at T=0T=0 on the three axes used there. Once the corpus had been assembled, no stage of this classification pass contacted a remote service. Figure D2 shows the resulting distributions.

F1F_1 of each label against the manual labels on the 122 openly licensed evaluation papers at T=0T=0: the mean over five runs, with the standard deviation as a subscript. nn is the number of papers that carry the label in the manual labels. Labels that never occur there are not shown. Pro and Flash are gemini-2.5-pro and gemini-2.5-flash, and Qwen (local) is the fully local qwen2.5:32b-instruct configuration, whose repeats are identical. For labels carried by few papers, F1F_1 rests on a handful of decisions.

The full corpus has no manual labels, but the labelled sample is drawn from the same corpus and shows how the model’s shares relate to the annotator’s. On that sample, the manual-label share of Empirical papers is 59.3%, against 70.1% in the local model’s corpus-scale run, so the corpus share of 69.4% is likely an overestimate of roughly the same size. The same model detects model-based and simulated-data papers less often than the annotator (Section F). The labelled sample therefore helps interpret the direction of aggregate shares, but only the evaluation-set accuracy metrics support model comparisons at paper level.

Stability and error diagnostics

Aggregate scores alone do not show whether different models perform poorly on the same papers. For a fixed task and temperature, we define the ever-wrong set EE for a model as the papers for which at least one of the R=5R=5 runs differs from the complete manual label set. This diagnostic is conditional on five repeats: with more repeats, a paper has more opportunities to enter EE. We quantify the overlap and containment of the ever-wrong sets for gemini-2.5-pro and gemini-2.5-flash on the 122 openly licensed papers.

For each task, EE is the set of papers that are incorrectly labelled in at least one of the R=5R=5 runs. For multi-label tasks, incorrect means that the predicted label set is not an exact match to the manual label set. ∣Epro∣|E_{\mathrm{pro}}| and ∣Eflash∣|E_{\mathrm{flash}}| report ever-wrong set sizes for the two backends. ∣E∩∣|E_{\cap}| reports overlap. The last two columns divide it by the corresponding backend’s ever-wrong set size.

Table D9 and Table D10 show that the ever-wrong sets overlap substantially. For geography, data type, and data accessibility, most papers that are ever misclassified by Pro also appear in Flash’s ever-wrong set. The two models therefore tend to share a subset of difficult papers on these axes. Containment is substantially lower for paper type, indicating that disagreement on this task is more model-specific. These patterns motivate using persistent errors or cross-model disagreement as additional signals. Definitions as in Table D9.

Task∣Epro∣|E_{\mathrm{pro}}|∣Eflash∣|E_{\mathrm{flash}}|∣E∩∣|E_{\cap}|∣E∩∣/∣Epro∣|E_{\cap}|/|E_{\mathrm{pro}}|∣E∩∣/∣Eflash∣|E_{\cap}|/|E_{\mathrm{flash}}|
Geography12231191.7%47.8%
Data type1118981.8%50.0%
Data accessibility57724680.7%63.9%
Paper type24261145.8%42.3%

Table D9. Containment of ever-wrong sets at T=0.0T=0.0.

Task∣Epro∣|E_{\mathrm{pro}}|∣Eflash∣|E_{\mathrm{flash}}|∣E∩∣|E_{\cap}|∣E∩∣/∣Epro∣|E_{\cap}|/|E_{\mathrm{pro}}|∣E∩∣/∣Eflash∣|E_{\cap}|/|E_{\mathrm{flash}}|
Geography14301392.9%43.3%
Data type152315100.0%65.2%
Data accessibility71936490.1%68.8%
Paper type24351666.7%45.7%

Table D10. Containment of ever-wrong sets at T=1.0T=1.0.

for identifying papers that merit targeted retrieval, prompt refinement, or manual inspection.

Comparison baselines

This appendix details the methods, configurations, and statistical comparisons behind the baseline results in § 4.2.4 and Table 3. The families vary fundamentally in what they require and what they measure, so they are read here not as a homogeneous leaderboard but as a map of what each kind of method can and cannot do on this task.

The bottom line is this: without labelled training data, the fully local EpiLens leads the tested baselines on geography and paper type and is close to the supervised ones on data type and data accessibility, where served models lead them (Section D.2). Body text matters most where the relevant evidence lies outside the title and abstract: the gain over the abstract-only LLM with the same model is largest on data accessibility as well as paper type, and targeted retrieval matters most for data accessibility (§ 4.2.3). On geography, whose signal is largely in the title and abstract, that gain is smaller, although the margins over the supervised baselines are the largest of any axis (Table E1).

The design space and the methods we compare

Classifying a literature into analytically useful categories admits methods that differ along two requirements that are easy to conflate (Figure E1): whether the category scheme is specified by the analyst or discovered from the corpus, and whether the method needs manually labelled training examples before it can be applied.

Design space of methods for classifying scientific literature, showing topic models, zero-shot classifiers, semi-supervised topic models, and supervised classifiers across corpus-inferred and analyst-specified categories and no-training-label versus labelled-paper requirements

Figure E1. The design space of methods for classifying scientific literature. The map separates two choices: where the categories come from and whether the method requires a labelled training set before use. EpiLens occupies the analyst-specified, annotation-free cell: categories are written as natural-language descriptions and applied without task-specific training labels, and retrieval then grounds those decisions in paper evidence.

Unsupervised and guided topic models (latent semantic analysis (LSA) [61], probabilistic latent semantic analysis (PLSA) [62], latent Dirichlet allocation (LDA) [63], non-negative matrix factorisation (NMF) [64], standard BERTopic [65], and seed-guided variants) need no labelled papers but infer themes from the corpus rather than applying a predefined scheme. They answer what structure a literature happens to exhibit, not how its papers fall under a fixed scheme. Semi-supervised topic-model variants occupy a different position: they can use labelled papers to steer topic discovery, but their output remains corpus-inferred topics instead of direct predictions following the analyst’s coding scheme.

Supervised classifiers learn an analyst-specified scheme from labelled papers by pairing a representation of the document with a trained classifier head. Rather than designate a single representative, we name three representative points in that space, plus a calibrated prototype as the most minimal use of labels. TF-IDF + SVM, a term-frequency–inverse-document-frequency representation [66] (each word weighted by how distinctive it is to a document) fed to a linear support vector machine [67], is the classic lexical anchor. SetFit [68], which fine-tunes a sentence-embedding model on the labelled examples, is the fine-tuned neural representative. ModernBERT [69], an 8,192-token long-context encoder applied to the parsed body text (overflow handled by window pooling), is the long-context body-text representative. The calibrated prototype tunes only a single decision threshold. The full representation ×\times text-scope ×\times classifier-head grid behind these named points is swept in Section E.5.

Off-the-shelf zero-shot classifiers apply analyst-specified category descriptions without task-specific training labels. In the NLI formulation, the input text is treated as a premise, and each candidate label is verbalised as a hypothesis. The model then scores whether the premise entails the hypothesis [70]. In our runs, the premise is the paper title and abstract. This is consistent with the standard usage mode for zero-shot NLI classifiers. We do not use the full paper as premise because standard NLI models have a finite input window for scoring premise-hypothesis pairs, which scientific papers often exceed. We also evaluate a prototype similarity approach for zero-shot classification, which represents each label by a single prototype vector (the embedding of its description) and assigns the labels whose prototypes are closest to the paper’s own embedding.

EpiLens’s Paper Classifier occupies the position the others leave awkward: analyst-specified categories, revisable as text, applied with no training labels, and grounded in full-document evidence through retrieval. A majority prior (always predicting the most common label set) provides a reference floor. Figure E1 maps these families and EpiLens’s place among them. The next section records how each method is configured and the role it plays. We then position them by what each requires against the accuracy it reaches.

Configuration and role of each method

Having placed each family in the design space (Section E.1), we now give the configuration and role of each method, grouped by family, so the comparisons that follow can be read against a fully specified set of baselines. The majority prior sits outside these families as a reference floor rather than a method: it always predicts the most frequent label set (estimated leave-one-out to avoid leakage from the target paper’s own label), and marks how much apparent performance follows from label skew alone.

Zero-shot baselines

Zero-shot classifier baselines assign papers to an analyst-specified label set without training on manually annotated task instances. Here we use the term for two retrieval-free, annotation-free classifiers: a prototype-similarity classifier whose label representations are built from the coding protocol, and an off-the-shelf NLI classifier that scores verbalised label hypotheses against the paper metadata. Both operate on title and abstract only. Calibrated variants that tune thresholds on manual labels are reported with the supervised baselines.

Prototype similarity.

Each label is represented by a prototype vector: the embedding of its definition text where the coding protocol provides one (paper type, data type, data accessibility), and of the label name otherwise (geography). At inference, the paper’s title and abstract are embedded in the same space and scored by cosine similarity to each prototype. We use two representations: a sparse TF-IDF space and a dense one from allenai-specter, a sentence transformer trained on scientific-paper pairs. The choice of representation matters for what “similarity” means. With TF-IDF, the label prototype is essentially its own words, so the method boils down to lexical overlap between the abstract and the label text. For geography, where the prototype is just the continent name, this is close to detecting whether the abstract literally mentions that region. The dense SPECTER prototype relaxes this to semantic similarity, which is why it helps on the axes with descriptive definitions more than on the name-only geography axis. Assignment uses a relative rule rather than a single absolute cutoff: a label is kept if its similarity is at least a fraction rrel=0.92r_{\mathrm{rel}}=0.92 of the top-scoring label’s similarity, above an absolute floor τ≥0.03\tau\ge0.03, and among the top three. The uncalibrated regime uses these defaults and needs no labels, so it is a genuinely annotation-free zero-shot baseline. The calibrated regime instead selects the absolute floor τ\tau per fold by 5-fold cross-validation (maximising mean Jaccard on the other folds, over a grid of score quantiles that includes the default), holding the relative rule fixed. This uses labels, so it counts as a minimal supervised method reported with the supervised baselines. Because the default is among the candidates, calibration cannot underperform it on the selection folds, though held-out performance may still be lower. Calibration recovers part of the gap on the multi-label tasks (Table 3). Paper type, single-label and decided by arg-max, has no threshold to tune. Even when calibrated, the prototype stays below discriminative supervised classifiers because a single global acceptance rule cannot capture per-label classification boundaries.

Zero-shot NLI entailment.

Following the standard zero-shot text-classification recipe [70], each candidate label is framed as a natural-language-inference hypothesis (“This paper is about {label}.”), and an NLI-fine-tuned DeBERTa-v3-base checkpoint (MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli [71, 72]) scores the entailment of each hypothesis against the paper’s title and abstract. Labels clearing an entailment threshold are kept (the highest-scoring label for the single-label paper type task). This is the most direct off-the-shelf occupant of EpiLens’s design-space quadrant (analyst-specified yet annotation-free), but, as we run it, it reads only the title and abstract and reasons one label at a time. Its behaviour varies widely across axes. We analyse why in Section E.3.1. This unevenness does not seem to stem from an obviously weak hypothesis template. We tested a task-specific template (“This paper uses label data”), but it did not recover Traditional and increased over-prediction of non-traditional labels. Replacing label names with one-sentence definitions from the coding protocol (Section C) also lowered scores on most tasks, suggesting that the NLI model is sensitive to hypothesis wording and does not reliably apply the full coding protocol from metadata alone. We therefore report the stronger label-name variant.

Guided and semi-supervised topic-model baselines

Guided and semi-supervised BERTopic.

BERTopic represents documents with transformer embeddings, clusters them in a reduced space, and labels each cluster with class-based TF–IDF descriptors [65]. Its native output is a set of corpus-inferred topics, not assignments to an analyst-defined taxonomy. In its plain, unlabelled form, it is therefore a pure corpus-structure probe: it asks how far each axis separates from corpus-level vocabulary structure with no label information at all. In that form, BERTopic is one of the topic models in the corpus-structure audit (Section E.6), which is where we report that recoverability question.

The guided and semi-supervised variants differ in the kind of analyst input they consume. The guided variant supplies seed terms drawn from each label definition, biasing topic discovery toward the target concepts while leaving the discovered topics free to merge, split, or ignore the labels. It therefore uses analyst guidance but not labelled training papers. The semi-supervised variant instead passes the manual labels of the training papers, using partial document-level supervision to steer the clustering. For this reason, the two variants occupy different rows of Figure E1. Guided BERTopic remains annotation-free with respect to paper labels and belongs with the topic-model family: the analyst supplies seeds, but the emitted topics remain corpus-inferred and must be interpreted or aligned after the fact. Semi-supervised BERTopic belongs in the labelled-papers row, because it consumes manual labels for training papers, but it still remains in the corpus-inferred column rather than the analyst-specified classifier column: labels steer the clustering, whereas the output is still a set of topics that need not correspond one-to-one to the coding scheme. The contrast with supervised classifiers is therefore not whether labels can influence the method, but how they enter: a supervised head learns a decision boundary that maps text directly onto the fixed label set, whereas guided or semi-supervised topic modelling uses seeds or labels to bias topic discovery.

These topic-model variants answer a different question from EpiLens: not whether a fixed coding protocol can be applied directly to each paper, but whether the label axes match separable corpus structure once discovery is nudged toward the target concepts. We report these guided and semi-supervised topic-model variants in Table 3. To avoid tying the comparison to a single topic granularity, we sweep the requested number of topics over K∈{0.5,1,2,4}×∣L∣K \in\{0.5, 1, 2, 4\} \times\lvert\mathcal{L}\rvert and report the best-aligned configuration.

Supervised baselines

Supervised baselines all follow one recipe: pair a representation of the text with a trained classifier head, fit on the manual labels under cross-validation. Within that recipe, they differ in one methodologically important way, where the label signal enters. In most of them, the representation is fixed independently of the labels, either unsupervised (the sparse TF-IDF space) or a frozen pretrained encoder whose weights are never updated, and the labels train only the head on top: there is no gradient path from the head’s loss back to the representation, which reaches the head as a fixed feature matrix. SetFit is the sole exception, letting the labels also reshape the representation by contrastively fine-tuning the encoder before fitting a head on the adapted embeddings. Even there, the encoder and head are fit in separate stages, not by one joint objective, so no baseline here is end-to-end fine-tuned in the sense of gradients flowing through the encoder and classifier together. Jointly training and tuning a full encoder and classifier across four tasks would be disproportionate to an evaluation with only 214 manually labelled papers and would also carry a high risk of overfitting. We surface three named points, and Section 5.5 sweeps the full representation ×\times scope ×\times head grid behind them: TF-IDF + SVM (classic lexical, head-only supervision), SetFit (the one representation-adapting encoder), and ModernBERT (frozen long-context body-text encoder). All are trained and evaluated by cross-validation over the N=214N=214 papers (using iterative multi-label stratification for the set-valued axes where feasible, to balance label prevalence across folds) on the tile+abstract scope shared with the other abstract-scoped methods. ModernBERT is the exception, applied to the parsed body text. We additionally report TF-IDF under leave-one-out as a robustness variant. Together, they show how far label-supervised text classification can go, as a reference for the contribution of retrieval-grounded reasoning.

TF-IDF + SVM.

The classical anchor and simplest instance of the recipe, and a pure case of head-only supervision: a sparse TF-IDF representation of the title and abstract (each term weighted by how distinctive it is to a document), built from corpus term statistics without ever seeing the labels, is fed to a linear support vector machine that is the only trained component, under stratified 5-fold cross validation with leave-one-out as a robustness variant (Table E2). It is the strongest non-neural reference.

ConfigurationPaper typeGeog.Data typeData access.
TF-IDF (title+abstract)
Linear SVM0.713 / 0.7130.592 / 0.6070.854 / 0.8710.533 / 0.538
Logistic Reg.0.706 / 0.6960.593 / 0.5750.881 / 0.8710.528 / 0.514
GB trees0.595 / –0.453 / –0.814 / –0.467 / –
MLP0.696 / –0.599 / –0.856 / –0.558 / –
TF-IDF (full body)
Linear SVM0.724 / 0.7410.615 / 0.6270.881 / 0.8900.590 / 0.583
Logistic Reg.0.694 / 0.7120.600 / 0.5890.862 / 0.8500.555 / 0.566
GB trees0.764 / –0.596 / –0.883 / –0.586 / –
MLP0.748 / –0.651 / –0.888 / –0.619 / –
Frozen mpnet (title+abstract)
Linear SVM0.672 / 0.6930.703 / 0.6860.822 / 0.8170.461 / 0.453
Logistic Reg.0.661 / 0.6810.685 / 0.6830.770 / 0.7830.459 / 0.464
GB trees0.738 / –0.694 / –0.875 / –0.593 / –
MLP0.780 / –0.750 / –0.873 / –0.588 / –
Frozen mpnet (full body)
Linear SVM0.661 / 0.6760.736 / 0.7260.836 / 0.8150.539 / 0.475
Logistic Reg.0.641 / 0.6640.752 / 0.7340.787 / 0.8070.521 / 0.489
GB trees0.750 / –0.724 / –0.898 / –0.612 / –
MLP0.757 / –0.771 / –0.883 / –0.577 / –
Frozen SPECTER (title+abstract)
Linear SVM0.686 / 0.7190.551 / 0.5450.822 / 0.8540.494 / 0.507
Logistic Reg.0.667 / 0.6810.526 / 0.5430.787 / 0.8150.469 / 0.488
GB trees0.720 / –0.555 / –0.861 / –0.574 / –
MLP0.742 / –0.633 / –0.881 / –0.558 / –
Frozen SPECTER (full body)
Linear SVM0.663 / 0.7200.622 / 0.6280.839 / 0.8460.533 / 0.530
Logistic Reg.0.663 / 0.7160.619 / 0.6310.804 / 0.8350.512 / 0.525
GB trees0.778 / –0.627 / –0.887 / –0.593 / –
MLP0.741 / –0.683 / –0.893 / –0.588 / –
ModernBERT (8k) (title+abstract)
Linear SVM0.726 / 0.6930.507 / 0.5430.826 / 0.8340.482 / 0.511
Logistic Reg.0.688 / 0.6780.494 / 0.5380.782 / 0.8270.482 / 0.504
GB trees0.720 / –0.485 / –0.863 / –0.565 / –
MLP0.731 / –0.581 / –0.878 / –0.583 / –
ModernBERT (8k) (full body)
Linear SVM0.702 / 0.7060.591 / 0.6050.829 / 0.8750.495 / 0.524
Logistic Reg.0.700 / 0.7180.595 / 0.6270.822 / 0.8400.472 / 0.504
GB trees0.734 / –0.534 / –0.871 / –0.572 / –
MLP0.785 / –0.652 / –0.864 / –0.577 / –

Table E2. Comprehensive supervised configuration grid.

SetFit.

SetFit [68] is a supervised, label-efficient text-classification method that first fine-tunes a sentence-transformer on pairs of labelled examples with a contrastive objective, then trains a classification head on the resulting embeddings. It is thus the one supervised baseline here in which the labels reach the representation itself, not only the head, though the contrastive fine-tuning and the head are still fit in separate stages rather than by a single joint objective. We use sentence-transformers/all-mpnet-base-v2 as the base encoder and evaluate it under stratified 5-fold cross-validation across the N=214N=214 evaluation papers. We do not use leave-one-out here, since it would need a separate fine-tuning run for each held-out paper. To cap the number of contrastive pairs drawn from our relatively large cross-validation folds, we set num_iterations=2 instead of the default sampling strategy. Text scope is restricted to the title and abstract. This is also the natural scope for the chosen sentence-transformer: all-mpnet-base-v2 is intended for sentence- and short-paragraph embeddings, and its default sentence-transformers configuration truncates inputs longer than a few hundred word pieces. Applying it to the full body would therefore require either truncation or a separate chunk-level pooling rule to aggregate window embeddings into a paper-level prediction.

ModernBERT (body text, long-context encoder).

ModernBERT [69] is a bidirectional encoder trained with a native 8,192-token sequence length, substantially longer than the few-hundred-token windows of the other dense encoders. We apply it as a frozen feature extractor under the same stratified 5-fold protocol as the other supervised baselines, with its weights never updated (as for the other dense encoders here): each body window is encoded with the encoder held fixed, token embeddings are mean-pooled to obtain a window representation, and these fixed representations are passed to a separately trained MLP classification head. For papers whose parsed body fits within the 8,192-token window, this gives a single body-level representation. For longer papers, we encode multiple windows and mean-pool their representations rather than truncating the body (Section E.5). ModernBERT is therefore the supervised baseline with the widest body-text scope, testing how far a frozen long-context encoder’s features, with only the head trained, can go without label-targeted retrieval.

RAG ablation baselines

Three variants of the same workflow (metadata only, random chunks, and the whole body) join full EpiLens in the four-condition ablation of § 4.2.3.

Metadata-only LLM (metadata_llm).

Runs the same language model with the same classification prompts as EpiLens, but replaces retrieved full-text evidence with only the paper’s title and abstract. This directly isolates the contribution of retrieval: any performance gap between this baseline and the full system is attributable to the retrieved body-text passages. It is given the raw parsed metadata (title and abstract) and never any body text, keeping it a clean ablation of retrieval. For the 32 papers with no machine-readable abstract, it therefore sees the title alone, exactly as the other abstract-scoped baselines do. The paper is not skipped, so we score all 214 on the same set as the full-text system.

Random-chunk LLM (random_chunk_llm).

Runs the same model and prompts as the full system, but selects kk body-text passages by uniform random sampling from the per-paper document pool in the vector index rather than by semantic similarity to the template paragraphs. This holds body-text access fixed while ablating retrieval quality, thereby isolating the contribution of targeted retrieval from the contribution of body-text access per se.

Whole-body LLM (full_body_llm).

Runs the same model and prompts, with the same per-paper chunk pool, but passes every body chunk of the paper in document order instead of kk of them, so the prompt holds the whole parsed body (the longest prompts have 22,451 and 22,771 tokens for the two generators, within their context windows). It tests whether selecting passages is needed at all. We ran this condition at T=0T=0 five times with gemini-2.5-flash, reported on the openly licensed papers only (Section B.5), and once with the fully local qwen2.5:32b-instruct, whose full-workflow outputs were identical across five repeats (Section D.1).

Method requirements and performance trade-offs

This comparison is not a leaderboard, but a map of what each approach requires in order to reach a given level of agreement. The relevant trade-off is between annotation effort, text scope, and task flexibility: EpiLens uses analyst-specified categories that can be edited as text, requires no task-specific training labels, and grounds each decision in retrieved body-text evidence. The baseline scores therefore measure not only modelling accuracy, but also what is lost or gained when one removes retrieval, restricts the text scope, or introduces labelled supervision.

Table 3 collects the direct comparison results for the fully local workflow on all 214 papers. The next two subsections compare methods first at title-and-abstract scope and then with access to body text.

To separate model effects from evidence access, we use metadata_llm as the pivot comparison. This baseline keeps EpiLens’s generator and task instructions but restricts the evidence to paper metadata, i.e. the title and abstract. It therefore answers two questions in sequence: first, at title-and-abstract scope, what does an instruction-following LLM buy relative to classical, neural, and zero-shot baselines? Second, what does targeted body-text retrieval add on top?

Comparison at title-and-abstract scope

At title-and-abstract scope, metadata_llm is the cleanest comparison because it uses the same instruction-following backend as EpiLens without targeted body-text retrieval. With the local model, performance (0.659 paper type, 0.807 geography, 0.741 data type, 0.213 data accessibility) shows that the LLM’s benefit at fixed evidence scope is task-dependent rather than uniform.

Where the relevant signal is usually present in the abstract, the metadata-only LLM exceeds the standard abstract-scoped baselines. This is clearest for geography (0.807 vs. TF-IDF + SVM 0.592, SetFit 0.599, NLI 0.709), and it holds against the strongest tuned abstract-scope configuration of the supervised grid (0.750; Table E2). Elsewhere, the labelled baselines do better. On paper type (0.659 vs. 0.713 for TF-IDF + SVM and 0.734 for SetFit) and data type (0.741 vs. 0.854 and 0.864), the supervised abstract classifiers lead, consistent with lexically regular tasks dominated by a few frequent labels. The clearest failure is data accessibility: metadata_llm reaches only 0.213, far below the supervised abstract baselines (0.533–0.574), because the decisive access statement is rarely available in the abstract. This marks the limit of metadata-only reasoning and identifies where retrieval should matter most. Thus, EpiLens’s advantage is not instruction-following at fixed scope: it comes from adding body-text evidence.

The weakest baseline scores should be read as diagnostics of default method–task mismatch, not as ceilings on the corresponding model families. Zero-shot NLI on data type is the clearest case (J=0.018J=0.018): it almost never predicts the dominant Traditional class. This seems to reflect a lexical-anchoring asymmetry rather than a residual-category effect: in our protocol Traditional is defined positively (standard surveillance case counts, hospital admissions, PCR/antigen-confirmed test line lists), but it is a broad, heterogeneous category that papers signal only implicitly, since a paper reporting national surveillance counts rarely states in so many words that it uses “traditional” data. The non-traditional categories, by contrast, each name a specific kind of source (mobility, health, sentiment, economic) that papers typically do state explicitly, giving an entailment hypothesis built from the label name a much stronger lexical anchor to key on than Traditional offers.

Prototype similarity shows a different failure mode: its uncalibrated version is a minimal annotation-free semantic-matching baseline, while threshold calibration uses labels to recover part of the gap. For example, calibration improves SPECTER on data type from 0.52 to 0.67, and TF-IDF on data accessibility from 0.22 to 0.25 (Table 3). We therefore treat the calibrated prototype as a minimal supervised method and the uncalibrated prototype as a zero-shot diagnostic.

Comparison with body-text access

Moving from metadata_llm to full EpiLens holds the generator and task instructions fixed while replacing metadata-only evidence with targeted body-text retrieval. The resulting difference estimates the contribution of evidence access and selection and tracks where the discriminative signal lies. With the local model, body-text retrieval improves every axis, and each paired difference meets the adjusted threshold (Table E1). The margin is largest where decisive evidence is distributed through the body or concentrated in a local statement: paper type improves from 0.659 to 0.794, and data accessibility from 0.213 to 0.539. On geography, where the abstract already carries much of the signal, the gain is smaller (0.807 to 0.869). Against the supervised baselines, the local workflow leads on geography and paper type, while on data type it matches them (0.861 vs. TF-IDF + SVM 0.854) and full-document TF-IDF scores higher (0.881, Table E2), suggesting that this axis is driven more by broad lexical evidence than by label-targeted retrieval. On data accessibility, the local workflow is close to the supervised baselines (0.539 vs. 0.533–0.577); the served models, which read the same passages with a stronger generator, lead them on the openly licensed papers (Table D3).

This body-text access is not an information advantage withheld from the baselines. Title and abstract are the natural scope for short-window encoders and off-the-shelf zero-shot classifiers, but we also evaluate supervised methods with body-text access in the configuration grid: full-document vectorisation for TF-IDF, chunk-and-pool variants for short-window encoders, and ModernBERT’s 8,192-token long-context window for the dense long-context setting (Table E2). The distinction is therefore not whether baselines are allowed to read the body, but how it is used: the language model applies the coding protocol to body-text passages, and selecting those passages by the labels adds most for data accessibility. The component ablation (§ 4.2.3) decomposes this retrieval contribution directly, while the supervised grid and saturation analysis (Section E.5) make an underpowered baseline or small-label artefact unlikely as the main explanation.

Statistical methodology

The baseline comparison in § 4.2.4 uses the mean per-paper Jaccard score defined in § 4.2 on the same 214 manually labelled papers, and on the 122 openly licensed ones for the served models. We use paired resampling to check how sensitive the observed baseline differences and the ablation differences in § 4.2.3 are to the papers evaluated. For EpiLens, each paper’s score is averaged over five runs. The supervised baselines use out-of-fold predictions: within each configuration, each paper is predicted by a model fitted without that paper.

For each comparison, we resample the per-paper Jaccard differences with replacement (B=10,000B=10{,}000) and calculate a bias-corrected and accelerated (BCa) interval for their mean. This keeps both methods’ scores paired on each paper; BCa adjusts the interval for bias and skewness [73]. We report pointwise 95% intervals; each two-sided p-value is the smallest significance level at which the corresponding BCa interval excludes zero. We apply Holm–Bonferroni correction within each task, separately for the baseline comparisons and each generator’s ablation comparisons. Holm’s step-down adjustment limits the chance of at least one false rejection within each comparison family [74]. Table 1 and Table 3 give the same BCa interval for one configuration’s mean JJ, resampling papers in the same way. This resampling holds the manual labels, model predictions, and selected configurations fixed. It does not reproduce the review-stratified sampling design or model fitting, so the intervals describe sensitivity to these papers rather than uncertainty about performance across corpora.

In Table E1, the local workflow’s gaps to the three named supervised baselines meet the adjusted threshold on geography for all three and on paper type against TF-IDF + SVM; on data type and data accessibility none does, and the differences are within 0.04. All four gaps to the abstract-only metadata_llm meet it, so body-text retrieval adds to the same model on every axis. On the openly licensed papers, Table D4 gives the same tests for gemini-2.5-flash.

Each cell is the mean per-paper Jaccard difference (EpiLens minus the baseline) on the N=214N=214 evaluation papers. A marker (*) denotes a Holm-adjusted pp-value below 0.05 across eight comparisons per task. All eight comparisons in the correction are shown. The majority floor is shown for reference: it predicts the most common label set of the manual labels, which EpiLens does not see, and its row tests whether JJ exceeds what label skew alone gives. It enters the Holm correction, which can only make the other comparisons more conservative, never less. Tests use B=10,000B=10{,}000 paired BCa resamples (Section E.4). They hold the manual labels, predictions, and configurations fixed. The topic-model and Best supervised rows of Table 3 are descriptive because their alignment or configuration was selected using the evaluation papers. Prototype rows are reported as diagnostics and are not tested here.

Comprehensive supervised configuration grid and saturation

To position EpiLens against a wider range of supervised approaches than the named representatives of Section E.3, Table E2 crosses three choices. The representations are sparse TF-IDF, frozen all-mpnet-base-v2 [30, 75], frozen SPECTER [76], and the frozen 8,192-token long-context ModernBERT-base. Text scope is either title and abstract or full body, ingested by chunk-and-pool for the short-window encoders and within ModernBERT’s 8,192-token window, with overflow mean-pooled across windows. The classifier heads are linear SVM, logistic regression, gradient-boosted trees, and MLP. Each combination follows the same stratified 5-fold protocol over the same N=214N=214 papers, with leave-one-out additionally reported for the linear heads. The MPNet embedding uses the sentence-transformers/all-mpnet-base-v2 checkpoint [77]. Every cell is head-only supervision (Section E.2.3): the representation is fixed (unsupervised TF-IDF or a frozen encoder) and only the head is trained, so the grid isolates representation family, text scope, and head choice without the confound of end-to-end fine-tuning. The heads use fixed settings, not tuned in an inner cross-validation loop, and all configurations share one fold partition. The Best supervised row offsets this in the baselines’ favour: it picks the best configuration for each axis on the evaluation papers themselves, which overstates what a configuration chosen in advance would reach. Full-body access and dense encoders both raise the best score reached in the grid, and non-linear heads edge the linear ones on dense representations. No cell reaches the fully local EpiLens on geography or paper type, but about half of the cells exceed it on data type and data accessibility (Table E2). The long-context ModernBERT, whose 8,192-token window holds the full body of 182 of the 214 papers in a single window (the 32 longer papers, up to ∼16\sim16k tokens, are mean-pooled across a few windows, as the short-window encoders always are), lands in the same band as the other encoders, suggesting that short input windows alone do not explain the differences.

One possible concern is that the supervised baselines have too few training examples. Inside the observed range, every learning curve in Figure E2 remains below the EpiLens reference on geography and paper type, while on data type and data accessibility many curves reach it; most flatten before the full sample. The 5-fold and leave-one-out scores in Table E2 also differ by only a few points. This does not establish a ceiling for supervised learning, but it suggests that modest increases in labels alone would not close the gap on geography and paper type under the tested configurations.

Figure E2. Saturation of the supervised configuration grid. Learning curves (held-out Jaccard vs. number of labelled training papers) grouped by representation (rows) and task (columns). Within each panel, colour encodes the classifier head (linear SVM, logistic regression, gradient-boosted trees, MLP) and line style the text scope (solid = title+abstract, dashed = full body). The black dotted line is the fully local EpiLens (T=0T=0). Every curve remains below EpiLens on geography and paper type inside the observed training range; on data type and data accessibility, many reach it. Most curves flatten before the full sample.

Corpus-structure audit

The topic models of Section E.1 are run not as classifiers but as a corpus-structure audit: a check of how separable each axis’s categories are by vocabulary alone, which bounds how much of the task a purely lexical, retrieval-free method could solve in principle. Table E3 reports the best JJ each model reaches across the KK sweep under an oracle cluster-to-label alignment, an upper bound on that structural signal. Even as upper bounds, topic models stay well below the fully local workflow on geography and below it on paper type, but reach it on data type and, with PLSA, exceed it on data accessibility (0.562 against 0.539). On that axis, neither vocabulary structure nor the local generator separates the categories well; the stronger served models gain most there (§ 4.2.2).

MethodPaper typeGeographyData typeData access.
Reference
Majority prior (floor)0.5930.3530.8430.472
Unsupervised topic models (best KK across sweep, oracle label alignment)
LSA0.5930.5010.8430.489
LDA0.7570.4890.8800.484
NMF0.6820.5760.8740.516
PLSA0.7480.5390.8750.562
BERTopic0.6260.5810.8430.477
Reference
EpiLens (fully local, T=0T=0)0.7940.8690.8610.539

Table E3. Corpus-structure audit: how separable each axis is by vocabulary alone.

Sample-averaged Jaccard for every representation ×\times text scope ×\times classifier head combination, all at stratified 5-fold CV over the same N=214N=214 papers. Each cell is shown as “5-fold / LOO”. The gradient-boosted-tree and MLP heads show “–” for the leave-one-out score, because a LOO sweep would refit the head once per held-out paper, which is prohibitively expensive for these non-linear heads, so only the 5-fold score is computed for them. The grid positions EpiLens (Table 3) against the full space of reasonable supervised approaches rather than a single representative. The small 5-fold-to-LOO gaps and the saturation curves (Figure E2) show that the baselines are near data-saturated at this sample size.

Sample-averaged Jaccard JJ for unsupervised topic models on the same 214-paper evaluation set, reported as the best JJ across the KK sweep (K∈{0.5,1,2,4}×∣L∣K \in\{0.5, 1, 2, 4\} \times\lvert L\rvert) under an oracle cluster-to-label alignment, in their original full-text, leave-one-out configuration. These are not classifiers (they discover themes rather than apply the analyst’s scheme), and the best-KK, oracle-aligned figures are an upper bound on what vocabulary structure alone recovers. The majority floor and EpiLens are shown for reference. Topic models partly recover the lexically regular axes (paper type, data type) but apart from PLSA stay close to the floor on data accessibility, the axis whose signal is a single buried statement.

Linking estimates to corpus papers

As described in § 4.1, the corpus was assembled from sources named in the seed study’s early extraction sheets [41]. Here we describe how the estimates in those sheets were linked to corpus papers for the comparisons in § 4.4, and check how review coverage and classification choices affect the main contrasts.

Scope and inputs

We use the data extraction sheets shared by the seed study authors. The sheets are not redistributed. They contain 346 estimate rows and, after identifiers are resolved, 138 distinct published sources. The sheets are a working version and do not exactly match either the first preprint or the published article. The first preprint reports 342 estimates [41]. Five sources behind eight sheet rows do not appear in its references. The published article [11] reports a revised set of 302 estimates from 154 articles. All counts below refer to the early sheets.

We group the parameters into seven categories: reproduction number (basic, effective, or controlled), serial interval, incubation period, latent period, infectious period (including effective infectious periods), dispersion parameter kk, and fatality risk (case or infection). These groups combine related quantities for describing their cited papers.

We call a review cited by an estimate a source review. An expanded source review is one whose included studies are linked to corpus records, whether via corpus construction or a published study list.

Matching cited sources

Nineteen sheet rows have no published source to link, mostly because they relate to the seed study’s own incubation-period calculations. We link the other 327 to their cited sources, as illustrated in Figure F1. For a directly cited study or other document, we analyse that source itself. A source review links to its included studies present in the corpus.

Flow diagram linking extraction sheets to corpus papers

Figure F1. Linking parameter estimates to corpus papers. The 327 sheet rows citing a published source divide into reviews and single studies or other documents. A review principally links to its retrieved included studies in the corpus, while a directly cited document is itself analysed. The review and document counts are distinct sources after identifiers are resolved.

The corpus-building records group included studies under the source review’s first author and year. We use these identifiers to connect a sheet citation to the appropriate group and check the DOI for reviews sharing an author and year. We match individual documents chiefly by DOI, with author and year or verified manual matching where needed. Where an identifier is malformed, takes a different form, or identifies another document, we apply a declared replacement checked against Crossref [59].

Associated paper sets and labels

The corpus records links between its papers and the sources named in the sheets. We use those links to define the paper set associated with each estimate row rr, denoted BrB_r. For a directly cited study or other document, BrB_r contains that document. For a source review, BrB_r contains its included studies that are present in the corpus (Section B). These are studies the review identifies as evidence for its analysis, rather than every item in its bibliography. The sheets cite the review for a particular estimate without naming the contributing studies. For example, a review reporting both serial-interval and incubation-period estimates may use different subsets of its included studies for each. Thus BrB_r reflects the review’s included evidence, which may be broader than the studies used for one value. A paper can also be included in several reviews, even if it was retrieved for only one. We retain every documented membership. For each parameter, pathogen, or combination of the two, we take the union of the corresponding BrB_r sets. Each paper adds once to a group’s paper count and label shares, regardless of how many estimates link to it. The same paper may appear in several groups, so their paper counts are not additive.

Table F1 tabulates model-based and simulated-data shares for the paper sets plotted in Figure 5 and Figure 6. It also lists the influenza A subtypes combined in the pathogen figure. These percentages use the labels of the fully local workflow at T=0T=0 over all associated corpus papers, so they are model outputs without sampling intervals. The figures do not separate pathogens within each parameter. Table F2 provides that breakdown for the comparisons discussed in § 4.4.

Each row counts distinct corpus papers associated with estimates of the named parameter for that pathogen. A paper can appear in several rows. Model-based is the share labelled INFERENCE or FORECAST by EpiLens with qwen2.5:32b-instruct on local hardware at T=0T=0 (model outputs, not parameter estimates). Rows show the comparisons discussed in § 4.4 and F. The full breakdown is in the reproduction package [51]. CCHF: Crimean–Congo haemorrhagic fever. RVF: Rift Valley fever.

Manual-label check

The shares reported for all associated papers in § 4.4 depend on model-assigned labels. We therefore check whether the contrast also appears under manual labels among the associated papers in the 214-paper evaluation sample. The manual labels show the same ordering, with a 38-percentage-point difference in model-based shares. We examine how this difference varies across the cited sources represented in that sample.

The paired bootstrap in Section E.4 resamples individual papers to assess differences in classifier accuracy. Here, several labelled papers can come from one cited review, so we resample source reviews and directly cited documents as groups. This asks whether the manual-label contrast depends heavily on a few cited sources.

The resampling pool contains 45 sources represented by at least one labelled paper behind either parameter. In each of 4,000 draws, we select 45 sources with replacement, keep each selected source’s labelled papers together, and recalculate the difference between the two manual-label shares. A source shared by both parameters contributes to both shares in the same draw. Within each parameter set, a paper linked to mm sources receives weight 1/m1/m through each source, so that it counts once in the observed share. The central 95% of resampled differences is 19–57 percentage points, preserving the direction under this source resampling. This check concerns the manually labelled subset: the papers labelled within each review stay fixed, and the interval does not estimate what manual labels would show across the full associated paper sets.

Sensitivity of the paper profiles

We now check whether the model-assigned reproduction-number–fatality-risk contrast across all associated papers changes with review coverage or the removal of individual source reviews, and how the local labels compare with the manual ones.

Review coverage.

Incomplete matching of a review’s included studies could change the paper profiles. We linked corpus papers to 62 cited reviews, of which 60 report how many studies they included. The other two are an analytic perspective and a narrative review without a defined set of included studies. Counting a paper once for each review that includes it, corpus records match 2,707 of 4,467 reported inclusions (61%). These are shares of reported review inclusions, not shares of the corpus. Matching varies from 14 to 100% across reviews and is 47% for those associated with reproduction numbers, against 56% for fatality risks.

Removing reviews below the median matching rate, while retaining directly cited documents and reviews without reported totals, changes the model-based difference from 38 to 50 percentage points. Hence, the direction persists.

Label accuracy and individual reviews.

On the 214 labelled papers, the local labels identify model-based papers with sensitivity 0.65 and specificity 0.97, and simulated-data papers with sensitivity 0.68 and specificity 0.98; they label 70% of papers empirical, against 59% in the manual labels. The model-based and simulated-data shares across all associated papers are therefore likely underestimates, and the comparisons in § 4.4 rest on the direction of the differences rather than on their levels.

Omitting each of the 42 source reviews behind either parameter in turn leaves the model-based difference at 34–44 percentage points. The model-based ordering therefore holds after the removal of any one review.

Pathogens within a parameter.

Each row of Figure 6 pools the papers behind all of a pathogen’s estimates, so differences between pathogens partly reflect which parameters the seed study estimated for each. Table F2 therefore also compares pathogens within a single parameter. Among fatality-risk papers, 41% of those linked to SARS-CoV-2 and 30% of those linked to MERS-CoV are labelled model-based, against 1–23% for CCHF, Ebola, Lassa, Nipah, and RVF. Among incubation-period papers, 61% of the 31 manually labelled papers behind SARS-CoV-2 estimates are model-based, against 9% of the 11 behind mpox estimates; in EpiLens’s outputs, 34% of 334 against 1% of 115. The share is at least 11% in each of seven SARS-CoV-2 source reviews and at most 4% in each of four mpox source reviews. Many of these papers also lie behind estimates of other parameters for the same pathogen. Excluding those shared with reproduction-number or fatality-risk estimates leaves 22% of 201 against 0% of 70, and keeping only papers behind no other parameter leaves 7% of 58 against 0% of 69. The ordering persists, but most of the contrast comes from papers shared with other parameters, so we do not interpret it further.

References

  1. [1]Chafetz H, Zahuranec AJ, Marcucci S, et al (2022) The #Data4COVID19 Review: Assessing the Use of Non-Traditional Data During a Pandemic Crisis. https://review.data4covid19.org, The GovLab, New York University. Accessed 20 March 2025DOI
  2. [2]Bolt K, Gil-González D, Oliver N (2024) Unconventional data, unprecedented insights: leveraging non-traditional data during a pandemic. Frontiers in Public Health 12:1350743DOI
  3. [3]Fallatah DI, Ade kola HA (2024) Digital epidemiology: harnessing big data for early detection and monitoring of viral outbreaks. Infection Prevention in Practice 6(3):100382DOI
  4. [4]Chen Q, Yang M, Qin L, et al (2025) AI4Research: A survey of artificial intelligence for scientific research. arXiv:2507.01903arxiv.org/abs/2507.01903
  5. [5]Gokdemir O, Siebenschuh C, Brace A, et al (2025) HiPerRAG: High-performance retrieval augmented generation for scientific insights. In: Proceedings of the Platform for Advanced Scientific Computing Conference, pp 1–13DOI
  6. [6]Annepaka Y, Pakray P (2025) Large language models: a survey of their development, capabilities, and applications. Knowledge and Information Systems 67(3):2967–3022DOI
  7. [7]Huang L, Yu W, Ma W, et al (2025) A survey on hallucination in large language models: Principles, taxonomy, challenges, and open questions. ACM Transactions on Information Systems 43(2):1–55DOI
  8. [8]Lewis P, Perez E, Piktus A, et al (2020) Retrieval-augmented generation for knowledge-intensive NLP tasks. Advances in Neural Information Processing Systems 33:9459–9474arxiv.org/abs/2005.11401
  9. [9]Arslan M, Ghanem H, Munawar S, et al (2024) A survey on RAG with LLMs. Procedia Computer Science 246:3781–3790DOI
  10. [10]Fan W, Ding Y, Ning L, et al (2024) A survey on RAG meeting LLMs: Towards retrieval-augmented large language models. In: Proceedings of the 30th ACM Ward J, Gressani O, Kim S, et al (2026) The epidemiology of pathogens with pandemic potential: a review of key parameters and clustering analysis. Epidemics 54:100882. https://doi.org/10.1016/j.epidem.2025.100882
  11. [12]Salathé M, Bengtsson L, Bodnar TJ, et al (2012) Digital epidemiology. PLoS Computational Biology 8(7):e1002616. https://doi.org/10.1371/journal.pcbi.1002616
  12. [13]Park HA, Jung H, On J, et al (2018) Digital epidemiology: use of digital data collected for non-epidemiological purposes in epidemiological studies. Healthcare Informatics Research 24(4):253–262DOI
  13. [14]Mesquita S, Perfeito L, Paolotti D, et al (2025) Epidemiological methods in transition: Minimizing biases in classical and digital approaches. PLOS Digital Health 4(1):e0000670. https://doi.org/10.1371/journal.pdig.0000670
  14. [15]Zhao WX, Zhou K, Li J, et al (2023) A survey of large language models. arXiv:2303.18223DOI
  15. [16]Skarlinski MD, Cox S, Laurent JM, et al (2024) Language agents achieve superhuman synthesis of scientific knowledge. arXiv:2409.13740arxiv.org/abs/2409.13740
  16. [17]Asai A, He J, Shao R, et al (2024) OpenScholar: Synthesizing scientific literature with retrieval-augmented LMs. arXiv:2411.14199arxiv.org/abs/2411.14199
  17. [18]Gartlehner G, Kahwati L, Hilscher R, et al (2024) Data extraction for evidence synthesis using a large language model: A proof-of-concept study. Research Synthesis Methods 15(4):576–589. https://doi.org/10.1002/jrsm.1710
  18. [19]Khraisha Q, Put S, Kappenberg J, et al (2024) Can large language models replace humans in systematic reviews? evaluating GPT-4’s efficacy in screening and extracting data from peer-reviewed and grey literature in multiple languages. Research Synthesis Methods 15(4):616–626. https://doi.org/10.1002/jrsm.1715
  19. [20]Padarha S, Kearns RO, Naidoo T, et al (2026) Evaluating AI-based scientific knowledge synthesis with epidemiological systematic reviews. arXiv:2603.22327arxiv.org/abs/2603.22327
  20. [21]Wang X, Huey SL, Sheng R, et al (2025) SciDaSynth: Interactive structured data extraction from scientific literature with large language model. Campbell Systematic Reviews 21(4):e70073. https://doi.org/10.1002/cl2.70073
  21. [22]Abo El-Enen M, Saad S, Nazmy T (2025) A survey on retrieval-augmentation generation (RAG) models for healthcare applications. Neural Computing and Applications 37(33):28191–28267
  22. [23]Gargari OK, Habibi G (2025) Enhancing medical AI with retrieval-augmented generation: A mini narrative review. Digital Health 11:20552076251337177DOI
  23. [24]Liu S, McCoy AB, Wright A (2025) Improving large language model applications in biomedicine with retrieval-augmented generation: a systematic review, meta-analysis, and clinical development guidelines. Journal of the American Medical Informatics Association 32(4):605–615DOI
  24. [25]van de Schoot R, de Bruin J, Schram R, et al (2021) An open source machine learning framework for efficient and transparent systematic reviews. Nature Machine Intelligence 3(2):125–133. https://doi.org/10.1038/s42256-020-00287-7
  25. [26]TypeSafe AI (2026) Introducing System One models & Jev. https://typesafe.ai/blog/introducing-system-one-models-and-jev, archived at https://web.archive.org/web/20260930032358/https://typesafe.ai/blog/introducing-system-one-models-and-jev. Accessed 2 October 2026
  26. [27]Deuber T, Sparrenberg L, Sifa R (2026) Evaluating and benchmarking the System One model. Jev. arXiv:2609.37647
  27. [28]Unstructured Technologies (2026) Unstructured: Open-source pre-processing tools for unstructured data. https://github.com/Unstructured-IO/unstructured, accessed 5 October 2026
  28. [29]GROBID contributors (2008–2025) GROBID. https://github.com/grobidOrg/grobid, Software Heritage ID swh:1:dir:dab86b296e3c3216e2241968f0d63b68e8209d3c. Accessed 15 September 2026
  29. [30]Reimers N, Gurevych I (2019) Sentence-BERT: Sentence embeddings using Siamese BERT-networks. In: Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP), pp 3982–3992arxiv.org/abs/1908.10084
  30. [31]Johnson J, Douze M, Jégou H (2019) Billion-scale similarity search with GPUs. IEEE Transactions on Big Data 7(3):535–547arxiv.org/abs/1702.08734
  31. [32]Qdrant (2020) Qdrant: Vector search engine. https://github.com/qdrant/qdrant, GitHub repository. Accessed 15 September 2026
  32. [33]Colvin S, Jolibois E, Ramezani H, et al (2024) Pydantic. Zenodo
  33. [34]LangChain (2022) LangChain. https://github.com/langchain-ai/langchain, GitHub repository. Accessed 15 September 2026
  34. [35]LlamaIndex (2022) LlamaIndex. https://github.com/run-llama/llama_index, GitHub repository. Accessed 15 September 2026
  35. [36]deepset (2019) Haystack: An open-source LLM framework. https://github.com/deepset-ai/haystack, GitHub repository. Accessed 15 September 2026
  36. [37]Qwen Team, Yang A, Yang B, et al (2024) Qwen2.5 technical report. arXiv:2412.15115
  37. [38]Chen J, Xiao S, Zhang P, et al (2024) M3-Embedding: Multi-linguality, multi-functionality, multi-granularity text embeddings through self-knowledge distillation. arXiv:2402.03216arxiv.org/abs/2402.03216
  38. [39]Comanici G, Bieber E, Schaekermann M, et al (2025) Gemini 2.5: Pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. arXiv:2507.06261arxiv.org/abs/2507.06261
  39. [40]Lee J, Chen F, Dua S, et al (2025) Gemini embedding: Generalizable embeddings from Gemini. arXiv:2503.07891arxiv.org/abs/2503.07891
  40. [41]Ward J, Gressani O, Kim S, et al (2025) The epidemiology of pathogens with pandemic potential: a review of key parameters and clustering analysis. medRxiv preprint, https://doi.org/10.1101/2025.03.13.25323659, version 1: https://www.medrxiv.org/content/10.1101/2025.03.13.25323659v1
  41. [42]Atil B, Aykent S, Chittams A, et al (2024) Non-determinism of “deterministic” LLM settings. arXiv:2408.04667arxiv.org/abs/2408.04667
  42. [43]PyTorch Documentation (2026) Numerical accuracy. https://docs.pytorch.org/docs/main/notes/numerical_accuracy.html, accessed 29 September 2026
  43. [44]Yuan J, Li H, Ding X, et al (2025) Understanding and mitigating numerical sources of nondeterminism in LLM inference. arXiv:2506.09501arxiv.org/abs/2506.09501
  44. [45]He H, Thinking Machines Lab (2025) Defeating nondeterminism in LLM inference. Thinking Machines Lab: Connectionism https://doi.org/10.64434/tml.20250910, https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/. Accessed 28 October 2026
  45. [47]United Nations Statistics Division (2026) Standard country or area codes for statistical use (M49). https://unstats.un.org/unsd/methodology/m49/overview/, accessed 5 October 2026
  46. [48]Naidoo T, Nash R, Morgenstern C, et al (2025) epireview: Tools to update and summarise the latest pathogen data from the Pathogen Epidemiology Review Group (PERG). https://github.com/mrc-ide/epireview, R package. Accessed 23 September 2026
  47. [49]Callaghan M, Müller-Hansen F, Bond M, et al (2024) Computer-assisted screening in systematic evidence synthesis requires robust and well-evaluated stopping criteria. Systematic Reviews 13(1):284DOI
  48. [50]World Health Organization (2024) Ethics and governance of artificial intelligence for health: large multi-modal models. WHO guidance. World Health Organization
  49. [51]Perri V, Cattuto C, Paolotti D (2026) EpiLens: Lightweight RAG for epidemiological knowledge acquisition. Results, code, and corpus references. To be made available on Zenodoarxiv.org/abs/2610.26730
  50. [52]Perri V (2026) EpiLens: Local-first, evidence-grounded RAG workflows for scientific literature analysis. https://github.com/VinsR/R/EpiLens, Python package, version 0.1.0, https://pypi.org/project/epilens/. Accessed 14 September 2026
  51. [53]Lauer SA, Grantz KH, Bi Q, et al (2020) The incubation period of coronavirus disease 2019 (COVID-19) from publicly reported confirmed cases: estimation and application. Annals of Internal Medicine 172(9):577–582. https://doi.org/10.7326/M20-0504
  52. [54]Althaus CL (2014) Estimating the reproduction number of Ebola virus (EBOV) during the 2014 outbreak in West Africa. PLoS Currents 6. https://doi.org/10.1371/currents.outbreaks.91afb5e0f27e9e7f290756095255b288
  53. [55]Nakoune E, Lampaert E, Ndjapou SG, et al (2017) A nosocomial outbreak of human monkeypox in the Central African Republic. Open Forum Infectious Diseases 4(4):ofx168. https://doi.org/10.1093/ofid/ofx168
  54. [56]Google (2026) Gemini API: Files API documentation. https://ai.google.dev/gemini-api/docs/files, Accessed 10 February 2026
  55. [57]Google (2026) Gemini API: Document processing. https://ai.google.dev/gemini-api/docs/document-processing, Accessed 10 February 2026
  56. [58]Bachmann M (2020) RapidFuzz: Rapid fuzzy string matching in Python and C++. https://github.com/rapidfuzz/RapidFuzz, Accessed 5 March 2026
  57. [59]Hendricks G, Tkaczyk D, Lin J, et al (2020) Crossref: The sustainable source of community-owned scholarly metadata. Quantitative Science Studies 1(1):414–427DOI
  58. [60]Ollama (2023) Ollama. https://ollama.com, Accessed 15 September 2026
  59. [61]Deerwester S, Dumais ST, Furnas GW, et al (1990) Indexing by latent semantic analysis. Journal of the American society for information science 41(6):391–407
  60. [62]Hofmann T (1999) Probabilistic latent semantic indexing. In: Proceedings of the 22nd annual international ACM SIGIR conference on Research and development in information retrieval, pp 50–57
  61. [63]Blei DM, Ng AY, Jordan MI (2003) Latent Dirichlet allocation. Journal of Machine Learning Research 3:993–1022
  62. [64]Lee DD, Seung HS (1999) Learning the parts of objects by non-negative matrix factorization. Nature 401(6755):788–791pubmed.ncbi.nlm.nih.gov/10548103
  63. [65]Grootendorst M (2022) BERTopic: Neural topic modeling with a class-based TF-IDF procedure. arXiv:2203.05794arxiv.org/abs/2203.05794
  64. [66]Sparck Jones K (1972) A statistical interpretation of term specificity and its application in retrieval. Journal of Documentation 28(1):11–21
  65. [67]Cortes C, Vapnik V (1995) Support-vector networks. Machine Learning 20(3):273–297DOI
  66. [68]Tunstall L, Reimers N, Jo UES, et al (2022) Efficient few-shot learning without prompts. arXiv:2209.11055arxiv.org/abs/2209.11055
  67. [69]Warner B, Chaffin A, Clavié B, et al (2025) Smarter, better, faster, longer: A modern bidirectional encoder for fast, memory efficient, and long context finetuning and inference. In: Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp 2526–2547arxiv.org/abs/2412.13663
  68. [70]Yin W, Hay J, Roth D (2019) Benchmarking zero-shot text classification: Datasets, evaluation and entailment approach. In: Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP), pp 3914–3923arxiv.org/abs/1909.00161
  69. [71]He P, Gao J, Chen W (2023) DeBERTaV3: Improving DeBERTa using ELECTRA-style pre-training with gradient-disentangled embedding sharing. In: The Eleventh International Conference on Learning Representations
  70. [72]Laurer M (2026) DeBERTa-v3-base-mnli-fever-anli: Model card. Hugging Face, https://huggingface.co/MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli, accessed 5 October 2026
  71. [73]Efron B (1987) Better Bootstrap Confidence Intervals. Journal of the American Statistical Association 82(397):171–185. https://doi.org/10.1080/01621459.1987.10478410
  72. [74]Holm S (1979) A Simple Sequentially Rejective Multiple Test Procedure. Scandinavian Journal of Statistics 6(2):65–70. https://doi.org/10.2307/4615733
  73. [75]Song K, Tan X, Qin T, et al (2020) MPNet: Masked and permuted pre-training for language understanding. Advances in Neural Information Processing Systems 33:16857–16867arxiv.org/abs/2004.09297
  74. [76]Cohan A, Feldman S, Beltagy I, et al (2020) SPECTER: Document-level representation learning using citation-informed transformers. In: Proceedings of the 58th annual meeting of the association for computational linguistics, pp 2270–2282arxiv.org/abs/2004.07180
  75. [77]Sentence Transformers (2026) all-mpnet-base-v2: Model card. Hugging Face, https://huggingface.co/sentence-transformers/all-mpnet-base-v2, accessed 5 October 2026

AI tools statement

This work lists 1 AI tool.

  • Codex · AI tool

    Roles
    SoftwareWriting — review & editing
    Verification
    self-declared at submission

Recorded on the work at submission, not per version. Names and roles are shown as submitted; roles use the CRediT taxonomy.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

Code, data, proofs and workflows the authors linked for testing, review and reproduction. These links are part of this work’s metadata and are released under the same license as the rest of that metadata. Valency doesn’t host the files; each keeps the license set where it’s hosted.

Pick where to look, or just type