Accessibility settings

Published on in Vol 5 (2026)

Preprints (earlier versions) of this paper are available at https://preprints.jmir.org/preprint/89792, first published .
Elderly couple looks at laptop showing radiation therapy machine

Retrieval-Augmented Generation for Radiation Oncology Patient Education: Comparative Evaluation of Large and Small Language Models

Retrieval-Augmented Generation for Radiation Oncology Patient Education: Comparative Evaluation of Large and Small Language Models

1Department of Radiation Oncology, China Medical University Hospital, No. 2, Yude Rd., North Dist., Taichung City, Taiwan

2NVIDIA AI Technology Center, NVIDIA, Santa Clara, CA, United States

3School of Medicine, College of Medicine, China Medical University, Taichung City, Taiwan

Corresponding Author:

Ting-Chun Lin, MD


Background: Large language models (LLMs) may support oncology patient education, but patient-facing deployment is limited by hallucinations, outdated information, and variable clinical safety without domain-specific grounding.

Objective: This exploratory study compared retrieval-augmented generation (RAG)–enabled and safety-constrained non-RAG configurations for common radiation oncology patient education questions and assessed whether an 8-billion-parameter (8B) model could approach the performance of a 70-billion-parameter (70B) model under the RAG-enabled configuration.

Methods: We developed a RAG-enabled radiation oncology education system using Llama-3.1 70B and 8B Instruct models, Traditional Chinese institutional patient education materials, Facebook AI Similarity Search (FAISS) vector search, and reranking. The configurations differed in retrieved context and prompt instructions. A total of 20 Traditional Chinese benchmark questions were answered under 4 model conditions (70B, 70B+RAG, 8B, and 8B+RAG). After excluding the 2 physicians (TCL and CYL) who prepared the reference answers, 6 clinical evaluators (4 physicians [CHH, RTH, YYY, and SYG], 1 nurse [XPL], and 1 case manager [YPH]), all of whom were study coinvestigators and coauthors but were independent of reference-answer preparation, rated all outputs on 1 to 5 scales for accuracy, patient-friendliness, and safety. Primary analyses used the 6-rater mean and crossed linear mixed-effects models with random intercepts for rater and question. Llama-3.1 70B was evaluated secondarily as a judge LLM.

Results: For 70B without versus with RAG, mean scores were 4.08 (SD 0.61) vs 4.58 (SD 0.44) for accuracy, 4.07 (SD 0.43) vs 4.71 (SD 0.22) for patient-friendliness, and 4.47 (SD 0.48) vs 4.70 (SD 0.38) for safety; corresponding 8B scores were 2.90 (SD 1.33) vs 4.45 (SD 0.45), 3.12 (SD 1.14) vs 4.56 (SD 0.41), and 3.58 (SD 0.82) vs 4.70 (SD 0.37). In the mixed-effects models, the RAG-minus-non-RAG contrasts for 70B were 0.50 (95% CI 0.24‐0.76; P<.001), 0.64 (95% CI 0.41‐0.88; P<.001), and 0.23 (95% CI −0.01 to 0.47; P=.06), respectively. For 8B, the contrasts were 1.55 (95% CI 1.29‐1.81), 1.44 (95% CI 1.21‐1.68), and 1.13 (95% CI 0.88‐1.37), respectively (all P<.001). All model size-by-RAG interactions were significant (all P<.001), indicating larger RAG-associated gains for 8B. Judge LLM scores showed Spearman correlations of 0.709 for accuracy, 0.607 for patient-friendliness, and 0.463 for safety with the 6-rater mean (all P<.001). The 8B+RAG and 70B+RAG mean total response times were 1.71 (SD 0.38) seconds and 2.98 (SD 1.02) seconds, respectively.

Conclusions: In this exploratory 20-question benchmark, RAG-enabled configurations achieved higher human-rated scores, particularly for 8B. These comparisons reflect both retrieved context and differences in prompt instructions. The modest and less robust safety gain for 70B, variable interrater reliability, and weaker judge LLM agreement for safety support cautious interpretation and continued clinical expert oversight.

JMIR AI 2026;5:e89792

doi:10.2196/89792

Keywords



Modern cancer care necessitates coordinated, multidisciplinary management across surgical, radiation, and medical oncology specialties to optimize therapeutic outcomes. With the advent of precision radiotherapy and the integration of increasingly complex systemic therapies such as chemotherapy, targeted agents, and immunotherapy, patients are now faced with multifaceted treatment regimens, each carrying unique toxicity profiles and intricate administration schedules. This escalating complexity places significant demands on patient education, as individuals must not only understand the sequential phases of their treatment but also recognize early warning signs of complications and adhere to detailed self-care protocols [1,2]. The imperative for effective patient education is expected to intensify further, given projections that global cancer incidence will rise by 77% by 2050 [3]. In this context, professional nursing staff and case managers assume a pivotal role in delivering accurate information and tailored side-effect management plans, which are both time-consuming and challenging within busy clinical environments [4].

While nursing staff and case managers provide essential counseling, health care resource constraints and limited consultation time often restrict the depth and personalization of patient education in academic medical centers [5]. In recent years, the emergence of large language model (LLM)-powered chatbots has offered promising solutions to these clinical challenges [6]. Systematic reviews indicate that oncology is a predominant focus for health care chatbot apps, with LLMs being increasingly explored for their ability to enhance patient communication, deliver tailored information, and support decision-making [7-9]. Notably, some LLM-based chatbots have demonstrated accuracy in responding to colorectal cancer queries that even surpasses that of oncology physicians [10]. A recent multicenter radiation oncology study also reported the performance characteristics of a medical LLM on real-world radiation oncology questions [11]. However, despite these advancements, LLMs present notable limitations that must be addressed before widespread clinical adoption. Without domain-specific fine-tuning and oversight, LLMs are prone to generating hallucinations, meaning plausible but incorrect or misleading information, which can undermine patient safety and trust [12]. Additionally, these models may rely on outdated or nonlocalized data sources and often lack the nuanced, up-to-date expertise required for complex oncological patient education. Therefore, while LLM-powered chatbots hold potential to support patient education, integration with expert-validated clinical knowledge is crucial for accuracy and reliability in patient-facing applications.

Retrieval-augmented generation (RAG) combines information retrieval with LLM generation, allowing models to incorporate external sources such as medical literature, clinical guidelines, or institutional education materials during response generation. By grounding outputs in curated sources, RAG may mitigate limitations of standalone LLMs, including hallucinations, outdated information, and lack of domain-specific context [13]. In clinical medicine, RAG has been proposed as a strategy for improving the reliability and accuracy of AI-driven information support, particularly in complex fields like oncology where evidence-based and context-aware communication is important [12,13].

RAG can address important limitations of LLMs by grounding outputs in external knowledge sources [14,15]. Common patient education questions may be adequately handled by a conventional retrieval-grounded pipeline when relevant content is already available in a curated institutional knowledge base. Agent-based architectures, including systems with planning, memory, and tool use, may be useful for broader real-world deployments that require routing among tools, escalation, or handling of out-of-scope queries [16,17]. However, the current benchmark did not isolate the independent contribution of agentic orchestration. We therefore frame this study as a comparison of RAG-enabled and non-RAG configurations for common radiation oncology patient education questions rather than as a direct comparison of agentic RAG and standard RAG.

We developed a RAG-enabled framework for radiation oncology patient education, defined here as responses to common patient-facing questions about radiotherapy basics, side effects, nutrition, and self-care. This study evaluated whether RAG-enabled configurations achieved higher response-quality scores than safety-constrained non-RAG configurations across accuracy, patient-friendliness, and safety, and whether a smaller 8-billion-parameter (8B) model could approach the performance of a larger 70-billion-parameter (70B) model when grounded in institutional knowledge. Because the benchmark questions represented routine clinical education topics covered by the curated institutional knowledge base and all RAG-condition responses used the retrieval pipeline, the aim was not to prove superiority of agentic orchestration over standard RAG, but to evaluate the performance of these configurations in this focused patient education setting.


