Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Apr 8;10(4):698.
doi: 10.3390/healthcare10040698.

Boamente: A Natural Language Processing-Based Digital Phenotyping Tool for Smart Monitoring of Suicidal Ideation

Affiliations

Boamente: A Natural Language Processing-Based Digital Phenotyping Tool for Smart Monitoring of Suicidal Ideation

Evandro J S Diniz et al. Healthcare (Basel). .

Abstract

People at risk of suicide tend to be isolated and cannot share their thoughts. For this reason, suicidal ideation monitoring becomes a hard task. Therefore, people at risk of suicide need to be monitored in a manner capable of identifying if and when they have a suicidal ideation, enabling professionals to perform timely interventions. This study aimed to develop the Boamente tool, a solution that collects textual data from users' smartphones and identifies the existence of suicidal ideation. The solution has a virtual keyboard mobile application that passively collects user texts and sends them to a web platform to be processed. The platform classifies texts using natural language processing and a deep learning model to recognize suicidal ideation, and the results are presented to mental health professionals in dashboards. Text classification for sentiment analysis was implemented with different machine/deep learning algorithms. A validation study was conducted to identify the model with the best performance results. The BERTimbau Large model performed better, reaching a recall of 0.953 (accuracy: 0.955; precision: 0.961; F-score: 0.954; AUC: 0.954). The proposed tool demonstrated an ability to identify suicidal ideation from user texts, which enabled it to be experimented with in studies with professionals and their patients.

Keywords: artificial intelligence; deep learning; eHealth; mental health; mobile application; natural language processing; suicide.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Boamente system overview.
Figure 2
Figure 2
Methodology to find the best ML/DL model to be deployed in the inference engine.
Figure 3
Figure 3
Word clouds containing terms after text cleaning and stop words removal for (a) positive class and (b) negative class.
Figure 4
Figure 4
Number of instances labeled as negative and positive: (a) without data balancing (original dataset); (b) with 80% used for training and validation; (c) with 20% used for testing; and (d) with 80% used for training after applying SMOTE.
Figure 5
Figure 5
Cross-validation applied for evaluating the performance of all models.
Figure 6
Figure 6
Screenshots of the Boamente virtual keyboard.
Figure 7
Figure 7
Dashboards on the Boamente web application home screen.
Figure 8
Figure 8
Patient-specific dashboards on the Boamente web application.
Figure 9
Figure 9
Best results for accuracy and precision metrics.
Figure 10
Figure 10
Best results for recall and F-score metrics.
Figure 11
Figure 11
ROC curve with confidence interval of the BERTimbau Large model.
Figure 12
Figure 12
Comparison of our best model with the best one developed in Carvalho et al. [38].

Similar articles

Cited by

References

    1. WHO . Preventing Suicide: A Global Imperative. WHO; Geneva, Switzerland: 2014.
    1. World Health Organization Suicide Worldwide in 2019: Global Health Estimates. [(accessed on 14 January 2022)]. Available online: https://www.who.int/publications/i/item/9789240026643.
    1. Menon V., Padhy S.K., Pattnaik J.I. COVID-19 pandemic and suicidality: Durkheim revisited. Aust. N. Z. J. Psychiatry. 2021;55:324. doi: 10.1177/0004867420957085. - DOI - PubMed
    1. Lin C.Y., Alimoradi Z., Ehsani N., Ohayon M.M., Chen S.H., Griffiths M.D., Pakpour A.H. Suicidal Ideation during the COVID-19 Pandemic among A Large-Scale Iranian Sample: The Roles of Generalized Trust, Insomnia, and Fear of COVID-19. Healthcare. 2022;10:93. doi: 10.3390/healthcare10010093. - DOI - PMC - PubMed
    1. Conwell Y., Duberstein P.R., Caine E.D. Risk factors for suicide in later life. Biol. Psychiatry. 2002;52:193–204. doi: 10.1016/S0006-3223(02)01347-1. - DOI - PubMed

LinkOut - more resources