Visual abstractsVisuals
ResearchJournal of Pathology Informatics · May 12, 2026

SCRIPT: Stratified clinical risk prediction from pathology reports using large language models

Loeffler CML, Reitsam NG, Wolf F, Stueker EH, Muti HS, Wiest IC, et al
Pathology & Laboratory MedicineDigital Health & AIAdult

Study type: Observational study: it can show a link, but not prove that one thing causes another.

Read the full paper free at PubMed Central ↗

Abstract

Background Accurate risk stratification in oncology is essential for guiding treatment decisions, yet current algorithms rely on a narrow set of structured variables, and hence potentially ignore the rich signal in narrative pathology reports. These reports contain nuanced morphological descriptions and expert clinical judgmentThis narrative information remains largely unused in clinical decision-making as it gets lost in "prose" text-based reports. We hypothesized that large language models (LLMs) could extract prognostic information from complete free-text pathology reports and convert it into a binary survival biomarker. Methods We used the open-weight LLaMA 3.3 70B model to generate risk scores directly from publicly available pathology reports across three gastrointestinal cancer types. The model was prompted to synthesize the complete narrative reports into a binary prognostic score. We evaluated associations between the LLM-generated scores and survival outcomes, including overall survival, progression-free survival, and disease-specific survival. Results In colorectal cancer, LLM-generated risk scores demonstrated significant prognostic value for overall survival (Hazard ratio (HR) = 2.77, 95% confidence interval (CI) = 1.92-3.97, p < 0.001), progression-free survival (HR = 2.93, 95% CI = 2.11-4.08, p < 0.001), and disease-specific survival (HR = 5.85, 95% CI = 3.66-9.36, p < 0.001). Multivariate analysis confirmed the LLM-generated risk score as an independent prognostic factor for progression-free survival. Conclusion LLMs can turn narrative pathology reports into a single, independent survival biomarker. This approach leverages routinely available free-text documentation without requiring additional tissue analysis or pathologist workload, providing a deployable method to enhance risk stratification for treatment decision-making.

DOI: 10.1016/j.jpi.2026.100673 · PubMed: 42281755

Cite this article

Loeffler CML, Reitsam NG, Wolf F, Stueker EH, Muti HS, Wiest IC. SCRIPT: Stratified clinical risk prediction from pathology reports using large language models. J Pathol Inform. 2026. doi:10.1016/j.jpi.2026.100673

RIS (EndNote, Zotero, Mendeley)BibTeX

Spotted a mistake? Suggest a correction

More in Pathology & Laboratory Medicine

Alzheimers Dement · Nov 19, 2026 · Research · Neurology, Pathology & Laboratory Medicine

Mixed neuropathology was common in Alzheimer's disease and related dementias

Mod Pathol · Nov 18, 2026 · Research · Pathology & Laboratory Medicine

Tumor-selective overexpression of five receptors found in triple-negative breast cancer

Mod Pathol · Nov 18, 2026 · Research · Pathology & Laboratory Medicine, Oncology

CD40 expression differentiates Hodgkin lymphoma from anaplastic large cell lymphoma

Diagn Pathol · Nov 18, 2026 · Research · Pathology & Laboratory Medicine, Oncology

Claudin-1 and Claudin-4 proteins are expressed in penile squamous cell carcinoma tumors

J Pathol Clin Res · Nov 16, 2026 · Research · Pathology & Laboratory Medicine, Oncology

Surgical resection and biopsy are associated with different molecular profiles in liver cancer tissue