Part-of-Speech Tagging with Bidirectional Long Short-Term Memory Recurrent Neural Network

Peilu Wang, Yao Qian, Frank K. Soong, Lei He, Hai ZhaoarXiv 2015

Introduction

Part-of-Speech (POS) tagging is a fundamental task in Natural Language Processing (NLP), involving the assignment of grammatical categories to words in a sequence. Traditionally, high-performance taggers have relied heavily on "morphological features"—hand-crafted rules concerning word prefixes, suffixes, and capitalization. While effective, this approach requires significant linguistic expertise and is difficult to scale across different languages.

This paper explores the use of Bidirectional Long Short-Term Memory (BLSTM) networks to minimize the need for manual feature engineering. By leveraging dense word embeddings and a bidirectional architecture, the authors demonstrate that a neural approach can achieve state-of-the-art performance using primarily raw word forms.

Methodology

The core of the proposed system is a Bidirectional LSTM (BLSTM). Unlike standard unidirectional Recurrent Neural Networks (RNNs) that only consider preceding context, a BLSTM processes the input sequence in both forward and backward directions. This allows the model to capture the full context of a word, which is crucial for disambiguating parts of speech.

Model Architecture

The input layer consists of a combination of word embeddings and a simple 3-bit binary vector representing capitalization (all lowercase, all uppercase, or leading capital). In the highest-performing variant, a "bigram suffix" (the last two characters of a word) is also included as a one-hot vector to improve handling of out-of-vocabulary (OOV) words.

Architecture of the BLSTM model for POS tagging.

Consistency-Based Pre-training

A key contribution is a novel "consistency-based" embedding pre-training method. The authors argue that off-the-shelf embeddings (e.g., Word2Vec, GloVe) may be suboptimal because their training objectives differ from the target task's architecture. They propose pre-training the BLSTM on a massive unlabeled corpus by training it to distinguish "correct" words from randomly substituted "incorrect" ones. The weights learned during this phase ($W_1$ in Figure 1) serve as the initial word embeddings for the POS tagger.

Experimental Setup

The model was evaluated on the Penn Treebank III Wall Street Journal (WSJ) corpus, a standard benchmark for POS tagging. For unlabeled pre-training, the authors utilized the North American News corpus, containing approximately 536 million words. The performance was compared against several established systems and various pre-trained word embeddings, including those from Mikolov, Turian, Collobert, and Pennington.

Results and Discussion

The BLSTM-based model achieved a state-of-the-art accuracy of 97.40% on the WSJ test set when combined with custom embeddings and suffix features.

Comparison of POS tagging accuracy across different systems.

Key Findings

  • Superiority of Custom Embeddings: Embeddings trained using the same BLSTM architecture intended for the final task outperformed larger, more general embeddings like GloVe, even when the latter were trained on significantly more data.
  • Contextual Learning: The BLSTM's ability to capture long-range dependencies effectively replaces the need for complex morphological feature engineering. The model learns grammatical structures directly from the sequence.
  • Scalability: Performance improved significantly as the size of the unlabeled pre-training corpus increased (from 10 million to 536 million words), highlighting the model's ability to benefit from large-scale raw data.

Conclusion

This research demonstrates that BLSTM networks, paired with architecturally consistent word embeddings, can surpass traditional feature-heavy systems in POS tagging. Achieving 97.40% accuracy on the Penn Treebank benchmark, the model provides a powerful, generalizable framework for sequential labeling tasks. Future work may extend this approach to other NLP challenges such as Named Entity Recognition (NER) and syntactic chunking.

Summary updated

BibTeX
@misc{wang2015part,
  author = {Peilu Wang and Yao Qian and Frank K. Soong and Lei He and Hai Zhao},
  title = {{Part-of-Speech Tagging with Bidirectional Long Short-Term Memory Recurrent Neural Network}},
  year = {2015},
  eprint = {1510.06168},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1510.06168},
}
Figure