Leveraging large language models to extract smoking history from clinical notes for lung cancer surveillance
Ingrid Luo, Anna Graber‐Naidich, Mengrui Zhang, Rakshit Kaushik, Grant M. Nieda, Tony Chen, Bohong Gu, Eunji Choi,
Stanford University · Sutter Health
Key points
From the paper's conclusion- Our study highlights the potential of generative LLMs to improve smoking history documentation quality, enhancing lung cancer surveillance and broader clinical applications.
Abstract
Accurate smoking documentation in electronic health records (EHRs) is crucial for risk assessment and patient monitoring. However, key information is often missing or inaccurately recorded. Large language models (LLMs) present a promising solution for interpreting clinical narratives to extract comprehensive smoking data. We developed a framework utilizing LLMs combined with rule-based longitudinal smoothing techniques to enhance data quality. We compared generative LLMs (Gemini-1.5-Flash, PaLM-2-Text-Bison, GPT-4) against BERT-based models using 1683 manually annotated clinical notes from 518 patients across Stanford and Sutter Health systems. Generative LLMs achieved superior performance ( > 96% accuracy) across seven smoking variables, with external validation showing robust generalizability (97.5-98.8% accuracy). We deployed Gemini-1.5-Flash to 79,408 notes from 4792 lung cancer patients, demonstrating that risk model-based surveillance incorporating smoking factors outperformed NCCN Guidelines in identifying second malignancies. Our study highlights the potential of generative LLMs to improve smoking history documentation quality, enhancing lung cancer surveillance and broader clinical applications.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Extracting smoking history from clinical notes for lung cancer screening decision support: comparing a structured-judgment model with general-purpose large language models.medRxiv : the preprint server for health sciences · 2026
- Artificial Intelligence–Assisted Error Detection in Complex Clinical Documentation: Leveraging Large Language Models to Enhance Patient Safety in OncologyJCO Clinical Cancer Informatics · 2026
- Large Language Models in Clinical Decision Support: A Critical Review of Progress, Limitations, and the Path Toward Sustainable HealthcareAI · 2026
- Evaluating clinical AI summaries with large language models as judgesnpj Digital Medicine · 2025
- Large Language Models for Clinical Narrative Processing: Methods, Applications, and ChallengesMethods and Protocols · 2026
- Developing an open-source framework for LLM evaluation of patients using EHR clinical documentation; performance of LLMs relative to medical professionalsmedRxiv · 2026