Depression Levels Detection Through Twitter Tweets Using RoBERTa Method
Abstract
Mental health conditions are one thing that needs to be considered as important as physical health. Depression is a mental disorder that can affect a person's social life. The Twitter social media platform is where users can pour their hearts out in the form of tweets. This is often the background of a person's level of depression. Accessible and diverse interactions on Twitter considerably influence the psychological condition of its users. This study aims to detect the level of depression through data obtained from Twitter social media tweets. The method used is RoBERTa which is an optimized BERT retraining. Several scenarios are used to get the best accuracy results in text classification. To get the evaluation results, it is necessary to measure using the Confusion Matrix method. The accuracy value is 72% based on numerous tests that have been done.
Downloads
References
J. P. Jimenez, A. Botto, and P. Fonagy, Etiopathogenic Theories and Models in Depression. Springer International Publishing AG, 2021.
J. B. Nancy K. Baym, Twitter: A Biography. NYU Press, 2020.
M. Ardhi, “Analisis Sentimen untuk Deteksi Depresi pada Forum Reddit dengan Fitur Seleksi Chi-Square Menggunakan Support Vector Machine,” 2020.
G. Mahendra, E. Sutoyo, O. N. Pratiwi, F. R. Industri, and U. Telkom, “MENDETEKSI GEJALA DEPRESI PENGGUNA TWITTER BERDASARKAN ANALISIS SENTIMEN MENGGUNAKAN ALGORITME K-NEAREST NEIGHBOR,” 2020.
T. R. Ramadan, E. Sutoyo, and O. N. Pratiwi, “MENDETEKSI GEJALA DEPRESI PENGGUNA TWITTER MENGGUNAKAN ALGORITMA NAÏVE BAYES CLASSIFIER,” pp. 1–8, 2020.
Y. Liu et al., “RoBERTa: A Robustly Optimized BERT Pretraining Approach,” no. 1, 2019, [Online]. Available: http://arxiv.org/abs/1907.11692.
B. Richardson, “IMPLEMENTASI INDOBERT-LITE DAN ROBERTA UNTUK TEXT MINING PADA APLIKASI CHATBOT JACOB,” 2021.
I. Weber, M. W. Macy, and Y. Mejova, Twitter: A Digital Socioscope. New York: Cambridge University Pres, 2015.
A. Hodgkin, Following Searle on Twitter. Chicago: University of Chicago Press, 2017.
L. Mandloi and R. Patel, “Twitter sentiments analysis using machine learninig methods,” 2020 Int. Conf. Emerg. Technol. INCET 2020, pp. 1–5, 2020, doi: 10.1109/INCET49848.2020.9154183.
J. Degenhard, “Forecast of the number of Twitter users in Indonesia from 2017 to 2025,” Statista, 2021. https://www.statista.com/forecasts/1145550/twitter-users-in-indonesia.
Ms. Dr. Namora LumonggaLubis, DEPRESI Tinjauan Psikologi, Edisi Pert. Jakarta: KENCANA, 2016.
F. Benamara, V. Moriceau, J. Mothe, F. Ramiandrisoa, and Z. He, “Automatic detection of depressive users in social media,” Conf. en Rech. d’Informations Appl. CORIA 2018 - 15th French Inf. Retr. Conf. Proc., 2020.
H. F. Sandmire, S. D. Austin, and R. C. Bechtel, “Depression and Other Common Mental Disorders,” Obstet. Gynecol., vol. 48, no. 1, pp. 56–60, 2017.
N. Syafitri, Y. Arta, A. Siswanto, and S. P. Rizki, “Expert System to Detect Early Depression in Adolescents using DASS 42,” no. ICoSET 2019, pp. 211–218, 2020, doi: 10.5220/0009158202110218.
R. Widyana, Sumiharso., and R. M. Safitri, “Psychometric properties of internet-administered version of Depression, Anxiety and Stress Scales (DASS-42) in sample Indonesian adult,” Talent Dev. Excell., vol. 12, no. 2s, pp. 1422–1434, 2020, [Online]. Available: http://www.iratde.com.
X. Wang, S. Chen, T. Li, W. Li, Y. Zhou, and J. Zheng, “Depression Risk Prediction for Chinese Microblogs via Deep-Learning Methods : Content Analysis,” vol. 8, pp. 1–10, 2020, doi: 10.2196/17958.
J. Devlin, M. W. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of deep bidirectional transformers for language understanding,” NAACL HLT 2019 - 2019 Conf. North Am. Chapter Assoc. Comput. Linguist. Hum. Lang. Technol. - Proc. Conf., vol. 1, no. Mlm, pp. 4171–4186, 2019.
P. Singh, N. Singh, K. K. Singh, and A. Singh, “Diagnosing of disease using machine learning,” Mach. Learn. Internet Med. Things Healthc., pp. 89–111, Jan. 2021, doi: 10.1016/B978-0-12-821229-5.00003-3.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Depression Levels Detection Through Twitter Tweets Using RoBERTa Method
Pages: 453-459
Copyright (c) 2022 Algi Erwangga Putra, Warih Maharani

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).






















