A Gap-Based Framework for Chinese Word Segmentation via Very Deep Convolutional Networks

Zhiqing Sun, Gehui Shen, Zhi-Hong DengarXiv 2017

Introduction

Chinese Word Segmentation (CWS) is a fundamental prerequisite for downstream Chinese natural language processing tasks. Unlike English, Chinese text lacks explicit word boundaries, necessitating computational methods to identify word units. Historically, neural CWS approaches have relied on character-based sequence labeling (e.g., BMES tagging) or word-based incremental decoding. Character-based models often require complex post-processing, such as Conditional Random Fields (CRFs), to ensure label consistency, while word-based models suffer from non-parallelism and limited context usage.

This paper introduces a simplified "gap-based" framework that reframes CWS as a binary classification problem: determining whether a boundary exists between any two adjacent characters. By utilizing very deep convolutional neural networks (CNNs), the proposed model achieves state-of-the-art performance without the need for CRFs or beam search.

Methodology

The core of the proposed framework is the direct classification of character gaps. Instead of assigning tags to characters, the model extracts features from the "gap" between characters to decide if a split is necessary.

Gap Feature Representation

For each gap, the model concatenates uni-character embeddings of the adjacent characters and their corresponding bi-character embedding. This representation captures local contextual information essential for boundary detection.

Deep Feature Extraction

The framework leverages deep computer vision architectures, specifically Residual Networks (ResNets) and Dense Networks (DenseNets), adapted for 1D temporal sequences. These networks utilize 1D convolutions followed by Gated Linear Units (GLUs) to capture multi-level character combinations. The use of deep architectures allows the model to learn complex features that shallow Recurrent Neural Networks (RNNs) typically miss.

Architecture of the gap-based framework illustrating the flow from character embeddings to binary gap classification.

Segmentation Prediction

The final layer consists of a 1x1 convolution and a softmax function, outputting a binary probability distribution for each gap (segmentation vs. no segmentation). This end-to-end approach eliminates the need for structured inference modules or complex decoding algorithms.

Experimental Results

The model was evaluated on five standard benchmarks: CTB6, PKU, MSR, AS, and CityU. The gap-based framework achieved state-of-the-art F1 scores among supervised models, notably reaching 96.3 on CTB6 and 97.9 on MSR.

Impact of Model Depth and Architecture

Ablation studies were conducted to determine the optimal configuration. The results indicate that increasing the depth of the network generally improves performance, with DenseNets providing a slight edge over ResNets in most settings. A 12-layer DenseNet with a growth rate of 128 provided the best balance of speed and accuracy.

Performance comparison across different model settings, highlighting the impact of depth (L) and growth rate (k) on segmentation accuracy.

Discussion and Insights

The success of the gap-based framework suggests that the traditional BMES tagging scheme may be over-engineered. By focusing on the gap, the model simplifies the task while maintaining high accuracy. Furthermore, the experiments revealed that uni-character embeddings are surprisingly robust compared to bi-character embeddings, likely due to the data sparsity inherent in bi-character combinations. An "oracle" experiment, which combined predictions from different embedding types, suggests that further gains could be achieved by better integrating these complementary features.

Conclusion

The proposed gap-based framework demonstrates that deep convolutional networks can effectively replace traditional RNN-CRF architectures for Chinese Word Segmentation. Its simplicity, parallelizability, and state-of-the-art performance make it a compelling alternative for modern NLP pipelines. Future work will explore the integration of semi-supervised techniques and pretrained embeddings to further enhance robustness.

Summary updated

BibTeX
@misc{sun2017gap,
  author = {Zhiqing Sun and Gehui Shen and Zhi-Hong Deng},
  title = {{A Gap-Based Framework for Chinese Word Segmentation via Very Deep Convolutional Networks}},
  year = {2017},
  eprint = {1712.09509},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.09509},
}
Figure