RAG System Architecture

A RAG-enabled prototype tailored for health education in radiation oncology was developed in this study. The architecture of the proposed system, including its core components and workflow, is illustrated in Figure 1. At the center of this architecture is an LLM serving as the cognitive engine for natural language understanding and generation. To systematically evaluate model performance within the RAG framework, we evaluated the pipeline using 2 different models. The prototype was implemented as a tool-using question-answering pipeline with reasoning-oriented prompts and retrieval tools; however, in the current benchmark, all RAG-condition responses were generated through the retrieval pipeline because the 20 benchmark questions addressed routine patient education topics for which topic-relevant institutional materials were available in the curated knowledge base. The knowledge base was not constructed as a lookup table of the benchmark questions or reference answers. Therefore, the architecture should be interpreted as an implementation framework rather than evidence that agentic routing or selective retrieval improved performance over standard RAG. The entire system was implemented using Python 3.12 (Python Software Foundation), LangChain v0.3.9 (LangChain, Inc), and Facebook AI Similarity Search (FAISS) v1.10.0 (Meta Platforms, Inc.). The retrieval pipeline integrated NeMo Curator (NVIDIA Corporation) for data preprocessing, the nv-embedqa-e5-v5 model for vector embeddings, FAISS for similarity search, and a reranking component for result optimization. All language models, text embedding, and reranking functionalities were deployed through NVIDIA Inference Microservices (NVIDIA NIM) endpoints.

‎
Figure 1. Architecture of the retrieval-augmented generation (RAG)-enabled conversational agent developed for radiation oncology patient education. The agent layer integrates user queries, conversational memory, and a large language model (LLM) hosted through NVIDIA Inference Microservices (NIM). The RAG subsystem retrieves and reranks information from the institutional knowledge base and supplies the selected context to the LLM for response generation. The system was evaluated at China Medical University Hospital, Taiwan. Outputs were generated in August 2025; original human ratings were completed by September 2025, and additional human ratings were completed in June 2026. RAG: retrieval-augmented generation; LLM: large language model; NIM: NVIDIA Inference Microservices.

LLM Selection

The study evaluated 2 Llama-3.1 series models (Llama-3.1 70B Instruct and Llama-3.1 8B Instruct) to assess their performance in radiation oncology health education applications. This selection spans a large difference in parameter scale and allowed us to examine whether the RAG-enabled configuration was associated with a reduction in the performance gap between smaller and larger models in a patient education setting. The models were selected because they support multilingual generation and can be deployed in controlled institutional or enterprise inference environments.

Smaller parameter models (8B parameters) were included to evaluate feasibility in resource-constrained hospital environments, where inference latency, infrastructure availability, privacy, and maintainability are important considerations. Larger models (70B parameters) were included as a stronger baseline for complex radiotherapy-related questions. All benchmark questions and source materials were in Traditional Chinese, matching the linguistic environment of intended users. Llama-3.1 70B Instruct was used as a unified automated scoring model to reduce heterogeneity in the LLM-as-judge evaluation, while physician ratings were treated as the primary clinical reference.

Knowledge Base Construction and Preprocessing

The knowledge base for the RAG system was constructed from Traditional Chinese institutional health education materials, clinical guidelines, frequently asked questions, and public web pages curated by the Department of Radiation Oncology at China Medical University Hospital. The local repository used for the clinical system contained 37 curated web pages and local documents, including institutional patient education pages, department information pages, a radiation treatment guideline PDF, and internal question-answer documents. All source documents were written in Traditional Chinese, reflecting the linguistic environment of the intended users. The preprocessing pipeline used recursive character splitting with chunk sizes configured for Traditional Chinese text density and overlap to preserve context across boundaries.

Retrieval and Reranking Pipeline

The RAG-enabled system uses a 2-stage retrieval and reranking approach to achieve both efficiency and high answer quality. In the first stage, FAISS is used to rapidly retrieve the top 30 candidate passages from the knowledge base based on vector similarity, ensuring broad coverage of potentially relevant information. In the second stage, these candidates are reranked using the NVIDIA Llama-3.2-nv-rerankqa-1b-v1 cross-encoder model, which evaluates the semantic relevance of each passage to the user query and selects the top 5 for answer generation. This combination of fast vector retrieval with a domain-adapted reranker balances computational efficiency and precision, which is especially important in medical and health education applications where accuracy and trustworthiness are critical.

Nogueira and Cho (2020) [18] demonstrated that the use of cross-encoder rerankers significantly improves the relevance of passage ranking compared to single-stage retrieval. Their findings have established this approach as a standard in RAG pipelines, particularly in domains that require high precision, such as health care, which directly supports the design choices in our retrieval pipeline.

Question-Answering Pipeline and Multilingual Handling

The RAG-enabled system processed each benchmark query (Multimedia Appendix 1) by retrieving relevant institutional context and then generating an answer constrained by the retrieved material and safety-oriented system instructions. The system prompts were written in Traditional Chinese and instructed the model to answer in the user’s language, avoid unsupported claims, acknowledge uncertainty, and recommend consultation with radiation oncology professionals for individualized medical decisions. The non-RAG configuration shared the clinical role and general safety objectives but used a different prompt: it included a separate no-information rule for specific requests and a scripted fallback response template (Multimedia Appendix 2). Thus, the RAG-vs-non-RAG contrast reflects both the provision of retrieved context and differences in prompt instructions, rather than the isolated effect of retrieval. All RAG-condition responses in this benchmark used the retrieval pipeline. Redacted Traditional Chinese prompt templates and English translations are provided in Multimedia Appendix 2.

Statistical Analysis

Overview

We evaluated non-RAG and RAG-enabled configurations using 20 benchmark questions with reference answers. The questions reflected routine patient education topics encountered by nurses and radiation therapy staff in a tertiary radiation oncology department and covered radiotherapy basics, side effects, nutrition, and self-care (Multimedia Appendix 1). Reference answers were prepared by 2 board-certified radiation oncologists who had participated in the original rating panel. To reduce incorporation bias, their ratings were excluded from all primary human analyses. These reference answers also served as structured benchmarks for the judge LLM, which was instructed to evaluate each model output with respect to the corresponding reference answer on the predefined 1 to 5 scales.

The final evaluation panel comprised 6 clinical professionals (4 physicians [CHH, RTH, YYY, and SYG], 1 nurse [XPL], and 1 case manager [YPH]), all of whom were study coinvestigators and coauthors but were independent of reference-answer preparation. Each evaluator rated the same 80 deidentified model outputs on 1 to 5 scales for accuracy, patient-friendliness, and safety. Evaluators were masked to model size and RAG status, and source attributions were removed from the rating copies. Questions were presented in a fixed order, whereas the 4 responses to each question were presented in randomized order. The reference answers were not shown to these 6 evaluators during scoring. Model outputs were generated in August 2025. The 3 original evaluators (CHH, RTH, and YYY) completed initial scoring by September 2025. During revision, 3 additional evaluators (SYG, XPL, and YPH) scored the unchanged outputs in June 2026 on the same three 1 to 5 rating dimensions. The 3 additional evaluators completed their ratings without knowledge of the previous statistical results or model performance rankings. The original ratings of the 3 retained original evaluators were used unchanged in the primary analyses. The ratings from the 3 additional evaluators were added, and all analyses were rerun using the 6-evaluator dataset.

