Integrating BERT and RESNET50V2 for Multimodal Cyberbullying Detection*
Despite a range of advantages that social networks provide, cyberbullying is widespread. Several tools have been developed to automatically detect text-based cyberbullying, but with increased use of a combination of image and text in social media content, there is a need to detect cyberbullying from multimodal content such as images and text. In this paper, we present a custom architecture that uses two pretrained models for feature extraction, BERT and RESNET50V2. The proposed custom model architecture was trained on 149,823 instances of image-text pairs and produced a testing accuracy of 78%. Cross attention and use of dropouts were employed during model training, and focal loss was also used to make the model perform better on the rare class. A separate model that used state-of-the-art BERT for both feature extraction and classification of text only was trained on 149,823 instances of text and achieved an accuracy of 75%. The custom image and text model produced better results in comparison to state-of-the-art BERT for text, with its evaluation showing a good capability of detecting more cyberbullying in multimodal data.
Authors
- Benson Kituku (ORCID: https://orcid.org/0000-0002-0734-3829)
- John Wandeto (ORCID: https://orcid.org/0000-0002-7502-2517)
- Immaculate Musyoka
Institutions
- Dedan Kimathi University of Technology (KE)
Publication Details
- Published
- 2024-10-23
- DOI
- https://doi.org/10.1109/icds62089.2024.10756337
- Citations
- 1
- Primary Topic
- Hate Speech and Cyberbullying Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.35