AMR Parsing with Action-Pointer Transformer

Jiawei Zhou, Tahira Naseem, Ramón Fernandez Astudillo, Radu Florian

Abstract

Abstract Meaning Representation (AMR) parsing is a sentence-to-graph prediction task where target nodes are not explicitly aligned to sentence tokens. While transition-based parsers capture strong inductive biases via alignments, they often suffer from limited expressiveness and long action sequences. We introduce the Action-Pointer Transformer (APT), a transition-based system that combines hard-attention over sentences with a target-side action pointer mechanism. This approach decouples source tokens from node representations and addresses alignment challenges. By modeling transitions and pointers within a single Transformer architecture, APT achieves significant gains (+1.6 points) over existing transition-based parsers. Our model yields a Smatch score of 81.8 on AMR 2.0, rising to 83.4 with silver data and ensemble decoding, without requiring complex graph re-categorization.

Introduction: The Alignment Challenge in AMR

AMR parsing involves translating natural language into a semantic graph representing "who is doing what to whom." Unlike syntactic trees, AMR nodes (concepts) do not always have a 1-to-1 correspondence with words, and edges (relations) can form complex, re-entrant structures.

Historically, the field has been divided between:

  1. Transition-based parsers: These process sentences left-to-right, offering strong local inductive bias but struggling with long-distance dependencies and requiring lengthy action sequences.
  2. Graph-based parsers: These offer global flexibility but often ignore local word-concept alignments, necessitating manual "graph re-categorization" to achieve high performance.

The Action-Pointer Transformer (APT) seeks to bridge this gap, maintaining the intuitive flow of transition-based systems while gaining the flexibility of graph-based models.

Methodology: The Action-Pointer Transition System

The APT system is implemented within a unified Transformer architecture, utilizing several key innovations:

Cursor and Pointer Mechanism

Instead of traditional stacks and buffers, APT uses a cursor that scans the sentence. Basic actions include COPY (generating a node from a word), PRED (creating a specific predicate), and MERGE (handling multi-word entities).

The "pointer" is the system's core innovation. To establish an edge between a new node and an existing one, the model uses a pointer to reference the index of the previous action that created the target node. This replaces the complex sequences of shifts required in earlier transition systems, facilitating the creation of long-distance edges and re-entrancies with minimal overhead.

Incremental Graph Embedding

APT repurposes Transformer self-attention layers for "message passing." As the graph is constructed, the model updates node representations based on their neighbors. This allows the decoder to maintain a structural awareness of the evolving graph during decision-making. Hard-attention masks ensure the parser remains strictly aligned with the cursor's position in the source sentence.

Key Insights: Efficiency and Simplicity

A primary advantage of the APT system is its efficiency. By utilizing pointers, the model generates significantly shorter action sequences than its predecessors.

Table 1: Comparison of transition systems showing that APT requires significantly fewer actions while maintaining high oracle Smatch scores.

On the AMR 2.0 dataset, APT averages only 41.6 actions per sentence, compared to over 73 actions for previous state-of-the-art transition parsers. Shorter sequences reduce the likelihood of compounding errors and "drift" during the parsing process. Furthermore, APT achieves top-tier results on raw graphs, eliminating the need for the complex graph re-categorization steps common in other high-performing pipelines.

Results and Evaluation

APT was evaluated on standard benchmarks including AMR 1.0, 2.0, and 3.0.

Table 2: Smatch scores on AMR 1.0, 2.0, and 3.0 benchmarks. APT (base) achieves competitive results, particularly when enhanced with silver data and ensemble decoding.

The model achieved a 81.8 Smatch score on AMR 2.0 using only gold data, outperforming the previous best transition-based parser by 1.6 points. When augmented with 70K "silver" (machine-annotated) sentences and ensemble decoding, the score reached 83.4, placing it among the top-performing models across all architectures. Fine-grained analysis showed particularly strong performance in identifying re-entrancies and Semantic Role Labeling (SRL).

Conclusion and Future Work

The Action-Pointer Transformer demonstrates that a streamlined transition-based approach, powered by a pointer mechanism and structural attention, can rival or exceed the performance of more complex graph-based models. While the system occasionally produces disconnected graphs, future work integrating APT logic into larger pre-trained encoder-decoder models like BART or T5 holds promise for further narrowing the gap toward perfect semantic parsing.

Summary updated

BibTeX
@inproceedings{zhou2021amr,
  author = {Jiawei Zhou and Tahira Naseem and Ramón Fernandez Astudillo and Radu Florian},
  title = {{AMR Parsing with Action-Pointer Transformer}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-main.443},
}
Figure