[Paper Review] Toward Fast and Accurate Neural Chinese Word Segmentation with Multi-Criteria Learning
Proposes a BERT-based multi-criteria Chinese word segmentation model with domain-specific and shared projections, plus distillation, quantization, and compiler optimization to achieve SOTA results across 10 datasets with faster decoding.
The ambiguous annotation criteria lead to divergence of Chinese Word Segmentation (CWS) datasets in various granularities. Multi-criteria Chinese word segmentation aims to capture various annotation criteria among datasets and leverage their common underlying knowledge. In this paper, we propose a domain adaptive segmenter to exploit diverse criteria of various datasets. Our model is based on Bidirectional Encoder Representations from Transformers (BERT), which is responsible for introducing open-domain knowledge. Private and shared projection layers are proposed to capture domain-specific knowledge and common knowledge, respectively. We also optimize computational efficiency via distillation, quantization, and compiler optimization. Experiments show that our segmenter outperforms the previous state of the art (SOTA) models on 10 CWS datasets with superior efficiency.
Motivation & Objective
- Capture diverse segmentation criteria across multiple CWS datasets and leverage their shared knowledge.
- Integrate open-domain knowledge through BERT for CWS.
- Distinguish domain-specific and shared knowledge via projection layers to improve multi-criteria learning.
- Accelerate inference with distillation, quantization, and compiler optimization.
Proposed method
- Use BERT as the feature extractor for input Chinese characters.
- Add a domain projection layer before the CRF to model dataset-specific criteria and a shared projection layer for common knowledge.
- Concatenate domain-specific and shared representations and feed into a first-order CRF for tag inference (B/M/E/S).
- Train with a joint objective over all datasets to enable multi-criteria learning.
- Apply knowledge distillation from a 12-layer teacher BERT to a smaller student transformer (3 or 6 layers) with a combined segmentation and distillation loss.
- Apply FP16 quantization for speed on selected components and use XLA compiler optimization to fuse operations and speed up execution.
Experimental results
Research questions
- RQ1Can multi-criteria learning with domain-specific and shared projections improve CWS across heterogeneous datasets with different annotation granularities?
- RQ2Does leveraging BERT as a backbone provide significant gains for CWS compared with prior neural models?
- RQ3How much do distillation, quantization, and compiler optimization impact accuracy and decoding speed in practice?
- RQ4What is the optimal number of transformer layers for a good trade-off between accuracy and efficiency in this setup?
Key findings
- The proposed model outperforms previous SOTA on 10 CWS datasets.
- Multi-criteria learning with a domain projection layer yields consistent F1 improvements over single-criteria training (average +2.3% F1, +9.4% OOV recall).
- Using a 3-layer student Transformer (with distillation from a 12-layer teacher) achieves a favorable balance between accuracy and speed (average drop from 12-layer teacher is small).
- Quantization (FP16) and compiler optimization (XLA) further boost decoding speed with negligible accuracy loss, maintaining SOTA performance.
- OOV recall improves substantially across datasets when employing multi-criteria learning (e.g., improvements up to ~9-10 percentage points on several datasets).
- Visualization analyses indicate that middle layers of BERT provide most CWS-relevant information, aligning with linguistic findings on syntactic knowledge.
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.