Skip to main content
QUICK REVIEW

[Paper Review] An exploratory experiment on Hindi, Bengali hate-speech detection and transfer learning using neural networks

Tung Minh Phung, Jan Cloos|arXiv (Cornell University)|Jan 6, 2022
Hate Speech and Cyberbullying DetectionComputer Science4 citations
TL;DR

This paper proposes a low-resource, computationally efficient hate-speech detection system for Hindi and Bengali using transfer learning with neural networks. By fine-tuning word embeddings and reusing classifier weights from a Hindi model, the approach achieves 82.98% accuracy on Bengali data—comparable to training from scratch—demonstrating effective cross-lingual knowledge transfer despite limited data and no explicit translation supervision.

ABSTRACT

This work presents our approach to train a neural network to detect hate-speech texts in Hindi and Bengali. We also explore how transfer learning can be applied to learning these languages, given that they have the same origin and thus, are similar to some extend. Even though the whole experiment was conducted with low computational power, the obtained result is comparable to the results of other, more expensive, models. Furthermore, since the training data in use is relatively small and the two languages are almost entirely unknown to us, this work can be generalized as an effort to demystify lost or alien languages that no human is capable of understanding.

Motivation & Objective

  • To develop a low-computational-cost hate-speech detection model for Hindi and Bengali using neural networks.
  • To investigate whether transfer learning from Hindi to Bengali improves performance despite limited labeled data.
  • To evaluate if shared linguistic roots between Hindi and Bengali enable effective knowledge transfer in NLP tasks.
  • To explore whether transfer learning can implicitly support word-level translation by learning aligned semantic representations.
  • To compare performance of models trained from scratch versus those using transfer learning, particularly in terms of generalization and overfitting.

Proposed method

  • Preprocessing raw social media text by removing usernames, punctuations, and stopwords, while preserving hashtags and normalizing case for English words.
  • Training word embeddings using the Skip-gram architecture with a 300-dimensional vector space and a context window of 10.
  • Training a 2-layer feedforward neural network classifier on top of the learned embeddings for hate-speech classification.
  • Applying enhanced training techniques including batch normalization, dropout, and learning rate scheduling to improve model generalization.
  • Implementing transfer learning by initializing Bengali model weights with those from the Hindi model, particularly reusing non-embedding layers.
  • Evaluating word translation potential by computing cosine similarity between translated word embeddings from Hindi and Bengali.

Experimental results

Research questions

  • RQ1Can a neural network trained on low-resource Hindi hate-speech data achieve competitive performance on Bengali with minimal computational cost?
  • RQ2Does transfer learning from Hindi to Bengali improve classification accuracy compared to training from scratch?
  • RQ3Why does the baseline Hindi-Hindi model suffer from performance decay while the Bengali-Bengali model does not, despite similar dataset sizes and label distributions?
  • RQ4Can transfer learning between Hindi and Bengali produce meaningful word-level translation representations without explicit alignment?
  • RQ5How effective is fixed-weight transfer learning when reusing only the non-embedding layers of a Hindi classifier for Bengali?

Key findings

  • The enhanced Hindi-Hindi model achieved a test accuracy of 80.73%, representing a 10% improvement over its baseline, with no performance decay after epoch 8.
  • The Bengali-Bengali model with enhanced training reached 82.98% accuracy, outperforming the baseline by approximately 4%.
  • The Hindi-Bengali transfer learning model achieved 80.40% accuracy, showing a marginal 2% gain over its baseline, with the baseline already performing strongly at ~80% from epoch 6 onward.
  • The enhanced models, particularly the Hindi-Hindi and Bengali-Bengali variants, showed improved generalization and avoided overfitting, unlike their baseline counterparts.
  • No meaningful word-to-word translation was observed via cosine similarity, suggesting the Bengali embedding layer failed to converge to equivalent representations of Hindi words.
  • Fixing the transferred weights (non-embedding layers) in the Hindi-Bengali model did not significantly improve performance, indicating the baseline was already strong.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.