The endpoint anchors in the retained Traditional Chinese evaluation form are reproduced verbatim with an English translation in Multimedia Appendix 3. Accuracy ranged from 1 (inaccurate) to 5 (very accurate); patient-friendliness ranged from 1 (too technical and difficult to understand) to 5 (simple and easy to understand); and safety ranged from 1 (contains dangerous statements) to 5 (contains no dangerous statements). The form does not contain separate descriptions for scores 2 to 4. The recorded scores were analyzed as originally assigned by the evaluators.

The 5 explicit 8B non-RAG refusals (questions 7, 10, 13, 14, and 20) had recorded scores for all 3 outcomes from all 6 evaluators. These scores were retained as observed, without analyst-assigned penalties, imputation, or retrospective recoding. Evaluators received no refusal-specific scoring instructions; each evaluator applied the general rating rubric and clinical judgment separately to accuracy, patient-friendliness, and safety. Their observed score distributions are reported in Multimedia Appendix 4.

Interrater Reliability

To assess the reliability of human evaluations, interrater reliability was calculated separately for each outcome and model condition using a 2-way random-effects, absolute-agreement intraclass correlation coefficient (ICC). ICC (2,1) estimated the reliability of an individual rater, whereas ICC (2,6) estimated the reliability of the 6-rater mean. Percentile 95% CIs for ICC (2,6) were obtained from 5000 bootstrap resamples of questions. The per-question mean across the 6 clinical professionals was used as the primary human-derived outcome in paired analyses, with rater and question additionally included as random intercepts in the mixed-effects models.

RAG Versus Non-RAG Comparisons on Human-Rated Scores

For the pairwise comparisons, each of the 20 clinical questions served as a matched pair (n=20). The per-question mean scores across the 6 raters were computed for each model condition. Normality of the paired differences was assessed using the Shapiro-Wilk test. When differences approximated a normal distribution, a paired t test was used; otherwise, the Wilcoxon signed-rank test was applied. Comparisons were performed for 70B versus 70B+RAG and 8B versus 8B+RAG, separately for each outcome measure (accuracy, patient-friendliness, and safety). Mean differences, 95% CIs, and effect sizes (Cohen dz or matched-pairs rank-biserial r) were reported.

To leverage the full dataset of individual ratings, linear mixed-effects models were fit separately for each outcome. Model size (70B vs 8B), RAG augmentation (RAG vs non-RAG), and their interaction were included as fixed effects, with rater and question modeled as crossed random intercepts. Effect coding (−0.5 and +0.5) was used, so each main-effect coefficient represents the average contrast across the levels of the other factor. Condition-specific RAG contrasts were estimated separately. Fixed-effect estimates (β), SEs, 95% CIs, z values, and P values were used for inference. The model was specified as:

Score = β0 + β1(Model size) + β2(RAG) + β3(Model size x RAG) + μ(rater) + μ(question) + ε

To examine the robustness of these findings, sensitivity analyses were conducted by omitting each of the 6 raters in turn and re-estimating all pairwise RAG versus non-RAG contrasts, thereby assessing whether the direction or statistical significance of the RAG effects depended on any single evaluator.

An additional post hoc sensitivity analysis excluded the 5 questions refused by the 8B non-RAG configuration. The same questions were removed from all 4 conditions to preserve pairing, leaving 15 questions and 1080 individual human ratings (360 per outcome). Paired tests and crossed random-intercept mixed models were repeated without changing any scores. Benjamini-Hochberg correction was applied separately to the 6 sensitivity contrasts from each analytical approach. The original 20-question analyses remained primary (Multimedia Appendix 4).

Agreement Between the Judge LLM and Human Raters

At the level of each question-by-model-by-outcome combination, Spearman rank correlation coefficients were calculated between judge LLM scores and the 6-rater human mean; percentile 95% CIs were estimated using 5000 bootstrap resamples. Systematic scoring bias was assessed as judge LLM score minus the human mean and tested against zero using a Wilcoxon signed-rank test or one-sample t test, as selected after evaluating the distribution of paired differences. Rater type (human vs judge LLM) and its interactions with model size and RAG were also incorporated into crossed mixed-effects models to evaluate whether the judge LLM differed in overall score level or in its estimated RAG effect.

Benjamini-Hochberg false discovery rate correction was applied within each prespecified family of tests: the 6 RAG versus non-RAG comparisons, the 3 judge LLM correlations, and the 3 Judge LLM bias tests. All tests were 2-tailed, with P<.05 considered statistically significant.

Response Time and Exploratory Failure-Case Analyses

Response time was defined as total elapsed wall-clock time from request submission to receipt of the complete response and was summarized using means and SDs; time to first token and component-level retrieval latency were not available. Failure-case analysis was descriptive: RAG question-by-model-by-outcome cells were ranked by the 6-rater mean, and the lowest-scoring outputs and questions with the greatest interrater dispersion were reviewed for residual weaknesses. Evaluator comments collected alongside the numerical ratings were additionally reviewed to identify recurring concerns and to inform the interpretation of model underperformance patterns.

Ethical Considerations

The study used institutional educational materials and benchmark questions derived from routine patient education topics. No patient-level protected health information, patient identifiers, or clinical outcome data were used for model generation or evaluation. The 6 clinical evaluators were study coinvestigators and coauthors who assessed deidentified model outputs as part of methodological validation; they were not enrolled as research participants. Accordingly, the study did not involve patient data or human participants requiring institutional review board review.


We evaluated four model conditions (70B, 70B+RAG, 8B, and 8B+RAG) across 20 radiation oncology patient education questions. After excluding the 2 reference-answer physicians, the primary analysis included 6 coauthor clinical evaluators who were independent of reference-answer preparation and 1440 individual ratings (20 questions×4 model conditions×3 outcomes×6 raters). Human results in Table 1 are based on the per-question 6-rater mean; judge LLM results are reported separately as a secondary evaluation.

Across the 6-rater means, RAG was associated with higher scores for all outcomes (Table 1 and Figure 2). For 70B, mean accuracy increased from 4.08 (SD 0.61) to 4.58 (SD 0.44), patient-friendliness from 4.07 (SD 0.43) to 4.71 (SD 0.22), and safety from 4.47 (SD 0.48) to 4.70 (SD 0.38). For 8B, accuracy increased from 2.90 (SD 1.33) to 4.45 (SD 0.45), patient-friendliness from 3.12 (SD 1.14) to 4.56 (SD 0.41), and safety from 3.58 (SD 0.82) to 4.70 (SD 0.37). Thus, the descriptive means for 8B+RAG were close to those for 70B+RAG, although no equivalence or noninferiority hypothesis was tested. Overall, 5 of the 20 (25%) questions prompted the 8B non-RAG model to decline to answer because of uncertainty; this behavior was not observed in RAG conditions.

Table 1. Mean (SD) human and judge LLMa ratings of accuracy, patient-friendliness, and safety for 20 Traditional Chinese radiation oncology patient education questions under 4 model conditions, China Medical University Hospital, Taiwanb.
Evaluator and model conditionAccuracy, mean (SD)Patient-friendliness, mean (SD)Safety, mean (SD)
Six-rater human
70Bc4.08 (0.61)4.07 (0.43)4.47 (0.48)
70B+RAGd4.58 (0.44)4.71 (0.22)4.70 (0.38)
8B2.90 (1.33)3.12 (1.14)3.58 (0.82)
8B+RAG4.45 (0.45)4.56 (0.41)4.70 (0.37)
Judge LLM
70B4.35 (0.49)4.05 (0.39)5.00 (0.00)
70B+RAG4.90 (0.31)4.25 (0.44)5.00 (0.00)
8B3.35 (1.42)3.20 (1.32)3.95 (1.76)
8B+RAG4.80 (0.52)4.20 (0.41)4.95 (0.22)

