Transition-based Dependency DAG Parsing Using Dynamic Oracles

Alper Tokgöz, Gülsen EryigitStudent Research Workshop @ ACL 2015

Abstract

Traditional dependency parsing often restricts syntactic structures to trees, where each word has exactly one parent. This paper introduces a transition-based parser capable of producing Directed Acyclic Graphs (DAGs), allowing for multi-head dependencies. By implementing the first dynamic oracle for multi-head dependency parsing, the research demonstrates that allowing a model to learn from its own erroneous states during training significantly improves accuracy, particularly in morphologically rich languages like Turkish.

The Need for DAG Structures

In standard dependency parsing, the syntactic structure of a sentence is represented as a tree. While this is computationally efficient, it often fails to capture the "deep" semantic and syntactic dependencies present in natural language. In many instances, a single word may serve multiple roles relative to different heads.

Dependency DAG for the Turkish sentence 'Umut fell while running', showing multiple heads for the subject.

As illustrated in the figure above, the Turkish sentence "Umut fell as he was running" requires a DAG representation. Here, the word "Umut" acts as the subject for both the verb "koşar" (runs) and "düştü" (fell). A tree-based parser would be forced to choose only one parent, losing critical information. Moving to DAGs allows the parser to capture nuances like anaphora and relative clauses more effectively.

Methodology: Transition Systems and Dynamic Oracles

The authors extend the transition-based parsing framework—which typically uses a stack and buffer to process tokens—to handle multiple parents per token. They compare two primary algorithms: a basic shift-reduce DAG parser and a modified Multi-Head Arc-Eager algorithm.

The Dynamic Oracle Innovation

Most transition-based parsers rely on static oracles during training. A static oracle acts as a rigid teacher, providing only the single "gold" path. If the parser deviates from this path during testing, it enters an unfamiliar state and often fails to recover, leading to a cascade of errors.

The core innovation of this work is the dynamic oracle. Instead of a single path, the dynamic oracle identifies a set of "zero-cost" transitions for any given configuration. If the parser makes a mistake, the oracle calculates the optimal path forward from that specific erroneous state. This allows the model to learn how to minimize the loss (the number of unreachable gold-standard edges) even after a mistake has occurred.

Experimental Setup

The system was evaluated using the ITU-METU-Sabancı Turkish Treebank (IMST). Turkish is an ideal test case due to its complex morphology and frequent multi-head dependencies. The researchers employed ten-fold cross-validation and utilized a perceptron-based online training procedure. To maintain graph integrity, they applied pseudo-projective transformations and cycle-reversal techniques to ensure the resulting graphs remained acyclic.

Performance Evaluation

The study compared three distinct configurations: Static-Standard, Static-Eager, and Dynamic-Eager.

Comparison of parsing performance across static and dynamic oracle configurations.

The results indicate that the Dynamic-Eager approach outperforms both static versions across all metrics. The most significant gain was observed in Recall, which improved by nearly 4 points over the static eager baseline. This suggests that the dynamic oracle is particularly effective at helping the parser identify a higher percentage of the correct dependencies by making the model more robust to the noise encountered during real-world inference.

Conclusion and Future Directions

This research demonstrates that breaking the "one-head-per-word" constraint is both linguistically necessary and computationally feasible. The application of dynamic oracles to DAG parsing provides a robust framework for handling complex linguistic structures.

Future work will focus on enhancing the feature set with more granular morphological data and exploring more advanced classifiers, such as Support Vector Machines or neural architectures. Additionally, the authors intend to validate the language-agnostic nature of this framework by testing it on other multi-head datasets, such as the Danish dependency treebank.

Summary updated

BibTeX
@inproceedings{tokgoz2015transition,
  author = {Alper Tokgöz and Gülsen Eryigit},
  title = {{Transition-based Dependency DAG Parsing Using Dynamic Oracles}},
  booktitle = {Student Research Workshop @ ACL},
  year = {2015},
  doi = {10.3115/v1/p15-3004},
}
Figure