Identifying predictive factors of cyberbullying perpetration via deep learning: a two-stage training approach to class imbalance with weighted loss
Although machine learning has been widely used to investigate problematic behaviors such as cyberbullying, class imbalance in behavioral datasets remains a persistent challenge. This study, based on the General Aggression Model and the Social-Ecological Framework, aims to improve the identification of cyberbullying perpetrators through a deep learning framework that combines a two-stage training strategy with a class-weighted loss function. A total of 660 Chinese university students (including 54 self-reported perpetrators) were recruited from schools. The deep learning model achieved a recall of 0.92, significantly outperforming conventional methods such as LightGBM and Random Forest which showed low recall for the minority class. SHAP analysis revealed that screen time, negative emotions, school connectedness, online disinhibition, exposure to violent media and deviant peer affiliation were the most influential predictors. Interaction analyses revealed that school connectedness may buffer the impact of multiple risk factors. The framework effectively addresses extreme class imbalance for cyberbullying detection, offering both strong performance and interpretable insights for prevention.
Authors
- Huiling Zhou (ORCID: https://orcid.org/0000-0003-4844-0016)
- Mingxuan Chen (ORCID: https://orcid.org/0000-0001-8049-0756)
- Jiamei Lu (ORCID: https://orcid.org/0009-0004-5223-8069)
- Qubo Zheng
- Ye Can
- Xveran Qin
- Huaibin Jiang
Institutions
- Shangrao Normal University (CN)
- Fujian Normal University (CN)
- Ludong University (CN)
- Shanghai Normal University (CN)
- First Affiliated Hospital of Jiangxi Medical College (CN)
- Jiangxi University of Finance and Economics (CN)
- Renmin University of China (CN)
Publication Details
- Journal
- BMC Psychology
- Published
- 2026-06-13
- DOI
- https://doi.org/10.1186/s40359-026-04980-x
- Primary Topic
- Bullying, Victimization, and Aggression
- Type
- article
- Field-Weighted Citation Impact
- 0.00