基于基数保持的图神经网络注意力机制改进
Improving Attention Mechanism in Graph Neural Networks via Cardinality Preservation
摘要:
图神经网络(GNN)在学习图结构数据的表示方面非常强大。大多数GNN使用消息传递方案,其中节点的嵌入通过聚合其邻居的信息来迭代更新。为了更好地表达节点的影响力,注意力机制已经变得流行,以向聚合中的节点分配可训练的权重。虽然基于注意力的GNN在各种任务中取得了显着的成果,但人们对其辨别能力缺乏清晰的认识。在这项工作中,我们提出了一个理论分析的GNN,采用注意力机制作为聚合器的代表性的属性。我们的分析确定了那些基于注意力的GNN总是无法区分某些不同结构的所有情况。这些情况的出现是由于忽视了基于注意力的聚合中的基数信息。为了提高基于注意力的GNNs的性能,我们提出了基数保持注意力(CPA)模型,可以应用于任何类型的注意力机制。我们对节点和图分类的实验证实了我们的理论分析,并显示了我们的CPA模型的竞争力。
英文摘要:
Graph Neural Networks (GNNs) are powerful to learn the representation of graph-structured data. Most of the GNNs use the message-passing scheme, where the embedding of a node is iteratively updated by aggregating the information of its neighbors. To achieve a better expressive capability of node influences, attention mechanism has grown to be popular to assign trainable weights to the nodes in aggregation. Though the attention-based GNNs have achieved remarkable results in various tasks, a clear understanding of their discriminative capacities is missing. In this work, we present a theoretical analysis of the representational properties of the GNN that adopts the attention mechanism as an aggregator. Our analysis determines all cases when those attention-based GNNs can always fail to distinguish certain distinct structures. Those cases appear due to the ignorance of cardinality information in attention-based aggregation. To improve the performance of attention-based GNNs, we propose cardinality preserved attention (CPA) models that can be applied to any kind of attention mechanisms. Our experiments on node and graph classification confirm our theoretical analysis and show the competitive performance of our CPA models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。