arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.00101cs.LGcs.NE
收藏

尺度图神经网络中基于位置的哈希嵌入

Position-based Hash Embeddings For Scaling Graph Neural Networks

University of Minnesota(明尼苏达大学)

Maria Kalantzi, George Karypis

摘要:

图神经网络(GNN)为图和关系数据带来了深度表示学习的能力,并在许多应用中实现了最先进的性能。GNN通过考虑节点的自我网络的拓扑结构和自我网络的节点的特征来计算节点表示。当节点没有高质量的特征时,GNN学习嵌入层来计算节点嵌入并将其用作输入特征。然而,嵌入层的大小与图中节点数量和嵌入维数的乘积呈线性关系,并且不能扩展到具有数亿节点的大数据和图。为了减少与此嵌入层相关的内存,可以使用通常用于NLP和推荐系统等应用程序的基于散列的方法。然而,这些想法的直接应用未能利用这样一个事实,即在许多现实世界的图中,拓扑上接近的节点往往彼此相关(同伦),因此它们的表示将是相似的。在这项工作中,我们提出了利用节点在图中的位置来显着减少所需内存的方法,并且所产生的GNN模型的质量下降最小。我们的方法将节点的嵌入分解为两个组件:特定于位置的组件和特定于节点的组件。特定于位置的组件对同质性进行建模,特定于节点的组件对节点到节点的变化进行建模。使用不同数据集和GNN模型进行的大量实验表明,我们的方法能够将内存需求减少88%至97%,同时在几乎所有情况下都比其他竞争方法(包括完全嵌入)具有更好的分类准确性。

英文摘要:

Graph Neural Networks (GNNs) bring the power of deep representation learning to graph and relational data and achieve state-of-the-art performance in many applications. GNNs compute node representations by taking into account the topology of the node's ego-network and the features of the ego-network's nodes. When the nodes do not have high-quality features, GNNs learn an embedding layer to compute node embeddings and use them as input features. However, the size of the embedding layer is linear to the product of the number of nodes in the graph and the dimensionality of the embedding and does not scale to big data and graphs with hundreds of millions of nodes. To reduce the memory associated with this embedding layer, hashing-based approaches, commonly used in applications like NLP and recommender systems, can potentially be used. However, a direct application of these ideas fails to exploit the fact that in many real-world graphs, nodes that are topologically close will tend to be related to each other (homophily) and as such their representations will be similar. In this work, we present approaches that take advantage of the nodes' position in the graph to dramatically reduce the memory required, with minimal if any degradation in the quality of the resulting GNN model. Our approaches decompose a node's embedding into two components: a position-specific component and a node-specific component. The position-specific component models homophily and the node-specific component models the node-to-node variation. Extensive experiments using different datasets and GNN models show that our methods are able to reduce the memory requirements by 88% to 97% while achieving, in nearly all cases, better classification accuracy than other competing approaches, including the full embeddings.

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

↑