Retrieval-Augmented Virtual Patients for Eating Disorders

Background: Language models can generate fluent virtual patient dialogue, but its clinical plausibility requires evaluation. Objective: We describe a locally deployed simulator for anorexia nervosa, bulimia nervosa, and binge-eating disorder and examine the perceived realism of its responses. Method: A Unity application links a three-dimensional avatar to Llama 3 8B. A retrieval-augmented generation (RAG) configuration uses Nomic Embed Text and ChromaDB to retrieve clinical material. Six raters from psychology or nutrition assessed 45 Brazilian Portuguese responses to 15 questions under three conditions: Llama 3 8B without RAG, Llama 3 8B with RAG, and GPT-4o. Each response received six ratings on a five-point realism scale, yielding 270 ratings. Comparisons were descriptive, and agreement was assessed using quadratically weighted Gwet’s AC2. Results: Mean realism was 3.81 without RAG, 3.76 with RAG, and 4.65 for GPT-4o. Observed agreement was 83.5%, with AC2 = .60. Qualitative comments emphasized clinical plausibility concerns without RAG and language quality concerns with RAG; error frequencies were not quantified. Conclusions: RAG was not associated with a higher overall realism mean in this response set. Clinical plausibility and linguistic naturalness warrant separate assessment in a comparison that controls generation settings. The study did not evaluate avatar effects, multi-turn coherence, safety, or learning outcomes.

Authors

Publication Details

Journal
PsyArXiv (OSF Preprints)
Published
2026-11-23
DOI
https://doi.org/10.31234/osf.io/z6gnv_v1
Primary Topic
Artificial Intelligence in Healthcare and Education
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Retrieval-Augmented Virtual Patients for Eating Disorders

João Ricardo Nickenig Vissoci, Bolivar Ramos Cibils Filho, Wagner de Lara Machado, Carlo Smaniotto Mantovani et al.
PsyArXiv (OSF Preprints)
Artificial Intelligence in Healthcare and Education
preprint

Retrieval-Augmented Virtual Patients for Eating Disorders

João Ricardo Nickenig Vissoci, Bolivar Ramos Cibils Filho, Wagner de Lara Machado, Carlo Smaniotto Mantovani, Gabriel Balke dos Santos, Regis Kopper, Márcio Sarroglia Pinho
preprint en

Abstract

Background: Language models can generate fluent virtual patient dialogue, but its clinical plausibility requires evaluation. Objective: We describe a locally deployed simulator for anorexia nervosa, bulimia nervosa, and binge-eating disorder and examine the perceived realism of its responses. Method: A Unity application links a three-dimensional avatar to Llama 3 8B. A retrieval-augmented generation (RAG) configuration uses Nomic Embed Text and ChromaDB to retrieve clinical material. Six raters from psychology or nutrition assessed 45 Brazilian Portuguese responses to 15 questions under three conditions: Llama 3 8B without RAG, Llama 3 8B with RAG, and GPT-4o. Each response received six ratings on a five-point realism scale, yielding 270 ratings. Comparisons were descriptive, and agreement was assessed using quadratically weighted Gwet’s AC2. Results: Mean realism was 3.81 without RAG, 3.76 with RAG, and 4.65 for GPT-4o. Observed agreement was 83.5%, with AC2 = .60. Qualitative comments emphasized clinical plausibility concerns without RAG and language quality concerns with RAG; error frequencies were not quantified. Conclusions: RAG was not associated with a higher overall realism mean in this response set. Clinical plausibility and linguistic naturalness warrant separate assessment in a comparison that controls generation settings. The study did not evaluate avatar effects, multi-turn coherence, safety, or learning outcomes.

PsyArXiv (OSF Preprints)
Artificial Intelligence in Healthcare and Education
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon