Parsing as Reduction

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

Introduction

Natural Language Processing (NLP) traditionally distinguishes between two primary methods of structural analysis: constituent parsing and dependency parsing. Constituent parsing organizes words into nested hierarchies, such as noun phrases or verb phrases, providing rich information at the cost of high computational complexity. Conversely, dependency parsing focuses on word-to-word relationships, offering significant speed advantages but lacking explicit phrase boundaries. This paper presents a novel reduction method that bridges these two paradigms, enabling the use of fast dependency parsers to generate complex constituent structures.

The Challenge of Discontinuity

A significant hurdle in parsing is handling "discontinuous" constituent structures, where a single phrase is interrupted by other words. This phenomenon is particularly prevalent in languages with flexible word order, such as German. Traditional constituent parsers often struggle with the "crossing branches" required to represent these structures, leading to slow processing times.

A discontinuous constituent tree for a German sentence, illustrating crossing branches.

The authors address this by transforming the problem into a non-projective dependency parsing task. Because non-projective parsers are designed to handle crossing dependencies, they are naturally suited for representing discontinuous phrases without the need for specialized, computationally expensive grammars.

Methodology: Reduction to Dependency Parsing

The core contribution of this work is the mathematical proof that constituent trees and "head-ordered dependency trees" are isomorphic. This means they can be mapped one-to-one without information loss. The proposed workflow involves three key steps:

  1. Conversion and Encoding: Constituent trees are converted into dependency trees using standard head rules. To preserve the original hierarchy, an "order" index is added to dependency labels (e.g., NP#1). To maintain a manageable label set, the authors employ "delta-encoding," which stores the relative difference in attachment order between modifiers.
  2. Parsing: The system utilizes TurboParser, an off-the-shelf non-projective dependency parser, to process the encoded trees.
  3. Recovery: Post-parsing, the output is converted back into a constituent tree. A fast classifier is then used to restore "unary nodes" (e.g., S -> VP), which are typically omitted during the dependency conversion process.
A head-ordered dependency tree showing attachment order indices in the labels.

Experimental Setup and Results

The approach was evaluated across multiple languages and datasets, including the English Penn Treebank (PTB), the German TIGER and NEGRA treebanks, and eight languages from the SPMRL-2014 shared task.

Performance Highlights

  • State-of-the-Art in German: The system achieved a significant breakthrough on the TIGER and NEGRA datasets, outperforming previous benchmarks by over 3 F1 points.
  • Exceptional Speed: The parser processed the entire NEGRA test set in just 27.1 seconds on a single core—approximately 618 tokens per second. This represents a massive speedup over traditional discontinuous parsers.
  • Competitive English Results: On the PTB, the system performed comparably to the Berkeley parser while operating more than five times faster.

Conclusion

By reducing constituent parsing to a dependency parsing task, the authors have developed a framework that combines the structural richness of phrase structures with the efficiency of dependency-based systems. The use of head-ordered dependency trees and delta-encoding proves highly effective, particularly for challenging discontinuous structures in morphologically rich languages. Future work may involve incorporating semi-supervised learning or reranking techniques to further enhance accuracy.

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