OncoRAG: graph-based retrieval enabling clinical phenotyping from oncology notes using local mid-size language models

Abstract Oncology notes contain the richest clinical detail, yet they remain largely inaccessible at scale because extracting structured phenotypes requires either substantial language model infrastructure, curated training data, or cloud computing under regulatory constraints. We developed OncoRAG, combining ontology enrichment, knowledge graph construction, graph-diffusion reranking, and structured prompting with a locally deployed 14B-parameter language model without model weight fine-tuning. Applied to three cohorts—triple-negative breast cancer (TNBC; 104 patients, 42 features; primary development), recurrent high-grade glioma (RiCi; 191 patients, 19 features; cross-lingual and cross-disease evaluation with cohort-specific configuration), and MIMIC-IV (100 patients, 10 features; limited external evaluation on overlapping features)—OncoRAG achieved F1 scores of 0.80, 0.79, and 0.84, improving over direct large language model (LLM) prompting and naive retrieval-augmented generation (RAG) baselines by 0.19–0.22 and 0.17–0.19 F1, and outperforming direct prompting with a 5× larger 70B model by 0.09–0.10 F1. In an exploratory survival analysis (12 events), both feature sets showed close point estimates of the C-index (0.77 vs 0.76), but equivalence cannot be statistically confirmed given the limited event count. OncoRAG enables accurate clinical phenotyping from multilingual oncology notes using a locally deployable mid-size model, without model weight fine-tuning or external data sharing.

Authors

Institutions

Publication Details

Journal
npj Digital Medicine
Published
2026-08-26
DOI
https://doi.org/10.1038/s41746-026-03170-8
Primary Topic
Biomedical Text Mining and Ontologies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

OncoRAG: graph-based retrieval enabling clinical phenotyping from oncology notes using local mid-size language models

D.S. Bitterman, Harald Paganetti, Patrick Salome, Maximilian Knoll et al.
npj Digital Medicine
Biomedical Text Mining and Ontologies
article

OncoRAG: graph-based retrieval enabling clinical phenotyping from oncology notes using local mid-size language models

D.S. Bitterman, Harald Paganetti, Patrick Salome, Maximilian Knoll, Nicolò Cogno, Amir Abdollahi, A. S. Dedeoglu, Ibrahim Chamseddine, David Walz, S. J. Isakoff, R. B. Jimenez, A. L. Qi
article en

Abstract

Abstract Oncology notes contain the richest clinical detail, yet they remain largely inaccessible at scale because extracting structured phenotypes requires either substantial language model infrastructure, curated training data, or cloud computing under regulatory constraints. We developed OncoRAG, combining ontology enrichment, knowledge graph construction, graph-diffusion reranking, and structured prompting with a locally deployed 14B-parameter language model without model weight fine-tuning. Applied to three cohorts—triple-negative breast cancer (TNBC; 104 patients, 42 features; primary development), recurrent high-grade glioma (RiCi; 191 patients, 19 features; cross-lingual and cross-disease evaluation with cohort-specific configuration), and MIMIC-IV (100 patients, 10 features; limited external evaluation on overlapping features)—OncoRAG achieved F1 scores of 0.80, 0.79, and 0.84, improving over direct large language model (LLM) prompting and naive retrieval-augmented generation (RAG) baselines by 0.19–0.22 and 0.17–0.19 F1, and outperforming direct prompting with a 5× larger 70B model by 0.09–0.10 F1. In an exploratory survival analysis (12 events), both feature sets showed close point estimates of the C-index (0.77 vs 0.76), but equivalence cannot be statistically confirmed given the limited event count. OncoRAG enables accurate clinical phenotyping from multilingual oncology notes using a locally deployable mid-size model, without model weight fine-tuning or external data sharing.

npj Digital Medicine
German Cancer Research Center (DE), Heidelberg University (DE), University Hospital Heidelberg (DE), Heidelberger Institut für Radioonkologie (DE), National Center for Tumor Diseases (DE), Dana-Farber Cancer Institute (US), Center for Cancer Research (US), Mass General Brigham (US)
National Cancer Institute
Industry, innovation and infrastructure
Openalex Percentile: Top 83%
Biomedical Text Mining and Ontologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.