Skip to main content
QUICK REVIEW

[Paper Review] Is Word Segmentation Necessary for Deep Learning of Chinese Representations?

Xiaoya Li, Yuxian Meng|arXiv (Cornell University)|May 14, 2019
Natural Language Processing TechniquesComputer Science51 references20 citations
TL;DR

This paper investigates whether Chinese word segmentation (CWS) is necessary for deep learning-based Chinese NLP by comparing word-based models against character-based models across four tasks. It finds that char-based models consistently outperform word-based models due to reduced data sparsity, fewer OOV words, and lower overfitting, suggesting CWS may not be essential in modern deep learning setups.

ABSTRACT

Segmenting a chunk of text into words is usually the first step of processing Chinese text, but its necessity has rarely been explored. In this paper, we ask the fundamental question of whether Chinese word segmentation (CWS) is necessary for deep learning-based Chinese Natural Language Processing. We benchmark neural word-based models which rely on word segmentation against neural char-based models which do not involve word segmentation in four end-to-end NLP benchmark tasks: language modeling, machine translation, sentence matching/paraphrase and text classification. Through direct comparisons between these two types of models, we find that char-based models consistently outperform word-based models. Based on these observations, we conduct comprehensive experiments to study why word-based models underperform char-based models in these deep learning-based NLP tasks. We show that it is because word-based models are more vulnerable to data sparsity and the presence of out-of-vocabulary (OOV) words, and thus more prone to overfitting. We hope this paper could encourage researchers in the community to rethink the necessity of word segmentation in deep learning-based Chinese Natural Language Processing. \footnote{Yuxian Meng and Xiaoya Li contributed equally to this paper.}

Motivation & Objective

  • To examine whether Chinese word segmentation (CWS) is truly necessary for deep learning-based Chinese NLP.
  • To compare the performance of word-based models (relying on CWS) against char-based models (no CWS) in end-to-end NLP tasks.
  • To investigate the root causes of word-based model underperformance, including data sparsity, OOV words, and overfitting.
  • To challenge the long-standing assumption that CWS improves representation learning in deep learning for Chinese.

Proposed method

  • Benchmarking word-based and char-based neural models across four end-to-end NLP tasks: language modeling, machine translation, sentence matching, and text classification.
  • Using frequency thresholds to control vocabulary size and OOV rates, enabling controlled comparisons between models.
  • Applying dropout regularization and analyzing its impact to assess overfitting tendencies.
  • Visualizing attention mechanisms in a semantic matching task to compare alignment between words and characters in semantically similar sentences.
  • Removing sentences with OOV words at varying frequency thresholds to isolate the impact of OOVs on model performance.
  • Analyzing word and character frequency distributions to quantify data sparsity and its effects on model learning.

Experimental results

Research questions

  • RQ1Does word segmentation provide a consistent performance advantage in deep learning-based Chinese NLP tasks?
  • RQ2What are the primary causes of underperformance in word-based models compared to char-based models?
  • RQ3To what extent do out-of-vocabulary (OOV) words and data sparsity affect model generalization and overfitting?
  • RQ4Can the performance gap between word-based and char-based models be closed by reducing OOVs?
  • RQ5Is the labeled CWS dataset truly beneficial for downstream NLP tasks, or is it redundant in deep learning settings?

Key findings

  • Char-based models consistently outperform word-based models across all four benchmark tasks: language modeling, machine translation, sentence matching, and text classification.
  • The best-performing char-based model achieves 80.82 accuracy on the BQ semantic matching task, outperforming the best word-based model (80.65) even with optimal dropout (0.5 vs. 0.3).
  • Word-based models suffer from severe overfitting, requiring a higher dropout rate (0.5) than char-based models (0.3), indicating greater vulnerability to data sparsity.
  • The performance gap between word-based and char-based models narrows as OOVs are removed from training data, but the char-based model remains superior, especially at higher frequency thresholds.
  • Word-based models exhibit high data sparsity: 48.7% of distinct words appear only once, contributing just 4.0% of the corpus, leading to poor parameter learning and overfitting.
  • Visualization shows that char-based models better align semantically similar characters (e.g., 利息) across sentences, while word-based models fail to map sub-words like 利息 to their components due to rigid word boundaries.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.