Affiliation:
1. School of Computer and Systems Sciences, Jawaharlal Nehru University, New Delhi, India
2. ITER, Siksha ’O’ Anusandhan, Bhubaneswar, Odisha
Abstract
Social media platforms allow people across the globe to share their thoughts and opinions and conveniently communicate with each other. Apart from various advantages of social media, it is also misused by a set of users for hate-mongering with toxic and offensive comments. The majority of the earlier proposed toxicity detection methods are primarily focused on the English language, but there is a lack of research on low-resource languages and multilingual text data. We propose an XRBi-GAC framework comprising XLM-RoBERTa, Bi-GRU with self-attention and capsule networks for multilingual toxic text detection. A loss function is also presented, which fuses the binary cross-entropy loss and focal loss to address the class imbalance problem. We evaluated the proposed framework on two datasets, namely, the Jigsaw Multilingual Toxic Comment dataset and HASOC 2019 dataset and achieved F1-score of 0.865 and 0.829, respectively. The results of the experiments show that the proposed framework has outperformed the state-of-the-art multilingual models XLM-RoBERTa and mBERT on both datasets, which shows the versatility and robustness of the proposed XRBi-GAC framework.
Subject
Artificial Intelligence,General Engineering,Statistics and Probability
Reference9 articles.
1. Sentiment analysis and classification of indian farmers’ protest using twitter data;Neogi;International Journal of Information Management DataInsights,2021
2. Vaswani A. , Shazeer N. , Parmar N. , Uszkoreit J. , Jones L. , Gomez A.N. , Kaiser Ł. and Polosukhin I. , Attention is all you need, Advances in Neural Information Processing systems 30(2017).
3. “A study of multilingual toxic textdetection approaches under imbalanced sample distribution,”;Song;Information,2021
4. “Toxicity detection in onlinegeorgian discussions,”;Lashkarashvili;International Journal of InformationManagement Data Insights,2022
5. Learningrepresentations by back-propagating errors;Rumelhart;Nature,1986