aLLM: large language model.

bOutputs were generated in August 2025; original human ratings were completed by September 2025 and additional human ratings in June 2026. Human values are 6-rater means.

cB: billion.

dRAG: retrieval-augmented generation.

‎
Figure 2. Human ratings of accuracy, patient-friendliness, and safety under 4 model conditions for 20 Traditional Chinese radiation oncology patient education questions at China Medical University Hospital, Taiwan. Outputs were generated in August 2025; original human ratings were completed by September 2025 and additional human ratings in June 2026. Scores were first averaged across 6 clinical evaluators for each question. Points show means across the 20 questions, error bars indicate 95% CIs, and numerical labels report mean (SD) across questions. RAG: retrieval-augmented generation.

Interrater Reliability Analysis

Single-measure ICC (2,1) values across the 6 clinical professionals ranged from 0.05 to 0.56, indicating poor individual-rater absolute agreement in most model-outcome conditions (Table 2). Average-measures ICC (2,6) values ranged from 0.24 to 0.88. Reliability of the 6-rater mean was good for 8B accuracy (ICC=0.88, 95% CI 0.75‐0.93) and patient-friendliness (ICC=0.82, 95% CI 0.67‐0.88), but poor for 70B+RAG patient-friendliness (ICC=0.24, 95% CI −0.29 to 0.53) and 8B safety (ICC=0.45, 95% CI −0.14 to 0.71). The wide intervals for several conditions indicate uncertainty due to the 20-question sample. In 6 of the 12 conditions, the ICC (2,6) 95% CI included zero, indicating that the reliability of the 6-rater mean was not distinguishable from zero in those conditions.

Table 2. Absolute-agreement interrater reliability among 6 clinical evaluators for 20 Traditional Chinese radiation oncology patient education questions under 4 model conditions, China Medical University Hospital, Taiwana.
Evaluation metricICCb (95% CI)
Single measures, ICC (2,1)Average measures, ICC (2,6)
70Bc
Accuracy0.18 (−0.04 to 0.36)0.57 (−0.26 to 0.77)
Patient-friendliness0.09 (0.00 to 0.18)0.38 (−0.01 to 0.58)
Safety0.16 (−0.02 to 0.29)0.54 (−0.16 to 0.71)
70B+RAGd
Accuracy0.28 (−0.01 to 0.47)0.70 (−0.02 to 0.85)
Patient-friendliness0.05 (−0.04 to 0.15)0.24 (−0.29 to 0.53)
Safety0.20 (0.04 to 0.25)0.60 (0.16 to 0.67)
8B
Accuracy0.56 (0.34 to 0.70)0.88 (0.75 to 0.93)
Patient-friendliness0.43 (0.25 to 0.56)0.82 (0.67 to 0.88)
Safety0.12 (−0.02 to 0.29)0.45 (−0.14 to 0.71)
8B+RAG
Accuracy0.21 (0.00 to 0.37)0.61 (0.01 to 0.78)
Patient-friendliness0.28 (0.00 to 0.50)0.70 (0.04 to 0.86)
Safety0.18 (0.01 to 0.24)0.57 (0.08 to 0.65)

aOutputs were generated in August 2025; original human ratings were completed by September 2025 and additional human ratings in June 2026. ICC (2,1) and ICC (2,6) describe single-rater and 6-rater-mean reliability, respectively.

bICC: intraclass correlation coefficient.

cB: billion.

dRAG: retrieval-augmented generation.

RAG Versus Non-RAG Comparisons on Human-Rated Scores

Pairwise Comparisons

For 70B accuracy, paired differences were nonnormal (Shapiro-Wilk P<.001), and the Wilcoxon signed-rank test showed a RAG-associated increase of 0.50 points (95% CI 0.21‐0.79; Benjamini-Hochberg false discovery rate [BH-FDR] P=.002; rank-biserial r=0.88). For 8B accuracy, differences were also nonnormal (P=.006); the corresponding increase was 1.55 points (95% CI 0.81‐2.29; BH-FDR P<.001; r=0.92).

Patient-friendliness differences were approximately normal for both 70B (Shapiro-Wilk P=.45) and 8B (P=.05), and paired t tests showed increases of 0.64 points (95% CI 0.44‐0.84; BH-FDR P<.001; Cohen dz=1.50) and 1.44 points (95% CI 0.81‐2.08; P<.001; dz=1.06), respectively. For safety, the 70B comparison used the Wilcoxon test (Shapiro-Wilk P=.007) and yielded a modest increase of 0.23 points (95% CI −0.02 to 0.49; BH-FDR P=.03; r=0.62). The 8B safety comparison used the paired t test (P=.16) and showed an increase of 1.13 points (95% CI 0.68‐1.57; BH-FDR P<.001; dz=1.20). Figure 3 shows the question-level distributions underlying these comparisons.

‎
Figure 3. Question-level differences in accuracy, patient-friendliness, and safety between retrieval-augmented generation (RAG) and non-RAG conditions for the 70B and 8B models. The benchmark comprised 20 Traditional Chinese radiation oncology patient education questions at China Medical University Hospital, Taiwan. Outputs were generated in August 2025; original human ratings were completed by September 2025 and additional human ratings in June 2026. Differences were calculated from 6-rater means for each question as RAG minus non-RAG; positive values favor RAG. Boxes show the IQR, central lines indicate medians, and whiskers extend to the most extreme observations within 1.5 IQRs of the box edges. Overlaid points represent individual questions, and numerical labels report mean difference (SD). RAG: retrieval-augmented generation.
Linear Mixed-Effects Models

In the crossed mixed-effects model for accuracy, the average RAG effect was β=1.03 (SE 0.09; z=10.99; P<.001), the average model-size effect was β=−0.65 (SE 0.09; z=−6.97; P<.001), and the model size-by-RAG interaction was β=1.05 (SE 0.19; z=5.63; P<.001). The positive interaction indicates that the RAG-vs-non-RAG contrast was larger for 8B than for 70B.

The same pattern was observed for patient-friendliness and safety (Tables 3 and 4). The average RAG effects were β=1.04 for patient-friendliness and β=0.68 for safety (both P<.001), with significant size-by-RAG interactions of β=0.80 and β=0.89, respectively (both P<.001). Condition-specific contrasts showed that the 70B safety increase was marginal in the mixed model (β=0.23; P=.06), whereas the 8B safety increase was pronounced (β=1.13; P<.001).

Table 3. Paired comparisons and condition-specific mixed-model contrasts of RAGa vs non-RAG configurations for the 70Bb and 8B modelsc.
Evaluation metricMean difference (95% CI) (RAG−no RAG)dAdjusted P valueeEffect sizefMixed-model simple contrast β (95% CI)dP value
Accuracy
70B+RAG vs 70B0.50 (0.21 to 0.79).0020.88g0.50 (0.24 to 0.76)<.001
8B+RAG vs 8B1.55 (0.81 to 2.29)<.0010.92g1.55 (1.29 to 1.81)<.001
Patient-friendliness
70B+RAG vs 70B0.64 (0.44 to 0.84)<.0011.50h0.64 (0.41 to 0.88)<.001
8B+RAG vs 8B1.44 (0.81 to 2.08)<.0011.06h1.44 (1.21 to 1.68)<.001
Safety
70B+RAG vs 70B0.23 (−0.02 to 0.49).0280.62g0.23 (−0.01 to 0.47).057
8B+RAG vs 8B1.13 (0.68 to 1.57)<.0011.20h1.13 (0.88 to 1.37)<.001

aRAG: retrieval-augmented generation.

bB: billion.

cThe benchmark comprised 20 Traditional Chinese radiation oncology patient education questions at China Medical University Hospital, Taiwan. Paired comparisons used 6-rater question-level means; mixed models used individual ratings. Outputs were generated in August 2025; original human ratings were completed by September 2025 and additional human ratings in June 2026.

