Javascript must be enabled to continue!
Open-source offline-deployable retrieval-augmented large language model for assisting pancreatic cancer staging
View through CrossRef
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, written in English, 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 cases with CT findings described in English, using 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
< 0.001; Llama-3.2 11B 53% → 72%,
p
< 0.001; Gemma-3 27B 59% → 87%,
p
< 0.001) and mildly improved resectability classification for GPT-4o mini and Llama-3.2 11B (72% → 84%,
p
= 0.012; 58% → 73%,
p
= 0.006), while the improvement for Gemma-3 27B was not evident (77% → 86%,
p
= 0.093). Gemma-3 27B showed performance comparable to GPT-4o mini. Retrieval performance was high (context recall = 1; context precision = 0.5–1), and local models ran at speeds comparable to the cloud-based GPT-4o mini.
Conclusion
We developed an offline-deployable RA-LLM system for pancreatic cancer staging and publicly released its full source code. RA-LLMs outperformed baseline LLMs, and the offline-capable Gemma-3 27B performed comparably to the widely used cloud-based GPT-4o mini.
Springer Science and Business Media LLC
Title: Open-source offline-deployable retrieval-augmented large language model for assisting pancreatic cancer staging
Description:
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, written in English, 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 cases with CT findings described in English, using 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
< 0.
001; Llama-3.
2 11B 53% → 72%,
p
< 0.
001; Gemma-3 27B 59% → 87%,
p
< 0.
001) and mildly improved resectability classification for GPT-4o mini and Llama-3.
2 11B (72% → 84%,
p
= 0.
012; 58% → 73%,
p
= 0.
006), while the improvement for Gemma-3 27B was not evident (77% → 86%,
p
= 0.
093).
Gemma-3 27B showed performance comparable to GPT-4o mini.
Retrieval performance was high (context recall = 1; context precision = 0.
5–1), and local models ran at speeds comparable to the cloud-based GPT-4o mini.
Conclusion
We developed an offline-deployable RA-LLM system for pancreatic cancer staging and publicly released its full source code.
RA-LLMs outperformed baseline LLMs, and the offline-capable Gemma-3 27B performed comparably to the widely used cloud-based GPT-4o mini.
Related Results
Hubungan Perilaku Pola Makan dengan Kejadian Anak Obesitas
Hubungan Perilaku Pola Makan dengan Kejadian Anak Obesitas
<p><em><span style="font-size: 11.0pt; font-family: 'Times New Roman',serif; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-langua...
Open-Source Offline-Deployable Retrieval-Augmented Large Language Model for Assisting Pancreatic Cancer Staging
Open-Source Offline-Deployable Retrieval-Augmented Large Language Model for Assisting Pancreatic Cancer Staging
Abstract
Purpose
Large language models (LLMs) are increasingly applied in radiology, but key challenges remain, including data ...
Algorithmic implementation of pancreatic cancer staging guidelines: comparison with a retrieval-augmented large language model
Algorithmic implementation of pancreatic cancer staging guidelines: comparison with a retrieval-augmented large language model
Abstract
Purpose
To implement a comprehensive knowledge-based algorithm (KBA) for pancreatic cancer staging based on the curren...
MODULAR BAMBOO STRUCTURE DESIGN EXPLORATION WITH DEPLOYABLE CONSTRUCTION SYSTEM
MODULAR BAMBOO STRUCTURE DESIGN EXPLORATION WITH DEPLOYABLE CONSTRUCTION SYSTEM
Abstract- Deployable structure is a type of structure that can be transformed from a closed configuration to an open configuration. This structure can be assembled and disassembled...
Abstract IA-08: Clinical advances in pancreas adenocarcinoma
Abstract IA-08: Clinical advances in pancreas adenocarcinoma
Abstract
Pancreatic adenocarcinoma (PDAC) remains one of the most lethal cancers today and is expected to be the second cause of cancer death in the coming decade. M...
Diseño paramétrico de las estructuras desplegables : control límite de movimiento
Diseño paramétrico de las estructuras desplegables : control límite de movimiento
Deployable structures with articulated straight bars have the virtue of being lightweight, modular and transformable. This is how the architect Felix Escrig defined them, who left ...
Učinak poučavanja razrednomu jeziku u izobrazbi nastavnika njemačkoga
Učinak poučavanja razrednomu jeziku u izobrazbi nastavnika njemačkoga
The actual use of classroom language is principally limited to the classroom environment. As far as foreign language learning is concerned, the classroom often turns out to be the ...
Increased life expectancy of heart failure patients in a rural center by a multidisciplinary program
Increased life expectancy of heart failure patients in a rural center by a multidisciplinary program
Abstract
Funding Acknowledgements
Type of funding sources: None.
INTRODUCTION Patients with heart failure (HF)...

