Related Experiment Videos
Enhancing Urdu hate speech detection through differential transfer learning and adaptive loss functions
Ijaz Hussain1, Muhammad Mahr Ali Arshad2, Ammara Nawaz Cheema3
1Department of Computer and Information Sciences, Pakistan Institute of Engineering and Applied Sciences, Nilore, Islamabad, 45650, Pakistan. ijazhussain@pieas.edu.pk.
Scientific Reports
|October 28, 2025
Summary
This study enhances Urdu hate speech detection using differential transfer learning and adaptive loss functions. The DAmBERT model achieved a 91.49% F1 score, significantly improving detection for low-resource languages.
Area of Science:
- Natural Language Processing
- Computational Linguistics
- Artificial Intelligence
Background:
- Hate speech detection is complex, especially in low-resource languages like Urdu.
- Existing research predominantly focuses on high-resource languages, leaving Urdu understudied.
Purpose of the Study:
- To enhance Urdu hate speech detection using novel differential transfer learning and adaptive loss functions.
- To address linguistic and cultural nuances specific to Urdu in hate speech detection.
Main Methods:
- Leveraged pre-trained models from high-resource languages for feature extraction.
- Implemented differential transfer learning to adapt models to Urdu's unique characteristics.
- Developed an adaptive loss function to handle class imbalance and improve sensitivity to hate speech.
- Created and utilized a Nastaliq Urdu dataset of 18,058 YouTube comments.
Main Results:
- Transfer learning methods outperformed conventional machine learning and deep learning techniques, increasing F1 scores from 81% to over 89%.
- The proposed DAmBERT model, incorporating pre-trained embeddings, achieved a weighted F1 score of 91.49%.
- The adaptive loss function improved model sensitivity towards the minority hate speech class.
Conclusions:
- Differential transfer learning combined with adaptive loss functions offers a robust approach for Urdu hate speech detection.
- The DAmBERT model demonstrates significant potential for improving hate speech detection systems in low-resource languages.
- This research highlights the importance of cultural and linguistic adaptation in NLP tasks.
Related Concept Videos
Improving Translational Accuracy
14.1K
Base complementarity between the three base pairs of mRNA codon and the tRNA anticodon is not a failsafe mechanism. Inaccuracies can range from a single mismatch to no correct base pairing at all. The free energy difference between the correct and nearly correct base pairs can be as small as 3 kcal/ mol. With complementarity being the only proofreading step, the estimated error frequency would be one wrong amino acid in every 100 amino acids incorporated. However, error frequencies observed in...
14.1K
Improving Translational Accuracy
3.5K
3.5K
Difference from Background: Limit of Detection
8.0K
The limit of detection (LOD) is the smallest amount of analyte that can be distinguished from the background noise. The LOD value corresponds to the concentration at which the analyte signal is three times larger than the standard deviation of the blank signal. Below this value, the analyte signal cannot be differentiated from the background noise. It is calculated by dividing the calibration slope by 3 times the standard deviation of the blank signals.
The LOD indicates the presence or absence...
The LOD indicates the presence or absence...
8.0K