AMR Parsing using Stack-LSTMs

Miguel Ballesteros, Yaser Al-Onaizan

Abstract

We present a transition-based AMR parser that directly generates AMR parses from plain text. We use Stack-LSTMs to represent our parser state and make decisions greedily. In our experiments, we show that our parser achieves very competitive scores on English using only AMR training data. Adding additional information, such as POS tags and dependency trees, improves the results further.

Introduction

Abstract Meaning Representation (AMR) is a semantic formalism that captures the core meaning of a sentence—the "who is doing what to whom"—in a rooted, directed graph. Unlike traditional syntactic parsing, AMR requires the simultaneous resolution of several complex sub-tasks, including Named Entity Recognition (NER), Word Sense Disambiguation (WSD), and Semantic Role Labeling.

Historically, AMR systems have relied on brittle pipelines where errors in early stages, like NER, cascade through the system. This paper proposes an integrated, transition-based model that generates semantic graphs directly from text, simplifying the architecture while maintaining high performance.

Methodology

The Transition System

The authors adapt the transition-based framework to handle the complexities of AMR graphs. The parser maintains a Stack for active nodes and a Buffer for incoming words. A set of specialized actions allows the model to build the graph incrementally.

The transition system defines how actions like SHIFT, CONFIRM, and SWAP manipulate the stack and buffer to build the AMR graph.

Key actions include:

  • Standard Actions: SHIFT and REDUCE for stack management.
  • Semantic Actions: CONFIRM (assigning word senses) and ENTITY (labeling named entities).
  • Graph Actions: LA (Left-Arc) and RA (Right-Arc) to create edges, and DEPENDENT to add nodes for features like negative polarity.
  • The SWAP Action: This is critical for AMR as it allows the parser to reorder nodes, enabling the creation of non-projective arcs and reentrancies (where a node has multiple parents).

Stack-LSTM Architecture

To make greedy decisions at each step, the model employs Stack-LSTMs. These specialized RNNs maintain continuous vector representations of the Stack, the Buffer, and the history of actions. The input combines character-based Bi-LSTMs to capture morphology and pre-trained word embeddings for broad semantic context.

Experimental Setup

The model was evaluated on the LDC2014T12 benchmark. To generate training sequences, the authors used the JAMR aligner to map gold AMR graphs back to sentence tokens. The primary evaluation metric is the Smatch F1 score, which measures graph overlap.

Results and Discussion

Comparison of the Stack-LSTM parser against previous state-of-the-art systems and ablation studies.

The parser achieved highly competitive results, particularly given its relative simplicity compared to pipeline-based predecessors. A version of the model using only plain text (via character embeddings) reached a 0.68 F1 score on Newswire data. Incorporating external Part-of-Speech (POS) tags and dependency trees further boosted performance to 0.69 F1.

Key Insights

  • Morphology Matters: Ablation studies showed that character-based representations provide a 2-point F1 boost, proving essential for handling out-of-vocabulary words and complex morphology.
  • Integrated Processing: By including CONFIRM and ENTITY actions, the parser performs WSD and NER as part of the unified parsing process, avoiding the pitfalls of multi-stage pipelines.
  • Graph Generation: The SWAP action successfully bridges the gap between sequence-to-tree algorithms and the graph-based requirements of AMR.

Conclusion and Future Work

While the Stack-LSTM parser is efficient and competitive, it remains limited by the quality of the initial alignments provided by the JAMR aligner. Future improvements may include implementing beam search to move beyond greedy decision-making and exploring methods to mitigate the impact of data scarcity in AMR corpora.

Summary updated

BibTeX
@inproceedings{ballesteros2017amr,
  author = {Miguel Ballesteros and Yaser Al-Onaizan},
  title = {{AMR Parsing using Stack-LSTMs}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  url = {https://openreview.net/forum?id=r1ESizfO-H},
}
Figure