Abstract
Traditional Chinese Word Segmentation (CWS) methods often rely on character-level tagging, which limits the model's ability to utilize global word information. This paper proposes a word-based discriminative model that employs a generalized perceptron algorithm and beam search. By defining features over entire words and word sequences, the approach achieves state-of-the-art results on several benchmark datasets, demonstrating the superiority of word-level modeling over local character windows.
Introduction
Unlike languages with explicit word boundaries, Chinese is written as a continuous sequence of characters. Segmenting this sequence into words is a fundamental prerequisite for downstream Natural Language Processing (NLP) tasks. The primary difficulty lies in resolving structural and contextual ambiguities. Conventional approaches treat CWS as a sequence labeling problem, assigning tags (e.g., Start, Middle, End) to individual characters. However, these models typically operate within a narrow local window of approximately five characters, often failing to capture long-range dependencies or global word statistics necessary for accurate disambiguation.
Methodology
The authors advocate for a word-based approach, where features are defined directly over segmented words rather than character tags. This allows the model to naturally handle word-level statistics that character-taggers can only approximate.
Generalized Perceptron
The model utilizes a generalized perceptron algorithm, adapted for the segmentation task. It learns a weight vector for various feature templates. During training, the algorithm iteratively updates weights: if the predicted segmentation differs from the gold standard, features associated with the incorrect prediction are penalized, while those in the correct segmentation are rewarded.
Beam Search Decoding
Since word-based features can span multiple characters, exhaustive search via standard dynamic programming (like the Viterbi algorithm) is computationally expensive. To maintain efficiency, the authors implement a beam search decoder. The decoder processes characters sequentially, maintaining a "beam" (or agenda) of the $B$ highest-scoring partial segmentations. At each step, it considers two primary actions: appending the current character to the existing word or initiating a new word.
Feature Engineering
The system employs 14 feature templates to capture rich linguistic information. These include word bigrams, word lengths, and specific characters at word boundaries. This feature set enables the model to leverage the relationship between adjacent words and the internal structure of individual words simultaneously.
Experimental Results
The system was evaluated on the Chinese Treebank 4 (CTB4) and various SIGHAN Bakeoff datasets under "closed test" conditions, where external dictionaries and data are forbidden.
The Role of Averaging
A critical finding is the necessity of the "averaged perceptron." By averaging weight vectors across all training iterations, the model achieves significantly higher stability and accuracy compared to the standard version. As the learning curves demonstrate, the averaged version consistently outperforms the non-averaged one across iterations.
Decoding Efficiency and Beam Size
Experiments with different beam sizes (agenda size $B$) revealed that $B=16$ provides an optimal balance between computational speed and segmentation accuracy. Increasing the beam size beyond 16 yielded negligible improvements in F-score while significantly increasing processing time, confirming that a relatively small beam is sufficient for high-quality segmentation.
Benchmark Performance
The word-based perceptron proved highly competitive against complex models like Conditional Random Fields (CRFs). In the second SIGHAN bakeoff, the system achieved top-tier F-scores, particularly on the City University (95.1%) and Microsoft Research (97.2%) corpora, setting new benchmarks for the closed test category.
Conclusion
This work demonstrates that a word-based discriminative model using a perceptron and beam search is a powerful alternative to character-tagging for Chinese Word Segmentation. The reliance on global word features allows the model to resolve ambiguities that local character windows cannot. Future research directions include incorporating external knowledge (open tests) and extending the framework to joint tasks such as Part-of-Speech (POS) tagging and parsing to further improve semantic resolution.
Summary updated