Skip to main content
QUICK REVIEW

[Paper Review] "Hinglish" Language -- Modeling a Messy Code-Mixed Language

Vivek Kumar Gupta|arXiv (Cornell University)|Dec 30, 2019
Hate Speech and Cyberbullying DetectionComputer Science1 references5 citations
TL;DR

This paper proposes a bidirectional LSTM model with data augmentation to classify Hinglish social media content into abusive, hate-inducing, or non-offensive categories. By applying synonym replacement, random insertion, swap, and deletion to synthetic text, the model achieves state-of-the-art performance, outperforming prior hybrid CNN-LSTM approaches, with a 77% recall for hate speech detection and 92% precision for offensive content.

ABSTRACT

With a sharp rise in fluency and users of "Hinglish" in linguistically diverse country, India, it has increasingly become important to analyze social content written in this language in platforms such as Twitter, Reddit, Facebook. This project focuses on using deep learning techniques to tackle a classification problem in categorizing social content written in Hindi-English into Abusive, Hate-Inducing and Not offensive categories. We utilize bi-directional sequence models with easy text augmentation techniques such as synonym replacement, random insertion, random swap, and random deletion to produce a state of the art classifier that outperforms the previous work done on analyzing this dataset.

Motivation & Objective

  • To address the challenge of classifying offensive and hate-inducing content in Hinglish, a code-mixed language blending Hindi and English widely used in Indian social media.
  • To overcome the limitations of small, imbalanced datasets by applying data augmentation techniques to synthetic text data.
  • To develop a deep learning model capable of capturing long-term dependencies in noisy, linguistically variable Hinglish text.
  • To improve classification performance beyond prior state-of-the-art hybrid CNN-LSTM models on the HEOT dataset.

Proposed method

  • Employed bidirectional LSTM networks to model sequential dependencies in Hinglish text, capturing both forward and backward context.
  • Applied four text augmentation techniques—synonym replacement, random insertion, random swap, and random deletion—to increase training data diversity and size.
  • Used pre-trained 100-dimensional GloVe word embeddings, fine-tuned on the Hinglish dataset to improve representation learning.
  • Optimized hyperparameters including learning rate (0.01), sequence length (200), and 32 bidirectional LSTM units to balance performance and overfitting.
  • Implemented transfer learning by initializing embeddings with pre-trained GloVe weights and fine-tuning them on the Hinglish data.
  • Preprocessed raw tweets by removing URLs, usernames, hashtags, punctuations, and stop words to reduce noise before modeling.

Experimental results

Research questions

  • RQ1Can data augmentation techniques improve the performance of deep learning models on low-resource, code-mixed Hinglish text classification?
  • RQ2How do different sequence modeling architectures—such as GRU, LSTM, and bidirectional LSTM—compare in classifying offensive and hate speech in Hinglish?
  • RQ3To what extent does fine-tuning pre-trained word embeddings (e.g., GloVe) on Hinglish data improve classification accuracy compared to fixed embeddings?
  • RQ4Does transfer learning from English datasets enhance performance on Hinglish offensive language detection given limited labeled data?
  • RQ5What are the key limitations of current models in detecting hate speech in Hinglish, and how can they be addressed?

Key findings

  • The bidirectional LSTM with 32 units and 0.2 recurrent dropout achieved the highest recall of 77% for hate speech detection, outperforming other RNN variants.
  • GRU-based models achieved the highest precision (92%) for offensive content classification, indicating strong performance in minimizing false positives.
  • The model using data augmentation outperformed previous state-of-the-art hybrid CNN-LSTM models, demonstrating the effectiveness of synthetic data in low-resource settings.
  • Fine-tuning pre-trained GloVe embeddings on Hinglish data led to better performance than using fixed embeddings, highlighting the value of domain-specific representation learning.
  • Despite strong results for non-offensive and offensive categories, hate speech detection remained challenging, with recall below 80%, indicating a need for better generalization.
  • Error analysis revealed that the model struggled with rare or highly variant linguistic forms, suggesting that larger, more diverse Hinglish corpora are needed for improved robustness.

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.