ResearchJournal of Medical Internet Research · Aug 11, 2026
Finite State Machine-Guided Retrieval-Augmented Generation Improves Expert-Rated Acceptability of a Peripherally Inserted Central Catheter Self-Management Chatbot: Single-Center Content Validation Study
Lee M, Cho SB, Yu JW, Yoon J, Choi JB, Jung KH, et al
Abstract
Background
Patients with cancer undergoing long-term or vesicant chemotherapy frequently require peripherally inserted central catheters (PICCs). Due to the nature of ambulatory treatment administration, self-PICC management is essential for the continuation and completion of the planned treatment. Large language models offer potential for continuous patient support, but hallucinations and insufficient adherence to clinical protocols remain concerns. Fine-tuning (FT) and retrieval-augmented generation (RAG) improve factual grounding but cannot enforce the structured decision logic of expert-led PICC consultations, leaving the value of dialogue-control mechanisms unclear. Objective
This study is an expert-panel evaluation designed to exploratorily verify whether a finite state machine (FSM)-guided RAG architecture yields incremental gains in clinical acceptability when added on top of FT and RAG compared with simpler architectures (fine-tuned model alone; fine-tuned model with RAG). Methods
We conducted a blinded ablation comparison of three chatbot architectures sharing an identical fine-tuned GPT-4o-mini base: model 1 (fine-tuning only; FT), model 2 (FT + RAG), and model 3 (FT + RAG + FSM). Three nurses specializing in PICC management (≥10 y experience) independently evaluated responses to 43 PICC-related queries. The two-stage evaluation comprised query-level forced-choice preference and global Likert ratings across 8 predefined dimensions. Interrater agreement was quantified with Gwet AC1. Preference rates were compared with Cochran Q and pairwise McNemar tests with Bonferroni correction. Global Likert ratings were summarized descriptively across 8 predefined dimensions. Results
The FSM-guided model (model 3) was preferred in 34 of 43 scenarios (79.1%). Interrater agreement was moderate (Gwet AC1=0.58, 95% CI 0.42-0.75; PConclusions
In this expert-panel content-validation study, the FSM-guided fine-tuned RAG model received higher expert-rated acceptability than the simpler architectures, with FSM-based dialogue control more closely aligning chatbot outputs with expert-led PICC consultation patterns. Patient-facing usability testing and multicenter validation are required before claims regarding patient safety or clinical deployment can be made.
Topics
Humans; Self-Management; Large Language Models; Catheterization, Peripheral; Generative Artificial Intelligence; Catheterization, Central Venous
DOI: 10.2196/92374 · PubMed: 42579604
Spotted a mistake? Suggest a correction
More in Digital Health & AI
ResearchLancet Digit Health · Nov 23, 2026 · Digital Health & AI
ClinicalAge, a framework for modelling ageing trajectories from longitudinal electronic health records in the UK: a model development and validation study
ResearchLancet Digit Health · Nov 23, 2026 · Digital Health & AI
Foundation artificial intelligence models for health recognition by use of face photographs (FAHR-Face): a model development and validation study
ResearchLancet Digit Health · Nov 23, 2026 · Digital Health & AI
A prognostic model for use at labour onset to estimate the risk of severe fetal compromise at birth: a retrospective, model development and validation study
ResearchNPJ Digit Med · Nov 21, 2026 · Digital Health & AI
ECG foundation models for cardiovascular screening in a cohort of young competitive athletes
ResearchJ Med Internet Res · Nov 20, 2026 · Digital Health & AI
Medical Reasoning in Large Language Models: Development and Evaluation of the MedEvalArena Benchmark