Skip to main content
QUICK REVIEW

[Paper Review] Language Identification of Bengali-English Code-Mixed data using Character & Phonetic based LSTM Models

Soumil Mandal, Sourya Dipta Das|arXiv (Cornell University)|Mar 10, 2018
Authorship Attribution and ProfilingComputer Science9 references16 citations
TL;DR

This paper proposes a deep learning approach for word-level language identification in low-resource Bengali-English code-mixed text using character-level and phonetic (root phone) encoding with bidirectional LSTMs. It achieves 92.35% accuracy using a threshold-based ensemble model, outperforming a baseline SVM by 8.71%, demonstrating the effectiveness of phonetic and character-level embeddings in code-mixed NLP tasks with limited data.

ABSTRACT

Language identification of social media text still remains a challenging task due to properties like code-mixing and inconsistent phonetic transliterations. In this paper, we present a supervised learning approach for language identification at the word level of low resource Bengali-English code-mixed data taken from social media. We employ two methods of word encoding, namely character based and root phone based to train our deep LSTM models. Utilizing these two models we created two ensemble models using stacking and threshold technique which gave 91.78% and 92.35% accuracies respectively on our testing data.

Motivation & Objective

  • To address the challenge of accurate word-level language identification in low-resource Bengali-English code-mixed social media text.
  • To explore the effectiveness of character-level and root phonetic encoding in capturing linguistic patterns for code-mixed data.
  • To improve performance over traditional n-gram and SVM-based models using deep learning with LSTMs.
  • To evaluate ensemble techniques—stacking and thresholding—for combining character and phonetic models.
  • To provide a robust, data-efficient solution for language identification in multilingual, informal text.

Proposed method

  • Two bidirectional LSTM models are trained: one using character-level encoding and another using Bengali root phones for phonetic representation.
  • Character encoding captures morphological patterns at the subword level, while root phone encoding models phonetic structure to distinguish language-specific sounds.
  • A threshold-based ensemble method combines model outputs by averaging fuzzy probabilities and applying a learned threshold (θ ≤ 0.9) to maximize accuracy.
  • A stacking ensemble uses logistic regression to combine predictions from both models on development data, improving generalization.
  • Data preprocessing includes lowercasing, removal of short, numeric, or special-character-laden words, and normalization of repeated characters.
  • The system is evaluated on a test set of 700 word pairs with metrics including accuracy, precision, recall, and F1-score.

Experimental results

Research questions

  • RQ1Can character-level and phonetic-level LSTM encodings effectively distinguish between Bengali and English words in code-mixed text?
  • RQ2How do ensemble techniques like stacking and thresholding improve language identification accuracy compared to individual models?
  • RQ3To what extent can a deep learning model achieve high accuracy on low-resource code-mixed data with limited training examples?
  • RQ4Does phonetic encoding based on root phones outperform character-level encoding in capturing language-specific patterns in code-mixed text?
  • RQ5How does the model handle ambiguous words with similar spellings but different language origins?

Key findings

  • The threshold-based ensemble model achieved the highest accuracy of 92.35% on the test set, outperforming the stacking ensemble (91.78%) and the baseline SVM (83.64%).
  • The phonetic model alone achieved 90.42% accuracy on the test set after thresholding, showing strong performance with root phone encoding.
  • The character model achieved 89.42% accuracy after thresholding, indicating that character-level patterns are effective for distinguishing language boundaries.
  • The confusion matrix analysis revealed that the threshold ensemble model was biased toward correctly identifying Bengali words (TP = 667), suggesting higher confidence in Bengali predictions.
  • The stacking ensemble model showed improved F1-score (91.77%) and better balance between precision and recall, indicating robust generalization.
  • The system demonstrated a significant 8.71% improvement in accuracy over the baseline SVM model, highlighting the advantage of deep learning with proper encoding.

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.