Detecting hate speech in roman Urdu using a convolutional-BiLSTM-based deep hybrid neural network
The detection of hate speech on social media has become a pressing challenge, particularly in multilingual and low-resource language settings such as Roman Urdu, where informal grammar, code-switching, and inconsistent orthography hinder accurate classification. Despite progress in hate speech detection for high-resource languages, limited research exists for Roman Urdu content. This study addresses this gap by proposing a computationally efficient deep learning framework based on a hybrid convolutional neural network and bidirectional long short-term memory (CNN-BiLSTM) architecture. The model leverages FastText pre-trained embeddings to capture subword-level semantics and combines convolutional layers for local feature extraction with BiLSTM for global context modeling. We evaluate our approach on a labeled Roman Urdu dataset and compare it with traditional machine learning models and deep learning baselines. Our proposed CNN-BiLSTM model achieves the highest performance with an accuracy of 80.67% and an F1-score of 81.47%, outperforming competitive baselines. These findings demonstrate the effectiveness and practicality of our lightweight architecture in detecting hate speech in Roman Urdu, offering a scalable solution for multilingual and resource-constrained environments.
Authors
- Fazeel Abid (ORCID: https://orcid.org/0000-0002-3925-6180)
- Muhammad Zohaib (ORCID: https://orcid.org/0000-0002-2061-7716)
- Ali Alqazzaz (ORCID: https://orcid.org/0000-0001-7721-0450)
- Jawad Rasheed (ORCID: https://orcid.org/0000-0003-3761-1641)
- Mohammad Alsulami (ORCID: https://orcid.org/0000-0001-5765-1291)
- Mana Saleh Al Reshan (ORCID: https://orcid.org/0000-0002-2266-9608)
- Ghulam Farooque (ORCID: https://orcid.org/0000-0002-9785-9983)
- Asadullah Shaikh (ORCID: https://orcid.org/0000-0003-4806-6159)
Institutions
- Information Technology University (PK)
- University of Lahore (PK)
- University of Engineering and Technology Lahore (PK)
- Applied Science Private University (JO)
- Lahore University of Management Sciences (PK)
- İstanbul Nişantaşı Üniversitesi (TR)
- Istanbul Medipol University (TR)
- University of Management and Technology (PK)
- University of Bisha (SA)
- Najran University (SA)
Publication Details
- Journal
- PeerJ Computer Science
- Published
- 2025-11-03
- DOI
- https://doi.org/10.7717/peerj-cs.3342
- Primary Topic
- Hate Speech and Cyberbullying Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00