Evidence map›Paper›PMID 41145587›Full record

ArticleScientific reports2025

Enhancing Urdu hate speech detection through differential transfer learning and adaptive loss functions.

Ijaz Hussain, Muhammad Mahr Ali Arshad, Ammara Nawaz Cheema, Ibrahim M Almanjahie

Abstract read
In one paragraph

Article in Scientific reports, 2025. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Cited by 1 paper.

0numbers the graph read from it
0cells of the map it votes in
1citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

1 citing paper in PubMed.

  1. Article
4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

4 authors.

Ijaz HussainDepartment of Computer and Information Sciences, Pakistan Institute of Engineering and Applied Sciences, Nilore, Islamabad, 45650, Pakistan. ijazhussain@pieas.edu.pk.
Muhammad Mahr Ali ArshadDepartment of Computer and Information Sciences, Pakistan Institute of Engineering and Applied Sciences, Nilore, Islamabad, 45650, Pakistan.
Ammara Nawaz CheemaDepartment of Mathematics, Air University, Islamabad, 44000, Pakistan.
Ibrahim M AlmanjahieDepartment of Mathematics, College of Science, King Khalid University, Abha, 62223, Saudi Arabia.

Funding

No grant is acknowledged in the PubMed record.

6 · The paper itself

Abstract

Hate speech detection is a challenging task due to complexities such as language ambiguity, limited context, cultural nuances, and situational factors. This challenge is further amplified in low-resource languages, i.e. Urdu. Most research on hate speech detection has focused primarily on resource rich language i.e. English, leaving Urdu significantly understudied. This paper presents a novel approach to enhance Urdu hate speech detection by leveraging differential transfer learning combined with adaptive loss functions. We utilize pre-trained models from resource-rich languages to capture semantic features relevant to hate speech and implement a differential transfer mechanism to adapt these models to the unique linguistic, and cultural characteristics of Urdu. We addressed cultural and linguistic differences by including specific datasets designed to suit certain cultures, using multilingual embeddings, and applying contextualization approaches that take into account the cultural specifics of language use. We created a Nastaliq Urdu dataset consisting of hate, offensive, and neutral labels for YouTube comments, totaling 18,058 records. To address class imbalance in the dataset, we propose an adaptive loss function that assigns higher penalties to misclassifications of hate speech, thereby improving model sensitivity toward this minority class. Our research employs a range of machine learning algorithms, including random forests, support vector machines, decision trees, recurrent neural networks, long short-term memory networks, and transfer learning methods. The results indicate that transfer learning outperforms conventional machine learning and deep learning techniques, improving F1 scores from 81% to above 89%. Notably, our proposed DAmBERT model achieved a weighted F1 score of 91.49% by incorporating pre-trained embeddings, outperforming all other classifiers. These findings highlight the potential of combining differential transfer learning and customized loss functions to develop robust hate speech detection systems for Urdu.

Indexed as

LanguageSpeechAlgorithmsHumansMachine LearningAdaptive loss functionDeep learningLow resource languageMachine learningTransfer learningUrdu hate speech detection

Identifiers

PMID41145587
PMCPMC12559750

What OpenQuestion holds

Textmetadata
LicenceCC BY-NC-ND
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.