dPaired estimates were calculated from 20 question-level 6-rater means; mixed-model estimates used all individual ratings with crossed random intercepts for evaluator and question. The balanced design yielded identical point estimates; CIs and P values are method-specific.

eAdjusted P values were obtained using the prespecified distribution-selected paired tests with Benjamini-Hochberg false discovery rate correction.

fEffect sizes are Cohen dz for paired t tests and matched-pairs rank-biserial r for Wilcoxon tests.

gr: rank-biserial r.

hdz: Cohen dz.

Table 4. Fixed effects from crossed linear mixed-effects models of accuracy, patient-friendliness, and safetya.
Evaluation metricβ (95% CI)bSEzP value
Accuracy
Model size (8Bc vs 70B)−0.65 (−0.83 to −0.47)0.09−6.97<.001
RAGd (yes vs no)1.03 (0.84 to 1.21)0.0910.99<.001
Model size x RAG1.05 (0.68 to 1.42)0.195.63<.001
Patient-friendliness
Model size (8B vs 70B)−0.55 (−0.72 to −0.38)0.08−6.51<.001
RAG (yes vs no)1.04 (0.88 to 1.21)0.0812.33<.001
Model size x RAG0.80 (0.47 to 1.13)0.174.73<.001
Safety
Model size (8B vs 70B)−0.45 (−0.62 to −0.28)0.09−5.14<.001
RAG (yes vs no)0.68 (0.51 to 0.85)0.097.83<.001
Model size x RAG0.89 (0.55 to 1.23)0.175.14<.001

aEach outcome model used 480 ratings from 6 clinical evaluators (1440 ratings across the 3 outcomes), with random intercepts for evaluator and question. The benchmark comprised 20 Traditional Chinese radiation oncology patient education questions under 4 model conditions at China Medical University Hospital, Taiwan. Outputs were generated in August 2025; original human ratings were completed by September 2025 and additional human ratings in June 2026.

bβ values are fixed-effect coefficient estimates; 95% CIs and P values are based on Wald inference.

cB: billion.

dRAG: retrieval-augmented generation.

To examine the robustness of these mixed-model findings, leave-one-rater-out sensitivity analyses were conducted by refitting the models after omitting each of the 6 raters in turn. In all refitted models, the direction of the RAG effect remained positive across outcomes, and 5 of the 6 RAG contrasts remained false discovery rate (FDR)-significant regardless of which rater was omitted. The exception was 70B safety, for which the estimated increase ranged from 0.13 to 0.28 points and was not significant after every omission (maximum adjusted P=.14), reinforcing the need for cautious interpretation of this specific contrast.

Sensitivity Analysis Excluding Refused Questions

The 5 8B non-RAG refusals contributed 30 human ratings per outcome. All 30 accuracy scores were 1; patient-friendliness scores comprised 26 ratings of 1 and 4 of 5; safety scores comprised 15 ratings of 1 and 15 of 5 (Multimedia Appendix 4). After excluding these 5 questions from all 4 conditions, the mixed-model RAG-minus-non-RAG contrasts for 8B were 0.81 (95% CI 0.54‐1.08) for accuracy, 0.83 (95% CI 0.60‐1.07) for patient-friendliness, and 0.86 (95% CI 0.61‐1.10; all BH-FDR P<.001) for safety. For 70B, the corresponding contrasts were 0.37 (95% CI 0.10‐0.63; BH-FDR P=.009), 0.68 (95% CI 0.44‐0.91; P<.001), and 0.12 (95% CI −0.12 to 0.37; P=.33). The paired analyses likewise retained five of 6 FDR-significant contrasts, with 70B safety nonsignificant. The smaller 8B accuracy and patient-friendliness contrasts show that refusals contributed materially to the primary differences.

Agreement Between the Judge LLM and Human Raters

Correlation With Human Mean Scores

Across 80 question-by-model combinations per outcome, judge LLM scores correlated with the 6-rater human mean for accuracy (Spearman ρ=0.709, 95% bootstrap CI 0.573‐0.815), patient-friendliness (Spearman ρ=0.607, 95% CI 0.457‐0.727), and safety (Spearman ρ=0.463, 95% CI 0.273‐0.599); all correlations remained significant after BH-FDR correction (Table 5 and Figure 4). Safety therefore showed the weakest rank agreement and a positive judge LLM scoring bias (positive values indicate higher judge LLM scores).

Table 5. Judge LLMa agreement and scoring bias relative to 6-rater human means for 20 Traditional Chinese radiation oncology patient education questions under 4 model conditions, China Medical University Hospital, Taiwanb.
Evaluation metricSpearman ρ (95% CI)FDR PcMean bias (95% CI)dFDR PcRater-type βP value
Accuracy0.709 (0.573-0.815)<.0010.35 (0.22-0.48)<.001.35.38
Patient-friendliness0.607 (0.457-0.727)<.001−0.19 (−0.31 to −0.07).001−.19.64
Safety0.463 (0.273-0.599)<.0010.36 (0.18-0.55)<.001.36.37

aLLM: large language model.

bOutputs were generated in August 2025; original human ratings were completed by September 2025, and additional human ratings in June 2026. Analyses use 80 question-by-model combinations per outcome.

cCorrelation and bias P values were adjusted using the Benjamini-Hochberg false discovery rate procedure in separate 3-test families.

dMean bias is calculated as judge large language model score minus the 6-rater human mean; positive values indicate higher judge large language model scores.

‎
Figure 4. Judge large language model (LLM) agreement with 6-rater human means for 20 Traditional Chinese radiation oncology patient education questions under 4 model conditions, China Medical University Hospital, Taiwan. Outputs were generated in August 2025; original human ratings were completed by September 2025 and additional human ratings in June 2026. Across 80 question-by-model combinations per outcome, the left panel shows Spearman correlations with bootstrap 95% CIs; the right panel shows mean Judge LLM minus human differences with 95% CIs. LLM: large language model.
Systematic Scoring Bias

Judge LLM scores were systematically higher than the human mean for accuracy (mean difference 0.35, 95% CI 0.22‐0.48; BH-FDR P<.001) and safety (0.36, 95% CI 0.18‐0.55; P<.001), but lower for patient-friendliness (−0.19, 95% CI −0.31 to −0.07; P=.001). These directional differences indicate that correlation alone does not establish interchangeable scoring.

Rater Type Effects in Mixed-Effects Models

In mixed models including rater type, the human-versus-judge LLM main effect was not significant for accuracy (β=0.35; P=.38), patient-friendliness (β=−0.19; P=.64), or safety (β=0.36; P=.37). The 3-way model size-by-RAG-by-rater type interaction was also nonsignificant for all outcomes (P=.75, P>.99, and P=.81, respectively), indicating broadly similar RAG-effect patterns at the aggregate level. Nevertheless, the weaker safety correlation and systematic scoring biases preclude treating the judge LLM as a substitute for clinical expert review.

Response Time Analysis

Mean total response time was 1.44 (SD 0.91) seconds for 8B and 1.71 (SD 0.38) seconds for 8B+RAG, compared with 2.93 (SD 2.39) seconds for 70B and 2.98 (SD 1.02) seconds for 70B+RAG. The observed RAG-associated increases were 0.27 seconds for 8B and 0.05 seconds for 70B. These are descriptive endpoint-level measurements of time to complete response, not time to first token or hardware benchmarks. Because NVIDIA API Catalog NIM abstracts the inference infrastructure, the GPU type and runtime profile were unavailable, and component-level retrieval latency could not be separated from generation and network time.

Exploratory Failure-Case Analysis

