Hate Speech Identification in Formal and Informal Social Media Text Using RoBERTa-Base and XLM-RoBERTa-Base Models
BRAIN. Broad Research in Artificial Intelligence and Neuroscience · 05.12.2025 · 16 (4) · 130
DOI: 10.70594/brain/16.4/8 ↗Kurz gefasst
Fachartikel in der Zeitschrift BRAIN. Broad Research in Artificial Intelligence and Neuroscience, online erschienen am 05.12.2025. Verfasst von Husnain Saleem und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-NC-ND 4.0).
Abstract (Originalsprache)
Social media platforms enable users to interact and share content through text, images, videos, and links. Sentiment analysis, a key method in Natural Language Processing (NLP), evaluates the emotional tone of social media content. It helps to identify hate speech, which includes harmful, offensive language directed at individuals or groups. In this study, we present the performance comparison of two transformer-based models, RoBERTa-Base and XLM-RoBERTa-Base, for hate speech identification in formal (English) and informal (Roman Urdu and mixed English-Roman Urdu) text. We fine-tune both models on multilingual datasets and evaluate the model's performance. XLM-RoBERTa-Base achieved (94.46%) accuracy for English, (93.77%) for Roman Urdu, and (88.32%) for mixed English-Roman Urdu text, while RoBERTa-Base performed better in English (97.24%) and Roman Urdu (94.28%), but dropped slightly to (88%) for mixed English-Roman Urdu text. These results show RoBERTa-Base excels in English, but struggles with Roman Urdu and code-switched mixed languages, while XLM-RoBERTa-Base performs consistently across all languages.
Zitieren
APA
Saleem, H., Javed, M., & Khan, J. (2025). Hate Speech Identification in Formal and Informal Social Media Text Using RoBERTa-Base and XLM-RoBERTa-Base Models. BRAIN. Broad Research in Artificial Intelligence and Neuroscience, 16(4), 130. https://doi.org/10.70594/brain/16.4/8
Vancouver
Saleem H, Javed M, Khan J. Hate Speech Identification in Formal and Informal Social Media Text Using RoBERTa-Base and XLM-RoBERTa-Base Models. BRAIN. Broad Research in Artificial Intelligence and Neuroscience. 2025;16(4):130. doi:10.70594/brain/16.4/8
BibTeX
@article{Saleem2025,
author = {Saleem, Husnain and Javed, Muhammad and Khan, Junaid},
title = {Hate Speech Identification in Formal and Informal Social Media Text Using RoBERTa-Base and XLM-RoBERTa-Base Models},
journal = {BRAIN. Broad Research in Artificial Intelligence and Neuroscience},
year = {2025},
volume = {16},
number = {4},
pages = {130},
doi = {10.70594/brain/16.4/8}
}
EUVIMED