A Machine Learning Approach for Predicting Non-Suicidal Self-Injury in Young Adults

Sensors (Basel). 2022 Jun 24;22(13):4790. doi: 10.3390/s22134790.

Abstract

Artificial intelligence techniques were explored to assess the ability to anticipate self-harming behaviour in the mental health context using a database collected by an app previously designed to record the emotional states and activities of a group of subjects exhibiting self-harm. Specifically, the Leave-One-Subject-Out technique was used to train classification trees with a maximum of five splits. The results show an accuracy of 84.78%, a sensitivity of 64.64% and a specificity of 85.53%. In addition, positive and negative predictive values were also obtained, with results of 14.48% and 98.47%, respectively. These results are in line with those reported in previous work using a multilevel mixed-effect regression analysis. The combination of apps and AI techniques is a powerful way to improve the tools to accompany and support the care and treatment of patients with this type of behaviour. These studies also guide the improvement of apps on the user side, simplifying and collecting more meaningful data, and on the therapist side, progressing in pathology treatments. Traditional therapy involves observing and reconstructing what had happened before episodes once they have occurred. This new generation of tools will make it possible to monitor the pathology more closely and to act preventively.

Keywords: EMA; NSSI; app; machine learning.

MeSH terms

  • Artificial Intelligence*
  • Emotions
  • Humans
  • Machine Learning
  • Mental Health
  • Self-Injurious Behavior* / diagnosis
  • Self-Injurious Behavior* / psychology
  • Young Adult

Grants and funding

This research was partially funded for C.C. by the Agència de Gestió d’Ajuts Universitaris i de Recerca (AGAUR) of the Catalan Government (Project reference: 2020-DI-068), and for D.V. by a Spanish government grant (I + D + i fellowship, PSI2016–79980-P).