Frontiers in Digital Health

LLMPatients: an interpretable LLM-based virtual patient platform for multi-session psychotherapy training

Marco Cremaschi, Erika Fanti, Elisa Pisati, David La Barbera

Key points

From the paper's conclusion
  • We present LLMPatients, an open-source platform that simulates patients across an 11-session training pathway.

Abstract

Psychotherapy students often practise with real patients only late in their training. Virtual patients based on large language models (LLMs) could offer earlier, repeated and supervised practice, but most existing systems simulate single encounters, define the patient only through a narrative prompt and offer limited feedback. We present LLMPatients, an open-source platform that simulates patients across an 11-session training pathway. Each patient is defined by an interpretable clinical profile organised on the PDM-2 axes (Personality > Mental Functioning > Symptoms), has an affective state that evolves during the conversation, and keeps a persistent memory of previous sessions; after each session, the platform reports potential therapist missteps for discussion with a lecturer. We evaluated the platform in four ways. In a formative usability study, 15 students and 2 lecturers found the main workflows understandable (mean System Usability Scale score 90/100). Psychometric questionnaires and a blinded clinician interview of three profiles yielded responses compatible with the specified profiles. In a paired comparison over 30 11-session trajectories, the system passed 85 of 90 continuity probes while working from a bounded prompt, against 89 of 90 for a baseline given the full conversation; its errors were traced to the selection of memories for the prompt. In complementary tests with synthetic histories, supplying the complete saved memory preserved target facts lost through history truncation, although it required substantially larger prompts. On a corpus deliberately saturated with seeded errors, the misstep detector flagged 131 of 150 seeded therapist errors but also 62 of 150 appropriate turns, so its output requires review by a lecturer. LLMPatients is a feasible tool for supervised deliberate practice; its effects on learning remain to be tested.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers