A Hybrid Approach to Chinese Word Segmentation around CRFs

Junsheng Zhou, Xin-Yu Dai, Ni Rui-yu, Jiajun ChenSIGHAN@IJCNLP 2005

Abstract

This paper presents a robust four-stage hybrid pipeline for Chinese Word Segmentation (CWS), a foundational task in Chinese Natural Language Processing. By integrating the statistical power of Conditional Random Fields (CRFs) with rule-based error correction, specialized Named Entity Recognition (NER), and a dedicated new-word detector, the system achieves industry-leading performance. Evaluation on the SIGHAN Bakeoff datasets demonstrates exceptional recall on out-of-vocabulary (OOV) words, particularly when external lexical resources are utilized.

Introduction

Unlike English, Chinese text lacks explicit word boundaries, making segmentation the critical first step for downstream NLP tasks. The primary challenges in CWS include ambiguity resolution, accurate Named Entity Recognition (NER), and the identification of "Out-of-Vocabulary" (OOV) words—terms not encountered during training. While statistical models like CRFs have shown promise, they often struggle with data sparseness. This work proposes a hybrid strategy to bridge the gap between statistical learning and linguistic heuristics.

Methodology

The proposed system operates as a sequential pipeline consisting of four distinct components:

  1. Basic Segmentation (CRF): Segmentation is modeled as a sequence tagging problem. The authors utilize a four-tag set—B (begin), I (inside), F (final), and S (single)—to provide more granular structural information than standard binary tagging. "Word context features" are introduced to capture the positional relationships of characters within words of varying lengths.
  2. Named Entity Recognition (CRF): A specialized CRF layer targets organization names. It employs Mutual Information (MI) to identify "boundary words" (indicative of entity starts/ends) and "forbidden words" (unlikely to be part of a name).
  3. Error-Driven Learning: Inspired by the Brill Tagger, this component compares CRF output against training ground truth to automatically generate a "Ruleset." This serves as a consistency check, correcting systematic errors made by the statistical model.
  4. New Word Detection: A final pass evaluates the "in-word probability" of character sequences. Sequences exceeding a specific threshold are merged into new words, enhancing the system's ability to handle OOV terms.

Evaluation and Results

The system was evaluated using benchmarks from the Second International Chinese Word Segmentation Bakeoff, specifically the Peking University (PKU) and Microsoft Research (MSR) corpora. Both "Open" (allowing external dictionaries) and "Closed" (training data only) tracks were tested.

Comparative results across PKU and MSR datasets in open and closed tracks.

The system proved highly competitive, particularly in handling unknown words. In the MSR Open track, the system achieved an OOV recall of 77.2%, surpassing other contemporary systems. Following a post-competition correction for quotation mark handling, the system reached an F-score of 0.977 on the MSR Open track and 0.966 on the MSR Closed track.

Performance metrics on the MSR corpus for both open and closed tracks after post-competition refinements.

Discussion and Insights

The transition from a 2-tag to a 4-tag system was pivotal, providing the CRF with richer structural context. Furthermore, the error-driven learning component effectively addressed the "long tail" of errors caused by sparse data, ensuring consistent segmentation for recurring strings.

However, a significant performance gap remains between Open and Closed tracks regarding OOV recall (e.g., 0.772 vs 0.387 on MSR in the final results). This suggests that while the new word detector is effective, it remains heavily dependent on external lexical resources. Future work will explore "large-margin" CRF models to improve generalization and reduce overfitting in unseen domains.

Summary updated

BibTeX
@inproceedings{zhou2005hybrid,
  author = {Junsheng Zhou and Xin-Yu Dai and Ni Rui-yu and Jiajun Chen},
  title = {{A Hybrid Approach to Chinese Word Segmentation around CRFs}},
  booktitle = {SIGHAN@IJCNLP},
  year = {2005},
}
Figure