Transition-Based Neural Word Segmentation

Meishan Zhang, Yue Zhang, Guohong Fu

Abstract

Chinese Word Segmentation (CWS) is a fundamental task in Chinese natural language processing. Traditional approaches have shifted between character-based sequence labeling and word-based transition systems. This paper proposes a transition-based neural model that leverages word-level representations to capture long-distance dependencies. By employing a Triple-LSTM architecture to encode word, character, and action histories, the model achieves state-of-the-art performance on standard benchmarks like MSR, PKU, and CTB6. Our findings highlight the critical role of word embeddings and the complementary nature of neural and discrete features in achieving high segmentation accuracy.

Introduction

In the Chinese language, words are not separated by spaces, making segmentation a prerequisite for almost all downstream NLP tasks. Historically, CWS has been framed either as character-level tagging (e.g., tagging each character as the beginning or inside of a word) or as a transition-based process that builds words incrementally. While neural networks have successfully enhanced character-based models by reducing manual feature engineering, word-based models have historically remained reliant on discrete, manually designed features. The primary challenge addressed here is effectively incorporating complex word-level information into a transition framework to improve the handling of long-range dependencies and multi-character words.

Methods

The proposed model utilizes a transition-based framework that replaces traditional discrete feature templates with dense, real-valued vector representations. The system processes sentences from left to right using two primary actions: Append (APP), which attaches the current character to the existing word, and Separate (SEP), which initiates a new word.

The Triple-LSTM architecture for transition-based segmentation, integrating word, character, and action sequences.

The core of the model is a Triple-LSTM Architecture designed to encode the current state:

  1. Word LSTM: Captures the sequence of previously segmented words.
  2. Character LSTM: A bi-directional LSTM that encodes the entire input character sequence, including unigram and bigram information.
  3. Action LSTM: Tracks the history of previous transition actions (APP/SEP) to maintain structural consistency.

These LSTM outputs are concatenated and passed through a multi-layer perceptron (MLP) to compute scores for the next possible actions. The model employs beam search for decoding and is trained using a max-margin objective with early updates to ensure the correct segmentation path is prioritized.

Results and Key Insights

The model was evaluated on three standard benchmarks: CTB6, PKU, and MSR. Pre-trained word embeddings were derived from the Chinese Gigaword corpus. The "combined" model, which integrates both neural and traditional discrete features, achieved state-of-the-art results at the time of publication:

  • MSR: F-score of 97.7.
  • PKU: F-score of 95.7.
  • CTB6: F-score of 95.95, significantly outperforming the discrete baseline (95.28).
Comparison of neural and discrete model performance, illustrating their complementary nature.

Feature ablation studies confirmed that word embeddings are the most critical component; removing them caused the F-score to drop by 4.5%. Furthermore, the neural model significantly outperformed character-based approaches on words consisting of three or more characters, demonstrating its superior ability to capture long-range dependencies compared to local character windows.

Discussion and Future Work

A key insight from this work is the complementarity of neural and discrete features. While the neural model excels at long-range dependencies, discrete models remain slightly more effective for very short, frequent words. However, the model's reliance on pre-trained word embeddings introduces a "chicken-and-egg" problem, as high-quality embeddings require a pre-segmented corpus.

Future research directions include exploring more complex neural architectures, such as recursive neural networks, to better represent internal word structures, or developing joint models that perform segmentation and Part-of-Speech (POS) tagging simultaneously to further leverage syntactic context.

Summary updated

BibTeX
@inproceedings{zhang2016transition,
  author = {Meishan Zhang and Yue Zhang and Guohong Fu},
  title = {{Transition-Based Neural Word Segmentation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  doi = {10.18653/v1/p16-1040},
}
Figure