A Transition-Based Directed Acyclic Graph Parser for UCCA

Daniel Hershcovich, Omri Abend, Ari Rappoport

Introduction: The Challenge of UCCA Parsing

Universal Conceptual Cognitive Annotation (UCCA) is a semantic representation framework designed to be cross-linguistically applicable by abstracting away from language-specific syntactic quirks. Unlike traditional syntactic or shallow semantic parsing, UCCA aims to capture deeper semantic relationships. However, its formal structure presents significant challenges for standard parsers.

UCCA requires handling three complex structural properties simultaneously:

  1. Reentrancy: An entity can play multiple roles, transforming a simple tree into a Directed Acyclic Graph (DAG).
  2. Discontinuity: Semantic units may be separated by other words (e.g., phrasal verbs like "gave... up").
  3. Non-terminal nodes: Complex semantic units are represented by nodes that do not correspond to a single word.
UCCA structures illustrating reentrancy (a), discontinuity (b), and non-terminal nodes (c).

Prior to the introduction of TUPA (Transition-based UCCA Parser), researchers often had to simplify UCCA data into trees or bilexical graphs, losing critical semantic nuances.

Methods: The TUPA Architecture

TUPA is a transition-based parser that processes sentences from left to right, maintaining a stack of active nodes and a buffer of words. Its primary innovation lies in its specialized transition set, designed to navigate the unique topological requirements of UCCA. While standard shift-reduce parsers rely on moves like SHIFT and REDUCE, TUPA introduces several UCCA-specific transitions:

  • NODE_X: Creates a new non-terminal node, allowing the parser to represent complex semantic units.
  • LEFT-EDGE_X and RIGHT-EDGE_X: Create primary links between nodes.
  • LEFT-REMOTE_X and RIGHT-REMOTE_X: These are the "secret sauce" for handling DAG structures. They enable the creation of "remote" edges, allowing a node to have multiple parents—the mechanism for representing reentrancy.
  • SWAP: This transition allows the parser to reorder elements, which is essential for handling discontinuous semantic units.

The decision-making engine of the parser is a transition classifier. The authors evaluated three variants: a linear classifier with hand-crafted features (TUPA_Sparse), a feedforward neural network (TUPA_MLP), and a deep learning model using Bidirectional LSTMs (TUPA_BiLSTM). The BiLSTM model proved significantly superior, as its ability to capture global context from both preceding and succeeding words is vital for making correct transition decisions in complex graphs.

The TUPA BiLSTM-based transition classifier architecture, showing the integration of parser state and token embeddings.

Datasets and Evaluation

TUPA was evaluated on two English UCCA corpora: the Wiki dataset (Wikipedia articles) and the 20K Leagues dataset (a translation of Twenty Thousand Leagues Under the Sea). To ensure a fair comparison with existing parsers like MaltParser or TurboParser, the authors developed a conversion procedure to map UCCA's complex graphs into simpler formats compatible with those tools.

Key Insights and Results

The experimental results highlight TUPA's effectiveness across different structural categories. On the Wiki dataset, TUPA achieved a 73.5% F1-score for primary edges, surpassing the best modified LSTM baseline (69.9%). Its performance on remote edges was even more notable; while traditional parsers typically failed to predict these edges entirely (0% F1), TUPA achieved a breakthrough 49.4% F1-score.

Several key insights emerged from the study:

  • BiLSTMs are Essential: The massive jump in performance from Sparse/MLP models to the BiLSTM version underscores the importance of deep, context-aware representations in semantic parsing.
  • The "Ratio" Feature: To prevent the parser from over-generating or under-generating semantic units, the authors introduced a feature representing the ratio of terminals to nodes currently in the graph. This served as an effective regularizer.
  • Generalizability: TUPA's ability to handle general DAG structures suggests it could be adapted for other semantic formats, such as Abstract Meaning Representation (AMR). Furthermore, its robust performance on the out-of-domain 20K Leagues dataset demonstrates that its learned patterns generalize well beyond its training data.

Limitations and Future Work

Despite its success, TUPA has areas for improvement. Remote edge prediction, while a breakthrough, remains significantly lower than primary edge prediction. Future work will focus on improving these "hidden" links, extending the parser to other languages (as UCCA is cross-linguistic), and handling "implicit units"—semantic components not tied to specific words in the text.

Summary updated

BibTeX
@inproceedings{hershcovich2017transition,
  author = {Daniel Hershcovich and Omri Abend and Ari Rappoport},
  title = {{A Transition-Based Directed Acyclic Graph Parser for UCCA}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2017},
  doi = {10.18653/v1/p17-1104},
}
Figure