Observing Dialogue in Therapy: Categorizing and Forecasting Behavioral Codes

Jie Cao, Michael Tanana, Zac E. Imel, Eric Poitras, David C. Atkins, Vivek Srikumar

Introduction

In psychotherapy, particularly Motivational Interviewing (MI), the quality of the interaction between therapist and client is a primary determinant of success. Traditionally, therapy quality is assessed post-hoc by experts who manually label utterances using the Motivational Interviewing Skill Code (MISC). However, this retrospective approach fails to provide real-time guidance to therapists during a session. A novice therapist might miss a crucial "Change Talk" cue or inadvertently use a "Non-Adherent" behavior that stalls progress.

This research introduces a neural network framework designed to act as a "dialogue observer." The system addresses two primary tasks: Categorization, identifying the MISC label of an utterance as it is spoken, and Forecasting, predicting the likely behavioral code of the upcoming utterance based on dialogue history.

Methodology

The core of the proposed system is a Hierarchical Gated Recurrent Unit (HGRU). This architecture first encodes individual words into utterance representations and then aggregates these into a "dialogue history" vector. To enhance performance, the researchers integrated several key components:

  1. Attention Mechanisms: Word-level attention (using BiDAF or GMGRU) identifies discriminative terms, while utterance-level attention (multi-head self-attention) helps the model weigh the relevance of previous turns.
  2. Focal Loss: To address the extreme class imbalance—where "Neutral" codes are far more frequent than high-stakes "Change Talk" or "Non-Adherent" codes—the authors adapted Focal Loss. This technique down-weights easy, frequent examples, forcing the model to prioritize rare labels.
  3. Real-time Constraints: Unlike models that utilize future context, these models are strictly causal, ensuring they can function in a live environment.

Data and Behavioral Codes

The models were trained and tested on 353 psychotherapy sessions. Utterances were labeled according to MISC categories, which distinguish between client and therapist behaviors. These codes are essential for quantifying the dynamics of the therapeutic alliance.

Table 1: Definitions and examples of client and therapist behavioral codes used in the study.

Results and Discussion

The HGRU-based models demonstrated superior performance over several strong baselines. Notably, the inclusion of dialogue history proved more critical for identifying therapist codes (like "Reflections") than client codes, reflecting the reactive nature of the therapist's role.

Table 2: Categorization results for client behavioral codes, showing the proposed model (Cc) outperforming baselines in Macro F1 and specific categories like Change Talk (CT) and Sustain Talk (ST).

Key findings include:

  • Client Categorization: Achieved a Macro $F_1$ of 53.9, a significant improvement over the 50.0 baseline.
  • Therapist Categorization: Reached a Macro $F_1$ of 65.4, outperforming the best baseline (59.3).
  • Forecasting: The model achieved a Recall@3 of 77.0% for therapist codes. This suggests that the "rhythm" and intent of a therapy session follow predictable patterns that the HGRU can capture, even without seeing the text of the upcoming utterance.

Conclusion

By shifting the focus from response generation to dialogue observation, this work provides a foundation for real-time therapist feedback systems. While current limitations include a reliance on text alone and challenges with complex logical reasoning, the ability to forecast behavioral intents offers a promising "GPS" for effective clinical practice. Future work will explore human-in-the-loop trials to evaluate the practical impact of these real-time suggestions on therapeutic outcomes.

Summary updated

BibTeX
@inproceedings{cao2019observing,
  author = {Jie Cao and Michael Tanana and Zac E. Imel and Eric Poitras and David C. Atkins and Vivek Srikumar},
  title = {{Observing Dialogue in Therapy: Categorizing and Forecasting Behavioral Codes}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1563},
}
Figure