Local dynamic mode of Cognitive Behavioral Therapy

Victor Ardulov, Torrey A. Creed, David C. Atkins, Shrikanth NarayananarXiv 2022

Abstract

In order to increase mental health equity among the most vulnerable and marginalized communities, it is important to increase access to high-quality therapists. One facet of addressing these needs is to provide timely feedback to clinicians as they interact with their clients, in a way that is also contextualized to specific clients and interactions they have had. Dynamical systems provide a framework through which to analyze interactions. The present work applies these methods to the domain of automated psychotherapist evaluation for Cognitive Behavioral Therapy (CBT). Our methods extract local dynamic modes from short windows of conversation and learn to correlate the observed dynamics to CBT competence. The results demonstrate the value of this paradigm and outline the way in which these methods can be used to study and improve therapeutic strategies.

Introduction

High-quality Cognitive Behavioral Therapy (CBT) is considered a gold standard for mental health treatment. However, ensuring that therapists deliver it competently is a significant logistical challenge. Competence is typically measured using the Cognitive Therapy Rating Scale (CTRS), which requires expert coders to manually review hours of session transcripts—a process that is expensive, slow, and difficult to scale for community-wide initiatives. While previous AI approaches have focused on the static content of dialogue, this research investigates the "flow" of therapy by modeling the mathematical relationship between a therapist’s input and a client’s response over time.

Methodology

The researchers propose a novel framework that treats psychotherapy sessions as "control-affine dynamical systems." The pipeline reimagines a therapy session as a physical system in motion:

  1. Embedding: Every talk turn from the therapist and client is converted into a high-dimensional vector using DistilBERT, a transformer-based language model.
  2. Dynamical Modeling: The study employs Windowed Dynamic Mode Decomposition with Control (DMDc). In this setup, the client is viewed as the "system" being observed, and the therapist’s utterances are treated as the "control signal" influencing that system.
  3. Feature Extraction: Eigenvalues are extracted from the resulting transition and control matrices. These eigenvalues represent "dynamic modes"—mathematical descriptions of how the conversation evolves, stabilizes, or oscillates over short windows (3, 5, or 8 talk turns).
  4. Classification: These modes are fed into machine learning models (Gaussian Naive Bayes and Support Vector Machines) to predict competence.
The proposed pipeline for extracting local dynamic modes from therapist and client dialogue turns using BERT embeddings and windowed DMDc.

Dataset and Clinical Metrics

The study utilized a dataset of 292 recorded CBT sessions involving 175 unique clients. Each session was annotated by professionally trained coders for 11 CTRS sub-scores (e.g., "Agenda Setting," "Guided Discovery," "Pacing and Timing") and a total summary score. Scores were binarized into "high-competence" (score ≥ 4) and "low-competence" based on clinical standards.

Distribution of CTRS subscores across the dataset, illustrating the frequency of clinical ratings for various therapeutic skills.

Key Insights and Results

Interaction as Control

A key conceptual leap in this work is treating the therapist as a "controller." This allows the model to isolate how much of the client's state is a result of their own internal momentum (transition) versus the therapist's specific interventions (control). The best-performing models utilized both transition and control eigenvalues (T+C), suggesting that competence is defined by how words specifically shift the client's trajectory rather than just the content of the words themselves.

Performance Metrics

The models were evaluated against a bootstrapped baseline (3 standard deviations above random chance):

  • Local Competence: Models significantly outperformed the baseline for specific skills like Agenda Setting (F1: 0.5749) and Strategy for Change (F1: 0.5624).
  • Global Competence: When aggregating local predictions for the whole session, the model for Pacing and Timing met the significance threshold with an F1 of 0.6868.
  • Total Competence: The model for the Total CTRS score achieved an F1 of 0.6767, demonstrating that dynamic modes are a valid proxy for expert human judgment.

Conclusion and Future Work

This study demonstrates that linear dynamical assumptions are sufficient to capture meaningful therapeutic patterns, offering a computationally efficient path toward real-time feedback. Future work will explore more complex sequence classification (e.g., LSTMs or Transformers) on top of dynamic modes to capture longer-term dependencies. Additionally, the researchers aim to move beyond binary classification toward continuous score prediction and explore "alliance estimation" to measure the emotional bond and agreement between therapist and client.

Summary updated

Abstract

In order to increase mental health equity among the most vulnerable and marginalized communities, it is important to increase access to high-quality therapists. One facet of addressing these needs, is to provide timely feedback to clinicians as they interact with their clients, in a way that is also contextualized to specific clients and interactions they have had. Dynamical systems provide a framework through which to analyze interactions. The present work applies these methods to the domain of automated psychotherapist evaluation for Cognitive Behavioral Therapy (CBT). Our methods extract local dynamic modes from short windows of conversation and learns to correlate the observed dynamics to CBT competence. The results demonstrate the value of this paradigm and outlines the way in which these methods can be used to study and improve therapeutic strategies.
BibTeX
@misc{ardulov2022local,
  author = {Victor Ardulov and Torrey A. Creed and David C. Atkins and Shrikanth Narayanan},
  title = {{Local dynamic mode of Cognitive Behavioral Therapy}},
  year = {2022},
  eprint = {2205.09752},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.09752},
}
Figure