Transition-based Semantic Dependency Parsing with Pointer Networks

Daniel Fernández-González, Carlos Gómez-RodríguezACL 2020

Abstract

Semantic Dependency Parsing (SDP) aims to recover predicate-argument structures as directed acyclic graphs (DAGs). While graph-based models offer high accuracy, they often suffer from high computational complexity. This paper introduces a highly efficient transition-based parser that utilizes Pointer Networks to produce DAGs. By simplifying the transition system to just two actions—Attach and Shift—the proposed model achieves state-of-the-art accuracy, matching complex graph-based models while maintaining a superior $O(n^2)$ time complexity.

1. Introduction

Semantic Dependency Parsing (SDP) is a critical task in natural language processing that involves identifying semantic relationships between words in a sentence. Unlike traditional syntactic dependency parsing, which produces tree structures, SDP results in Directed Acyclic Graphs (DAGs) because a single word can have multiple heads or none at all. For example, in the sentence "John wants to eat," "John" serves as the subject for both "wants" and "eat."

Semantic dependency graphs for the same sentence across three formalisms: DM, PAS, and PSD.

Historically, the field has been divided between graph-based models, which are accurate but computationally expensive ($O(n^3)$), and transition-based models, which are efficient but often less accurate due to error propagation. This paper addresses the challenge of creating a transition-based system that is flexible enough for DAGs without sacrificing accuracy.

2. Methodology

The core contribution is a Multi-head Transition System powered by Pointer Networks.

2.1 The Transition System

The system simplifies parsing into two primary actions using a "focus word" pointer ($i$):

  • Attach-p: Creates a semantic link from word $p$ to the current focus word $w_i$. The ability to point to multiple words before shifting allows the model to naturally handle multiple heads.
  • Shift: Moves the focus to the next word ($w_{i+1}$) once all heads for the current word have been identified.

2.2 Architecture

The architecture consists of an encoder-decoder framework:

  • Encoder: A BiLSTM-CNN architecture creates vector representations of words, augmented with BERT embeddings for deep contextual information.
  • Decoder: An LSTM generates a "query" at each step to interact with the pointer layer.
  • Pointer Layer: Uses biaffine attention to calculate the probability of pointing to any word in the sentence.
  • Label Predictor: A separate biaffine classifier determines the specific semantic roles (e.g., "agent," "patient") for each created edge.
The proposed transition-based parser architecture using an encoder-decoder framework with a Pointer Layer.

3. Evaluation and Results

The model was tested on the SemEval 2015 Task 18 datasets, covering three semantic formalisms: DM (DELPH-IN MRS-derived), PAS (Enju Predicate-Argument Structures), and PSD (Prague Semantic Dependencies).

3.1 Key Results

  • State-of-the-Art Performance: The system achieved a macro-average F1 score of 90.7, matching top-tier graph-based parsers while outperforming previous transition-based models.
  • PSD Excellence: The model set a new state-of-the-art record for the PSD formalism, likely due to PSD's more "tree-oriented" nature.
  • Efficiency: Despite a theoretical complexity of $O(n^2)$, empirical results show the parser scales almost linearly, providing a significant efficiency gain over $O(n^3)$ graph-based methods.

4. Discussion and Future Work

By utilizing Pointer Networks to simplify transition actions, the authors demonstrate that transition-based models can match the accuracy of graph-based counterparts while remaining highly efficient. The integration of BERT embeddings proved crucial for capturing nuanced semantic roles, especially in out-of-domain data.

While the model requires a cycle-checking algorithm to ensure valid DAG outputs, its simplicity mitigates traditional error propagation. Future work will explore multi-task learning across formalisms and incorporating additional contextual embeddings to further push the boundaries of semantic parsing.

Summary updated

BibTeX
@inproceedings{fernandezgonzalez2020transition,
  author = {Daniel Fernández-González and Carlos Gómez-Rodríguez},
  title = {{Transition-based Semantic Dependency Parsing with Pointer Networks}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.629},
}
Figure