OncoRAG: graph-based retrieval enabling clinical phenotyping from oncology notes using local mid-size language models
Patrick Salome, Maximilian Knoll, David Walz, Nicolò Cogno, A. S. Dedeoglu, A. L. Qi, S. J. Isakoff, Amir Abdollahi,
German Cancer Research Center · Heidelberg University
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- OncoPT: long-context transformer models for in hospital tumor phenotype extraction from pathology reportsnpj Digital Medicine · 2026
- CancerLLM: a large language model in cancer domainnpj Digital Medicine · 2026
- EPID-12 AI-based autonomous large-scale neuro-oncological database generation from unstructured clinical reports using schema-constrained LLMsNeuro-Oncology · 2026
- EPCO-41 Large Language Model (LLM) extraction of a large deeply annotated neuro-oncology cohort reveals clinically and biologically relevant treatment associationsNeuro-Oncology · 2026
- Digital Registrar: A Schema-First Framework for Multi-Cancer Privacy-Preserving Pathology Abstraction via Local LLMsDiagnostics · 2026
- Investigating fine-tuning versus zero-shot learning for general large language models when predicting cancer survival from initial oncology consultation documentsESMO Real World Data and Digital Oncology · 2026