Abstract
Large Language Models (LLMs) often struggle with the structured, goal-oriented nature of psychological counseling, frequently losing conversational direction or context. This paper introduces SuDoSys (Structured Dialogue System), a stage-aware framework designed to follow the World Health Organization’s (WHO) Problem Management Plus (PM+) guidelines. By utilizing a modular architecture that tracks dialogue stages and maintains a structured topic database, SuDoSys ensures coherent and clinically grounded interactions. Evaluations show that SuDoSys achieves superior logical coherence compared to models relying solely on fine-tuning.
Introduction
While LLMs like ChatGPT demonstrate significant empathy, they often lack the procedural rigor required for effective mental health interventions. Standard approaches involving direct fine-tuning on dialogue datasets often result in models that "wander" through conversations or fail to progress through therapeutic stages. SuDoSys addresses these challenges by enforcing a multi-stage framework based on established clinical guidelines, bridging the gap between open-ended chatting and structured counseling.
The SuDoSys Architecture
The core innovation of SuDoSys is its modular, stage-aware design. Rather than treating a session as a single text stream, the system decomposes the dialogue into five functional components to maintain directionality and memory.
- Stage-aware Instruction Generator: Selects specific "Base Instructions" from a library corresponding to the current PM+ counseling stage.
- Topic Database: Acts as structured long-term memory, storing key-value pairs of user details to prevent context loss.
- Stage Controller: Determines whether to advance, stay, or regress in the counseling process based on the user's readiness.
- LLM Backbone: Utilizes Qwen2-7B-Instruct (though model-agnostic) to generate responses.
- Response Unpacker: Parses the LLM's output to separate user-facing replies from internal state updates.
Evaluation Methodology
The authors developed a novel "closed-loop" evaluation paradigm to test multi-turn dialogue performance. Using PM+ Intervention Transcripts, they employed GPT-4 to extract "Client Portraits." These portraits were then used by GLM-4 to simulate patients interacting with SuDoSys over 20-turn sessions. This method allows for a scalable assessment of how the system handles evolving therapeutic contexts compared to static benchmarks.
Key Results and Discussion
SuDoSys was compared against CPsyCounX (a fine-tuned counseling model) and a baseline Qwen2-7B model. The results indicate that structural enforcement is a powerful alternative to massive task-specific training.
As shown in the human evaluation, SuDoSys achieved the highest scores in Coherence (3.8/5.0) and Authenticity (3.8/5.0). This performance is likely due to its ability to consistently reference specific user topics stored in its database. While the fine-tuned CPsyCounX maintained a slight edge in "Professionalism" in objective tests, SuDoSys's ability to maintain the "thread" of a session represents a significant advancement in conversational AI for mental health.
Limitations and Future Directions
Currently, SuDoSys is optimized for Chinese-language interactions and 20-turn sessions. Future research will explore its performance in diverse cultural contexts and over the extended durations (100+ turns) typical of real-world PM+ interventions. Additionally, integrating real-world datasets directly into the instruction refinement process could combine SuDoSys's structural strengths with the linguistic polish of fine-tuned models.
Summary updated