How do you feel? Using natural language processing to automatically rate emotion in psychotherapy.

Journal: Behavior research methods
Published Date:

Abstract

Emotional distress is a common reason for seeking psychotherapy, and sharing emotional material is central to the process of psychotherapy. However, systematic research examining patterns of emotional exchange that occur during psychotherapy sessions is often limited in scale. Traditional methods for identifying emotion in psychotherapy rely on labor-intensive observer ratings, client or therapist ratings obtained before or after sessions, or involve manually extracting ratings of emotion from session transcripts using dictionaries of positive and negative words that do not take the context of a sentence into account. However, recent advances in technology in the area of machine learning algorithms, in particular natural language processing, have made it possible for mental health researchers to identify sentiment, or emotion, in therapist-client interactions on a large scale that would be unattainable with more traditional methods. As an attempt to extend prior findings from Tanana et al. (2016), we compared their previous sentiment model with a common dictionary-based psychotherapy model, LIWC, and a new NLP model, BERT. We used the human ratings from a database of 97,497 utterances from psychotherapy to train the BERT model. Our findings revealed that the unigram sentiment model (kappa = 0.31) outperformed LIWC (kappa = 0.25), and ultimately BERT outperformed both models (kappa = 0.48).

Authors

  • Michael J Tanana
    University of Utah.
  • Christina S Soma
    Department of Educational Psychology.
  • Patty B Kuo
    University of Utah.
  • Nicolas M Bertagnolli
    https://www.empathy.rocks/, Seattle, WA, USA.
  • Aaron Dembe
    Department of Educational Psychology, University of Utah, Salt Lake City, UT, USA.
  • Brian T Pace
    Department of Educational Psychology.
  • Vivek Srikumar
    University of Utah, School of Computing, 50S. Central Campus Drive Room 3190, Salt Lake City, UT, United States. Electronic address: svivek@cs.utah.edu.
  • David C Atkins
    University of Washington.
  • Zac E Imel
    University of Utah.