[Paper Review] A Practical Chinese Dependency Parser Based on A Large-scale Dataset
This paper presents DDParser, a state-of-the-art Chinese dependency parser trained on Baidu Chinese Treebank (DuCTB), a large-scale dataset of ~1 million manually annotated sentences from diverse sources. Built on a graph-based biaffine architecture with BiLSTM encoding and optimized for industrial use, it achieves 92.9% LAS on standard test data and 86.9% on out-of-domain data, with a simple one-command deployment interface.
Dependency parsing is a longstanding natural language processing task, with its outputs crucial to various downstream tasks. Recently, neural network based (NN-based) dependency parsing has achieved significant progress and obtained the state-of-the-art results. As we all know, NN-based approaches require massive amounts of labeled training data, which is very expensive because it requires human annotation by experts. Thus few industrial-oriented dependency parser tools are publicly available. In this report, we present Baidu Dependency Parser (DDParser), a new Chinese dependency parser trained on a large-scale manually labeled dataset called Baidu Chinese Treebank (DuCTB). DuCTB consists of about one million annotated sentences from multiple sources including search logs, Chinese newswire, various forum discourses, and conversation programs. DDParser is extended on the graph-based biaffine parser to accommodate to the characteristics of Chinese dataset. We conduct experiments on two test sets: the standard test set with the same distribution as the training set and the random test set sampled from other sources, and the labeled attachment scores (LAS) of them are 92.9% and 86.9% respectively. DDParser achieves the state-of-the-art results, and is released at https://github.com/baidu/DDParser.
Motivation & Objective
- To develop a practical, high-performance Chinese dependency parser for industrial NLP applications.
- To address the scarcity of large-scale, diverse, and high-quality Chinese dependency parsing datasets.
- To enable robust generalization across diverse sentence types, including informal and irregular expressions from search logs and forums.
- To provide a user-friendly, production-ready tool with minimal setup for researchers and developers.
- To release a state-of-the-art parser with source code and pre-trained model to advance open-source NLP research.
Proposed method
- The parser is based on the graph-based biaffine dependency parsing framework, which jointly predicts head words and dependency relations using biaffine attention mechanisms.
- Word representations are learned via 300-dimensional word embeddings and 50-dimensional character embeddings, with 3-layer BiLSTM networks for contextual encoding.
- Dimension-reducing multilayer perceptrons (MLPs) are applied to BiLSTM outputs before biaffine classification to filter irrelevant information.
- The biaffine classifier computes arc scores via $ S^{arc} = (H^{d-arc} \oplus I)U^{arc}H^{h-arc} $ and relation scores via $ S^{rel} = (H^{d-rel} \oplus I)U^{rel}((H^{h-rel})^T \oplus I)^T $.
- A first-order Eisner algorithm ensures the output is a valid projective dependency tree, with a pre-check for in-order traversal to validate tree structure.
- A novel filtering strategy checks if in-order traversal of the dependency tree yields a sequential word order, ensuring projection tree validity before decoding.
Experimental results
Research questions
- RQ1Can a neural dependency parser trained on a large, diverse, and real-world Chinese corpus achieve state-of-the-art performance on both in-domain and out-of-domain test sets?
- RQ2How does the performance of a biaffine parser with BiLSTM encoding and character-level features compare to existing tools on Chinese dependency parsing benchmarks?
- RQ3To what extent can a parser generalize to syntactically irregular or informal sentences from sources like search logs and forums?
- RQ4Can a high-performance dependency parser be made practical and accessible for industrial use through simplified deployment and open-sourcing?
- RQ5What impact does data diversity—spanning newswire, forums, and search queries—have on parsing robustness and generalization?
Key findings
- DDParser achieves a labeled attachment score (LAS) of 92.9% on the standard test set of the Baidu Chinese Treebank (DuCTB), demonstrating state-of-the-art performance.
- On a random test set drawn from out-of-domain sources, the parser maintains a LAS of 86.9%, indicating strong generalization to unseen sentence types.
- The model outperforms other publicly available parsers on the random test set, with 89.7% UAS and 86.9% LAS, surpassing competing tools in both metrics.
- The parser is highly practical, enabling installation and inference with a single command, making it accessible for industrial and research use.
- The use of a diverse, large-scale dataset (DuCTB) spanning search logs, forums, and newswire significantly improves robustness to syntactic variation.
- The integration of character-level embeddings and BiLSTM encoding enhances performance, particularly on rare or OOV words in informal text.
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.