The lowest 6-rater mean scores among RAG outputs occurred for question 8 on skin-protective film use (accuracy mean 3.00 for both 70B+RAG and 8B+RAG), question 1 on defining radiotherapy (8B+RAG patient-friendliness mean 3.17), and question 4 on returning to work during treatment (8B+RAG accuracy mean 3.83). Question 8 also showed the greatest overall interrater dispersion. Review of model outputs and evaluator comments revealed that without RAG augmentation, both the 70B and 8B models frequently failed to recognize the intent of the question and provided off-topic responses. The 70B non-RAG outputs were generally verbose and contained alarmist language, whereas the 8B non-RAG model declined to answer 5 questions and produced misleading statements in additional cases. With RAG augmentation, response quality improved markedly: no off-topic responses were observed in the 70B+RAG condition, and only 1 off-topic response remained in the 8B+RAG condition. Thus, the RAG-enabled configurations had fewer low-scoring and off-topic responses in this benchmark but did not eliminate clinically relevant weaknesses, as reflected by the residual concerns involving procedural specificity and completeness of patient-facing explanations identified in the lowest-scoring outputs.


Principal Findings

In this exploratory benchmark of 20 Traditional Chinese radiation oncology patient education questions, RAG was associated with higher 6-rater mean accuracy, patient-friendliness, and safety scores for both model sizes. Improvements were consistently larger for 8B than for 70B, as supported by significant model size-by-RAG interactions in all 3 mixed models. The 70B safety contrast was the notable exception to the otherwise strong pattern: its mean increase was only 0.23 points and was not robust to every leave-one-rater-out analysis. Judge LLM ratings followed the overall RAG pattern but showed weaker agreement and positive scoring bias for safety, supporting continued clinical expert oversight. These are comparisons of configurations that differed in both prompt instructions and retrieved context, not estimates of the independent contribution of retrieval.

Safeguard and Prompt Design

The safety-oriented prompts instructed both RAG and non-RAG models to avoid unsupported claims, acknowledge uncertainty, and direct individualized decisions to radiation oncology professionals. However, the non-RAG prompt also included a separate no-information rule and scripted fallback response, making it a safety-constrained comparator rather than an unconstrained LLM baseline. Overall, 5 of 20 8B non-RAG outputs were explicit refusals, consistent with this instruction; they should not be attributed solely to a lack of model knowledge. In this benchmark of frequently asked patient-education questions, a refusal did not provide the requested information. Low accuracy scores for refusals therefore reflect failure to answer the question, rather than evidence that the refusal itself contained a false clinical statement. A post hoc sensitivity analysis excluding 5 questions that elicited explicit refusals from the 8B non-RAG configuration showed that the accuracy and patient-friendliness advantages of the RAG-enabled configurations remained statistically significant. However, the corresponding 8B effect estimates were substantially attenuated, indicating that refusal behavior contributed to, but did not fully explain, the primary contrasts. Safety findings warrant additional caution because evaluators were evenly divided between the lowest and highest safety ratings for refusals, suggesting divergent interpretations of safety rather than consensus. These findings support the robustness of the direction of the primary results while limiting claims regarding effect magnitude and the independent contribution of retrieval.

Proper prompt design can improve the accuracy, consistency, and clinical relevance of LLM responses to medical inquiries [19,20]. However, prompt formulation alone requires repeated testing and may not reliably supply localized or current institutional guidance. RAG offers a complementary approach by grounding responses in curated institutional knowledge bases and clinical guidelines [21-24]. Because this study did not include a standard RAG comparator and all RAG-condition responses used retrieval, we frame the agentic component as an implementation feature rather than an independently proven source of benefit.

Quantitative Performance of RAG-Augmented Models

The paired and mixed-model analyses converged on a larger RAG-versus-non-RAG contrast for 8B. Accuracy improved by 1.55 points for 8B compared with 0.50 for 70B, patient-friendliness by 1.44 versus 0.64 points, and safety by 1.13 versus 0.23 points. All 3 size-by-RAG interaction terms were significant. The configuration-level findings are consistent with recent reports that retrieval grounding can improve local or domain-specific clinical LLM performance [21-24], while the modest 70B safety result demonstrates that benefit should not be assumed to be uniform across outcomes or model sizes.

Clinical and Operational Implications

The descriptive means for 8B+RAG were close to those for 70B+RAG: 4.45 versus 4.58 for accuracy, 4.56 versus 4.71 for patient-friendliness, and 4.70 for both safety conditions. The performance gap was descriptively smaller under the RAG-enabled configuration, although the contribution of retrieval cannot be separated from that of prompt instructions. In addition, the 8B+RAG configuration was associated with shorter endpoint-based response times than 70B+RAG (1.71 seconds vs 2.98 seconds in this study), consistent with the expected computational advantages of smaller models. From an implementation perspective, such smaller RAG-augmented models may be more amenable to deployment in settings with constrained hardware, potentially enabling on-premise installations, faster inference, and broader access in smaller hospitals or resource-limited radiation oncology departments. These observations align with broader arguments for prioritizing model efficiency and deployment feasibility when introducing AI tools into clinical workflows, particularly in resource-constrained environments. However, the study was not designed as an equivalence or noninferiority trial, and the latency measurements were obtained from a specific experimental setup rather than a formal cost or resource-use analysis; the endpoint-based latency data do not establish economic or hardware advantages. These findings should therefore be framed as operational observations rather than proof of equivalent performance or cost-effectiveness.

Evaluation Robustness and Remaining Challenges

The reliability analysis distinguishes disagreement among individual raters from reliability of the aggregated outcome. ICC (2,1) values were low in most conditions, reflecting differences in rating severity among professionals and restricted score variation in high-performing RAG conditions. ICC (2,6) values were higher but remained variable, ranging from 0.24 to 0.88. However, 6 of the 12 ICC (2,6) CIs included zero, so averaging did not establish reliable measurement in every condition. In the primary 20-question dataset, all RAG effects remained positive in leave-one-rater-out analyses, and 5 of 6 comparisons remained FDR-significant regardless of the omitted rater. The less stable 70B safety contrast should therefore be interpreted separately from the stronger and more robust 8B effects.

Clinical Risks and Need for Expert Oversight

Review of model outputs and evaluator comments revealed systematic differences between non-RAG and RAG configurations that extended beyond the quantitative scores. Without RAG augmentation, both the 70B and 8B models frequently failed to recognize the intent of the question and provided off-topic responses. The 70B non-RAG outputs were often verbose and sometimes used alarmist language that could heighten patient anxiety rather than provide reassurance. For benchmark question 20, which asked, “If radiation therapy causes skin reactions, can I apply creams, baby oil, or other soothing products on my own?,” the non-RAG model responded with explicit warnings such as “this may cause skin infection” and “doing so might reduce treatment efficacy.” Although these clinical concerns are not entirely without merit, the tone and comprehensiveness of such responses may be inappropriate for vulnerable patient populations, particularly anxious young female breast cancer patients who frequently experience radiation dermatitis. The 8B non-RAG model returned 5 prompt-consistent refusals and produced misleading statements in other cases. Most notably, for benchmark question 16, which asked whether patients undergoing radiation therapy carry radioactive material, the model incorrectly asserted that patients retain radioactive substances during and after treatment, described 5 acute side effects of radiation, and detailed measures that a fictional “Diagnostic Radiation Medical Team” supposedly takes to reduce radiation impact on normal organs. This response illustrates clinically consequential misinformation in the tested non-RAG configuration: it does not merely fail to answer correctly, but actively reinforces a common and harmful patient misconception. Such misinformation can lead patients to develop unnecessary fear of contact with children or pregnant family members, a significant psychosocial burden that radiation oncologists actively work to prevent. Non-RAG models occasionally misinterpreted questions or responded with completely unrelated information, risking patient confusion and loss of trust in the system.

