arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.02850cs.LGcs.AIstat.ML
收藏

图神经网络中注意力的理解与泛化

Understanding Attention and Generalization in Graph Neural Networks

University of Guelph(圭尔夫大学);Vector Institute(向量研究所);SRI International(斯坦福国际研究院)

Boris Knyazev, Graham W. Taylor, Mohamed R. Amer

摘要:

我们的目标是更好地理解图神经网络(GNNs)中节点的注意力,并确定影响其有效性的因素。我们特别关注注意力GNN推广到更大,更复杂或噪声图的能力。受图同构网络工作的启发,我们设计了简单的图推理任务,使我们能够在受控环境中研究注意力。我们发现,在典型的条件下,注意力的影响是可以忽略不计的,甚至是有害的,但在某些条件下,它提供了一个特殊的性能增益超过60%,在我们的一些分类任务。在实践中满足这些条件是具有挑战性的,往往需要最佳的初始化或监督训练的注意力。我们提出了一个替代的配方和训练注意力在弱监督的方式,接近监督模型的性能,并与无监督模型相比,提高了几个合成以及真实数据集的结果。源代码和数据集可在https://github.com/bknyaz/graph_attention_pool上获得。

英文摘要:

We aim to better understand attention over nodes in graph neural networks (GNNs) and identify factors influencing its effectiveness. We particularly focus on the ability of attention GNNs to generalize to larger, more complex or noisy graphs. Motivated by insights from the work on Graph Isomorphism Networks, we design simple graph reasoning tasks that allow us to study attention in a controlled environment. We find that under typical conditions the effect of attention is negligible or even harmful, but under certain conditions it provides an exceptional gain in performance of more than 60% in some of our classification tasks. Satisfying these conditions in practice is challenging and often requires optimal initialization or supervised training of attention. We propose an alternative recipe and train attention in a weakly-supervised fashion that approaches the performance of supervised models, and, compared to unsupervised models, improves results on several synthetic as well as real datasets. Source code and datasets are available at https://github.com/bknyaz/graph_attention_pool.

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

↑