Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-07T08:47:35.375Z Has data issue: false hasContentIssue false

Automatic classification of participant roles in cyberbullying: Can we detect victims, bullies, and bystanders in social media text?

Published online by Cambridge University Press:  18 November 2020

Gilles Jacobs*
Affiliation:
Language & Translation Technology Team (LT3), Translating, Interpreting & Communications Department, Ghent University, Ghent, Belgium
Cynthia Van Hee
Affiliation:
Language & Translation Technology Team (LT3), Translating, Interpreting & Communications Department, Ghent University, Ghent, Belgium
Véronique Hoste
Affiliation:
Language & Translation Technology Team (LT3), Translating, Interpreting & Communications Department, Ghent University, Ghent, Belgium
*
*Corresponding author. E-mail: gilles.jacobs@ugent.be
Rights & Permissions [Opens in a new window]

Abstract

Successful prevention of cyberbullying depends on the adequate detection of harmful messages. Given the impossibility of human moderation on the Social Web, intelligent systems are required to identify clues of cyberbullying automatically. Much work on cyberbullying detection focuses on detecting abusive language without analyzing the severity of the event nor the participants involved. Automatic analysis of participant roles in cyberbullying traces enables targeted bullying prevention strategies. In this paper, we aim to automatically detect different participant roles involved in textual cyberbullying traces, including bullies, victims, and bystanders. We describe the construction of two cyberbullying corpora (a Dutch and English corpus) that were both manually annotated with bullying types and participant roles and we perform a series of multiclass classification experiments to determine the feasibility of text-based cyberbullying participant role detection. The representative datasets present a data imbalance problem for which we investigate feature filtering and data resampling as skew mitigation techniques. We investigate the performance of feature-engineered single and ensemble classifier setups as well as transformer-based pretrained language models (PLMs). Cross-validation experiments revealed promising results for the detection of cyberbullying roles using PLM fine-tuning techniques, with the best classifier for English (RoBERTa) yielding a macro-averaged ${F_1}$-score of 55.84%, and the best one for Dutch (RobBERT) yielding an ${F_1}$-score of 56.73%. Experiment replication data and source code are available at https://osf.io/nb2r3.

Information

Type
Article
Copyright
© The Author(s), 2020. Published by Cambridge University Press
Figure 0

Figure 1. Examples of ASKfm posts including “harasser,” “victim,” “bystander-defender,” and “bystander-assistant” instances in the Brat annotation tool.

Figure 1

Table 1. Distribution of participant roles in the English and Dutch cyberbullying corpus

Figure 2

Table 2. Statistics of the English and Dutch cyberbullying corpus

Figure 3

Table 3. Tested hyper-parameters for each step in our machine learning pipeline

Figure 4

Table 4. Results (%) for role classification using a single linear classification algorithm approach. Boldface indicates highest score for the relevant metric

Figure 5

Table 5. Results (%) for ensemble role classification, combining logistic regression, SVM, and SGD for English and logistic regression, SVM, and the passive aggressive classifier for Dutch. Boldface indicates the highest score for the relevant metric. All scores are macro-averaged

Figure 6

Table 6. Results (%) for the initial cyberbullying detection stage and subsequent role classification stage on the holdout test set in the best-performing Cascading ensemble for the Dutch and English corpus. Macro-averaged scores are given for both stages; binary-averaged scores on the positive class are shown for the detection stage

Figure 7

Table 7. Results (%) of the best configurations for both languages. Boldface indicates the highest score for the relevant metric. All scores are macro-averaged

Figure 8

Figure 2. Confusion matrix for best English system.

Figure 9

Figure 3. Confusion matrix for best Dutch system.

Figure 10

Table 8. Casing, flooding, and profanity statistics drawn from the victim posts (n = 127 and n = 167) in the English and Dutch cyberbullying corpus, respectively