Understanding the relationship between patient language and outcomes in internet-enabled cognitive behavioural therapy: A deep learning approach to automatic coding of session transcripts
Open accessThe DOI matches its Crossref record; 38 of the 40 references it cites were found in a registry or an index.
Abstract
Objective: Understanding patient responses to psychotherapy is important in developing effective interventions. However, coding patient language is a resource-intensive exercise and difficult to perform at scale. Our aim was to develop a deep learning model to automatically identify patient utterances during text-based internet-enabled Cognitive Behavioural Therapy and to determine the association between utterances and clinical outcomes.Method: Using 340 manually annotated transcripts we trained a deep learning model to categorize patient utterances into one or more of five categories. The model was used to automatically code patient utterances from our entire data set of transcripts (∼34,000 patients), and logistic regression analyses used to determine the association between both reliable improvement and engagement, and patient responses.Results: Our model reached human-level agreement on three of the five patient categories. Regression analyses revealed that increased counter change-talk (movement away from change) was associated with lower odds of both reliable improvement and engagement, while increased change-talk (movement towards change or self-exploration) was associated with increased odds of improvement and engagement.Conclusions: Deep learning provides an effective means of automatically coding patient utterances at scale. This approach enables the development of a data-driven understanding of the relationship between therapist and patient during therapy.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The text we found for this paper looks like another document, so the self-check wasn’t run.
Citations
Cites
R: A Language and Environment for Statistical Computing
R Core Team (2025) · doi:10.32614/r.manuals · Cited by 352,181
Hochreiter, S., & Schmidhuber, J. (1997) · Neural Computation · doi:10.1162/neco.1997.9.8.1735 · Cited by 102,318
The PHQ-9: Validity of a brief depression severity measure
Kroenke, K., Spitzer, R. L., & Williams, J. B. W. (2001) · Journal of General Internal Medicine · doi:10.1046/j.1525-1497.2001.016009606.x · Cited by 44,910
A Brief Measure for Assessing Generalized Anxiety Disorder: The GAD-7
Spitzer, R. L., Kroenke, K., Williams, J. B. W., & Löwe, B. (2006) · Archives of Internal Medicine · doi:10.1001/archinte.166.10.1092 · Cited by 31,765
Advances in Neural Information Processing Systems 25
Zhang, Y., Sutton, C. A., Storkey, A., & Zoubin Ghahramani, A. (2012) · Cited by 12,653
Jacobson, N. S., & Truax, P. (1991) · Journal of Consulting and Clinical Psychology · doi:10.1037/0022-006x.59.1.12 · Cited by 7,770
(1962) · Medical Entomology and Zoology · Cited by 4,856
The Efficacy of Cognitive Behavioral Therapy: A Review of Meta-analyses
Hofmann, S. G., Asnaani, A., Vonk, I. J. J., Sawyer, A. T., & Fang, A. (2012) · Cognitive Therapy and Research · doi:10.1007/s10608-012-9476-1 · Cited by 3,445
Class-Balanced Loss Based on Effective Number of Samples
Cui, Y., Jia, M., Lin, T.-Y., Song, Y., & Belongie, S. (2019) · 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2019.00949 · Cited by 3,094
From Frequency to Meaning: Vector Space Models of Semantics
Turney, P. D., & Pantel, P. (2010) · Journal of Artificial Intelligence Research · doi:10.1613/jair.2934 · Cited by 2,866
Research works printed but not linked: 5
- Can D., 2015, Proceedings of the Annual Conference of the International speech Communication association, INTERSPEECH, 2015-Janua
- Ewbank M. P., 2019, JAMA Psychiatry
- Glynn, L. H. & Moyers, T. B. (2009). Manual for the Motivational Interviewing Skill Code (MISC), Version 1.1: Addendum to MISC 1.0. (Vol. 0, Issue April, pp. 1–15).
- Kraemer H. C., 2002, JAMA Psychiatry, 59, 877
- National Institute for Health and Clinical Excellence, 2011, The British Psychological Society and The Royal College of Psychiatrists
Cited by
The promise of machine learning in predicting treatment outcomes in psychiatry
Chekroud, A. M., Bondar, J., Delgadillo, J., Doherty, G., Wasil, A., Fokkema, M., Cohen, Z., Belgrave, D., DeRubeis, R., Iniesta, R., et al. (2021) · World Psychiatry · doi:10.1002/wps.20882 · Cited by 531
“Other novel directions include using machine learning to match patients to specific therapists 69 , replicating human ratings and judgements 70,71 , and using natural language processing tech niques to discover patterns of therapistpatient interactions that predict treatment response 72,73 .”
BackgroundModern views of machine learning for precision psychiatry
Chen, Z. S., Kulkarni, P. (., Galatzer-Levy, I. R., Bigio, B., Nasca, C., & Zhang, Y. (2022) · Patterns · doi:10.1016/j.patter.2022.100602 · Cited by 210
“This has led to development of models that can identify patterns in patient’s and clinician’s language that are markers of improved outcomes [248], which can be further used to measure success of various therapy modalities, treatment design, as well as to improve care quality [249].”
BackgroundMalgaroli, M., Hull, T. D., Zech, J. M., & Althoff, T. (2023) · Translational Psychiatry · doi:10.1038/s41398-023-02592-2 · Cited by 201
“Search string queries are detailed in the supplementary materials.”
BackgroundMethodGutierrez, G., Stephenson, C., Eadie, J., Asadpour, K., & Alavi, N. (2024) · Frontiers in Psychiatry · doi:10.3389/fpsyt.2024.1356773 · Cited by 71
The impact of artificial intelligence on the tasks of mental healthcare workers: A scoping review
Verboom, A. D. P. R., Damion, D. E. V., dos Santos, N. R., & de Graaf, J. W. (2023) · Computers in Human Behavior Artificial Humans · doi:10.1016/j.chbah.2023.100008 · Cited by 58
Palmer, C. E., Marshall, E., Millgate, E., Warren, G., Ewbank, M., Cooper, E., Lawes, S., Bouazzaoui, M., Smith, A., Hutchins-Joss, C., et al. (2025) · Journal of Medical Internet Research · doi:10.2196/69351 · Cited by 47
“The acceleration of telehealth and expansion of care delivery through digital platforms (eg, typed conversations) have also enabled insights into the relationship between the active components of evidence-based treatments and clinical outcomes [21,22].”
Investigating psychotherapists’ attitudes towards artificial intelligence in psychotherapy
Wagner, J., & Schwind, A.-S. (2025) · BMC Psychology · doi:10.1186/s40359-025-03071-7 · Cited by 35
“Automated coding further supports monitoring of therapeutic alliance and outcomes [42, 43], highlighting the potential of AI-based tools in improving therapy quality and effectiveness.”
Multimodal Automatic Coding of Client Behavior in Motivational Interviewing
Tavabi, L., Stefanov, K., Zhang, L., Borsari, B. E., Woolley, J. D., Scherer, S. J., & Soleymani, M. (2020) · INTERNATIONAL CONFERENCE ON MULTIMODAL INTERACTION · doi:10.1145/3382507.3418853 · Cited by 38
“Ewbank et al. [7] also proposes a neural network classification model for MI behavioral codings, used in CBT sessions.”
MethodLinardon, J. (2025) · Current Treatment Options in Psychiatry · doi:10.1007/s40501-025-00344-1 · Cited by 28
“In another study, Ewbank et al. [65] developed a deep learning model to automatically identify patient utterances in text-based internet-supported CBT for mood and anxiety disorders, training it on 340 manually annotated transcripts.”
Leveraging Novel Technologies and Artificial Intelligence to Advance Practice-Oriented Research
Atzil–Slonim, D., Penedo, J. M. G., & Lutz, W. (2023) · Administration and Policy in Mental Health and Mental Health Services Research · doi:10.1007/s10488-023-01309-3 · Cited by 30
“…provide information about clients’ symptoms deep learning techniques to automatically categorize thera-pists’ utterances in internet-facilitated cognitive behavioral therapy (Ewbank et al., 2020 ), as well as both client and therapist utterances in motivational interviewing (Cao et al., 2019 ).”
Hudon, A., Beaudoin, M., Phraxayavong, K., Dellazizzo, L., Potvin, S., & Dumais, A. (2022) · Health Informatics Journal · doi:10.1177/14604582221142442 · Cited by 20
A Scoping Review of Arabic Natural Language Processing for Mental Health
Alasmari, A. (2025) · Healthcare · doi:10.3390/healthcare13090963 · Cited by 15
“…proliferation of digital health platforms has made such data more accessible, enabling transformative studies on treatment fidelity [9], patient outcome estimation [10], the identification of treatment components [11], the evaluation of therapeutic alliances [12], and suicide risk assessment [13].”
Analysis of Behavior Classification in Motivational Interviewing
Tavabi, L., Tran, T., Stefanov, K., Borsari, B. E., Woolley, J. D., Scherer, S. J., & Soleymani, M. (2021) · Workshop on Computational Linguistics and Clinical Psychology (CLPsych) · doi:10.18653/v1/2021.clpsych-1.13 · Cited by 33
“More recent approaches leveraged advances in neural networks, using standard recurrent neural networks (RNNs) (Xiao et al., 2016; Ewbank et al., 2020 et al., 2016; Huang et al., 2018) or hierarchical encoders with attention (Cao et al., 2019).”
MethodArtificial intelligence, machine learning and mental health
Delgadillo, J., & Atzil–Slonim, D. (2022) · Elsevier eBooks · doi:10.1016/b978-0-323-91497-0.00177-6 · Cited by 16
Eccleston, C., Fisher, E., Keefe, F. J., Palermo, T. M., & Toelle, T. R. (2024) · Pain · doi:10.1097/j.pain.0000000000003348 · Cited by 12
Malins, S., Figueredo, G. P., Jilani, T. A., Long, Y., Andrews, J. A., Rawsthorne, M., Manolescu, C., Clos, J., Higton, F., Waldram, D., et al. (2022) · JMIR Medical Informatics · doi:10.2196/38168 · Cited by 13
“Similar levels of agreement with human rating reliability were achieved in this study compared with previous attempts to automate psychological therapy turn-by-turn ratings [9,63].”
BackgroundMethodResultTasca, A. N., Carlucci, S., Wiley, J. C., Holden, M., El-Roby, A., & Tasca, G. A. (2022) · Psychotherapy Research · doi:10.1080/10503307.2022.2156306 · Cited by 12
“code medical and psychotherapy transcripts (Cummins et al., 2019; Ewbank et al., 2020; Ewbank et al., 2021; Gaut et al., 2015; Park et al., 2019).”
BackgroundResultSwinger, N., Baseman, C. M., Ryu, M., Abdullah, S., Wiese, C. W., Sherrill, A. M., & Arriaga, R. I. (2025) · Proceedings of the ACM on Human-Computer Interaction · doi:10.1145/3710917 · Cited by 15
“Further, computational models have shown the potential for delivering unidirectional, automated evaluation of some aspects of therapy [29, 32, 41, 43, 114, 124].”
Affective Computing in Psychotherapy
Khanna, R., Robinson, N., O'Donnell, M. L., Eyre, H. A., & Smith, E. (2022) · Advances in Psychiatry and Behavioral Health · doi:10.1016/j.ypsc.2022.05.006 · Cited by 14
Rollmann, I., Gebhardt, N., Stahl-Toyota, S., Simon, J. J., Sutcliffe, M., Friederich, H., & Nikendei, C. (2023) · Frontiers in Psychiatry · doi:10.3389/fpsyt.2023.1055868 · Cited by 7
Sherrill, A. M., Wiese, C. W., Abdullah, S., & Arriaga, R. I. (2025) · Journal of Technology in Behavioral Science · doi:10.1007/s41347-025-00484-4 · Cited by 7
“Computational models have shown the potential for delivering unidirectionally, automatized evaluation of some aspects of therapy (Chen et al., 2021; Cummins et al., 2019; Ewbank et al., 2021; Flemotomos et al., 2021, 2022; Sharma et al., 2021; Tanana et al., 2021).”
Xu, T., Wang, N., Jin, Y., Chen, Y., & Ma, K. (2025) · Neural Regeneration Research · doi:10.4103/nrr.nrr-d-25-00121 · Cited by 7
“…Table 3 ; Zandvakili et al., 2019; Ciprian et al., 2020; Coutts et al., 2020; Morel et al., 2020; Rajpurkar et al., 2020; Bao et al., 2021; Ewbank et al., 2021; Joyce et al., 2021; Kong et al., 2021; Koutsouleris et al., 2021; Cearns et al., 2022; Liu et al., 2022a; Mullick et al., 2022;…”
Prospects of machine learning applications in affective disorders
Mosolova, E., Alfimov, A. Е., Kostyukova, E. G., & Mosolov, S. N. (2025) · Digital Diagnostics · doi:10.17816/dd634885 · Cited by 6
UPV-Symanto at eRisk 2021: Mental Health Author Profiling for Early Risk Prediction on the Internet.
Basile, A., Chinea-Ríos, M., Uban, A. S., Müller, T., Rössler, L., Yenikent, S., Chulvi, B., Rosso, P., & Franco-Salvador, M. (2021) · RiuNet (Universitat Politècnica de València) · Cited by 4
Lassen, E. R., Lia, S. A., Hjertaas, I., Hjemdal, O., Kennair, L. E. O., Hagen, R., & Solem, S. (2023) · Cognitive Behaviour Therapy · doi:10.1080/16506073.2023.2289863 · Cited by 4
“Ewbank et al. (2020) included patients with depression ( n = 11,333) in a transdiagnostic sample ( N = 28,809).”
BackgroundResultArtificial intelligence-based psychotherapy: focusing on common psychotherapeutic factors
Giotakos, O. (2025) · Frontiers in Psychiatry · doi:10.3389/fpsyt.2025.1710715 · Cited by 11
Clinicians’ Opinions, Suggestions, and Concerns Using Social Robots in Psychological Practice
Chandra, S., Aitken, C., Gupta, G., Rasouli, S., Ghafurian, M., Nilsen, E. S., & Dautenhahn, K. (2025) · International Journal of Social Robotics · doi:10.1007/s12369-025-01305-7 · Cited by 2
“Examples include mobile applications [33], AI-based digital technologies [34], virtual agents [35], and social robots [12].”
Automatic detection of behavioural codes in team interactions
Hasan, M., Jefferson, N., Hain, T., & Dawson, J. (2022) · Computer Speech & Language · doi:10.1016/j.csl.2021.101339 · Cited by 2
Yamagata, M., Yamagishi, D., & Ikemi, A. (2025) · Person-Centered & Experiential Psychotherapies · doi:10.1080/14779757.2025.2601985 · Cited by 1
Stark, C., Stanzilis, K., Plauche, S., & Palacios, A. F. (2025) · Families in Society The Journal of Contemporary Social Services · doi:10.1177/10443894251378612 · Cited by 1
Jones, L. A., Barber, C., Clements-Brod, N., Davies, J., DelPozo‐Baños, M., Hughes, A., Iveson, M. H., Jain, D., John, A. M., Maguire, A., et al. (2026) · Frontiers in Psychiatry · doi:10.3389/fpsyt.2026.1760116 · Cited by 1
“Companies that provide healthcare themselves have used routinely collected data to predict treatment response from psychotherapy (98 – 101).”
Skelton, M., Catarino, A., Brown, S. A. T., Carr, E., Davies, M. R., Peel, A. J., Rayner, C., Breen, G. D., & Eley, T. C. (2023) · Behaviour Research and Therapy · doi:10.1016/j.brat.2023.104386 · Cited by 1
DeePsy: Představení online nástroje pro zpětnou vazbu v psychoterapii
Řiháček, T., Nehyba, J., Čevelíček, M., Polok, A., Matějka, P., & Doležal, P. (2023) · Psychoterapie · doi:10.5817/psy2023-1-1
The 5As Model: A Career Counseling Framework for Research, Theory and Practice
Rochat, S. (2026) · Journal of Career Assessment · doi:10.1177/10690727261448172
Zhang, Z., Fitzgerald, K. D., Chang, S., Monk, C. S., Phan, K. L., & Iturra-Mena, A. M. (2026) · Research Square · doi:10.21203/rs.3.rs-9682555/v1
“To reduce dimensionality and support stable model estimation, we constructed a theory-informed feature set based on prior literature 13,23–25 , 37– 42 .”
Pimentel, R. P. F. D. A., & Meyer, G. J. (2026) · Assessment · doi:10.1177/10731911261455137
Antichi, L., Sajno, E., Rossi, C., Frisone, F., Salve, F. D., Oasi, O., & Riva, G. (2026) · Current Psychology · doi:10.1007/s12144-026-09685-3
“Recently, automated methods have been developed to assist clinicians in assessment, such as classifying therapist utterances or identifying disorders using machine learning algorithms (Ewbank et al., 2021; Hawa et al., 2020).”
Automated systems for coding psychotherapeutic discourse
Латынов, В. В., & Vlasova, A. S. (2026) · Journal of Modern Foreign Psychology · doi:10.17759/jmfp.2026150204
Metadata
- Authors
- Ewbank, M. P., Cummins, R., Tablan, V., Catarino, A., Buchholz, S., & Blackwell, A. D.
- Affiliations
- ieso Digital Health (UK) Ltd. (United Kingdom) (GB)
- Corresponding author
- Ewbank, M. P.
- Venue
- Psychotherapy Research
- Publisher
- Informa UK Limited
- Published
- 2020-07-03
- Volume
- 31
- Issue
- 3
- Pages
- 300-312
- ISSN
- 1050-3307 (ISSN-L)
- 1468-4381
- OpenAlex
- W3038711424
- Cited by
- 39
- References
- 40
- Citations by year
- 2026: 6 · 2025: 12 · 2024: 2 · 2023: 7 · 2022: 7 · 2021: 4 · 2020: 1
- FWCI
- 5.19
- Type
- journal article
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- Locations
- Psychotherapy Research (publishedVersion, cc-by-nc-nd)
- PubMed (publishedVersion)
- Funders
- Innovate UK (104544)
- Topics
- Social Sciences › Psychology › Social Psychology › Mental Health via Writing
- Social Sciences › Psychology › Applied Psychology › Digital Mental Health Interventions
- Social Sciences › Psychology › Clinical Psychology › Psychotherapy Techniques and Applications
- Keywords
- change talk, patient engagement, treatment outcomes, therapeutic relationship, deep learning
- MeSH terms
- Deep Learning, Humans, Language, Psychotherapy, Cognitive Behavioral Therapy, Internet
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.