Enhancing the Identification of Cyberbullying through Participant Roles

Gathika Ratnayaka, Thushari Atapattu, Mahen Herath, Georgia Zhang, Katrina FalknerarXiv 2020

Abstract

Traditional cyberbullying detection systems often rely on binary "bullying vs. non-bullying" classification, ignoring the complex social dynamics of online harassment. This paper presents a novel approach using a hierarchical ensemble of BERT models to identify specific participant roles, including harassers, victims, and bystanders. Our system achieves an F1-score of 0.83 for binary detection and a weighted F1-score of 0.76 for role identification, significantly outperforming previous state-of-the-art baselines.

Introduction

Most automated cyberbullying detection systems treat posts in isolation, focusing on whether a specific text is "bullying" or "not." While useful for basic filtering, this binary approach fails to distinguish between the person initiating harm (the harasser), the target (the victim), and those on the sidelines (bystanders). Identifying these roles is essential for precise detection and effective intervention. For example, a victim who retaliates with aggressive language might be incorrectly flagged as a harasser by a simple binary model. Understanding the role provides the context necessary to handle these nuanced situations.

Methods

The researchers developed a supervised learning framework addressing two main tasks: binary classification and multi-class role identification. For the latter, they developed a hierarchical ensemble of BERT models. Instead of a single multi-class classifier, the problem was decomposed into specialized sub-models to capture more granular linguistic features.

Hierarchical ensemble architecture for role classification.

As shown in the architecture above, the system first employs an Outer Model to classify a post as "Bullying" or "Defending." Depending on this initial classification, the post is routed to either a Bullying Model (distinguishing between "Harasser" and "Bystander Assistant") or a Defending Model (distinguishing between "Victim" and "Bystander Defender"). To mitigate significant class imbalance, weighted random sampling was used during training.

Datasets

The study utilized the AMiCA dataset, consisting of data from the social networking site ASKfm. Posts were annotated by linguists using the BRAT tool across four roles: Harasser, Victim, Bystander Defender (who helps the victim), and Bystander Assistant (who encourages the harasser). The cyberbullying-related portion contained 5,380 instances, heavily skewed toward Harassers (3,576) and Victims (1,356), with only 24 Bystander Assistants.

Key Results

The proposed hierarchical approach demonstrated significant improvements over existing methods. The DistilBERT ensemble for binary classification achieved an F1-score of 0.83, a substantial increase from the previous state-of-the-art baseline of 0.64.

Performance metrics for the hierarchical sub-models and final ensemble.

The hierarchical ensemble reached a weighted F1-score of 0.76 for role identification. As detailed in the results table, the "Defending" sub-model was particularly effective, identifying Victims with an F1 of 0.95. However, the "Bystander Assistant" role proved extremely challenging, yielding a 0.00 F1-score in the final ensemble. This is attributed to both extreme data scarcity and the linguistic similarity between assistants and primary harassers.

Discussion and Conclusion

A key insight from this research is the "Aggressive Victim" overlap. Victims often use swearing or insults to defend themselves, creating linguistic patterns that mirror harassment. This overlap makes it difficult for models to distinguish between a harasser and a retaliating victim without broader context.

While the hierarchical specialization allows for learning granular features, the current system is limited by analyzing individual posts in isolation. Cyberbullying is inherently conversational; future work will focus on thread-level analysis to capture discourse relationships and improve the detection of "aggressive victims" to prevent them from being misidentified as primary harassers.

Summary updated

Abstract

Cyberbullying is a prevalent social problem that inflicts detrimental consequences to the health and safety of victims such as psychological distress, anti-social behaviour, and suicide. The automation of cyberbullying detection is a recent but widely researched problem, with current research having a strong focus on a binary classification of bullying versus non-bullying. This paper proposes a novel approach to enhancing cyberbullying detection through role modeling. We utilise a dataset from ASKfm to perform multi-class classification to detect participant roles (e.g. victim, harasser). Our preliminary results demonstrate promising performance including 0.83 and 0.76 of F1-score for cyberbullying and role classification respectively, outperforming baselines.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
AMiCA dataset (ASKfm)Role-classification ensembleWeighted F10.76Cyberbullying Role Classification · split: val · evaluation=10-fold-cross-validation
Source quote
L134: Ensemble │ 0.76 │ Harasser │ 0.84 │ 0.82 │ 0.83
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
Cyberbullying classification on ASKfmOffensEval ensemble baselineF10.83Cyberbullying Classification · split: test · fine-tuned · test-sets=3 · evaluation=hold-out · cyberbullying-posts=5380 · non-bullying-posts-per-test-set=10872
Source quote
L97: OffensEval ensemble │ 0.83 │ 0.84 │ 0.82
Cyberbullying classification on ASKfmVanhee2018 baselineF10.64Cyberbullying Classification · split: test · evaluation=hold-out
Source quote
L98: \citet{Vanhee2018} │ 0.64 │ 0.74 │ 0.56
BibTeX
@misc{ratnayaka2020enhancing,
  author = {Gathika Ratnayaka and Thushari Atapattu and Mahen Herath and Georgia Zhang and Katrina Falkner},
  title = {{Enhancing the Identification of Cyberbullying through Participant Roles}},
  year = {2020},
  eprint = {2010.06640},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.06640},
}
Figure