Skip to main content
QUICK REVIEW

[Paper Review] JUNLP@Dravidian-CodeMix-FIRE2020: Sentiment Classification of Code-Mixed Tweets using Bi-Directional RNN and Language Tags

Sainik Kumar Mahata, Dipankar Das|arXiv (Cornell University)|Oct 20, 2020
Sentiment Analysis and Opinion MiningComputer Science9 references6 citations
TL;DR

This paper proposes a bidirectional LSTM model enhanced with language tagging and FastText word embeddings for sentiment classification of English-Tamil code-mixed tweets. The system achieved an F1-score of 0.58 on the FIRE2020 shared task test set, demonstrating that language tags improve performance over baseline models in low-resource, code-mixed NLP scenarios.

ABSTRACT

Sentiment analysis has been an active area of research in the past two decades and recently, with the advent of social media, there has been an increasing demand for sentiment analysis on social media texts. Since the social media texts are not in one language and are largely code-mixed in nature, the traditional sentiment classification models fail to produce acceptable results. This paper tries to solve this very research problem and uses bi-directional LSTMs along with language tagging, to facilitate sentiment tagging of code-mixed Tamil texts that have been extracted from social media. The presented algorithm, when evaluated on the test data, garnered precision, recall, and F1 scores of 0.59, 0.66, and 0.58 respectively.

Motivation & Objective

  • To address the challenge of sentiment classification in code-mixed social media texts, particularly in Dravidian language contexts like Tamil-English.
  • To improve performance on low-resource, multilingual, and syntactically complex code-mixed data where traditional NLP tools fail.
  • To evaluate the effectiveness of language tagging as a feature in enhancing sentiment classification models for code-mixed text.
  • To develop a robust deep learning model using bidirectional LSTMs and FastText embeddings for sentiment polarity detection.
  • To participate in and contribute to the Dravidian-CodeMix-FIRE2020 shared task on sentiment analysis of code-mixed social media content.

Proposed method

  • The model uses FastText embeddings with character n-grams (3–6) to generate dense vector representations for words in code-mixed English-Tamil text.
  • Individual words in each sentence are tagged as English or non-English using NLTK-based language detection to serve as additional input features.
  • Word vectors and language tags are concatenated and fed into a bidirectional LSTM layer to capture contextual dependencies in both forward and backward directions.
  • The final context vector from the bidirectional LSTM is passed through a dense layer to predict one of five sentiment labels: Positive, Negative, Mixed Feelings, Not Tamil, or Unknown.
  • The model is trained with Adam optimizer, sparse categorical cross-entropy loss, a batch size of 32, and 50 training epochs, with a 10% validation split.
  • Ablation studies compare models with and without language tags and with unidirectional vs. bidirectional LSTMs to isolate feature contributions.

Experimental results

Research questions

  • RQ1How effective is the integration of language tags as a feature in improving sentiment classification accuracy for code-mixed English-Tamil tweets?
  • RQ2What is the performance gain of using bidirectional LSTMs over unidirectional LSTMs in classifying sentiment in code-mixed social media text?
  • RQ3To what extent do FastText embeddings with character n-grams improve representation learning for low-resource, code-mixed NLP tasks?
  • RQ4How does the proposed model compare to baseline models without language tagging or bidirectional context modeling in the Dravidian-CodeMix shared task?
  • RQ5Can a lightweight deep learning architecture with minimal architectural complexity achieve competitive results on code-mixed sentiment classification?

Key findings

  • The final model, using bidirectional LSTM with language tag features, achieved an F1-score of 0.58 on the official test set, as evaluated by the FIRE2020 organizers.
  • The model achieved a precision of 0.59 and recall of 0.66, indicating a slight imbalance toward higher recall in sentiment prediction.
  • Among the ablated models, the bidirectional LSTM with language tags outperformed all others in F1-score, confirming its effectiveness.
  • The model without language tags achieved a slightly lower F1-score (0.61) compared to the best-performing variant, showing that language tagging adds value.
  • The best-performing model achieved an accuracy of 70.42% on the test set, with a balanced precision and recall distribution across sentiment classes.
  • The ablation study confirmed that language tagging and bidirectional context modeling jointly contribute to improved performance on code-mixed sentiment classification.

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.