JOURNAL OF APPLIED INFORMATICS AND COMPUTING
Vol. 10 No. 3 (2026): June 2026

An Applied Data Science Approach for Detecting Depression Symptoms in Indonesian Social Media Text Using Transformer Models

Winson Winson (Universitas Bunda Mulia)
Puguh Hiskiawan (Universitas Bunda Mulia)



Article Info

Publish Date
08 Jun 2026

Abstract

Depression is a mental health disorder that often remains undetected due to limited access to mental health services and persistent social stigma. Social media platforms provide an alternative source for identifying depressive symptoms through linguistic expressions shared by users in textual posts. This study proposes an applied data science approach for detecting depression symptoms in Indonesian social media text using Transformer-based models. The dataset was constructed by combining the DEPTWEET dataset with social media posts collected through keyword-based scraping guided by PHQ-9 indicators. The proposed framework consists of dataset construction, text preprocessing, Transformer-based modeling, and performance evaluation. Two pre-trained language models, IndoBERT and XLM-RoBERTa, were evaluated under two preprocessing configurations, namely normal preprocessing and light preprocessing. Experimental results show that preprocessing strategies significantly influence classification performance. Light preprocessing consistently improves contextual representation and leads to better results compared with normal preprocessing. XLM-RoBERTa combined with light preprocessing achieves the best overall performance with a test accuracy of 0.77 and an F1-score of 0.77. Additional robustness analysis and pairwise model agreement evaluation further indicate that both models maintain relatively stable predictions when processing noisy social media text. Findings from this study demonstrate the effectiveness of Transformer-based models for multi-class depression detection in Indonesian social media environments. The proposed framework provides insights into how applied data science techniques can support large-scale analysis of mental health signals in online platforms and contribute to the development of data-driven approaches for early detection of depression symptoms.

Copyrights © 2026






Journal Info

Abbrev

JAIC

Publisher

Subject

Computer Science & IT

Description

Journal of Applied Informatics and Computing (JAIC) Volume 2, Nomor 1, Juli 2018. Berisi tulisan yang diangkat dari hasil penelitian di bidang Teknologi Informatika dan Komputer Terapan dengan e-ISSN: 2548-9828. Terdapat 3 artikel yang telah ditelaah secara substansial oleh tim editorial dan ...