Natural language processing models for predicting treatment outcomes in internet-delivered cognitive behavioral therapyShow others and affiliations
2025 (English)In: Internet Interventions, ISSN 2214-7829, Vol. 42, article id 100879
Article in journal (Refereed) Published
Abstract [en]
Objective: Predicting treatment outcome has the potential to enhance Internet-delivered Cognitive Behavioral Therapy (ICBT). One aspect of guided ICBT is patient-therapist interaction through written messages. With Natural language processing (NLP) these could be leveraged to predict outcome; however current evidence is limited. This study investigates the predictive accuracy of NLP models for treatment outcomes and evaluates whether NLP provides additional predictive value beyond symptom variables. Methods: Patient-therapist messages from 6613 patients undergoing 12 weeks of treatment were used to train three types of NLP models: Term Frequency-Inverse Document Frequency (TF-IDF), Bidirectional Encoder Representations from transformers (BERT), and BERT for Longer Text (BELT). These were trained both with and without symptom variables from the initial treatment period to predict post-treatment symptoms. A dummy model was also used, and a linear regression model acted as a symptoms only benchmark. Multiple imputation addressed missing data, and nested cross-validation was used. Results: The symptom only model performed best. Only BERT outperformed the dummy model, achieving a Root Mean Squared Error (RMSE) of 0.17 compared to RMSE of 0.18. Adding symptom variables to the BERT model significantly increased its accuracy, but not the RMSE metric. The best linear regression benchmark based on symptoms only had a BACC of 70 % (F<inf>1</inf>-score of 0.66) which outperformed the BERT model with 60 % (F<inf>1</inf>: 0.55) and the combined BERT plus symptoms model achieved 68 % (F<inf>1</inf>: 0.62). Conclusion: These initial findings indicate a small predictive value from patient-therapist written message interaction but added no value beyond using only symptoms to predict post-treatment symptoms. Further research is needed to refine NLP-methods for use in psychological treatment, and more accurately assess the predictive potential of text-based interactions during ICBT.
Place, publisher, year, edition, pages
Elsevier B.V. , 2025. Vol. 42, article id 100879
Keywords [en]
Article, BERT for longer text, bidirectional encoder representations from transforme, cognitive behavioral therapy, exercise, frequency, human, information processing, internet delivered cognitive behavioral therapy, Leibowitz Social Anxiety Scale-Self Report version, major depression, Montgomery Asberg Depression Rating Scale, natural language processing, nested cross validation, panic, Panic Disorder Symptom Scale-Self Report, scoring system, social phobia, symptom, term frequency inverse document frequency, treatment outcome
National Category
Natural Language Processing
Identifiers
URN: urn:nbn:se:ri:diva-79308DOI: 10.1016/j.invent.2025.100879Scopus ID: 2-s2.0-105020959644OAI: oai:DiVA.org:ri-79308DiVA, id: diva2:2017221
Note
Article; Granskad
2025-11-272025-11-272025-11-27Bibliographically approved