Prototypical network based few shot learning to detect Hindi–English code-mixed offensive text

Social media platforms, nowadays, are often misused to disseminate hate speech, offensive and body shaming comments targeting a group or individual. Such content is increasing in mixed languages due to language diversity. A common approach is to use CNN and LSTM in a supervised setting to extract relevant features. However, the practical implementation of these models presents a significant hurdle given the substantial demand for annotated data during the training phase as well as the risk of overfitting when the training data is small. In this paper, we present weakly supervised few-shot learning with episodic training with the sentence embedding MuRIL and Siamese prototypical network, CNN-Siamese-FSL, to identify the feature similarity. We developed a dataset HBN-tweet having classes as Hate, Body shame, and None in Hi-En (Hindi–English) code mixed language. Empirical analysis reveals that the CNN-Siamese-FSL outperformed machine learning classifiers and matching network significantly. The experiment involves testing the nearest neighbour approach without episodic training, resulting in a significant decline in performance. This demonstrates the impact of learning the class features using episodic training with a few labelled data. Overall, it is observed that the knowledge about a few class labels enhanced the discriminatory representation of classes.

Authors

Institutions

Publication Details

Journal
Social Network Analysis and Mining
Published
2025-05-06
DOI
https://doi.org/10.1007/s13278-025-01431-0
Citations
2
Primary Topic
Hate Speech and Cyberbullying Detection
Type
article
Field-Weighted Citation Impact
4.96
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Prototypical network based few shot learning to detect Hindi–English code-mixed offensive text

Richi Nayak, Shikha Mundra, Namita Mittal
2 citations
Social Network Analysis and Mining
Hate Speech and Cyberbullying Detection
4.96
article

Prototypical network based few shot learning to detect Hindi–English code-mixed offensive text

Richi Nayak, Shikha Mundra, Namita Mittal
article en
2 citations

Abstract

Social media platforms, nowadays, are often misused to disseminate hate speech, offensive and body shaming comments targeting a group or individual. Such content is increasing in mixed languages due to language diversity. A common approach is to use CNN and LSTM in a supervised setting to extract relevant features. However, the practical implementation of these models presents a significant hurdle given the substantial demand for annotated data during the training phase as well as the risk of overfitting when the training data is small. In this paper, we present weakly supervised few-shot learning with episodic training with the sentence embedding MuRIL and Siamese prototypical network, CNN-Siamese-FSL, to identify the feature similarity. We developed a dataset HBN-tweet having classes as Hate, Body shame, and None in Hi-En (Hindi–English) code mixed language. Empirical analysis reveals that the CNN-Siamese-FSL outperformed machine learning classifiers and matching network significantly. The experiment involves testing the nearest neighbour approach without episodic training, resulting in a significant decline in performance. This demonstrates the impact of learning the class features using episodic training with a few labelled data. Overall, it is observed that the knowledge about a few class labels enhanced the discriminatory representation of classes.

Social Network Analysis and MiningVol. 15(1)
Queensland University of Technology (AU), Manipal University Jaipur, Malaviya National Institute of Technology Jaipur (IN)
Openalex Percentile: Top 5%
Hate Speech and Cyberbullying Detection
4.96
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.