Modeling of Therapist-Client Dynamics in Psychotherapy Using Large Language Model–Based Assessments: Retrospective Observational Study of 1573 Psychotherapy Sessions
- 1Carnegie Mellon University Pittsburgh, PA United States
Abstract
Background: Psychotherapy is a primary treatment for many mental health conditions, yet the dynamic interplay among therapist behaviors, client responses, and the therapeutic relationship remains difficult to disentangle at scale. Traditional process research relies on labor-intensive human coding, limiting the ability to model moment-to-moment therapeutic dynamics across large datasets.
Objective: This study aimed to develop and validate a computational framework for modeling therapist-client interaction processes and to examine how therapist behaviors and relational qualities relate to client self-disclosure and emotional expression in psychotherapy sessions.
Methods: We developed automated assessment pipelines using large language models (LLMs) to measure therapist behaviors (empathy or exploration), relational quality (rapport), and client outcomes (self-disclosure, self-directed negative emotion, or outward-directed negative emotion). Model-generated scores were validated against human annotations. We then applied these measures to approximately 2000 hours of psychotherapy transcripts from the Alexander Street corpus. This yielded an estimation sample of 119,233 client utterances from 1573 sessions and 37 clients. Because utterances are nested within sessions and sessions within clients, we estimated a saturated multivariate structural equation model with SEs clustered at the session level. Results were confirmed in a multilevel regression model with random intercepts for session and client.
Results: Following comparative validation of 6 candidate language models, automated measures showed good to excellent agreement with human annotations (intraclass correlation coefficient [ICC]=0.60-0.81) for rapport (ICC=0.81), self-disclosure (ICC=0.78), empathy components (ICC=0.60-0.75), and emotion measurements (ICC=0.66-0.80). Structural equation modeling analyses revealed that therapist empathy and exploration were each associated with increased client disclosure (empathy: β=.086, 95% CI 0.078-0.095; exploration: β=.086, 95% CI 0.078-0.094; both P<.001) and increased expression of self-directed negative emotions, comprising sadness, anxiety, fear, and depression (empathy: β=.118, 95% CI 0.110-0.127; exploration: β=.078, 95% CI 0.070-0.087; both P<.001). Both behaviors were also associated with reduced expressions of enjoyment (empathy: β=–.037; exploration: β=–.041; both P<.001). Surprisingly, rapport in the prior session showed no association with client self-disclosure or negative emotion expression.
Conclusions: This study demonstrates that LLM-based measurement combined with structural modeling can capture core therapeutic processes at scale. Empathy and exploration showed small but consistent turn-level associations with client disclosure and emotional expression, whereas prior-session rapport did not show a robust association. These findings provide a computational foundation for precision modeling of psychotherapy processes and may offer actionable insights for scalable therapist training and AI-supported clinical education systems.
Related
- Increases in therapist-patient physiological synchrony after dog-patient contact in canine-assisted psychotherapy: an exploratory pilot study
- Psychotherapy remains a human endeavor: Human therapy is valued more than AI-integrated therapy
- From Evidence to Practice: A Systematic Review of Implementation of Psychedelic-Assisted Psychotherapy
- Psychotherapy and Teletherapy in U.S. Latinx Populations: A Narrative Review
- Sensory Regulation, Theraplay®, Eye Movement Desensitisation and Reprocessing, and Dyadic Developmental Psychotherapy Integration (STEDi) for Adoptive Children who have Experienced Developmental Trauma and Attachment Disruptions: A Mixed-Methods Preliminary Evaluation
BibTeX
@article{chen2026modeling,
title = {{Modeling of Therapist-Client Dynamics in Psychotherapy Using Large Language Model–Based Assessments: Retrospective Observational Study of 1573 Psychotherapy Sessions}},
author = {Angela H Chen and Siwei Jin and Canwen Wang and Holly A Swartz and Tongshuang Wu and Robert E Kraut and Haiyi Zhu},
journal = {JMIR Mental Health},
year = {2026},
month = nov,
doi = {10.2196/95389},
url = {https://doi.org/10.2196/95389},
note = {CC BY 4.0},
}
RIS
TY - JOUR
TI - Modeling of Therapist-Client Dynamics in Psychotherapy Using Large Language Model–Based Assessments: Retrospective Observational Study of 1573 Psychotherapy Sessions
AU - Angela H Chen
AU - Siwei Jin
AU - Canwen Wang
AU - Holly A Swartz
AU - Tongshuang Wu
AU - Robert E Kraut
AU - Haiyi Zhu
PY - 2026
DA - 2026/11/05
JO - JMIR Mental Health
DO - 10.2196/95389
UR - https://doi.org/10.2196/95389
AB - Background: Psychotherapy is a primary treatment for many mental health conditions, yet the dynamic interplay among therapist behaviors, client responses, and the therapeutic relationship remains difficult to disentangle at scale. Traditional process research relies on labor-intensive human coding, limiting the ability to model moment-to-moment therapeutic dynamics across large datasets. Objective: This study aimed to develop and validate a computational framework for modeling therapist-client interaction processes and to examine how therapist behaviors and relational qualities relate to client self-disclosure and emotional expression in psychotherapy sessions. Methods: We developed automated assessment pipelines using large language models (LLMs) to measure therapist behaviors (empathy or exploration), relational quality (rapport), and client outcomes (self-disclosure, self-directed negative emotion, or outward-directed negative emotion). Model-generated scores were validated against human annotations. We then applied these measures to approximately 2000 hours of psychotherapy transcripts from the Alexander Street corpus. This yielded an estimation sample of 119,233 client utterances from 1573 sessions and 37 clients. Because utterances are nested within sessions and sessions within clients, we estimated a saturated multivariate structural equation model with SEs clustered at the session level. Results were confirmed in a multilevel regression model with random intercepts for session and client. Results: Following comparative validation of 6 candidate language models, automated measures showed good to excellent agreement with human annotations (intraclass correlation coefficient [ICC]=0.60-0.81) for rapport (ICC=0.81), self-disclosure (ICC=0.78), empathy components (ICC=0.60-0.75), and emotion measurements (ICC=0.66-0.80). Structural equation modeling analyses revealed that therapist empathy and exploration were each associated with increased client disclosure (empathy: β=.086, 95% CI 0.078-0.095; exploration: β=.086, 95% CI 0.078-0.094; both P<.001) and increased expression of self-directed negative emotions, comprising sadness, anxiety, fear, and depression (empathy: β=.118, 95% CI 0.110-0.127; exploration: β=.078, 95% CI 0.070-0.087; both P<.001). Both behaviors were also associated with reduced expressions of enjoyment (empathy: β=–.037; exploration: β=–.041; both P<.001). Surprisingly, rapport in the prior session showed no association with client self-disclosure or negative emotion expression. Conclusions: This study demonstrates that LLM-based measurement combined with structural modeling can capture core therapeutic processes at scale. Empathy and exploration showed small but consistent turn-level associations with client disclosure and emotional expression, whereas prior-session rapport did not show a robust association. These findings provide a computational foundation for precision modeling of psychotherapy processes and may offer actionable insights for scalable therapist training and AI-supported clinical education systems.
SN - 2368-7959
ER -