HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Graph2Seq: Graph to Sequence Learning with Attention-based Neural Networks

Xu Kun ; Wu Lingfei ; Wang Zhiguo ; Feng Yansong ; Witbrock Michael ; Sheinin Vadim

Graph2Seq: Graph to Sequence Learning with Attention-based Neural
  Networks

Abstract

The celebrated Sequence to Sequence learning (Seq2Seq) technique and itsnumerous variants achieve excellent performance on many tasks. However, manymachine learning tasks have inputs naturally represented as graphs; existingSeq2Seq models face a significant challenge in achieving accurate conversionfrom graph form to the appropriate sequence. To address this challenge, weintroduce a novel general end-to-end graph-to-sequence neural encoder-decodermodel that maps an input graph to a sequence of vectors and uses anattention-based LSTM method to decode the target sequence from these vectors.Our method first generates the node and graph embeddings using an improvedgraph-based neural network with a novel aggregation strategy to incorporateedge direction information in the node embeddings. We further introduce anattention mechanism that aligns node embeddings and the decoding sequence tobetter cope with large graphs. Experimental results on bAbI, Shortest Path, andNatural Language Generation tasks demonstrate that our model achievesstate-of-the-art performance and significantly outperforms existing graphneural networks, Seq2Seq, and Tree2Seq models; using the proposedbi-directional node embedding aggregation strategy, the model can convergerapidly to the optimal performance.

Code Repositories

dice-group/NABU
tf
Mentioned in GitHub
IBM/Graph2Seq
Official
tf
Attn-to-FC/Attn-to-FC
tf
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
sql-to-text-on-wikisqlGraph2Seq-PGE
BLEU-4: 38.97

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Graph2Seq: Graph to Sequence Learning with Attention-based Neural Networks | Papers | HyperAI