[Paper Review] Recurrent Neural Network based Part-of-Speech Tagger for Code-Mixed Social Media Text
This paper proposes a GRU-based Recurrent Neural Network language model for part-of-speech (POS) tagging in code-mixed Indian social media text (Hindi-English, Bengali-English, Telugu-English). By incorporating pre-training and language identity as an additional feature, the model achieves F1 scores comparable to state-of-the-art systems like Stanford and HunPos, demonstrating strong performance even with limited training data for low-resource language pairs.
This paper describes Centre for Development of Advanced Computing's (CDACM) submission to the shared task-'Tool Contest on POS tagging for Code-Mixed Indian Social Media (Facebook, Twitter, and Whatsapp) Text', collocated with ICON-2016. The shared task was to predict Part of Speech (POS) tag at word level for a given text. The code-mixed text is generated mostly on social media by multilingual users. The presence of the multilingual words, transliterations, and spelling variations make such content linguistically complex. In this paper, we propose an approach to POS tag code-mixed social media text using Recurrent Neural Network Language Model (RNN-LM) architecture. We submitted the results for Hindi-English (hi-en), Bengali-English (bn-en), and Telugu-English (te-en) code-mixed data.
Motivation & Objective
- To develop a robust, language-agnostic POS tagger for code-mixed Indian social media text, which exhibits linguistic complexity due to multilingual mixing, transliteration, and spelling variation.
- To investigate the effectiveness of RNN architectures—particularly GRU, LSTM, and Simple_RNN—for POS tagging in low-resource, code-mixed settings.
- To evaluate the impact of pre-training and language identity as auxiliary features on model generalization and accuracy in code-mixed POS tagging.
- To compare the proposed RNN-based approach against established systems like Stanford and HunPos on shared benchmark data.
Proposed method
- The model uses a modified RNN-LM architecture where the input is a context window (e.g., three words) centered on the target word, and the output is the predicted POS tag.
- The core architecture employs Gated Recurrent Units (GRUs), which use update and reset gates to control information flow and mitigate vanishing gradient issues.
- Language identity of each word is embedded as a separate feature vector and concatenated with word embeddings to help the model distinguish between similar-looking words from different languages (e.g., 'are' in Hindi vs. English).
- The model is pre-trained on a large monolingual corpus before fine-tuning on the code-mixed POS tagging task, improving generalization.
- Word embeddings are learned from scratch during training, and the final output layer uses a softmax function to predict the POS tag from the hidden state.
- Three training settings are evaluated: standard GRU, GRU with pre-training (GRU_Pre), and GRU with pre-training and language feature (GRU_Pre_Lang).
Experimental results
Research questions
- RQ1Can a GRU-based RNN model achieve competitive POS tagging performance on code-mixed Indian social media text despite limited training data?
- RQ2How does pre-training affect the performance of RNN-based POS taggers on low-resource code-mixed language pairs?
- RQ3Does incorporating language identity as an auxiliary feature improve the model’s ability to disambiguate homographic words from different languages (e.g., 'are' in Hindi vs. English)?
- RQ4How do different RNN variants (Simple_RNN, LSTM, Deep LSTM, GRU) compare in performance on this code-mixed POS tagging task?
- RQ5To what extent does the proposed RNN model match or exceed the performance of established systems like Stanford and HunPos on this shared task?
Key findings
- The GRU_Pre_Lang model achieved the highest F1 scores across all language pairs, with 80.92% F1 on hi-en, 74.05% on bn-en, and 74.00% on te-en, outperforming both standard RNNs and baseline systems.
- Pre-training significantly improved performance, with GRU_Pre achieving 80.51% F1 on hi-en compared to 78.29% for standard GRU.
- The addition of language identity as a feature further boosted performance, especially on ambiguous words like 'are' and 'to', which are spelled the same but have different POS tags in Hindi and English.
- Despite the theoretical advantages of LSTM, it underperformed compared to GRU and even Simple_RNN on this dataset, likely due to data scarcity and model complexity.
- For the low-resource bn-en pair (only ~0.5K training sentences), the RNN models underperformed relative to Stanford and HunPos, indicating that more data is needed for RNNs to reach SOTA in low-resource settings.
- The confusion matrix revealed that G_X, G_V, G_N, and G_J (coarse-grained) and V_VM, JJ, N_NN, N_NNP (fine-grained) were the most frequently misclassified tags, often confused with one another.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.