Visual abstractsVisuals
Researchnpj Digital Medicine · Nov 28, 2025

Leveraging large language models to extract smoking history from clinical notes for lung cancer surveillance

Luo I, Graber-Naidich A, Zhang M, Kaushik R, Nieda GM, Chen T, et al
Digital Health & AIAdult
Read the full paper free at PubMed Central ↗

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.

DOI: 10.1038/s41746-025-02009-y · PubMed: 41315854

Cite this article

Luo I, Graber-Naidich A, Zhang M, Kaushik R, Nieda GM, Chen T. Leveraging large language models to extract smoking history from clinical notes for lung cancer surveillance. NPJ Digit Med. 2025. doi:10.1038/s41746-025-02009-y

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

More in Digital Health & AI

Lancet Digit Health · Nov 23, 2026 · Research · Digital Health & AI

ClinicalAge biomarker associated with mortality and disease risk in UK datasets

Lancet Digit Health · Nov 23, 2026 · Research · Digital Health & AI

Artificial intelligence model estimates age and predicts survival from face photos

Lancet Digit Health · Nov 23, 2026 · Research · Digital Health & AI

New model predicts severe fetal compromise risk at birth with 33.4% sensitivity

NPJ Digit Med · Nov 21, 2026 · Research · Digital Health & AI

ECG foundation models performed well on general data but less so on athletes' data

J Med Internet Res · Nov 20, 2026 · Research · Digital Health & AI

Six large language models showed similar question-answering accuracy on medical exam questions