A Re-ranking Model for Dependency Parser with Recursive Convolutional Neural Network

Chenxi Zhu, Xipeng Qiu, Xinchi Chen, Xuanjing Huang

Introduction

Dependency parsing is a fundamental task in natural language processing (NLP) that involves identifying grammatical relationships between words in a sentence, specifically linking "heads" to their "dependents." Traditional approaches relied heavily on hand-crafted, discrete binary features, which often suffered from data sparseness and overfitting. While the advent of Recursive Neural Networks (RNNs) introduced dense vector representations, these models were primarily designed for constituent parsing with binary trees. Dependency trees, however, are $k$-ary, meaning a head word can have an arbitrary number of children. This structural mismatch has historically limited the direct application of recursive architectures to dependency parsing.

Methodology: The Recursive Convolutional Neural Network (RCNN)

To address the limitations of standard recursive networks, this research introduces the Recursive Convolutional Neural Network (RCNN). The core of this architecture is the RCNN unit, which processes dependency subtrees recursively from the leaves to the root.

The RCNN unit architecture, highlighting the integration of word and distance embeddings followed by convolution and max pooling.

The RCNN unit operates through several key stages:

  1. Distributed Representations: Words are represented as dense embeddings. To capture spatial context, the model incorporates Distance Embeddings, which represent the relative distance between a child word and its head in the sentence.
  2. Convolutional Layer: For each head-child pair, a convolution operation captures the specific syntactic interaction (e.g., the relationship between a verb and its direct object).
  3. Max Pooling: This layer is critical for handling $k$-ary structures. By applying max pooling over the feature maps generated by the convolution, the model extracts the most salient signals into a fixed-length vector, regardless of the number of children a node possesses.
Application of RCNN units to a dependency tree for the sentence "I eat sashimi with chopsticks," demonstrating the recursive bottom-up processing.

The model is utilized within a discriminative re-ranking framework. Rather than constructing a tree from scratch, a base parser generates a $k$-best list of candidate trees, and the RCNN re-ranks these candidates to select the most linguistically plausible structure.

Experimental Results

The RCNN model was evaluated on the Penn Treebank (PTB) for English and the Penn Chinese Treebank (CTB5) for Chinese. Word embeddings were initialized using word2vec on Wikipedia corpora.

Performance on English (PTB)

The RCNN re-ranker achieved an Unlabeled Attachment Score (UAS) of 93.83%, representing a +1.48% improvement over the base parser. The model showed particular strength in resolving complex syntactic structures, such as coordinating conjunctions (CC) and prepositional phrase (PP) attachments.

Performance on Chinese (CTB5)

On the CTB5 benchmark, the model reached a UAS of 85.71%, outperforming both traditional feature-based methods and previous distributed representation approaches.

Discussion and Conclusion

The success of the RCNN stems from its ability to be both structure-agnostic regarding the number of dependents (via pooling) and structure-aware regarding the importance of specific modifiers. The inclusion of distance embeddings proved vital, allowing the model to differentiate between local and long-range dependencies. Furthermore, the model exhibits syntactic sensitivity by using specific composition matrices based on the Part-of-Speech (POS) tags of the head and child.

Despite these gains, the model is constrained by the "Oracle" gap; it can only select the best tree if it exists within the $k$-best list provided by the base parser. Future work aims to integrate the RCNN architecture directly into the decoding process to circumvent the limitations of re-ranking and potentially achieve even higher accuracy.

Summary updated

BibTeX
@inproceedings{zhu2015re,
  author = {Chenxi Zhu and Xipeng Qiu and Xinchi Chen and Xuanjing Huang},
  title = {{A Re-ranking Model for Dependency Parser with Recursive Convolutional Neural Network}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.3115/v1/p15-1112},
}
Figure