Curriculum Learning Strategies for Hindi-English Codemixed Sentiment Analysis

Anirudh Dahiya, Neeraj Battan, Manish Shrivastava, Dipti Misra Sharma

Introduction

Social media users in multilingual societies like India frequently engage in "codemixing," blending Hindi and English (Hinglish) within single sentences. This linguistic fluidity presents significant challenges for standard Natural Language Processing (NLP) tools due to data scarcity, linguistic noise (slang, typos), and representation gaps where standard word embeddings fail to capture phonetic variations (e.g., "khana" vs "khaana"). Researchers from IIIT Hyderabad address these issues by employing a curriculum learning strategy and a character-trigram-based architecture.

Model Architecture

The proposed model moves away from whole-word embeddings, instead utilizing character trigrams. This approach provides robustness against spelling variations and out-of-vocabulary (OOV) terms common in social media text.

The architecture consists of a hierarchical BiLSTM structure designed for multi-task learning:

  • Layer 1 (BiLSTM 1): Focuses on low-level syntactic features, specifically trained for Language Identification (Hindi vs. English) and Part-of-Speech (POS) tagging.
  • Layer 2 (BiLSTM 2): Captures higher-level semantic representations used for Language Modeling and the final Sentiment Analysis task.
  • Pooling Layer: Employs a combination of max-pooling and average-pooling to extract salient sentiment features across the sequence.
Figure 1: The proposed hierarchical BiLSTM architecture for multi-task curriculum learning.

Curriculum Training Strategy

The core innovation lies in the training regimen, which mimics human learning by progressing from simple to complex tasks:

  1. Language Identification: Distinguishing between Hindi and English tokens.
  2. POS Tagging: Identifying grammatical roles.
  3. Language Modeling: Learning the statistical structure of codemixed text.
  4. Sentiment Analysis: The final target objective.

To mitigate catastrophic forgetting during transfer learning, the authors implemented Discriminative Finetuning (layer-specific learning rates) and Gradual Unfreezing (sequential training of layers from top to bottom).

Key Results and Discussion

The curriculum approach achieved a state-of-the-art accuracy of 72.51%, representing a 3.31% absolute improvement over previous sub-word baselines.

Figure 6: Performance comparison of the proposed approach against baseline models and previous state-of-the-art methods.

Ablation studies revealed that while syntactic pretraining (POS and LangID) alone can sometimes lead to a distribution shift that decreases performance, the inclusion of Language Modeling acts as a critical bridge, yielding the best overall results. Furthermore, character trigrams significantly outperformed Byte Pair Encoding (BPE) and unigrams, confirming that sub-word information is vital for capturing the nuances of codemixed language.

Conclusion

This research demonstrates that a "syntactico-semantic" hierarchy—learning the building blocks of a language before interpreting sentiment—is highly effective for noisy, codemixed data. Future work will explore the integration of attention mechanisms and the application of this curriculum strategy to broader tasks such as aggression detection.

Summary updated

BibTeX
@inproceedings{dahiya2019curriculum,
  author = {Anirudh Dahiya and Neeraj Battan and Manish Shrivastava and Dipti Misra Sharma},
  title = {{Curriculum Learning Strategies for Hindi-English Codemixed Sentiment Analysis}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  url = {https://openreview.net/forum?id=Qd7b-uyAG9W},
}
Figure