A Hierarchical Two Stage BERT Model for Cyberbullying Detection
DOI:
https://doi.org/10.31937/ijnmt.v13i1.4730Abstract
Cyberbullying has emerged as a persistent social issue in tandem with the rapid proliferation of social media usage, particularly in developing nations such as Indonesia. Online bullying extends beyond explicit insults to encompass more nuanced forms, including denigration and social exclusion, which are often subtle and context-dependent. This diversity presents significant challenges for automated detection systems, especially when cyberbullying is treated as a single, homogeneous category. To address this challenge, this study proposes a two-stage classification framework for detecting cyberbullying in the Indonesian language using the IndoBERT model. In the first stage, a binary classification model is employed to differentiate between bullying and non-bullying content. In the second stage, cyberbullying tweets are further categorized into three specific types: harassment, denigration, and exclusion. The model is trained using a curated dataset of Indonesian tweets collected from publicly available social media content. The results indicate that the proposed framework achieves strong and consistent performance, particularly in fine-grained cyberbullying classification, with an overall accuracy of approximately 92% in the second stage. These findings suggest that hierarchical classification can yield robust performance and effectively aid in the detection of cyberbullying.
Downloads
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Muhamad Syukron, Nayya Safitri Ramadani, Muhammad Ilham Firmansyah, Asi Emilia Putri

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlike International License (CC-BY-SA 4.0) that allows others to share the work with an acknowledgement 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 acknowledgement of its initial publication in this journal.
Copyright without Restrictions
The journal allows the author(s) to hold the copyright without restrictions and will retain publishing rights without restrictions.
The submitted papers are assumed to contain no proprietary material unprotected by patent or patent application; responsibility for technical content and for protection of proprietary material rests solely with the author(s) and their organizations and is not the responsibility of the IJNMT or its Editorial Staff. The main (first/corresponding) author is responsible for ensuring that the article has been seen and approved by all the other authors. It is the responsibility of the author to obtain all necessary copyright release permissions for the use of any copyrighted materials in the manuscript prior to the submission.












