Measuring Alliance and Symptom Severity in Psychotherapy Transcripts Using Bert Topic Modeling
Authors:
- Christopher LalkCLChristopher Lalk
- Tobias SteinbrennerTSTobias Steinbrenner
- Weronika KaniaWKWeronika Kania
- Alexander PopkoAPAlexander Popko
- Robin WesterRWRobin Wester
- Jana SchaffrathJSJana Schaffrath
- Steffen EberhardtSESteffen Eberhardt
- Brian SchwartzBSBrian Schwartz
- Wolfgang LutzWLWolfgang Lutz
- Julian RubelJRJulian Rubel
Open Access
- 29 March 2024
- journal article
- research article
- Published by Springer Nature in Administration and Policy in Mental Health and Mental Health Services Research
- Vol. 51 (4) , 509-524
Abstract
We aim to use topic modeling, an approach for discovering clusters of related words (“topics”), to predict symptom severity and therapeutic alliance in psychotherapy transcripts, while also identifying the most important topics and overarching themes for prediction. We analyzed 552 psychotherapy transcripts from 124 patients. Using BERTopic (Grootendorst, 2022), we extracted 250 topics each for patient and therapist speech. These topics were used to predict symptom severity and alliance with various competing machine-learning methods. Sensitivity analyses were calculated for a model based on 50 topics, LDA-based topic modeling, and a bigram model. Additionally, we grouped topics into themes using qualitative analysis and identified key topics and themes with eXplainable Artificial Intelligence (XAI). Symptom severity could be predicted with highest accuracy by patient topics ( $$r$$ =0.45, 95%-CI 0.40, 0.51), whereas alliance was better predicted by therapist topics ( $$r$$ =0.20, 95%-CI 0.16, 0.24). Drivers for symptom severity were themes related to health and negative experiences. Lower alliance was correlated with various themes, especially psychotherapy framework, income, and everyday life. This analysis shows the potential of using topic modeling in psychotherapy research allowing to predict several treatment-relevant metrics with reasonable accuracy. Further, the use of XAI allows for an analysis of the individual predictive value of topics and themes. Limitations entail heterogeneity across different topic modeling hyperparameters and a relatively small sample size.
Keywords
All Related Versions
Funding Information
- German Research Foundation (493169211)
- Universität Osnabrück
This publication has 56 references indexed in Scilit:
- Explainable AI Methods - A Brief Overview2022
- An Introduction to Statistical Learning2021
- Levels of Severity of Depressive Symptoms Among At-Risk Groups in the UK During the COVID-19 PandemicJAMA Network Open, 2020
- Double trouble: Do symptom severity and duration interact to predicting treatment outcomes in adolescent depression?Behaviour Research and Therapy, 2020
- Patients' in-session experiences and symptom change: Session-to-session effects on a within- and between-patient levelBehaviour Research and Therapy, 2017
- The Influence of Demand Characteristics and Social Desirability on Clients’ Ratings of the Therapeutic AllianceJournal of Clinical Psychology, 2013
- A Brief Measure for Assessing Generalized Anxiety DisorderArchives of internal medicine (1960), 2006
- Support-vector networksMachine Learning, 1995
- Positive matrix factorization: A non‐negative factor model with optimal utilization of error estimates of data valuesEnvironmetrics, 1994
- Indexing by latent semantic analysisJournal of the American Society for Information Science, 1990