Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.
On-Premises Large Language Model With Guideline Retrieval Versus a Cloud-Based Model for Oral and Maxillofacial Treatment Planning: Pilot Study Using Simulated Cases
ABSTRACT
Background:
Large language models (LLMs) can draft treatment plans, but hospitals may be unable to send case information to cloud services, and surgeons need to check where recommendations come from. Open-weight LLMs running on institutional hardware with retrieval-augmented generation (RAG) keep information in-house and can cite pages of domestic guidelines. Whether such systems produce usable and checkable drafts in oral and maxillofacial surgery is unknown.
Objective:
This pilot study aimed to compare treatment planning drafts from an on-premises LLM with guideline retrieval and a cloud-based LLM without retrieval and to audit the page-level citations of the on-premises system.
Methods:
An on-premises system (Qwen3.5-27B on a single workstation; retrieval from 14 Japanese guideline and position paper documents) and a cloud model (GPT-5.4; no retrieval) each generated 1 response for 7 simulated cases. Three surgeon-authors, 1 of whom developed the on-premises system, were masked to system identity and independently rated 5 practical utility domains (0-3), the Global Quality Score (GQS; 1-5), modified DISCERN (0-5), and harmful-error severity (0-3). Acceptability was predefined as all domain medians ≥2, consensus harmful-error severity <2, and no generation error. After rating, each page-level citation was compared with the supplied passage, and support for the attributed statement was classified as full, partial, or absent.
Results:
Both systems met the acceptability criteria in all 7 cases. Of 35 case-level domain medians per system, 29 (83%) on-premises and 33 (94%) cloud medians were at the highest score (23/25 each in the 5 cases addressed by the document collection; 6/10 vs 10/10 in the 2 cases that were not). Mean GQS was 4.00 (SD 0.58) for the on-premises system and 4.71 (SD 0.49) for the cloud model (P=.06; Holm-adjusted P=.44); mean modified DISCERN was 4.86 (SD 0.38) and 4.71 (SD 0.49), respectively. Mild errors were recorded in 2 on-premises responses and no cloud response; none was moderate or severe. Interrater agreement was low (Krippendorff α −0.21 to 0.59). Only the on-premises system gave page-level citations (21 citations in 6 responses); the cited passage fully supported the attributed statement in 5 (24%), partly in 9 (43%), and not in 7 (33%). The audit identified a statement on anticoagulant timing that reversed a condition in the cited passage; no rater had recorded it as a harmful error.
Conclusions:
In 7 simulated cases, an on-premises LLM with guideline retrieval produced drafts that met predefined acceptability criteria without case information leaving the institution, and its page-level citations could all be checked. Quality ratings favored the cloud model, most citations did not fully support the attributed statements, and the raters missed 1 error. Equivalence and clinical safety were not established. Citation auditing and broader guideline coverage should be part of further evaluation.
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.