IITR-CIOL@NLU of Devanagari Script Languages 2025: Multilingual Hate Speech Detection and Target Identification in Devanagari-Scripted Languages

Siddhant Gupta, Siddh Singhal, Azmine Toushik Wasi · DOI

Abstract

This paper presents MultilingualRobertaClass, a transformer-based approach developed by researchers from IIT Roorkee and SUST for detecting hate speech and identifying its targets in five Devanagari-scripted languages: Hindi, Marathi, Nepali, Bhojpuri, and Sanskrit. By utilizing a specialized multilingual-transliterated RoBERTa model, the system addresses the unique challenges of complex orthography and the frequent use of Latin-script transliteration in South Asian social media. Experimental results demonstrate high performance in hate speech detection (88.40% accuracy), while highlighting the significant complexity and data requirements for fine-grained target identification.

Introduction

South Asia is a linguistically diverse region with nearly 2 billion people and over 700 languages. Despite this, many of these languages, particularly those using Devanagari scripts, remain chronically underrepresented in global NLP research. These languages present unique hurdles, including high dialectal variation and the common practice of "transliteration"—writing South Asian languages using the Latin alphabet.

This research addresses two critical tasks within the NLU of Devanagari Script Languages 2025 workshop:

  1. Subtask B (Hate Speech Detection): A binary classification task to determine if a text contains hate speech.
  2. Subtask C (Target Identification): A multi-class classification task to identify the target of the hate speech (e.g., individuals, organizations, or communities).

Methodology

The proposed MultilingualRobertaClass model is designed to handle both native scripts and transliterated text effectively. The architecture is built upon a specialized foundation to capture the nuances of South Asian digital communication.

Model Architecture

As illustrated in Figure 1, the model follows a structured pipeline from raw data to final prediction:

  • Base Model: The system utilizes IBM’s ia-multilingual-transliterated-roberta. This model is specifically optimized for the code-switching and transliteration common in the target languages.
  • Classification Head: The output from the transformer’s [CLS] token is processed through a custom head consisting of a Linear Pre-classifier (768 dimensions), ReLU Activation, and a Dropout Layer (0.3) to mitigate overfitting. The Final Classifier layer uses a Sigmoid activation for probability scoring.
The MultilingualRobertaClass architecture, featuring a specialized RoBERTa base and custom classification head.

Training and Datasets

The model was fine-tuned using the AdamW optimizer with a learning rate of $2 \times 10^{-5}$ and a maximum sequence length of 256 tokens. The study utilized datasets provided by the workshop, covering Hindi, Marathi, Nepali, Bhojpuri, and Sanskrit. Subtask B involved a large-scale dataset of approximately 19,000 training tweets, while Subtask C utilized a smaller, more specialized dataset of roughly 2,200 training samples.

Results and Discussion

The model's performance was evaluated on a hidden test set, revealing a distinct disparity in difficulty between the two tasks.

Performance metrics for Subtask B (Hate Speech Detection) and Subtask C (Target Identification) on the test set.

Key Findings

  • Hate Speech Detection (Subtask B): The model achieved a robust 88.40% accuracy and an F1-score of 0.6762. The strong balance between precision and recall indicates that the model effectively minimizes false positives in a multilingual context.
  • Target Identification (Subtask C): Performance was notably lower, with 66.11% accuracy and an F1-score of 0.5816. This suggests that identifying who the hate is directed toward requires a deeper understanding of sociolinguistic nuances than simple detection.
  • Contextual Importance: Ablation studies showed that reducing the sequence length from 256 to 128 tokens led to a noticeable drop in accuracy. This indicates that hate speech in these languages often relies on longer-range context or specific linguistic markers that are lost when text is truncated.

Conclusion

The MultilingualRobertaClass demonstrates that specialized pretrained models for transliterated text are highly effective for hate speech detection in Devanagari-scripted languages. However, the lower performance in target identification highlights a "context gap" and a need for more extensive, high-quality datasets for multi-class tasks. Future work will explore specialized attention mechanisms and data augmentation techniques to better capture the cultural and dialectal nuances inherent in South Asian social media discourse.

Summary updated

BibTeX
@inproceedings{gupta2025iitr,
  author = {Siddhant Gupta and Siddh Singhal and Azmine Toushik Wasi},
  title = {{IITR-CIOL@NLU of Devanagari Script Languages 2025: Multilingual Hate Speech Detection and Target Identification in Devanagari-Scripted Languages}},
  booktitle = {Workshops @ COLING},
  year = {2025},
}
Figure