Manuscript Offprint

arXiv:2610.02576

Answering clinicians' questions over trial evidence tables with verifiable, feedback-driven language models

Manan Roy Choudhury, Suparno Roy Chowdhury, Swastik Sahoo, Muhammad Ali Khan, Kaneez Zahra Rubab Khakwani, Mohamad Bassam Sonbol, Irbaz Bin Riaz, Vivek Gupta

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Systematic reviews condense clinical trials into evidence tables, yet clinicians can interrogate these tables only through database queries, and many questions concern attributes that the table does not record, such as a drug's target class or a harmonised endpoint. Here we introduce FD-SCoPE, a language-model framework that answers both kinds of question, exposes the query, the selected trials and the derivation rule behind every answer, and learns from expert corrections. On an oncology evidence table of 159 immune checkpoint inhibitor trial records, FD-SCoPE completed all 140 clinician-style tasks (alternatives, 90.7–97.9%). For questions needing derived attributes it retrieved 99.3% of relevant trial records at a positive predictive value of 89.8% and outperformed four alternative approaches (derived-value F1 77.7% versus 64.8–73.4%). Corrections on 299 questions, simulated from reference answers, raised F1 on 1,201 unseen questions from 77.9% to 84.9%. Language models coupled with executable queries, verified programs and expert feedback can give clinicians auditable access to trial evidence.

Keywords: clinical trials, evidence synthesis, large language models, text-to-SQL, human-in-the-loop, oncology

1 Introduction

Clinical decisions and guidelines rest on evidence synthesised from trials, usually through systematic reviews, and trials are published faster than reviews can absorb them [1]. A review takes on average five experts and 67 weeks to complete [2], and what it produces is, in practice, a table with one row per trial, columns for disease, regimen, comparator, phase, enrolment, endpoints and follow-up. In a living review this table is updated as trials report [3], and it becomes the object that clinicians, guideline panels and trialists return to with new questions. Which phase 3 trials tested a PD-1 inhibitor with chemotherapy? How many enrolled only PD-L1-positive patients? Which used a comparator other than chemotherapy? Each answer requires a database query or careful filtering of a spreadsheet, so most questions pass through an analyst.

A second kind of question cannot be answered by a query at all. Reviewers often need attributes that are implied by a recorded value but not stored: the target class of an agent given its name, the platinum agent in a regimen, a follow-up duration grouped into clinically meaningful bands, or a free-text primary endpoint mapped to a standard category. These are re-derived by hand, question by question, and not always in the same way.

Large language models (LLMs) have been applied to the earlier stages of evidence synthesis, namely search, screening, trial matching and data extraction, where exposing intermediate steps to experts improved both speed and quality [4–6]. For structured data, text-to-SQL methods translate questions into queries [7, 8]; decomposition, example selection and multi-agent refinement have improved their accuracy [9–11], and clinical work has addressed health-record querying, eligibility criteria and trial matching [12–14]. Three gaps remain for evidence tables. First, a fluent query is not necessarily the right cohort. Stored values carry aliases, abbreviations and inconsistent spellings, and a dropped condition silently changes which trials are returned. Second, a query cannot produce an attribute that is not recorded, and systems that add model reasoning to tables either let the model choose the rows or write unconstrained code [15–19]. Third, what an expert corrects is rarely kept in a form that later questions reuse, although stored feedback and cached model-written tools have improved language-model systems elsewhere without retraining [20, 21].

We therefore present FD-SCoPE, built to ask questions for clinical-trial evidence within tables in plain language for clinicians (Fig. 1), which integrates and extends on earlier FD-NL2SQL and SCoPE systems [22, 23]. A question is first screened for scope and then routed. A question about recorded fields is split into conditions that are matched to the table's own values, compared with expert-approved examples and translated into a read-only query. A question about an unrecorded attribute uses the same steps to select the trials where in a planner states the derivation rule and the value is computed by a short program that has been checked against the model on sample rows, or row by row by the model when no program passes the check. Every step is recorded for inspection. Approved queries and corrected values are stored as examples and programs that later questions reuse.

In this study, we show that FD-SCoPE (1) answers clinician-style evidence tasks reliably, (2) finds the right trials and derives unrecorded attributes more accurately than four alternative approaches built on the same language model, and (3) improves

Figure

Fig. 1 FD-SCoPE architecture. Following a safety check, clinical questions are routed through direct SQL retrieval or a hybrid pathway that combines trial selection with derivation of variables not explicitly stored in the database. Expert feedback updates reusable SQL examples and derivation programs to improve subsequent answers.

after expert corrections, including for trials that were not part of the corrections. We also examine which components account for these results, how the system copes with the way clinicians phrase questions, and whether it keeps the evidence table read-only.

References (46)