Open-Source Offline-Deployable Retrieval-Augmented Large Language Model for Assisting Pancreatic Cancer Staging

Read full text
Authors: Hisashi Johno, Akitomo Amakawa, Atsushi Komaba, Ryota Tozuka, Yuki Johno, Junichi Sato, Kentaro Yoshimura, Kazunori Nakamoto, Shintaro Ichikawa
Cited by: 0
References: 12

Abstract

Abstract Purpose Large language models (LLMs) are increasingly applied in radiology, but key challenges remain, including data leakage from cloud-based systems, false outputs, and limited reasoning transparency. This study aimed to develop an open-source, offline-deployable retrieval-augmented LLM (RA-LLM) system in which local execution prevents data leakage and retrieval-augmented generation (RAG) improves output accuracy and transparency using reliable external knowledge (REK), demonstrated in pancreatic cancer staging. Materials and Methods Llama-3.2 11B and Gemma-3 27B were used as local LLMs, and GPT-4o mini served as a cloud-based comparator. The Japanese pancreatic cancer guideline served as REK. Relevant REK excerpts were retrieved to generate retrieval-augmented responses. System performance, including classification accuracy, retrieval metrics, and execution time, was evaluated on 100 simulated pancreatic cancer CT cases, with non-RAG LLMs as baselines. McNemar tests were applied to TNM staging and resectability classification. Results RAG improved TNM staging accuracy for all LLMs (GPT-4o mini 61%→90%, p

Fields of Study & Subjects

Artificial Intelligence in Healthcare and Education Pancreatic and Hepatic Oncology Research AI in cancer detection

Publication details

Journal / source
medRxiv
Publication date
1 January 2026
Document type
Preprint