With RAG augmentation, response quality improved across both model sizes, although these findings reflect the combined prompt-and-context configurations. No off-topic responses were observed in the 70B+RAG condition, and only 1 off-topic response remained in the 8B+RAG condition. Nevertheless, source-grounded responses were not necessarily clinically precise. For question 16, the RAG outputs reassured readers about contact with family members but reproduced an imprecise explanation about transient radioactive material and an overly broad statement about the absence of effects outside the treatment field. These statements should not be treated as evidence of factual correctness. External-beam radiotherapy does not make the patient radioactive. The lowest-scoring RAG outputs also showed residual concerns involving procedural detail and completeness of patient-facing explanations. Clinical review of both source materials and generated responses therefore remains necessary.

Collectively, these qualitative findings underscore a critical distinction: while base LLMs can produce acceptable responses in some contexts, relying on their outputs without rigorous clinical validation may pose substantial risks in patient-facing oncology applications. Our observations indicate that medical professional review and validation of LLM-generated content should remain essential prior to any clinical implementation in radiation oncology patient education, particularly for sensitive topics involving treatment safety, side-effect management, or psychosocial concerns. This requirement persists regardless of the system’s quantitative performance metrics, as the clinical stakes of even occasional errors in patient education are substantial.

Judge LLM validation provided a second reason for caution. Rank agreement was strongest for accuracy but weaker for safety, and the judge LLM assigned safety scores an average of 0.36 points higher than the human mean. The nonsignificant rater-type interactions indicate that the judge LLM captured the broad direction of the RAG effect, but this aggregate similarity does not overcome outcome-specific disagreement or systematic bias. Automated judging may assist screening or large-scale monitoring, but it should not replace clinical review of patient-facing safety content.

Pathway to Implementation

A cautious implementation pathway would restrict the system to general educational questions covered by approved institutional content and route individualized decisions, urgent symptoms, treatment selection, dosage, and adverse-effect management to clinical professionals. To support this boundary, deployment should incorporate context-aware safety protocols that distinguish informational queries from clinically sensitive requests, such as those involving specific treatment protocols, dosage recommendations, or adverse-effect management. Standardized cautionary language, for example, directing patients to consult their health care provider for personalized guidance, should be triggered consistently when queries approach these boundaries. Deployment should also include versioned knowledge sources, retrieval traces, source citations, query-level monitoring, and escalation rules so that residual errors can be audited and corrected. Transparency requirements should further ensure that the system clearly communicates its limitations and the necessity of professional consultation for any treatment-related decisions.

The 1.71-second mean total response time for 8B+RAG suggests that complete responses can be returned promptly in the tested hosted environment. RAG augmentation also appeared to reduce response-time variability compared with the non-RAG condition, which may contribute to more predictable system behavior in time-sensitive clinical workflows such as patient education during consultations. However, NVIDIA API Catalog NIM concealed the underlying GPU and runtime configuration, and the measurements combined inference, retrieval, and network delays. A hospital-hosted or colocated NIM deployment could reduce network latency, but this was not tested. The reported times should not be interpreted as hardware benchmarks or generalized to other endpoints.

Limitations

This study has several limitations. First, the small benchmark of 20 Traditional Chinese questions from one radiation oncology department limits the precision and generalizability of the findings; performance in other languages was not evaluated. Comparisons reflect both retrieved context and prompt instructions, with a safety-constrained non-RAG baseline. The refusal-exclusion analysis was post hoc and based on observed 8B non-RAG behavior, so it supplements rather than replaces the primary analysis. Standard RAG may suffice for these routine queries but was not separately compared; agentic orchestration and reranking were not independently evaluated.

Second, all 6 evaluators were coauthors but were independent of reference-answer preparation. The 3 additional evaluators scored outputs in June 2026 without knowledge of previous statistical results or model rankings, although the study team already knew the direction of effect. Although model labels and source attributions were removed and response order was randomized within each question, we did not formally assess whether evaluators could infer the model conditions from the response content. The ICC(2,6) 95% CIs included zero in 6 of 12 conditions, indicating that reliability of the 6-rater mean was not distinguishable from zero in those conditions. Divergent safety ratings for refusals and the absence of explicit anchors for scores 2 to 4 add measurement uncertainty. Mixed models also treated ordinal scores as approximately continuous.

Third, potential overlap between institutional materials and pretraining data could elevate non-RAG baseline performance. The same-family judge LLM may exhibit preference bias and is not an independent clinical standard. Patient-friendliness was assessed by professionals rather than patients, without formal readability or comprehension testing; patient outcomes were not evaluated. Unavailable detailed retrieval traces and component-level latency logs, together with an undisclosed hosted GPU configuration, limit assessment of pipeline components and the generalizability of response-time findings.

Future Work

Future studies should use larger, multicenter question sets; include patients or caregivers in comprehensibility assessment; apply validated Traditional Chinese readability measures; and prospectively retain retrieved passages, scores, citations, endpoint configurations, and latency components. Prospective evaluation with clearer intermediate and refusal-specific rating anchors, independent evaluators, and a direct comparison of standard RAG, tool-using RAG, and non-RAG systems under matched prompt instructions, together with ordinal mixed-effects modeling and prospective failure adjudication, would clarify which components provide reproducible clinical value.

Conclusions

In this exploratory evaluation of 20 common Traditional Chinese radiation oncology patient education questions, RAG-enabled configurations achieved higher 6-rater mean scores than safety-constrained non-RAG configurations, with larger contrasts for 8B. These findings reflect both retrieved context and differences in prompt instructions. Accuracy and patient-friendliness contrasts remained positive after excluding the 5 questions refused by 8B without RAG, but the 8B contrasts were smaller and the 70B safety result remained uncertain. The descriptive 8B+RAG means were close to those of 70B+RAG, but equivalence was not tested. Uncertain interrater reliability, residual response weaknesses, and weaker judge LLM agreement for safety support expert review and prospective validation before patient-facing deployment.

Generative AI Use

Generative AI (GenAI) tools (Claude 3.5, Anthropic; and OpenAI Codex) were used to assist with Traditional Chinese-to-English translation and language refinement. These tools were not used to generate source study data, assign clinical ratings, or make clinical judgments. The authors reviewed and edited the manuscript and accept full responsibility for the final content.

Funding

This study was supported by China Medical University Hospital grants DMR-114-117 and DMR-115-130. The funder had no role in physician scoring, statistical analysis, interpretation of results, or the decision to submit the manuscript. NVIDIA provided technical expertise only.

Data Availability

The institutional health education materials used to construct the knowledge base are based on public and institutional resources from China Medical University Hospital. The benchmark questions are provided in Multimedia Appendix 1, and redacted Traditional Chinese system prompt templates with English translations are provided in Multimedia Appendix 2. The retained rating anchors and refusal-exclusion sensitivity analysis are provided in Multimedia Appendices 3 and 4, respectively. Reference answers, raw large language model (LLM) responses, granular clinical evaluator scoring data, and prototype code are not publicly available because they include institution-specific educational content, evaluator-level research data, and deployment-specific configuration. Requests for access may be considered by the corresponding author on a case-by-case basis subject to institutional approval and applicable data governance requirements.

Authors' Contributions

Conceptualization: TCL (lead), YHL (supporting), YRC (supporting)

Formal analysis: YRC (lead), TCL (supporting)

Investigation: CYL (lead), CHH (equal), RTH (equal), YYY (equal), JAL (equal), SYG (equal), XPL (equal), YPH (equal)

Methodology: YRC (lead), YHL (equal), ETCH (supporting), SS (supporting)

Project administration: TCL (lead)

