Skip to main content
QUICK REVIEW

[Paper Review] Graph Transformer for Graph-to-Sequence Learning

Deng Cai, Wai Lam|arXiv (Cornell University)|Nov 18, 2019
Topic ModelingComputer Science44 references37 citations
TL;DR

The paper introduces Graph Transformer, a graph-to-sequence model that uses explicit relation encoding and global attention to enable direct long-range communication between nodes, achieving state-of-the-art BLEU/chrF++ on AMR-to-text and syntax-based MT tasks.

ABSTRACT

The dominant graph-to-sequence transduction models employ graph neural networks for graph representation learning, where the structural information is reflected by the receptive field of neurons. Unlike graph neural networks that restrict the information exchange between immediate neighborhood, we propose a new model, known as Graph Transformer, that uses explicit relation encoding and allows direct communication between two distant nodes. It provides a more efficient way for global graph structure modeling. Experiments on the applications of text generation from Abstract Meaning Representation (AMR) and syntax-based neural machine translation show the superiority of our proposed model. Specifically, our model achieves 27.4 BLEU on LDC2015E86 and 29.7 BLEU on LDC2017T10 for AMR-to-text generation, outperforming the state-of-the-art results by up to 2.2 points. On the syntax-based translation tasks, our model establishes new single-model state-of-the-art BLEU scores, 21.3 for English-to-German and 14.1 for English-to-Czech, improving over the existing best results, including ensembles, by over 1 BLEU.

Motivation & Objective

  • Motivate graph-to-sequence learning beyond local neighborhood propagation.
  • Propose Graph Transformer with explicit relation encoding for global, distance-agnostic communication between nodes.
  • Demonstrate superior performance on AMR-to-text generation and syntax-based neural machine translation.
  • Analyze how graph size, diameter, and reentrancies affect performance and attention behavior.

Proposed method

  • Extend multi-head attention with relation-enhanced global attention to model pairwise node relationships via shortest-path relation encodings.
  • Represent relations between any two nodes using shortest-path sequences encoded by bidirectional GRUs.
  • Add reverse edges and a global node to preserve bidirectional communication and obtain a graph-level representation.
  • Initialize the decoder with a global graph representation and use multi-head attention for encoder-decoder interactions plus a copy mechanism.
  • Incorporate a copy mechanism to handle dates, numbers, and named entities during generation.
  • Use a character-level CNN and standard word-level embeddings for nodes and tokens; optimize with Adam; beam search during decoding.

Experimental results

Research questions

  • RQ1Can a Graph Transformer with explicit relation encoding capture global dependencies in graphs more effectively than GNNs for graph-to-sequence tasks?
  • RQ2Does modeling shortest-path based relations between node pairs improve AMR-to-text generation and syntax-based MT performance?
  • RQ3How do graph size, diameter, and reentrancies impact performance and attention behavior?
  • RQ4Does the model outperform state-of-the-art neural methods on AMR-to-text and syntax-based MT without ensembling?
  • RQ5Is a global graph representation sufficient to initialize the decoder for effective sequence generation?

Key findings

  • Achieves new state-of-the-art BLEU scores on AMR-to-text generation: 27.4 BLEU (LDC2015E86) and 29.8 BLEU (LDC2017T10).
  • Outperforms prior neural and GNN-based methods on AMR-to-text by up to 2.2 BLEU points and surpasses non-neural baselines in some cases.
  • On syntax-based MT, achieves 21.3 BLEU (EN→DE) and 14.1 BLEU (EN→CS) with single-model results, surpassing prior single-model and ensemble results.
  • chrF++ and Meteor metrics also show improvements over previous methods across AMR-to-text and MT tasks.
  • Attention analysis indicates many heads attend over long distances, with increasing long-range attention in deeper layers, contributing to robust performance on large and complex graphs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.