Depression Detection of Users in Social Media X using IndoBERTweet


  • Muhammad Fadhel Telkom University
  • Warih Maharani Telkom University Bandung, Indonesia




IndoBERTweet, DASS-42, Depression, Social Media, Twitter


According to the Ministry of Home Affairs, the population of Indonesia stands at 273 million, Indonesia has approximately 167 million active subscribers to virtual entertainment platforms, including YouTube, Facebook, Instagram, and Twitter. The use of online entertainment is huge, particularly on Twitter, and has been associated with mental health implications, such as depression. This research objective is to do a comprehensive study about the IndoBertweet deep learning framework to investigate the prevalence of depression in social media, focusing on Twitter. Utilizing the DASS-42, the research estimates depression levels based on user interactions and reactions to tweets. The results of this research showed that the IndoBERTweet method achieved an accuracy rate of 82% in detecting depression using Twitter data. This research highlights the importance of intervention strategies to support the mental health of social media users, emphasizing the importance of proactive measures in addressing mental well-being issues in the digital space.

GS Cited Analysis


Download data is not yet available.


Juta Penduduk Indonesia Terupdate Versi Kemendagri. (n.d.). Retrieved May 20, 2023, from

A Look at Precision, Recall, and F1-Score | by Teemu Kanstrén | Towards Data Science. (n.d.). Retrieved December 20, 2023, from

Beauxis-Aussalet, E., & Hardman, L. (n.d.). Visualization of Confusion Matrix for Non-Expert Users.

Depression Anxiety Stress Scales – Long Form (DASS-42) – NovoPsych. (n.d.). Retrieved May 20, 2023, from

Dirgayunita, A. (2016). Depresi: Ciri, Penyebab dan Penangannya. Journal An-Nafs: Kajian Penelitian Psikologi, 1(1), 1–14.

DR. Namora Lumongga Lubis, M. S. (2016). Depresi : Tinjauan Psikologis. In Kencana.

ELCOM;, T. A. O. T. (2010). Twitter; Best Social Networking. //

Flach, P. A., & Kull, M. (2015). Precision-Recall-Gain Curves: PR Analysis Done Right. Advances in Neural Information Processing Systems, 28. http://www.cs.

Ilham, F., & Maharani, W. (2022). Analyze Detection Depression In Social Media Twitter Using Bidirectional Encoder Representations from Transformers. Journal of Information System Research (JOSH), 3(4), 476–482.

Koto, F., Lau, J. H., & Baldwin, T. (2021). IndoBERTweet: A Pretrained Language Model for Indonesian Twitter with Effective Domain-Specific Vocabulary Initialization. EMNLP 2021 - 2021 Conference on Empirical Methods in Natural Language Processing, Proceedings, 10660–10668.

Lovibond, P. F., & Lovibond, S. H. (1995). The structure of negative emotional states: Comparison of the Depression Anxiety Stress Scales (DASS) with the Beck Depression and Anxiety Inventories. Behaviour Research and Therapy, 33(3), 335–343.

Pengguna Media Sosial di Indonesia Sebanyak 167 Juta pada 2023. (n.d.). Retrieved May 20, 2023, from

Poswiata, R., & Perełkiewicz, M. (2022). OPI@LT-EDI-ACL2022: Detecting Signs of Depression from Social Media Text using RoBERTa Pre-trained Language Models. LTEDI 2022 - 2nd Workshop on Language Technology for Equality, Diversity and Inclusion, Proceedings of the Workshop, 276–282.

Saadah, S., Auditama, K. M., Fattahila, A. A., Amorokhman, F. I., Aditsania, A., & Rohmawati, A. A. (2022). Implementation of BERT, IndoBERT, and CNN-LSTM in Classifying Public Opinion about COVID-19 Vaccine in Indonesia. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 6(4), 648–655.

Singh, P., Singh, N., Singh, K. K., & Singh, A. (2021). Diagnosing of disease using machine learning. Machine Learning and the Internet of Medical Things in Healthcare, 89–111.

Suwistianisa, R. '. (Rizki), Huda, N. '. (Nurul), & Ernawaty, J. '. (Juniar). (2016). Faktor-faktor yang Mempengaruhi Tingkat Depresi pada Pasien Kanker yang Dirawat di RSUD Arifin Achmad Provinsi Riau. Jurnal Online Mahasiswa Program Studi Ilmu Keperawatan Universitas Riau, 2(2), 1463–1473.

Tatbul, N., Lee, T. J., Zdonik, S., Alam, M., & Gottschlich, J. (2018). Precision and Recall for Time Series. Advances in Neural Information Processing Systems, 2018-December, 1920–1930.

Ulfah, I. (2019). krining masalah kesehatan jiwa dengan Kuesioner Dass-42 pada civitas UIN Syarif Hidayatullah Jakarta yang memiliki riwayat Hipertensi.

Wright, D. K. (2017). Accuracy vs. Precision: Understanding Potential Errors from Radiocarbon Dating on African Landscapes. African Archaeological Review, 34(3), 303–319.


Crossmark Updates

How to Cite

Fadhel, M. ., & Maharani, W. . (2024). Depression Detection of Users in Social Media X using IndoBERTweet. Sinkron : Jurnal Dan Penelitian Teknik Informatika, 8(2), 885-891.