Universidade de Coimbro
A Clinician‑Validated LLM Pipeline for Structuring Oncology Data and Clinical Trial Eligibility Matching
Abstract
dc:description.abstractOncology departments generate large volumes of unstructured clinical data, complicating patient–trial matching and contributing to the under-enrolment of eligible patients in clinical trials. While Large Language Models (LLMs) offer promising solutions, existing approaches often rely exclusively on probabilistic reasoning, limiting transparency and reproducibility. This work proposes an integrated, hybrid system that leverages LLMs to transform unstructured oncology notes into structured, clinician-validated profiles and support transparent eligibility assessment. The proposed framework comprises three main modules: (i) an LLM-based pipeline that extracts and normalizes clinical parameters from free-text notes into structured patient profiles, (ii) a semi-automated module that extracts clinical trial eligibility criteria and converts formalizable conditions into machine-readable logical rules, and (iii) a semi-deterministic patient-trial matching module that prioritizes deterministic rule-based evaluation for structured criteria while relying on LLM-assisted reasoning only for eligibility conditions that cannot be formally represented by the schema. This architecture combines the transparency and auditability of deterministic reasoning with the flexibility of generative models for handling complex clinical information.The system was evaluated using three open-source 8B-parameter LLMs across five pipeline tasks. Structured extraction yielded strong results, with the best model achieving 92.3\% accuracy in criteria extraction and 78.3\% in patient profile extraction. Transitioning clinical language into formal logic proved the most challenging task, with strict accuracies between 52.2\% and 64.1\%. Nevertheless, the final patient–trial matching stage demonstrated clinically reliable performance; the top models achieved up to 84.0\% accuracy and expert-rated justification quality scores of 4.93 out of 5, ensuring decisions were grounded in clinical evidence. These findings demonstrate that modular pipelines combining structured representations, deterministic logic, and lightweight LLMs can support transparent, efficient, and clinically aligned patient recruitment in real-world oncology settings.
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Rodrigues, Vasco Tomás Ramos
- Advisors dc:contributor.advisor
-
- Pais, Adelino Cristóvão
- Furtado, Pedro Nuno San-Bento
Subjects
dc:subject × 10- Large Language Models
- Information Extraction
- Clinical Trial Eligibility
- Unstructured Clinical Data
- Semi-Deterministic Eligibility Evaluation
- Modelos de Linguagem de Grande Escala
- Extração de Informação
- Elegibilidade para Ensaios Clínicos
- Dados Clínicos Não Estruturados
- Avaliação Semi-Determinística de Elegibilidade
Rights
dc:rights- Statement dc:rights
-
- embargoedAccess
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Dc Identifier Tid
- 204415071