PreprintCited by 12Artificial Intelligence in Healthcare and EducationMachine Learning in HealthcareBiomedical Text Mining and Ontologies

End-To-End Clinical Trial Matching with Large Language Models

Open access
Ferber, Dyke, Hilgers, Lars, Wiest, Isabella C., Leßmann, Marie-Elisabeth, Clusmann, Jan, Neidlinger, Peter, Zhu, Jiefu, Wölflein, Georg +8 more·2024·arXiv

Abstract

Matching cancer patients to clinical trials is essential for advancing treatment and patient care. However, the inconsistent format of medical free text documents and complex trial eligibility criteria make this process extremely challenging and time-consuming for physicians. We investigated whether the entire trial matching process - from identifying relevant trials among 105,600 oncology-related clinical trials on clinicaltrials.gov to generating criterion-level eligibility matches - could be automated using Large Language Models (LLMs). Using GPT-4o and a set of 51 synthetic Electronic Health Records (EHRs), we demonstrate that our approach identifies relevant candidate trials in 93.3% of cases and achieves a preliminary accuracy of 88.0% when matching patient-level information at the criterion level against a baseline defined by human experts. Utilizing LLM feedback reveals that 39.3% criteria that were initially considered incorrect are either ambiguous or inaccurately annotated, leading to a total model accuracy of 92.7% after refining our human baseline. In summary, we present an end-to-end pipeline for clinical trial matching using LLMs, demonstrating high precision in screening and matching trials to individual patients, even outperforming the performance of qualified medical doctors. Our fully end-to-end pipeline can operate autonomously or with human supervision and is not restricted to oncology, offering a scalable solution for enhancing patient-trial matching in real-world settings.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.2407.13463

Cites

0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

The publisher hasn’t deposited this paper’s reference list.

Research works printed but not linked: 18

  1. Bouzalmate-Hajjaj, A., Massó Guijarro, P., Khan, K. S., Bueno-Cavanillas, A. & Cano-Ibáñez, N. Benefits of Participation in Clinical Trials: An Umbrella Review. Int. J. Environ. Res. Public Health 19, (2022).
  2. Unger, J. M., Vaidya, R., Hershman, D. L., Minasian, L. M. & Fleury, M. E. Systematic Review and Meta-Analysis of the Magnitude of Structural, Clinical, and Physician and Patient Barriers to Cancer Clinical Trial Participation. J. Natl. Cancer Inst. 111, 245-255 (2019).
  3. Rule, A., Bedrick, S., Chiang, M. F. & Hribar, M. R. Length and Redundancy of Outpatient Progress Notes Across a Decade at an Academic Medical Center. JAMA Netw Open 4, e2115334 (2021).
  4. Moy, A. J. et al. Measurement of clinical documentation burden among physicians and nurses using electronic health records: a scoping review. J. Am. Med. Inform. Assoc. 28, 998-1008 (2021).
  5. Bradley, J., Kelly, K. & Stinchcombe, T. E. The Ever-Increasing Number of Trial Eligibility Criteria: Time to Bend the Curve. Journal of thoracic oncology: official publication of the International Association for the Study of Lung Cancer vol. 12 1459-1460 (2017).
  6. Zhang, X., Xiao, C., Glass, L. M. & Sun, J. DeepEnroll: Patient-Trial Matching with Deep Embedding and Entailment Prediction. arXiv [cs.AI] (2020).
  7. Gao, J., Xiao, C., Glass, L. M. & Sun, J. COMPOSE: Cross-Modal Pseudo- Siamese Network for Patient Trial Matching. in Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining 803-812 (Association for Computing Machinery, New York, NY, USA, 2020).
  8. OpenAI et al. GPT-4 Technical Report. arXiv [cs.CL] (2023).
  9. Jin, Q. et al. Matching Patients to Clinical Trials with Large Language Models. ArXiv (2024).
  10. den Hamer, D. M., Schoor, P., Polak, T. B. & Kapitan, D. Improving Patient Pre-screening for Clinical Trials: Assisting Physicians with Large Language Models. arXiv [cs.LG] (2023).
  11. Wong, C. et al. Scaling Clinical Trial Matching Using Large Language Models: A Case Study in Oncology. in Proceedings of the 8th Machine Learning for Healthcare Conference (eds.
  12. Deshpande, K. et al.) vol. 219 846-862 (PMLR, 11--12 Aug 2023).
  13. Gupta, S. K. et al. PRISM: Patient Records Interpretation for Semantic Clinical Trial Matching using Large Language Models. arXiv [cs.CL] (2024).
  14. Wornow, M. et al. Zero-Shot Clinical Trial Patient Matching with LLMs. arXiv [cs.CL] (2024).
  15. Singhvi, A. et al. DSPy Assertions: Computational Constraints for Self-Refining Language Model Pipelines. arXiv [cs.CL] (2023).
  16. Cattell, R. Scalable SQL and NoSQL data stores. SIGMOD Rec. 39, 12-27 (2011).
  17. Benary, M. et al. Leveraging Large Language Models for Decision Support in Personalized Oncology. JAMA Netw Open 6, e2343689 (2023).
  18. Sasazawa, Y., Yokote, K., Imaichi, O. & Sogawa, Y. Text Retrieval with Multi-Stage Re-Ranking Models. arXiv [cs.IR] (2023). Hepatic Lesions: Slight growth and increased metabolic activity. Lymph Nodes: Slightly re-enlarged hilar and subcarinal nodes. Pleural Effusion: Small right-sided pleural effusion noted. Atelectasis: Slight worsening of minor atelectasis in the left lower lobe. Adrenal Gland: Remains slightly enlarged; increased metabolic activity. Overall Assessment: Disease progression (PD). May 15, 2024: Tumor board recommends considering clinical trial options due to limited response to standard therapies. May 18, 2024: Detailed assessment of health status. ECOG performance 1. All routine labs, including liver and renal function tests, within normal limits. ===== Patient 10.1.1 ===== Name: Miller, Jane Born: 25.07.1965 Address: Main Street 78, Potsdam June 5, 2021: CT scan of the abdomen and pelvis: Revealed a well-defined mass in the head of the pancreas measuring approximately 4.5 cm with surrounding lym- phadenopathy. No signs of vascular invasion, but multiple small hepatic lesions were identified, indicating metastatic disease. No evidence of bowel obstruction, but slight dilation of the pancreatic duct was observed. July 1, 2021: Biopsy and molecular testing confirmed a well-differentiated neuroen- docrine tumor with a high tumor mutational burden (TMB-H, >=10 mut/Mb, F1CDx assay), Grade 3. Initiated Capecitabine and Temozolomide chemotherapy regimen on July 20, 2021. October 10, 2021: Follow-up CT scan (chest, abdomen, and pelvis): Partial response to treatment observed, with the primary pancreatic mass reducing to 3.5 cm in diameter. Hepatic lesions showed slight reduction in size and metabolic activity. No new metastatic lesions were detected, but mild ascites persisted. January 1, 2022: Continued Capecitabine and Temozolomide therapy, with staging scans showing moderate disease progression. Primary mass increased to 4.0 cm, with new peritoneal nodules. February 1, 2022: Initiated Everolimus therapy due to progression on previous regimen. August 1, 2022: Follow-up MRI scan (abdomen and pelvis): MRI indicated further disease progression, with the primary tumor enlarging to 4.8 cm and increased involve- ment of adjacent hepatic structures. Peritoneal nodules showed slight growth, and moderate ascites was present. There was no evidence of bowel obstruction or significant vascular invasion. November 15, 2022: Tumor board recommends considering clinical trial options due to limited response to standard therapies. December 1, 2022: Detailed assessment of health status. ECOG performance status

