Joint Chinese Word Segmentation, POS Tagging and Parsing

Xian Qian, Yang LiuEMNLP 2012

Introduction

Natural Language Processing (NLP) for Chinese presents unique challenges compared to space-delimited languages like English. Traditionally, tasks such as word segmentation, Part-of-Speech (POS) tagging, and syntactic parsing are performed in a sequential pipeline approach. However, this method suffers from error propagation: a mistake in the initial segmentation phase inevitably degrades the performance of subsequent tagging and parsing steps. Furthermore, the pipeline prevents higher-level syntactic information from informing lower-level word boundary decisions.

This paper proposes a unified framework that performs these three tasks simultaneously. By integrating segmentation and tagging into a joint decoding process, the system allows syntactic context to resolve local ambiguities, leading to a more robust global interpretation.

Methodology: Joint Decoding via CYK

The core innovation lies in a "train separately, decode jointly" strategy. While the sub-models for segmentation (CRF/ME hybrid), POS tagging (CRF), and parsing (discriminative constituent parser) are trained independently to maintain computational efficiency, their outputs are combined during the inference stage.

Structural Representation

To facilitate joint inference, the system represents the sentence structure in a way that accommodates both word-level and phrase-level information. Figure 1 illustrates the transformation of a flat noun phrase (NP) into a binarized tree structure, which is a prerequisite for the CYK (Cocke-Younger-Kasami) algorithm used in the joint decoder.

Figure 1: Transformation of a flat structure into a binarized tree for joint decoding.

The Scoring Function

The extended CYK algorithm searches for the tree $T$ that maximizes a global score for a given character sequence $\mathbf{x}$. This score is a weighted sum of features from the different sub-models.

Figure 3: The joint scoring function combining bottom-up, top-down, unary, and binary features.

As shown in Figure 3, the total score incorporates:

  • Bottom and Top features: Capturing local segmentation and tagging context.
  • Unary and Binary rules: Representing the syntactic transitions and phrase merges.

Hyper-parameters ($\alpha, \beta, \gamma$) are used to balance the influence of each component, allowing the parser to "correct" likely segmentation errors if they result in a highly improbable syntactic structure.

Key Insights

  • Syntactic Feedback: The model leverages global grammatical constraints to resolve local word-boundary ambiguities. For instance, a sequence that could be either a single long noun or a verb-noun pair is disambiguated by checking which fits better into the overall sentence parse.
  • Pseudo-Surrounding Features: To provide context for the POS tagger before segmentation is finalized, the authors employ a bidirectional Viterbi approach to estimate surrounding word boundaries.

Results and Evaluation

The joint model was evaluated on the Chinese Tree Bank (CTB) 5 dataset. It demonstrated significant improvements over state-of-the-art pipeline systems across all metrics.

Task Pipeline F-score Joint Model F-score
Segmentation 97.85% 97.96%
POS Tagging 93.53% 93.81%
Parsing 81.76% 82.85%

The most notable gains were seen in parsing accuracy, where the joint model achieved a 1.09% absolute improvement. Error analysis confirmed that the system was particularly effective at resolving common POS ambiguities, such as distinguishing between nouns and verbs in ambiguous contexts.

Conclusion

By breaking the traditional pipeline and allowing for joint inference, this framework effectively mitigates error propagation in Chinese NLP. While the models are currently trained separately, the success of joint decoding suggests that future work in joint learning—training all parameters in a single pass—could further push the boundaries of performance, despite the increased computational complexity.

Summary updated

BibTeX
@inproceedings{qian2012joint,
  author = {Xian Qian and Yang Liu},
  title = {{Joint Chinese Word Segmentation, POS Tagging and Parsing}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2012},
}
Figure