An Automated Retrieval-Augmented Generation LLaMA-4 109B-based System for Evaluating Radiotherapy Treatment Plans
On the map: Retrieval-augmented generation → Medical and biomedical RAG
Abstract (arXiv)
Purpose: To develop a retrieval-augmented generation (RAG) system powered by LLaMA-4 109B for automated, protocol-aware, and interpretable evaluation of radiotherapy treatment plans. Methods and Materials: We curated a multi-protocol dataset of 614 radiotherapy plans across four disease sites and constructed a knowledge base containing normalized dose metrics and protocol-defined constraints. The RAG system integrates three core modules: a retrieval engine optimized across five SentenceTransformer backbones, a percentile prediction component based on cohort similarity, and a clinical constraint checker. These tools are directed by a large language model (LLM) using a multi-step prompt-driven reasoning pipeline to produce concise, grounded evaluations. Results: Retrieval hyperparameters were optimized using Gaussian Process on a scalarized loss function combining root mean squared error (RMSE), mean absolute error (MAE), and clinically motivated accuracy thresholds. The best configuration, based on all-MiniLM-L6-v2, achieved perfect nearest-neighbor accuracy within a 5-percentile-point margin and a sub-2pt MAE. When tested end-to-end, the RAG system achieved 100% agreement with the computed values by standalone retrieval and constraint-checking modules on both percentile estimates and constraint identification, confirming reliable execution of all retrieval, prediction and checking steps. Conclusion: Our findings highlight the feasibility of combining structured population-based scoring with modular tool-augmented reasoning for transparent, scalable plan evaluation in radiation therapy. The system offers traceable outputs, minimizes hallucination, and demonstrates robustness across protocols. Future directions include clinician-led validation, and improved domain-adapted retrieval models to enhance real-world integration.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Medical and biomedical RAG, one of 15 directions in Retrieval-augmented generation. Builds on 8 of its 50 references that are in the map. First posted on arXiv 25 Sep 2025.
Builds on
8 of 50 references.
References · 8
- 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 297
- 2023AugGPT: Leveraging ChatGPT for Text Data Augmentationcited by 130
- 2023Radiology-GPT: A Large Language Model for Radiologycited by 44
- 2023RadOnc-GPT: A Large Language Model for Radiation Oncologycited by 18
- 2024Automated radiotherapy treatment planning guided by GPT-4Visioncited by 12
- 2024A recent evaluation on the performance of LLMs on radiation oncology physics using questions of randomly shuffled optionscited by 5
- 2025Autonomous Radiotherapy Treatment Planning Using DOLA: A Privacy-Preserving, LLM-Based Optimization Agentcited by 4
- 2016Explicit optimization of plan quality measures in intensity-modulated radiation therapy treatment planningcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025RadOnc-GPT: An Autonomous LLM Agent for Real-Time Patient Outcomes Labeling at Scale
- 2025Zero-Shot Large Language Model Agents for Fully Automated Radiotherapy Treatment Planning
- 2025Retrieval-Augmented Generation in Medicine: A Scoping Review of Technical Implementations, Clinical Applications, and Ethical Considerations
- 2024Language Models and Retrieval Augmented Generation for Automated Structured Data Extraction from Diagnostic Reports
- 2025Rethinking Retrieval-Augmented Generation for Medicine: A Large-Scale, Systematic Expert Evaluation and Practical Insights
- 2025Evaluating Retrieval-Augmented Generation vs. Long-Context Input for Clinical Reasoning over EHRs
- 2024RadioRAG: Online Retrieval-augmented Generation for Radiology Question Answering
- 2024Development and Testing of Retrieval Augmented Generation in Large Language Models -- A Case Study Report