Cited by

Sorted by citations

Authors
Ferber, D., Hilgers, L., Wiest, I. C., Leßmann, M.-E., Clusmann, J., Neidlinger, P., Zhu, J., Wölflein, G., Lammert, J., Tschochohei, M., Böhme, H., Jäger, D., Aldea, M., Truhn, D., Höper, C., & Kather, J. N.
Affiliations
  • Heidelberg University (DE)
  • Université Paris-Saclay (FR)
  • Else Kröner Fresenius Center for Digital Health (DE)
  • TUM Klinikum (DE)
  • Institut Gustave Roussy (FR)
  • Universitätsklinikum Aachen (DE)
Venue
arXiv
Publisher
arXiv
Published
2024
ISSN
2331-8422 (ISSN-L)
OpenAlex
W4402345273
Cited by
12
References
0
Citations by year
2026: 1 · 2025: 10 · 2024: 1
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion, cc-by-nc-sa)
  • arXiv (Cornell University)
Funders
  • AstraZeneca
  • National Institute for Health and Care Research (NIHR203331)
  • Department of Health and Social Care
  • European Commission (101096312, 101057091)
  • Deutscher Akademischer Austauschdienst (57616814)
  • Bundesministerium für Bildung und Forschung (01KD2215A, 01EO2101, 01VSF21048, 57616814, 01KD2215B, 01KD2104C, 031L0312A)
  • Bundesministerium für Gesundheit
  • Deutsche Krebshilfe (70115166)
  • Gemeinsame Bundesausschuss (01VSF21048)
  • National Institutes of Health
  • HORIZON EUROPE Framework Programme (101057091)
  • Leeds Biomedical Research Centre (NIHR203331)
  • National Cancer Institute (R01CA263318)
Topics
  • Health Sciences › Medicine › Health Informatics › Artificial Intelligence in Healthcare and Education
  • Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning in Healthcare
  • Life Sciences › Biochemistry, Genetics and Molecular Biology › Molecular Biology › Biomedical Text Mining and Ontologies
Keywords
clinical trial matching, large language models, GPT-4o, cancer patients, inclusion and exclusion criteria, ClinicalTrials.gov, electronic health records, cancer clinical trials

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review