Interactive Agents: Simulating Counselor-Client Psychological Counseling via Role-Playing LLM-to-LLM Interactions

Huachuan Qiu, Zhenzhong LanarXiv 2024 · DOI

Introduction

The development of effective AI for mental health support is hindered by a significant "data bottleneck." High-quality psychological counseling data is difficult to obtain due to strict privacy requirements, the high cost of professional annotation, and the inherent non-scalability of human-led data collection. While previous attempts have used Large Language Models (LLMs) to rewrite static Q&A posts into multi-turn dialogues, these methods often suffer from a "god’s-eye view" problem, where the model knows the client's entire history upfront. This fails to capture the gradual exploration and therapeutic alliance-building characteristic of real-world counseling.

Methodology: The Role-Playing Framework

To address these challenges, researchers developed a framework that utilizes LLM-to-LLM interactions to simulate natural counseling sessions. The process is divided into three main stages: building a client pool, collecting interactive data, and training the final model.

The three-stage pipeline for developing SimPsyBot: 1) Client Pool generation, 2) Data Collection via LLM interaction, and 3) Model Training.

1. Client and Counselor Simulation

The framework employs GPT-4 to act as both the client and the counselor. The Client Simulator is provided with user profiles derived from real help-seeking posts (e.g., from the PsyQA dataset) and is prompted to express concerns naturally and step-by-step.

The Counselor Simulator is guided by an integrative therapy model consisting of three stages: Exploration, Insight, and Action. It is instructed to use professional techniques such as open-ended questioning while adhering to specific constraints to maintain a realistic therapeutic process.

Detailed prompt for the virtual psychological counselor, illustrating the three-stage counseling model and specific dialogue requirements.

2. Data Collection and Refinement

During the interaction, the system monitors for quality, filtering out repetitive or overly long responses. The session concludes naturally based on predefined "ending criteria" tokens like "Take care" or "Good luck." This process resulted in SimPsyDial, a new synthetic dataset of 1,000 high-quality interactive dialogues.

Key Results and Evaluation

By fine-tuning 7B parameter models (Qwen2 and DeepSeek) on the SimPsyDial corpus, the researchers created SimPsyBot. The model's performance was evaluated through both automated metrics and human expert assessment.

  • Expert Evaluation: In head-to-head tests conducted by five professional counselors, SimPsyBot achieved an Elo rating of 1871.97, significantly outperforming existing mental health models like MeChat and PsyChat.
  • Therapeutic Alliance: Using the Working Alliance Inventory (WAI-O-S), the synthetic dialogues were found to score higher than real human-to-human online sessions in categories like "Goal," "Task," and "Bond," indicating a high level of adherence to therapeutic protocols.
  • Diversity: Topic analysis confirmed that the synthetic sessions covered a broad spectrum of issues—including stress, emotional regulation, and interpersonal relationships—mirroring the distribution found in real-world data.

Discussion and Future Work

The success of SimPsyBot highlights that simulating the process of interaction is more critical for training effective counseling agents than simply generating static content. By encoding professional therapeutic structures into the simulation prompts, the researchers were able to overcome the limitations of general-purpose LLMs.

Future research aims to increase the complexity of the simulation by introducing "client resistance" and utilizing Retrieval-Augmented Generation (RAG) to provide counselors with a deeper library of therapeutic cases. While these agents show great promise for research and simulation, they are intended to augment, not replace, professional human-led mental health treatment.

Summary updated

BibTeX
@misc{qiu2024interactive,
  author = {Huachuan Qiu and Zhenzhong Lan},
  title = {{Interactive Agents: Simulating Counselor-Client Psychological Counseling via Role-Playing LLM-to-LLM Interactions}},
  year = {2024},
  eprint = {2408.15787},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.15787},
}
Figure