Aiding data retrieval in clinical trials with large language models: The APOLLO 11 Consortium in advanced lung cancer patients.
e23161 Background: Data retrieval is challenging in clinical research and traditional methods for data collection are often time-consuming and may be error-prone. Large Language Models (LLMs) have shown zero-shot capabilities in converting unstructured clinical text into structured data. These technologies could support the retrieval stage of clinical trials by leveraging the information reported in Electronic Health Records (EHRs) without relying any longer on manual curation. APOLLO 11 Consortium (NCT05550961) is a multicentric Italian trial which leverages a federated infrastructure for the analysis of advanced lung cancer patient data across Italy. Methods: We conducted a pilot study using Llama 3.1 8B on 358 Non-Small Cell Lung Cancer patients from the IRCCS Istituto Nazionale dei Tumori, leader of the APOLLO 11 Consortium. Anonymized EHRs have been analyzed within the LLM pipeline for feature extraction by Wiest et al. A combination of zero/few shot prompting techniques both in English and Italian languages was used. We selected smoking, histology, PD-L1 and staging as multiclass variables and bone/brain/liver metastases as binary variables. The ground truth collection involved a first Manual Data Entry (1-MDE) and a final full-revised MDE (2-MDE). The LLM accuracy was calculated only for the comparison LLM vs 2-MDE. In addition, we calculated the percentage of Missing Information (% MI) in 1-MDE, 2-MDE and LLM extraction. Results: Compared to 2-MDE, LLM achieved feature-specific accuracies of 0.78 for PD-L1, 0.85 for BONE METASTASIS, 0.83 for BRAIN METASTASIS, 0.89 for LIVER METASTASIS and 0.96 for TUMOUR STAGING. For smoking and staging, LLM extraction also reduced % MI relative to 1-MDE (Table 1). Only for PD-L1, we further analyzed the 12.8% of MI and found that 91.3% resulted from hallucinations (i.e., PD-L1 was misclassified as missing). Evaluations using English prompts confirmed the pipeline’s adaptability and high tasks accuracy. Conclusions: This study confirms the feasibility of LLMs for data retrieval in clinical trials demonstrating strong performance across diverse clinical features with minimal prompt optimization. LLMs could assist clinicians and data entry personnel in the 1-MDE process, streamlining initial data structuring and saving time. The 2-MDE step can remain as a quality check to address any discrepancies. Further improvements could focus on prompt optimization and integrating human feedback to reduce hallucination rates. Clinical trial information: NCT05550961 . %MI in 1-MDE, 2-MDE and LLM extraction. Accuracy refers only to LLM vs 2-MDE. Histology and metastasis sites were collected only in 2-MDE. NA = not available. Smoking PD-L1 Histology Bone Met Brain Met Liver Met T N M Stage % MI 1-MDE 6.4 8.9 NA NA NA NA 22.5 22.5 23.11 98.3 % MI 2-MDE 6.6 3 0 0 0 0 0 0 0 0 % MI LLM 2.7 12.8 10.3 0 0 0 0 0 0 6.9 % accuracy (LLM vs 2-MDE) 67 78 91 85 83 89 39 52 70 96
Authors
- Filippo de Braud (ORCID: https://orcid.org/0000-0003-0103-730X)
- Giuseppe Leone (ORCID: https://orcid.org/0000-0002-7812-5300)
- Isabella C. Wiest (ORCID: https://orcid.org/0009-0004-4848-614X)
- Mario Occhipinti (ORCID: https://orcid.org/0000-0002-7169-5343)
- Paolo Baili (ORCID: https://orcid.org/0000-0003-0335-2418)
- Alessandra Pedrocchi (ORCID: https://orcid.org/0000-0001-9957-2786)
- Claudia Proto (ORCID: https://orcid.org/0000-0003-0287-9787)
- Federica Corso (ORCID: https://orcid.org/0000-0002-4947-9628)
- Laura Mazzeo (ORCID: https://orcid.org/0000-0001-9226-8861)
- Monica Ganzinelli (ORCID: https://orcid.org/0000-0002-0526-0835)
- Marta Brambilla (ORCID: https://orcid.org/0000-0003-1148-7056)
- Jakob Nikolas Kather (ORCID: https://orcid.org/0000-0002-3730-5348)
- Giuseppe Lo Russo (ORCID: https://orcid.org/0000-0003-3224-2728)
- Teresa Beninato (ORCID: https://orcid.org/0000-0003-0388-6655)
- A. Ferrarin
- Cecilia Silvestri
- Marco Meazza Prina
- Arsela Prelaj
- V. Peppoloni
- Vanja Miscovic
Institutions
- University of Milan (IT)
- Heidelberg University (DE)
- University Hospital Heidelberg (DE)
- Else Kröner-Fresenius-Stiftung (DE)
- University Medical Centre Mannheim (DE)
- Fondazione IRCCS Istituto Nazionale dei Tumori (IT)
- Technische Universität Dresden (DE)
- Politecnico di Milano (IT)
Publication Details
- Journal
- Journal of Clinical Oncology
- Published
- 2025-05-28
- DOI
- https://doi.org/10.1200/jco.2025.43.16_suppl.e23161
- Citations
- 1
- Primary Topic
- Lung Cancer Treatments and Mutations
- Type
- article
- Field-Weighted Citation Impact
- 1.52