[Paper Review] BERT Meets Chinese Word Segmentation
This paper investigates the application of BERT to Chinese word segmentation (CWS), demonstrating that BERT improves F1 scores by +0.3 (MSR) and +0.4 (PKU) over baseline models. It shows that BERT’s contextual features are robust even under labeling inconsistencies, and that simpler classifiers like Softmax perform as well as CRF with significantly lower computational cost.
Chinese word segmentation (CWS) is a fundamental task for Chinese language understanding. Recently, neural network-based models have attained superior performance in solving the in-domain CWS task. Last year, Bidirectional Encoder Representation from Transformers (BERT), a new language representation model, has been proposed as a backbone model for many natural language tasks and redefined the corresponding performance. The excellent performance of BERT motivates us to apply it to solve the CWS task. By conducting intensive experiments in the benchmark datasets from the second International Chinese Word Segmentation Bake-off, we obtain several keen observations. BERT can slightly improve the performance even when the datasets contain the issue of labeling inconsistency. When applying sufficiently learned features, Softmax, a simpler classifier, can attain the same performance as that of a more complicated classifier, e.g., Conditional Random Field (CRF). The performance of BERT usually increases as the model size increases. The features extracted by BERT can be also applied as good candidates for other neural network models.
Motivation & Objective
- To evaluate whether BERT can enhance performance in Chinese word segmentation (CWS), a fundamental NLP task.
- To investigate the trade-off between character-level representations and different classifiers (e.g., Softmax vs. CRF) when using BERT features.
- To analyze the impact of BERT model size on CWS performance.
- To assess whether BERT-extracted features can serve as effective, ELMo-like representations for other neural CWS models.
- To identify and analyze labeling inconsistencies in benchmark datasets using BERT's predictions on idiomatic expressions.
Proposed method
- Fine-tune BERT on in-domain CWS datasets (MSR and PKU) to extract contextualized token representations.
- Use BERT’s final hidden states as input features for downstream CWS classifiers, replacing traditional character embeddings.
- Compare classifier performance using Softmax and Conditional Random Fields (CRF) on BERT-embedded features.
- Train and evaluate BERT models of varying sizes (base, large) to assess the effect of model capacity on CWS accuracy.
- Apply BERT features as pre-trained contextual representations in other neural CWS architectures, testing their transferability.
- Analyze prediction errors on idiomatic expressions to detect inconsistencies in training and test set annotations.
Experimental results
Research questions
- RQ1Can BERT improve the performance of Chinese word segmentation tasks, even with inconsistent labeling in training data?
- RQ2What is the trade-off between using Softmax and CRF as classifiers when combined with BERT features?
- RQ3How does the size of the BERT model affect segmentation performance on CWS benchmarks?
- RQ4Can BERT features be effectively reused as contextual representations in other neural CWS models, similar to ELMo?
- RQ5To what extent do BERT predictions reveal inconsistencies in benchmark dataset annotations, especially for idiomatic phrases?
Key findings
- BERT improves CWS performance by +0.3 F1 score on the MSR dataset and +0.4 on the PKU dataset when using Softmax as the classifier.
- When combined with sufficiently learned BERT features, Softmax achieves the same performance as CRF but with significantly lower inference time.
- Larger BERT models consistently yield better CWS performance, indicating a positive correlation between model size and segmentation accuracy.
- BERT-extracted features are effective as contextual representations and can be successfully reused in other neural CWS models, demonstrating transferability.
- BERT predictions reveal labeling inconsistencies in the PKU dataset, particularly for idiomatic expressions such as "银装素裹" and "至关重要", where training and test sets disagree on word boundaries.
- The model struggles with OOV (out-of-vocabulary) tokens and multilingual sentences, suggesting limitations in handling rare characters and mixed-script input.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.