cs.CLFeb 23, 2026

TherapyGym: Evaluating and Aligning Clinical Fidelity and Safety in Therapy Chatbots

Authors: Fangrui Huang, Souhad Chbeir, Arpandeep Khatua, Sheng Wang, Sijun Tan, Kenan Ye, Lily Bailey, Merryn Daniel, +3 more

Organizations: Department of Computer Science, Stanford University, Stanford, CA, USA · Department of Psychiatry and Behavioral Sciences, Stanford University, Stanford, CA, USA · The University of Hong Kong, Hong Kong · University of California, Berkeley, Berkeley, CA, USA · Department of Biomedical Data Science, Stanford University, Stanford, CA, USA

Abstract

Large language models (LLMs) are increasingly used for mental-health support; yet prevailing evaluation methods--fluency metrics, preference tests, and generic dialogue benchmarks--fail to capture the clinically critical dimensions of psychotherapy. We introduce THERAPYGYM, a framework that evaluates and improves therapy chatbots along two clinical pillars: fidelity and safety. Fidelity is measured using the Cognitive Therapy Rating Scale (CTRS), implemented as an automated pipeline that scores adherence to CBT techniques over multi-turn sessions. Safety is assessed using a multi-label annotation scheme, covering therapy-specific risks (e.g., failing to address harm or abuse). To mitigate bias and unreliability in LLM-based judges, we further release THERAPYJUDGEBENCH, a validation set of 116 dialogues with 1,270 expert ratings for auditing and calibration against licensed clinicians. THERAPYGYM also serves as a training harness: CTRS and safety-based rewards drive RL with configurable patient simulations spanning diverse symptom profiles. Models trained in THERAPYGYM improve on expert ratings, with average CTRS rising from 0.10 to 0.60 (and 0.16 to 0.59 under LLM judges). Our work enables scalable development of therapy chatbots that are faithful to evidence-based practice and safer in high-stakes use.

Figures & tables

Appendix figures & tables15 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Training Therapeutic Judges and Multi-Agent Systems for Human-Aligned Mental Health Support

    Jun 29, 2026Mizanur Rahman, Abeer Badawi, Elahe Rahimi +4Mental Health CounselingMulti-Agent LLM Systems

  2. AI Safety Training Can be Clinically Harmful

    Apr 25, 2026Suhas BN, Andrew M. Sherrill, Rosa I. Arriaga +2Mental Health CounselingLLM Alignment

  3. Measuring What Matters!! Assessing Therapeutic Principles in Mental-Health Conversation

    Apr 7, 2026Abdullah Mazhar, Het Riteshkumar Shah, Aseem Srivastava +2Clinical Language Model EvaluationLLM Evaluation