Script-Strategy Aligned Generation: Aligning LLMs with Expert-Crafted Dialogue Scripts and Therapeutic Strategies for Psychotherapy
Chatbots or conversational agents (CAs) are increasingly used to improve access to digital psychotherapy. Many current systems rely on rigid, rule-based designs, heavily dependent on expert-crafted dialogue scripts for guiding therapeutic conversations. Although advances in large language models (LLMs) offer potential for more flexible interactions, their lack of controllability and explanability poses challenges in high-stakes contexts like psychotherapy. To address this, we conducted two studies in this work to explore how aligning LLMs with expert-crafted scripts can enhance psychotherapeutic chatbot performance. In Study 1 (N=43), an online experiment with a within-subjects design, we compared rule-based, pure LLM, and LLMs aligned with expert-crafted scripts via fine-tuning and prompting. Results showed that aligned LLMs significantly outperformed the other types of chatbots in empathy, dialogue relevance, and adherence to therapeutic principles. Building on findings, we proposed ''Script-Strategy Aligned Generation (SSAG)'', a more flexible alignment approach that reduces reliance on fully scripted content while maintaining LLMs' therapeutic adherence and controllability. In a 10-day field Study 2 (N=21), SSAG achieved comparable therapeutic effectiveness to full-scripted LLMs while requiring less than 40% of expert-crafted dialogue content. Beyond these results, this work advances LLM applications in psychotherapy by providing a controllable and scalable solution, reducing reliance on expert effort. By enabling domain experts to align LLMs through high-level strategies rather than full scripts, SSAG supports more efficient co-development and expands access to a broader context of psychotherapy.
Authors
- Xin Sun (ORCID: https://orcid.org/0000-0002-8188-7576)
- Zhuying Li (ORCID: https://orcid.org/0000-0001-5474-6949)
- Jos A. Bosch (ORCID: https://orcid.org/0000-0001-7780-4806)
- Abdallah El Ali (ORCID: https://orcid.org/0000-0002-9954-4088)
- Jan de Wit (ORCID: https://orcid.org/0000-0002-7299-7992)
- Jiahuan Pei (ORCID: https://orcid.org/0000-0001-6951-8340)
Institutions
- Centrum Wiskunde & Informatica (NL)
- National Institute of Informatics (JP)
- Utrecht University (NL)
- Tilburg University (NL)
- Southeast University (CN)
- Vrije Universiteit Amsterdam (NL)
- University of Amsterdam (NL)
Publication Details
- Journal
- Proceedings of the ACM on Human-Computer Interaction
- Published
- 2025-10-16
- DOI
- https://doi.org/10.1145/3757655
- Citations
- 3
- Primary Topic
- Digital Mental Health Interventions
- Type
- article
- Field-Weighted Citation Impact
- 4.63
Funders
- European Commission
- Horizon 2020 Framework Programme