Universal Dependency Parsing with a General Transition-Based DAG Parser

Daniel Hershcovich, Omri Abend, Ari Rappoport

Abstract

Universal Dependencies (UD) have emerged as a standard for cross-linguistic syntactic representation. However, most existing parsers treat UD as a simple tree structure, neglecting the "enhanced" dependencies that capture complex linguistic phenomena like shared arguments and relative clauses. This paper introduces a supervised approach to learning these enhanced dependencies by adapting TUPA, a general transition-based Directed Acyclic Graph (DAG) parser. By transforming UD structures into a unified DAG format, the authors demonstrate that enhanced dependencies can be learned directly from data without relying on language-specific rules.

The Challenge of Enhanced Dependencies

Standard dependency parsing typically produces a tree where each word has exactly one head. While computationally efficient, this model fails to represent the full semantic complexity of human language. Enhanced dependencies address this by allowing for reentrancy (one child with multiple parents), discontinuity, and elided predicates.

Example of enhanced dependencies in a coordinated structure.

Consider the sentence: "He went straight to work and finished the job..." In a basic tree, "He" is the subject of "went." However, semantically, "He" is also the subject of "finished." These extra links, represented as dashed lines in the figure above, are crucial for downstream tasks like semantic role labeling but are often ignored by tree-based parsers. Historically, these were recovered using hand-written rules; this work explores whether they can be learned through a general-purpose DAG parser.

Methodology: Adapting TUPA for UD

The researchers utilized TUPA (Transition-based UCCA Parser), originally designed for the UCCA semantic annotation scheme. Because UCCA is naturally graph-based, TUPA is well-suited for the DAG structures found in enhanced UD.

Comparison of UCCA, UD, and the unified DAG format used for parsing.

To bridge the gap between UD and TUPA, the authors developed a bidirectional conversion protocol:

  1. Unified DAG Format: UD trees were transformed into a UCCA-like format. This involved adding "pre-terminal" nodes for tokens and "non-terminal" nodes to represent heads. Enhanced dependencies were integrated as "remote edges."
  2. Transition-Based Parsing: The parser builds the graph incrementally using a stack and buffer. It employs specific transitions such as SHIFT, REDUCE, and NODE_X. To handle the reentrant edges required for enhanced dependencies, the parser includes LEFT-REMOTE and RIGHT-REMOTE transitions.
  3. Neural Architecture: A BiLSTM creates vector representations of tokens, which are then processed by a Multi-Layer Perceptron (MLP) to predict the next transition. Features include fastText embeddings, POS tags, lemmas, and named entity information.

Experiments and Results

The model was evaluated on the CoNLL 2018 UD Shared Task datasets, focusing on treebanks with enhanced annotations like English EWT, Polish LFG, and Dutch Alpino.

  • Enhanced Dependency Performance: TUPA excelled at identifying complex edges, achieving an enhanced LAS-F1 of 54.58 on English EWT and 56.55 on Polish LFG. This demonstrates the viability of a supervised, representation-agnostic approach to graph parsing.
  • Overall Accuracy: The system (named "HUJI") achieved an average LAS-F1 of 58.48 after post-competition bug fixes. While this trails specialized tree parsers like UDPipe (65.80) on standard metrics, it provides a more complete linguistic representation.
  • Ablation Insights: Interestingly, the model relied heavily on structural features and POS tags; removing pre-trained word embeddings actually resulted in a slight performance increase on the English EWT test set.

Conclusion and Future Work

This work proves that enhanced dependencies can be learned in a supervised manner using a general DAG parser. By treating UD parsing as a graph problem rather than a tree problem, the TUPA-based system captures linguistic nuances that standard models miss.

Future research will focus on integrating elided predicates (null nodes) into the DAG format, which are currently stripped during conversion. Additionally, the authors plan to explore multitask learning, leveraging TUPA’s ability to parse multiple semantic and syntactic schemes simultaneously to improve overall robustness.

Summary updated

BibTeX
@inproceedings{hershcovich2018universal,
  author = {Daniel Hershcovich and Omri Abend and Ari Rappoport},
  title = {{Universal Dependency Parsing with a General Transition-Based DAG Parser}},
  booktitle = {CoNLL Shared Task},
  year = {2018},
  doi = {10.18653/v1/k18-2010},
}
Figure