Introduction
Dependency parsing is a fundamental task in Natural Language Processing (NLP), aimed at identifying the syntactic structure of sentences by mapping grammatical relationships between words. While neural network-based models have significantly advanced the state-of-the-art, their performance is heavily dependent on the availability of large-scale, high-quality training data. For the Chinese language, traditional benchmarks like the Penn Chinese Treebank (CTB5) are relatively small, often limited to formal newswire text. This data scarcity hinders the development of parsers that can generalize to the diverse and often "noisy" language found in real-world applications such as search queries and social media. To address this, Baidu researchers introduced DDParser, a robust dependency parser trained on the newly curated Baidu Chinese Treebank (DuCTB).
Methodology
DDParser is built upon a biaffine neural architecture, optimized for large-scale industrial use. Unlike many traditional parsers that rely on Part-of-Speech (POS) tags—which can introduce error propagation—DDParser utilizes a combination of word embeddings and character-level representations (CharLSTM). Experimental results indicated that CharLSTM features outperformed POS tag embeddings on the DuCTB dataset.
The model architecture consists of a three-layer Bidirectional LSTM (BiLSTM) encoder that captures contextual information for each token. The resulting hidden states are passed to biaffine attention mechanisms to independently predict the dependency "arc" (head-dependent relationship) and the "label" (grammatical role). To ensure the output is a valid tree structure, the parser employs the Eisner algorithm for projective decoding.
The DuCTB Dataset
The primary contribution of this work is the Baidu Chinese Treebank (DuCTB), the largest manually labeled Chinese dependency treebank to date. DuCTB contains nearly one million sentences, representing a massive scale-up from previous datasets. Beyond its size, DuCTB is characterized by its diversity; it includes text from search logs, forum discussions, and conversation programs, capturing irregular linguistic phenomena like ellipsis and inversions.
Experimental Results
DDParser demonstrates state-of-the-art performance across multiple benchmarks. On the standard DuCTB test set, the model achieved a Labeled Attachment Score (LAS) of 92.9%. To evaluate its robustness, the authors conducted an out-of-distribution "random test" using 500 sentences from varied sources, where DDParser maintained a strong LAS of 86.9%, significantly outperforming other publicly available Chinese parsers. Furthermore, the model achieved an 89.1% LAS on the classic CTB5 benchmark, proving its versatility across different annotation styles.
Conclusion
By combining a high-capacity biaffine architecture with a massive, diverse dataset, DDParser provides a practical and robust solution for Chinese dependency parsing. The release of the source code and pre-trained models facilitates the integration of high-quality syntactic analysis into downstream NLP tasks, bridging the gap between academic research and industrial application.
Summary updated