[Paper Review] Chinese Lexical Analysis with Deep Bi-GRU-CRF Network
The paper presents a deep stacked Bi-GRU-CRF model that jointly performs Chinese word segmentation, POS tagging, and NER, trained on pseudo-annotated and small human-annotated corpora, achieving state-like accuracy and faster inference compared to the prior online system.
Lexical analysis is believed to be a crucial step towards natural language understanding and has been widely studied. Recent years, end-to-end lexical analysis models with recurrent neural networks have gained increasing attention. In this report, we introduce a deep Bi-GRU-CRF network that jointly models word segmentation, part-of-speech tagging and named entity recognition tasks. We trained the model using several massive corpus pre-tagged by our best Chinese lexical analysis tool, together with a small, yet high-quality human annotated corpus. We conducted balanced sampling between different corpora to guarantee the influence of human annotations, and fine-tune the CRF decoding layer regularly during the training progress. As evaluated by linguistic experts, the model achieved a 95.5% accuracy on the test set, roughly 13% relative error reduction over our (previously) best Chinese lexical analysis tool. The model is computationally efficient, achieving the speed of 2.3K characters per second with one thread.
Motivation & Objective
- Motivate a unified end-to-end approach for Chinese lexical analysis to reduce error propagation and integration complexity in pipelines.
- Develop a deep Bi-GRU-CRF model that jointly learns word segmentation, POS tagging, and NER.
- Utilize a large pseudo-annotated corpus plus a small human-annotated corpus to train and regularize the model.
- Evaluate accuracy against linguistic experts and compare to the existing Baidu online system.
- Demonstrate efficiency in terms of speed and memory footprint suitable for deployment.
Proposed method
- Use two stacked Bi-GRU layers to encode character sequences without hand-crafted features.
- Attach a CRF decoding layer to jointly decode the label sequence with IOB2-style tags.
- Train with maximum conditional likelihood on a mixed corpus of pseudo-annotated and human-annotated data; oversample the human-annotated corpus.
- Fine-tune the CRF decoding layer during training with the labeled transitions from the human corpus.
- Impose IOB2-informed hard constraints during decoding to enforce valid tag sequences.
Experimental results
Research questions
- RQ1Can a deep Bi-GRU-CRF model jointly perform Chinese word segmentation, POS tagging, and NER with competitive accuracy?
- RQ2How does the joint model compare to the previous Baidu online system in accuracy and efficiency?
- RQ3Does incorporating a small human-annotated corpus improve decoding transitions and overall performance?
- RQ4Is the model memory-efficient and fast enough for real-time or near-real-time processing at scale.
Key findings
- The Bi-GRU-CRF model achieves 95.5% accuracy on the test set, outperforming the previous online system by about 0.7%.
- On NER, the model achieves Precision 0.903, Recall 0.854, and F1-Score 0.878, close to or better than the online system across metrics.
- The end-to-end model processes 2.3K characters per second with memory usage under 100 MB.
- Compared to the online system, the Bi-GRU-CRF is 57% faster in processing speed on the given benchmark.
- Training uses a large pseudo-annotated corpus plus a small human-annotated corpus to regularize learning and improve transition probabilities.
- The approach yields a compact, single-model solution that reduces the need for complex multi-model integration.
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.