Back to search

Queen's University at Kingston

Detection of Cyberbullying in Social Media Texts using Explainable Artificial Intelligence

Abstract

dc:description.abstract

The widespread use of social media has opened the door to new forms of harassment and abuse, such as cyberbullying, that have a serious impact on individuals’ psychological health, especially children and teenagers. Therefore, research communities have recently paid attention to developing detection approaches using Natural Language Processing (NLP) combined with machine learning algorithms to identify instances of cyberbullying in social media texts such as comments, posts, and messages. Those approaches have successfully classified the social media text as either cyberbullying or non-cyberbullying. However, they are unable to determine the type of cyberbullying and the reasons why victims may be targeted based on certain characteristics. The aim of this thesis is to develop a novel detection approach that can identify the type of cyberbullying based on characteristics such as gender, religion, age, and ethnicity. This thesis has accomplished this objective by utilizing an Explainable Artificial Intelligence (XAI) technology called Local Interpretable Model-agnostic Explanations (LIME) to justify and explain the classification of text as cyberbullying. LIME enables machine learning models to capture and highlight the most influential words that affect the decision to classify a text as cyberbullying. Those influential words are utilized to re-label and update the training data. The machine learning models are then re-trained using the updated data. To evaluate the performance of the proposed approach, a simulation experiment has been conducted on a large dataset containing comments and posts from Twitter. Simulation results show that: 1) LIME provides reliable and convincing justifications and explanations for classifying a text as cyberbullying; 2) LIME enables machine learning to identify the type of cyberbullying based on characteristics such as gender, religion, age, and ethnicity; and 3) LIME improves the performance of the machine learning models in terms of classification accuracy.

Degree

thesis:*
Department dc:contributor.department
Computing
Grantor
Queen's University at Kingston

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Islam, Mohammad Rafsun
Advisor dc:contributor.supervisor
  • Zulkernine, Mohammad

Subjects

dc:subject × 2

Rights

dc:rights
Statement dc:rights
  • Attribution 3.0 United States
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1974/31678

Chain of custody

source
Harvested from
Queens University
Base URL
qspace.library.queensu.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Islam, Mohammad Rafsun. Detection of Cyberbullying in Social Media Texts using Explainable Artificial Intelligence. Queen's University at Kingston, https://hdl.handle.net/1974/31678