Character-based Joint Segmentation and POS Tagging for Chinese using Bidirectional RNN-CRF

Yan Shao, Christian Hardmeier, Jörg Tiedemann, Joakim Nivre

Abstract: Yan Shao, Christian Hardmeier, Jörg Tiedemann, Joakim Nivre. Proceedings of the Eighth International Joint Conference on Natural Language Processing (Volume 1: Long Papers).

2017.

Introduction

Unlike English, Chinese text is written without explicit word boundaries. Consequently, Word Segmentation (CWS) is a mandatory preprocessing step for downstream NLP tasks. Traditionally, this was handled via a pipeline approach: segmenting the text first, then performing Part-of-Speech (POS) tagging. However, this method suffers from error propagation, where segmentation mistakes inevitably lead to tagging failures. Conversely, POS information can often clarify ambiguous segmentations. To address this, the authors propose a joint model that treats both tasks as a single character-level sequence labeling problem, predicting combinatory labels that represent both word boundaries and POS tags simultaneously.

Methodology

The proposed architecture utilizes a Bidirectional RNN-CRF (BiRNN-CRF) framework. The model employs Gated Recurrent Units (GRUs) to capture long-range dependencies in both directions and a Conditional Random Field (CRF) layer to ensure global optimality in the predicted tag sequence.

The BiRNN-CRF architecture for joint Chinese segmentation and POS tagging.

The primary innovation lies in the rich character representations used as input to the recurrent layers:

  1. Concatenated N-grams: Instead of relying solely on single-character embeddings, the model concatenates embeddings of surrounding n-grams (bigrams and trigrams). This explicitly encodes local context into the input vector.
  2. Radicals: The model incorporates radicals—the graphical components of Chinese characters—which often provide semantic clues (e.g., the "water" radical 氵 appearing in words related to liquids).
  3. Graphical Features via CNN: Characters are treated as images, and a Convolutional Neural Network (CNN) extracts visual features directly from pixels to capture orthographical nuances.
  4. Ensemble Decoding: Scores from four independently trained models are averaged to mitigate the impact of random weight initialization and improve overall robustness.

Experimental Setup and Datasets

The model was evaluated on three major benchmarks to test its versatility:

  • CTB5 (Chinese Treebank 5.0): The standard benchmark for joint CWS and POS tagging.
  • CTB9 (Chinese Treebank 9.0): A larger, more diverse dataset including informal genres like weblogs and forum posts.
  • UD Chinese (Universal Dependencies): A dataset utilizing a different annotation scheme to evaluate the model's robustness.

Results and Discussion

The authors achieved a new state-of-the-art on CTB5 with an F1-score of 94.38% for joint segmentation and POS tagging. As shown in the experimental results, the inclusion of pre-trained embeddings and sub-character features consistently improved performance across all datasets.

Evaluation of different n-gram sizes and their impact on segmentation (Seg) and joint tagging (Seg&Tag) performance across datasets.

Key Insights

  • Contextual Efficiency: Explicitly providing local n-gram information in the input vector makes the learning process significantly more efficient than relying on the RNN to learn these patterns from scratch.
  • Sub-character Synergy: Radicals and graphical features act as a "semantic safety net," particularly for Out-of-Vocabulary (OOV) words. By analyzing a character's internal structure, the model can make informed guesses about unseen words.
  • Genre Robustness: The neural model significantly outperformed traditional transition-based systems (like ZPar) on non-standard text (weblogs, chat messages), indicating superior generalization to informal language.

Conclusion

This research demonstrates that a joint BiRNN-CRF model, augmented with rich sub-character and graphical features, provides a robust solution for Chinese NLP. While CNN-based graphical features are computationally intensive, they offer valuable gains in specific contexts. Future work may explore more efficient ways to integrate this graphical information or extend the model to other logographic scripts.

Summary updated

BibTeX
@inproceedings{shao2017character,
  author = {Yan Shao and Christian Hardmeier and Jörg Tiedemann and Joakim Nivre},
  title = {{Character-based Joint Segmentation and POS Tagging for Chinese using Bidirectional RNN-CRF}},
  booktitle = {IJCNLP},
  year = {2017},
  url = {https://openreview.net/forum?id=BqxtdRMyfr0},
}
Figure