AMR Alignment: Paying Attention to Cross-Attention

06/15/2022
by   Pere-Lluís Huguet Cabot, et al.
0

With the surge of Transformer models, many have investigated how attention acts on the learned representations. However, attention is still overlooked for specific tasks, such as Semantic Parsing. A popular approach to the formal representation of a sentence's meaning is Abstract Meaning Representation (AMR). Until now, the alignment between a sentence and its AMR representation has been explored in different ways, such as through rules or via the Expectation Maximization (EM) algorithm. In this paper, we investigate the ability of Transformer-based parsing models to yield effective alignments without ad-hoc strategies. We present the first in-depth exploration of cross-attention for AMR by proxy of alignment between the sentence spans and the semantic units in the graph. We show how current Transformer-based parsers implicitly encode the alignment information in the cross-attention weights and how to leverage it to extract such alignment. Furthermore, we supervise and guide cross-attention using alignment, dropping the need for English- and AMR-specific rules.

READ FULL TEXT
research
06/23/2023

Incorporating Graph Information in Transformer-based AMR Parsing

Abstract Meaning Representation (AMR) is a Semantic Parsing formalism th...
research
11/02/2020

ÚFAL at MRP 2020: Permutation-invariant Semantic Parsing in PERIN

We present PERIN, a novel permutation-invariant approach to sentence-to-...
research
10/23/2020

A Differentiable Relaxation of Graph Segmentation and Alignment for AMR Parsing

Abstract Meaning Representations (AMR) are a broad-coverage semantic for...
research
10/26/2018

Integrating Transformer and Paraphrase Rules for Sentence Simplification

Sentence simplification aims to reduce the complexity of a sentence whil...
research
04/29/2021

AMR Parsing with Action-Pointer Transformer

Abstract Meaning Representation parsing is a sentence-to-graph predictio...
research
06/07/2016

Supervised Syntax-based Alignment between English Sentences and Abstract Meaning Representation Graphs

As alignment links are not given between English sentences and Abstract ...
research
03/05/2021

Parsing Indonesian Sentence into Abstract Meaning Representation using Machine Learning Approach

Abstract Meaning Representation (AMR) provides many information of a sen...

Please sign up or login with your details

Forgot password? Click here to reset