Abstract
The global mental health crisis is exacerbated by a shortage of qualified therapists, making Virtual Mental Health Assistants (VMHAs) a vital scalable solution. However, current VMHAs often lack the commonsense reasoning and emotional nuance required for effective therapeutic intervention. This paper introduces EmpRes, a sentiment-guided, commonsense-aware framework designed to generate empathetic and strategically steered responses. By integrating structured knowledge graphs with a modified GPT-2 architecture, EmpRes outperforms existing baselines and rivals human-level responses in counseling simulations.
Introduction
Effective counseling relies on a therapeutic bond and the ability to guide a client from a negative emotional state toward a positive one. Existing dialogue systems struggle with two primary hurdles: a lack of commonsense reasoning regarding social and psychological logic, and "sentiment blindness," where models fail to recognize and respond to the trajectory of a client's mood. EmpRes addresses these by using sentiment as a compass to select relevant commonsense knowledge, injecting it into the conversation to foster positive momentum.
Methodology
The EmpRes architecture is built upon three core pillars designed to move beyond simple sequential text processing.
Dual-Graph Representation
EmpRes represents dialogue through two distinct graphs:
- Speaker-Context Graph (SC-Graph): This captures the temporal flow of the conversation and distinguishes between the roles of the Therapist and the Client.
- Sentiment-Guided Commonsense Relation Graph (SGCR-Graph): This novel component uses the COMET (Commonsense Transformer) to extract psychological relations based on the client's current sentiment.
Sentiment-Guided Knowledge Extraction
Knowledge extraction is conditioned on the client's emotional state. If a client expresses negative sentiment, the model prioritizes "Others-oriented" relations (e.g., oReact, oWant) to facilitate consolation. Conversely, if the sentiment is positive, the model focuses on "Self-oriented" relations (e.g., xIntent, xWant) to reinforce self-reflection and positive momentum.
Knowledge-Aware Attention
Rather than simple prompt engineering, the authors modified the GPT-2 architecture. A "Knowledge-Aware Attention" block replaces standard self-attention, where the query is derived from dialogue history, while the Keys and Values are sourced from the fused representations of the SC and SGCR graphs. This ensures the model actively attends to structured commonsense during generation.
Experimental Setup and Results
The model was evaluated using the HOPE dataset, which contains 12.8k utterances from 212 counseling sessions. To address the lack of granular sentiment labels, the researchers extended the dataset using a pseudo-labeling approach, employing a BERT-based classifier to tag utterances as Positive or Negative.
Quantitative Performance
EmpRes was benchmarked against 12 competitive baselines, including DialoGPT and HRED. As shown in the results table, EmpRes achieved substantial gains across all primary metrics.
Specifically, the model demonstrated a +51.28% improvement in METEOR and a +12.26% improvement in BERTScore over the best-performing baselines. Ablation studies confirmed that both the SC-Graph and SGCR-Graph are critical to the model's performance.
Human and User Evaluation
In blind tests with 15 evaluators, EmpRes outperformed ChatGPT in Relevance, Consistency, and Coherence. Furthermore, a user study ($N=55$) revealed that 91% of users found the system effective, with 80% expressing high satisfaction with the bot's supportive capabilities.
Discussion and Conclusion
EmpRes demonstrates that structured knowledge and sentiment-aware conditioning can make smaller models more effective and controllable than massive, open-domain models for specialized tasks like mental health support. While the system currently faces challenges such as minor hallucinations and a lack of support for high-risk clinical cases (e.g., suicidal ideation), it represents a significant step forward. Future work will focus on multi-lingual support and the integration of rigorous clinical safety guardrails to transition this preliminary module into a full end-to-end clinical framework.
Summary updated