+62 813-8532-9115 info@scirepid.com

 
JUITIK - Jurnal Ilmiah Teknik Informatika dan Komunikasi - Vol. 5 Issue. 2 (2025)

Applying BERT Model for Early Detection of Mental Disorders Based on Text Input

Jimmy Sunjaya, Jefferson Ong, Rezky Firmansyah Ziliwu, Henny Risni, Andre Pratama,



Abstract

In today's digital era, awareness of mental health issues is growing significantly. Many individuals are now more open about sharing their psychological conditions through written texts on social media, forums, and surveys. This phenomenon presents an opportunity to leverage technology for the automatic detection of mental disorders through text analysis. This study aims to implement the Bidirectional Encoder Representations from Transformers(BERT) model to identify mental health conditions such as depression, bipolar disorder, anxiety, suicidal tendencies, and others. The dataset was sourced from Kaggle and underwent several preprocessing stages, including data cleaning, tokenization, and text classification model training. This BERT model achieved strong performance, with an accuracy of 91% and an average F1-Score of 0.91. These results demonstrate the model's effectiveness in identifying various psychological expressions. The findings highlight the potential for developing early detection systems that are faster, more objective, and widely accessible. However, this study acknowledges limitations in dataset diversity, suggesting future work to incorporate more varied data sources and explore other NLP models to enhance detection accuracy and coverage.







DOI :


Sitasi :

0

PISSN :

2827-8127

EISSN :

2827-7945

Date.Create Crossref:

23-Jun-2025

Date.Issue :

21-Jun-2025

Date.Publish :

21-Jun-2025

Date.PublishOnline :

21-Jun-2025



PDF File :

Resource :

Open

License :

https://creativecommons.org/licenses/by-sa/4.0/dee