Evaluating Hate Speech Detection in Roman Urdu Using BERT and Various Learning Approaches: A Comparative Study

Social media and technology have made it easier for people to engage in hate speech violations, which makes it challenging to filter out such content due to the amount of data and possible psychological impacts. Hate speech that targets particular groups is frequently unlawful and may be disseminated on websites like Facebook, where it can influence others. The development of automated systems for detecting hate speech in European languages is a trend, and many datasets are available, while creating digital material in Urdu presents unique difficulties. It is challenging to train a model to correctly detect hate speech in Urdu. To tackle this problem, machine learning models are compared with transformer-based models to identify hate speech in Roman Urdu. A publicly available benchmark dataset (HS-RU-20) consisting of Hostile and neutral comments from social media is used. To vectorize the dataset, count vectorizer is employ to convert posts to a vector representation and evaluate various machine learning and transformer-based models. Results show that the BERT model outperformed the other classification models on neutral/hostile classes and had the highest F1-Score of $\mathbf{9 1 \%}$. On the other hand, it achieved an F1-score of 87% for the Hate/Offensive classification task.

Authors

Institutions

Publication Details

Published
2025-06-27
DOI
https://doi.org/10.1109/i2cacis65476.2025.11100760
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Evaluating Hate Speech Detection in Roman Urdu Using BERT and Various Learning Approaches: A Comparative Study

Muzammil Hussain, Shahid Anwar, Muhammad Wasim, Mudassar Hussain et al.
Hate Speech and Cyberbullying Detection
article

Evaluating Hate Speech Detection in Roman Urdu Using BERT and Various Learning Approaches: A Comparative Study

Muzammil Hussain, Shahid Anwar, Muhammad Wasim, Mudassar Hussain, Zainab Rafique
article en

Abstract

Social media and technology have made it easier for people to engage in hate speech violations, which makes it challenging to filter out such content due to the amount of data and possible psychological impacts. Hate speech that targets particular groups is frequently unlawful and may be disseminated on websites like Facebook, where it can influence others. The development of automated systems for detecting hate speech in European languages is a trend, and many datasets are available, while creating digital material in Urdu presents unique difficulties. It is challenging to train a model to correctly detect hate speech in Urdu. To tackle this problem, machine learning models are compared with transformer-based models to identify hate speech in Roman Urdu. A publicly available benchmark dataset (HS-RU-20) consisting of Hostile and neutral comments from social media is used. To vectorize the dataset, count vectorizer is employ to convert posts to a vector representation and evaluate various machine learning and transformer-based models. Results show that the BERT model outperformed the other classification models on neutral/hostile classes and had the highest F1-Score of $\mathbf{9 1 \%}$. On the other hand, it achieved an F1-score of 87% for the Hate/Offensive classification task.

Global College (CY), Muscat College (OM), University of Management and Technology (PK)
Reduced inequalities
Openalex Percentile: Top 90%
Hate Speech and Cyberbullying Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.