Abstract
Traditional Chinese Word Segmentation (CWS) models often rely on character-level sequence labeling, which can fail to capture the holistic meaning and "wholeness" of words. This paper presents a transition-based neural model that integrates word-level features through a dual-RNN architecture. By utilizing a Bi-LSTM for global character context and a specialized word-level LSTM for historical word sequences, along with a novel subword embedding pre-training method, the model achieves state-of-the-art performance on major benchmarks. Notably, the approach significantly improves the recognition of long words and out-of-vocabulary (OOV) terms.
Introduction
Unlike English, Chinese text lacks explicit word boundaries like spaces. The standard approach to Chinese Word Segmentation (CWS) treats it as a character-based sequence labeling problem using tags like B/I/E/S (Begin, Inside, End, Single). While effective, these models often struggle with long-range dependencies and the inherent "wholeness" of words.
Existing word-based models frequently rely on manually engineered discrete features, which suffer from feature sparsity—the inability to learn effectively from words seen infrequently during training. This paper addresses the "chicken-and-egg" problem of CWS: segmenting text requires word features, but obtaining word features requires segmentation. The authors propose a neural model that leverages word-level information without manual feature engineering.
Methodology
The Transition System
The model employs a transition-based framework that segments sentences incrementally from left to right. It maintains a stack of already identified words and a queue of characters yet to be processed.
The system relies on two primary actions:
SEP(Separate): Starts a new word with the current character from the queue.APP(Append): Attaches the current character to the end of the partially formed word at the top of the stack.
Dual-RNN Architecture
To accurately score these transition actions, the model utilizes a dual-RNN structure that captures both character and word-level information simultaneously.
- Bi-LSTM for Characters: This layer encodes the entire input sequence, providing a global context for every character position.
- Word-level LSTM: This layer encodes the sequence of words already identified in the stack. Because it is built incrementally, it captures the historical context of the segmentation process.
Subword Embedding Pre-training
A key innovation is the pre-training of word and subword (prefix) embeddings. By decomposing words into prefixes during pre-training on the large, unannotated Chinese Gigaword corpus, the model learns representations for partially formed words. This is critical for the incremental APP action, allowing the model to "understand" a word before it is fully completed.
Key Results and Insights
Performance Benchmarks
The model was evaluated on four major benchmarks: CTB6, PKU, MSR, and the out-of-domain Zhuxian dataset. The integrated model achieved state-of-the-art results, including an F-measure of 96.04% on CTB6 and 97.87% on MSR.
Robustness and OOV Recognition
The neural approach showed significant gains in identifying Out-of-Vocabulary (OOV) words. On CTB6, the neural model reached an OOV recall ($R_{oov}$) of 80.18%, compared to 73.95% for the discrete baseline. Furthermore, the model proved highly effective at identifying long words (3+ characters), where character-based models typically falter.
Hybrid Scoring and Efficiency
The authors found that neural and discrete models often make complementary errors. By combining them into a hybrid model using a weighted sum, they achieved the best overall performance. Interestingly, removing the character-level LSTM and relying solely on word-level features increased processing speed from 40 to 57.7 sentences per second with only a minimal loss in accuracy, highlighting the sufficiency of word-level signals.
Conclusion
By shifting the focus from character tagging to a transition-based system powered by word-level LSTMs and subword embeddings, this research provides a robust solution to the limitations of traditional CWS. The model's ability to handle OOV words and long-range dependencies makes it a powerful tool for Chinese natural language processing. Future work may extend this framework to joint tasks like POS tagging and dependency parsing, where word-level features are even more vital.
Summary updated