Using Open-Source Large Language Models to Identify Access to Germline Genetic Testing in Veterans With Breast Cancer From Unstructured Text
Open Access
- 1 July 2025
- journal article
- Published by American Society of Clinical Oncology (ASCO) in JCO Clinical Cancer Informatics
- Vol. 9 (9) , e2400263
Abstract
PURPOSE: The ability of large language models (LLMs) to identify access to germline genetic testing from unstructured text remains unknown. The Department of Veterans Affairs (VA) assessed access in Veterans with breast cancer by implementing and evaluating the performance of open-source, locally deployable LLMs (Llama 3 70B, Llama 3 8B, and Llama 2 70B) in identifying access from clinical/consult notes. METHODS: We identified a cohort of 1,201 Veterans diagnosed with breast cancer between January 1, 2021, and December 31, 2022, who received cancer care within the nationwide VA system and had clinical and/or consult notes available. Notes from a subset of 200 randomly selected patients, reviewed by subject-matter experts to identify access to testing, were split into development and testing sets, and various hyperparameters and prompting approaches were applied. We evaluated LLM performance using accuracy, precision, recall, and F1, with expert consensus on the labeled subset serving as ground truth. We compared LLM-identified access distribution in the entire cohort with expert-identified access in the labeled subset using the chi-squared test. RESULTS: Llama 3 70B achieved an F1 score of 0.912 (95% CI, 0.853 to 0.971), besting Llama 3 8B (F1: 0.811; 95% CI, 0.720 to 0.901) and significantly outperforming Llama 2 70B (F1: 0.644; 95% CI, 0.514 to 0.773; the test set target variable prevalence was 0.72.) We observed no significant difference between the performance of Llama 3 70B and that of the average individual expert reviewer, nor between LLM-identified access distribution across the entire cohort and expert-identified distribution in the labeled subset. CONCLUSION: An open-source, locally deployable LLM effectively and efficiently identified germline genetic testing access from clinical notes. LLMs may enhance care quality and efficiency, while safeguarding sensitive data.Keywords
This publication has 31 references indexed in Scilit:
- Deep sight: enhancing periprocedural adverse event recording in endoscopy by structuring text documentation with privacy-preserving large language modelsiGIE, 2024
- A critical assessment of using ChatGPT for extracting structured data from clinical notesnpj Digital Medicine, 2024
- Leveraging Large Language Models for Decision Support in Personalized OncologyJAMA Network Open, 2023
- Clinical Utility of Universal Germline Genetic Testing for Patients With Breast CancerJAMA Network Open, 2022
- Baseline Characteristics from the Women Veterans Cohort Study: Gender Differences and Similarities in Health and Healthcare UtilizationJournal of Women's Health, 2021
- Germline genetic testing in breast cancer: Rationale for the testing of all women diagnosed by the age of 60 years and for risk‐based testing of those older than 60 yearsCancer, 2020
- Medical Information Extraction in the Age of Deep LearningYearbook of Medical Informatics, 2020
- Clinical Complexity in Women Veterans: A Systematic Review of the Recent Evidence on Mental Health and Physical Health ComorbiditiesBehavioral Medicine, 2019
- Identifying and eliminating inefficiencies in information system usage: A lean perspectiveInternational Journal of Medical Informatics, 2017
- PALL-06. IMPROVING PATIENT OUTCOMES THROUGH A MULTIDISCIPLINARY NEURO-ONCOLOGY REHABILITATION CLINICNeuro-Oncology, 2016