Resources: ETCH (lead), SS (equal), YHL (supporting)

Software: YHL (lead), YRC (supporting)

Supervision: TCL (lead), JAL (supporting)

Validation: YRC (lead), TCL (supporting)

Writing–original draft: YRC (lead)

Writing–review & editing: TCL (lead), YHL (supporting), ETCH (supporting), SS (supporting), CYL (supporting), CHH (supporting), RTH (supporting), YYY (supporting), JAL (supporting), SYG (supporting), XPL (supporting), YPH (supporting)

Conflicts of Interest

Yang-Hsien Lin, Eddie TC Huang, and Simon See are employees of NVIDIA Corporation. They contributed technical expertise in large language model methodology and system implementation and did not participate in physician scoring or clinical outcome evaluation. The remaining authors declare no competing interests.

Multimedia Appendix 1

List of 20 benchmark patient education questions in Traditional Chinese with English translations.

DOCX File, 33 KB

Multimedia Appendix 2

Redacted Traditional Chinese system prompt templates with English translations.

DOCX File, 18 KB

Multimedia Appendix 3

Traditional Chinese rating anchors with English translations.

DOCX File, 30 KB

Multimedia Appendix 4

Observed refusal ratings and post hoc sensitivity analysis excluding refused questions.

DOCX File, 37 KB

  1. Paterick TE, Patel N, Tajik AJ, Chandrasekaran K. Improving health outcomes through patient education and partnerships with patients. Proc (Bayl Univ Med Cent). Jan 2017;30(1):112-113. [CrossRef] [Medline]
  2. Bhattad PB, Pacifico L. Empowering patients: promoting patient education and health literacy. Cureus. Jul 2022;14(7):e27336. [CrossRef] [Medline]
  3. Bray F, Laversanne M, Sung H, et al. Global cancer statistics 2022: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA Cancer J Clin. 2024;74(3):229-263. [CrossRef] [Medline]
  4. Saeed N. Patient education in radiation oncology: evolution and innovation. Appl Radiat Oncol. 2018;7(1):43-49. [CrossRef]
  5. Alqallaf A. The impact of integrated patient education on short-term revisit rates in healthcare settings: a quality improvement project. Cureus. Mar 2024;16(3):e56512. [CrossRef] [Medline]
  6. Liu F, Zhou H, Gu B, et al. Application of large language models in medicine. Nat Rev Bioeng. 2025;3(6):445-464. [CrossRef]
  7. Carl N, Schramm F, Haggenmüller S, et al. Large language model use in clinical oncology. NPJ Precis Oncol. Oct 23, 2024;8(1):240. [CrossRef] [Medline]
  8. Iannantuono GM, Bracken-Clarke D, Floudas CS, Roselli M, Gulley JL, Karzai F. Applications of large language models in cancer care: current evidence and future perspectives. Front Oncol. 2023;13:1268915. [CrossRef] [Medline]
  9. Chow JCL, Li K. Ethical considerations in human-centered AI: advancing oncology chatbots through large language models. JMIR Bioinform Biotechnol. Nov 6, 2024;5:e64406. [CrossRef] [Medline]
  10. Zhou S, Luo X, Chen C, et al. The performance of large language model-powered chatbots compared to oncology physicians on colorectal cancer queries. Int J Surg. Oct 1, 2024;110(10):6509-6517. [CrossRef] [Medline]
  11. Dennstädt F, Schmerder M, Riggenbach E, et al. Comparative evaluation of a medical large language model in answering real-world radiation oncology questions: multicenter observational study. J Med Internet Res. Sep 23, 2025;27:e69752. [CrossRef] [Medline]
  12. Singhal K, Azizi S, Tu T, et al. Large language models encode clinical knowledge. Nature. Aug 2023;620(7972):172-180. [CrossRef] [Medline]
  13. Lewis P, Perez E, Piktus A, et al. Retrieval-augmented generation for knowledge-intensive NLP tasks. arXiv. Preprint posted online on May 22, 2020. URL: https://arxiv.org/abs/2005.11401 [Accessed 2026-11-12]
  14. Yang R, Ning Y, Keppo E, et al. Retrieval-augmented generation for generative artificial intelligence in health care. NPJ Health Syst. Jan 25, 2025;2(1):2. [CrossRef] [Medline]
  15. Miao J, Thongprayoon C, Suppadungsuk S, Garcia Valencia OA, Cheungpasitporn W. Integrating retrieval-augmented generation with large language models in nephrology: advancing practical applications. Medicina (Kaunas). 2024;60(3):445. [CrossRef]
  16. Chen X, Yi H, You M, et al. Enhancing diagnostic capability with multi-agents conversational large language models. NPJ Digit Med. Mar 13, 2025;8(1):159. [CrossRef] [Medline]
  17. Chen YJ, Albarqawi A, Chen CS. Reinforcing clinical decision support through multi-agent systems and ethical AI governance. arXiv. Preprint posted online on Sep 22, 2025. [CrossRef]
  18. Nogueira R, Cho K. Passage re-ranking with BERT. arXiv. Preprint posted online on Apr 14, 2020. [CrossRef]
  19. Wang L, Chen X, Deng X, et al. Prompt engineering in consistency and reliability with the evidence-based guideline for LLMs. NPJ Digit Med. Feb 20, 2024;7(1):41. [CrossRef] [Medline]
  20. Liu J, Liu F, Wang C, Liu S. Prompt engineering in clinical practice: tutorial for clinicians. J Med Internet Res. Sep 15, 2025;27:e72644. [CrossRef] [Medline]
  21. Xu R, Hong Y, Zhang F, Xu H. Evaluation of the integration of retrieval-augmented generation in large language model for breast cancer nursing care responses. Sci Rep. 2024;14(1):30794. [CrossRef]
  22. Bharambe U, Patil K, Ingle P, Bhangale U. Exploring opportunities and addressing challenges in designing knowledge graph-enhanced RAG-based chatbots for managing radiation toxicity in cancer care. Presented at: 2025 International Conference for Artificial Intelligence, Applications, Innovation and Ethics (AI2E); Feb 3-5, 2025. [CrossRef]
  23. Wada A, Tanaka Y, Nishizawa M, et al. Retrieval-augmented generation elevates local LLM quality in radiology contrast media consultation. NPJ Digit Med. Jul 2, 2025;8(1):395. [CrossRef] [Medline]
  24. Ismayilov R, Altundag O, Akcali Z. Simulating a virtual tumor board with large language models: a pilot study in NSCLC patients receiving immunotherapy. Immunotherapy. Oct 2025;17(15):1105-1113. [CrossRef] [Medline]


‎
BH-FDR: Benjamini-Hochberg false discovery rate
FAISS: Facebook AI Similarity Search
FDR: false discovery rate
ICC: intraclass correlation coefficient
LLM: large language model
NIM: NVIDIA Inference Microservice
RAG: retrieval-augmented generation


Edited by Andrew Coristine; submitted 19.Dec.2025; peer-reviewed by Marco Meinschad, Rashad Ismayilov; comments to author 04.May.2026; final revised version received 05.Oct.2026; accepted 07.Oct.2026; published 30.Nov.2026.

Copyright

© Yu-Rou Chiou, Yang-Hsien Lin, Chih-Ying Liao, Chi-Hsien Huang, Rong-Tse Hsu, Ya-Yun Yu, Shi-Yu Gao, Xiao-Ping Liao, Yu-Pei Hu, Eddie TC Huang, Simon See, Ji-An Liang, Ting-Chun Lin. Originally published in JMIR AI (https://ai.jmir.org), 30.Nov.2026.

This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR AI, is properly cited. The complete bibliographic information, a link to the original publication on https://www.ai.jmir.org/, as well as this copyright and license information must be included.