arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.00823cs.AIcs.CLcs.LGstat.ML
收藏

Graph2Seq:基于注意力的神经网络图到序列学习

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

IBM Research(IBM研究院);Peking University(北京大学)

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

摘要:

著名的序列到序列学习(Seq 2Seq)技术及其众多变体在许多任务上都具有出色的性能。然而,许多机器学习任务的输入自然表示为图形;现有的Seq 2Seq模型在实现从图形形式到适当序列的准确转换方面面临着重大挑战。为了解决这一挑战,我们引入了一种新的通用端到端图到序列神经编码器-解码器模型,该模型将输入图映射到一系列向量,并使用基于注意力的LSTM方法从这些向量中解码目标序列。我们的方法首先使用改进的基于图的神经网络与一种新的聚合策略,将边缘方向信息的节点嵌入生成的节点和图形嵌入。我们进一步引入了一个注意力机制,对齐节点嵌入和解码序列,以更好地应对大型图。在bAbI、最短路径和自然语言生成任务上的实验结果表明,该模型具有最先进的性能,并显著优于现有的图神经网络、Seq 2Seq和Tree 2Seq模型;使用所提出的双向节点嵌入聚合策略,该模型可以快速收敛到最优性能。

英文摘要:

The celebrated Sequence to Sequence learning (Seq2Seq) technique and its numerous variants achieve excellent performance on many tasks. However, many machine learning tasks have inputs naturally represented as graphs; existing Seq2Seq models face a significant challenge in achieving accurate conversion from graph form to the appropriate sequence. To address this challenge, we introduce a novel general end-to-end graph-to-sequence neural encoder-decoder model that maps an input graph to a sequence of vectors and uses an attention-based LSTM method to decode the target sequence from these vectors. Our method first generates the node and graph embeddings using an improved graph-based neural network with a novel aggregation strategy to incorporate edge direction information in the node embeddings. We further introduce an attention mechanism that aligns node embeddings and the decoding sequence to better cope with large graphs. Experimental results on bAbI, Shortest Path, and Natural Language Generation tasks demonstrate that our model achieves state-of-the-art performance and significantly outperforms existing graph neural networks, Seq2Seq, and Tree2Seq models; using the proposed bi-directional node embedding aggregation strategy, the model can converge rapidly to the optimal performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