Parsing as Reduction

Daniel Fernández-González, André F. T. Martins

TL;DR

This paper presents a novel reduction of constituent parsing to dependency parsing, enabling the use of readily available dependency parsers for constituent parsing tasks. By introducing "head-ordered dependency trees," the authors demonstrate a way to encode constituent structure within dependency labels, achieving state-of-the-art results, especially for discontinuous parsing.

What Problem Does This Paper Address?

Traditional constituent parsers, while powerful, are often slow due to complex grammar constraints. Dependency parsers, on the other hand, are faster but don't directly produce constituent structures, which are crucial for many downstream NLP applications. The challenge is to bridge this gap and achieve the speed of dependency parsers while retaining the expressiveness of constituent parsing, especially for languages with free word order that exhibit discontinuous constituents.

Methods

The core of this work is the concept of head-ordered dependency trees. These are standard dependency trees augmented with information about the order in which modifiers are attached to their heads. This "order information" is encoded directly into the dependency labels. The authors then show that these head-ordered dependency trees are isomorphic to constituent trees.

The process involves:

  1. Converting a constituent treebank to head-ordered dependency trees: This is done using Algorithm 1, which essentially extracts head-modifier relationships and encodes the attachment order. This step can result in non-projective dependency trees if the original constituent trees were discontinuous.
  2. Training a dependency parser: An off-the-shelf dependency parser (projective or non-projective, depending on the input) is trained on these head-ordered dependency trees.
  3. Converting predicted dependency trees back to constituent trees: Algorithm 2 is used to reconstruct constituent trees from the predicted head-ordered dependency trees.
  4. Recovering unary nodes: A final post-processing step uses independent classifiers to re-introduce unary nodes, which are lost during the dependency conversion.

The authors explore different encoding strategies for the dependency labels, including direct encoding (appending indices like #1, #2) and delta-encoding (differences between indices), finding delta-encoding to be slightly more accurate for continuous treebanks.

Datasets

The experiments were conducted on:

  • English Penn Treebank (PTB): Used for training and evaluating continuous parsing.
  • SPMRL-2014 shared task datasets: Eight morphologically rich languages were used to evaluate performance on a broader range of languages.
  • TIGER and NEGRA German treebanks: These are widely used discontinuous German treebanks, crucial for evaluating the system's performance on discontinuous parsing.

Key Insights and Ideas

  • Constituent parsing as a reduction to dependency parsing: This is the central idea. It leverages the speed and availability of dependency parsers to achieve high-quality constituent parsing.
  • Head-ordered dependency trees as an intermediate representation: This novel representation is key to the isomorphism between constituent and dependency structures. It elegantly captures the hierarchical and ordered nature of constituents.
  • Encoding order in dependency labels is sufficient: The authors show that by carefully encoding attachment order, dependency parsers can implicitly learn constituent structures.
  • Natural handling of discontinuous constituents: When a non-projective dependency parser is used, the framework naturally handles discontinuous constituents, a significant advantage over many existing methods.
  • Simplicity and efficiency: The proposed method is remarkably simple, relying on off-the-shelf components and achieving significant speedups.

Key Results

  • English PTB: The proposed parser achieves an F1 score comparable to the Berkeley parser but is over 5 times faster.
  • SPMRL Datasets: The system outperforms the Berkeley parser on most languages and achieves results superior to the best single system in the SPMRL-2014 shared task for 4 out of 8 languages.
  • Discontinuous German Treebanks (TIGER, NEGRA): The system significantly surpasses the current state-of-the-art, outperforming competitors by more than 3 points on TIGER-H&N and NEGRA, while being orders of magnitude faster.
  • Speed: Parsing speeds are competitive, with the system achieving up to 957 tokens/second on the English PTB and approaching the speed of specialized fast parsers on German datasets.

Limitations and Future Work

  • Unary Node Recovery: While effective, the unary node recovery step uses independent classifiers, which is a separate module. The authors note that this step has a minimal impact on overall accuracy due to the low frequency of unary nodes.
  • Dependency Parser Choice: The performance is dependent on the quality of the underlying dependency parser.
  • Future Work: The authors suggest that plugging in faster dependency parsers will directly yield faster constituent parsers. Orthogonal techniques like semi-supervised training and reranking can also be applied to further boost performance. The framework's flexibility for discontinuous parsing is highlighted as a key advantage for future research.

Summary updated

BibTeX
@inproceedings{fernandezgonzalez2015parsing,
  author = {Daniel Fernández-González and André F. T. Martins},
  title = {{Parsing as Reduction}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.3115/v1/p15-1147},
}
Figure