Pricilla B Laskoski1, Fernanda B Serralta2, Ives C Passos1,3, Simone Hauck1,3. 1. Programa de Pós-Graduação em Psiquiatria e Ciências do Comportamento, Universidade Federal do Rio Grande do Sul (UFRGS), Porto Alegre, RS, Brazil. 2. Programa de Pós-Graduação em Psicologia, Universidade do Vale do Rio dos Sinos (UNISINOS), São Leopoldo, RS, Brazil. 3. Hospital de Clínicas de Porto Alegre, Porto Alegre, RS, Brazil.
Mental health researchers have been using machine learning (ML) techniques to improve outcomes. For example, recent studies have reported high predictive accuracy in distinguishing patients with bipolar disorder from healthy individuals by using neuroimaging, neurocognitive data,1 and biomarkers.2 Another work was able to predict which disordered patients would attempt suicide.3 This new approach to analyzing data is also being used in the context of psychotherapy, especially to predict responses to psychotherapeutic treatment or indications for psychotherapy.4,5As most ML algorithms seek non-linear patterns of interrelation, they can be a useful tool in predicting the terms needed to apprehend complex phenomena such as psychotherapeutic encounters. Therefore, to evaluate their applicability, we hypothesize that ML can predict patient distress after sessions by identifying factors in the therapist that affect the patient’s mental state during a session of psychotherapy.To illustrate this, we describe the case of psychoanalytic psychotherapy of a 67-year-old woman diagnosed with somatic symptom disorder and Cluster C personality traits. The psychotherapist was a female clinical psychologist with 10 years of experience and training in psychoanalytic psychotherapy. The treatment consisted of 120 videotaped sessions and was considered successful in terms of its results. We undertook an exploratory analysis by using an ML approach. Distress following sessions was assessed by the Outcome Questionnaire (OQ-45), and the therapist’s behaviors and interventions were measured by the Psychotherapy Process Q-Set (PQS). Two trained and independent judges rated randomly chose videotapes of every other session (a total of 62 sessions were therefore assessed). Inter-rater reliability showed a mean Pearson’s correlation of r = 0.71. In this study, we aimed to evaluate the effect of the therapist’s variables on the patient’s distress and, considering that a categorical outcome variable would be more suitable for the model, we used the OQ median to classify distress after the session when high distress levels (OQ ≥ 67) or low distress levels (OQ < 67) were present. Also, the patient was compared to herself in terms of distress score during the process.We assumed a classification problem with the PQS items associated with therapist effects (n=41) as input data. Recursive feature elimination was carried out with leave-one-out cross-validation (LOOCV), using a random forest algorithm. We set the algorithm to look for a predictive model with 2 to 15 predictors out of the initial 41, with a view to obtaining a pragmatic model that could be used in clinical practice while avoiding overfitting. The best model found comprised 6 variables. Next, we used the selected variables to create predictive models with the random forest algorithm. Also known as decision tree forests, this ensemble-based method focuses only on ensembles of decision trees.6 This method was developed by Leo Breiman7 and combines the basic principles of “bagging” with random feature selection to add additional diversity to the decision tree models. The parameter to be adjusted was ‘mtry’ (an optional integer specifying the number of features to randomly select at each split) for this model. Finally, we used LOOCV to estimate model performance and plotted a receiver operating characteristic (ROC) curve, using the area under the curve (AUC) to select the best fit for each model. This process consists of training the algorithm with all subjects but one, a process that is then constantly repeated until all subjects have been used at least once. LOOCV has become the standard for estimating model performance for studies with small sample sizes.6 The best model showed an AUC of 0.725, sensitivity of 79%, specificity of 62%, balanced accuracy of 70.5%, and comprised 6 variables (PQS items) as the most relevant predictors of distress after sessions: v89 (therapist helps the patient avoid or suppress disturbing content); v67 (therapist draws the patient’s attention to unconscious content); v92 (patient’s feelings or perceptions are linked to situations or behaviors of the past); v80 (therapist presents an experience from a different perspective); v46 (therapist communicates clearly); and v100 (therapist draws connections between the therapeutic relationship and other relationships). Figure 1 presents the variables and their importance in the model.
Figure 1
Variable importance in the model.
The random forest algorithm achieved high accuracy and high clinical validity. It should be noted that the resultant model was predominantly composed of specific factors of the employed approach, and was congruent with psychoanalytic theory. Identifying those variables traditionally associated with psychoanalytic treatment that were active during the sessions corroborates the validity of psychoanalytic constructs in clinical settings. For example, the most important construct in the model was item 89, which postulates that the therapist intervenes to help the patient avoid or suppress disturbing ideas or feelings. This means that psychoanalytic work regarding the patient’s defenses against emotional experience is fundamental within the process, and is closely associated with the variability of the patient’s mental state regarding treatment with the proposed model. Next in importance, after item 89, were item 67 (which postulates that the therapist draws the patient’s attention to wishes, feelings, or ideas that may not be in awareness) and item 92 (which denotes that several links or salient connections are made between the patient’s current emotional experience and the perception of events in the past). Both items refer to central issues in psychoanalytic theory and technique - namely, unconscious content urging toward consciousness, and the importance of experiences during childhood. In brief, the proposed model clearly represents the psychoanalytic factor in action (represented by variables belonging mainly to the set called “specific factors” in psychotherapy). This means that the set of interventions proposed, when used concomitantly, had an effect on the patient’s mental state, and thus proved effective.Some limitations must be taken into account. Our findings correspond only to the case in question, and do not allow for generalizations. Also, the number of observations (n=62) may be considered small. Although we used LOOCV, we did not have an external dataset to test our signature. Therefore, our findings may be prone to overfitting.In conclusion, this pilot study showed that ML approaches could be a useful tool to promote advances in psychotherapeutic processes, allowing the study of numerous simultaneous variables without assuming linearity. This seems to be a promising field of study, with room for improvement. Therapeutic interaction is a complex phenomenon, and the debate as to the effective ingredients that promote therapeutic change is central.
Authors: Mon-Ju Wu; Benson Mwangi; Isabelle E Bauer; Ives C Passos; Marsal Sanches; Giovana B Zunta-Soares; Thomas D Meyer; Khader M Hasan; Jair C Soares Journal: Neuroimage Date: 2016-02-13 Impact factor: 6.556
Authors: K N T Månsson; A Frick; C-J Boraxbekk; A F Marquand; S C R Williams; P Carlbring; G Andersson; T Furmark Journal: Transl Psychiatry Date: 2015-03-17 Impact factor: 6.222