arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.20912cs.LG
收藏

图定向图中的良好位置编码是什么?

What Are Good Positional Encodings for Directed Graphs?

Georgia Institute of Technology(佐治亚理工学院)

Yinan Huang, Haoyu Wang, Pan Li

AI总结:

本文提出多q磁拉普拉斯位置编码,用于表征定向图的行走特征,解决了现有方法在表示行走特征上的不足,并在排序网络可满足性和通用电路基准上验证了其有效性。

摘要:

位置编码(PEs)对于构建强大且表达力强的图神经网络和图变换器至关重要,因为它们能有效捕捉节点之间的相对空间关系。尽管已广泛研究无向图的PEs,但定向图的PEs仍相对未被探索。本文旨在填补这一空白。我们首先引入了行走特征的概念,这是定向图中走计数序列的推广。行走特征涵盖了对定向图相关应用至关重要的多种结构特征,如程序分析和电路性能预测。我们识别了现有PE方法在表示行走特征上的局限性,并提出了一种新的多q磁拉普拉斯PE,通过引入多个潜在因素扩展了基于磁拉普拉斯特征向量的PE。新的PE可以证明性地表达行走特征。此外,我们将先前的基底不变神经网络推广,以在复杂域中稳定使用新的PE。我们的数值实验验证了所提出PEs的表达力,并展示了其在解决排序网络可满足性和通用电路基准上的有效性。我们的代码可在https://github.com/Graph-COM/Multi-q-Maglap获取。

英文摘要:

Positional encodings (PEs) are essential for building powerful and expressive graph neural networks and graph transformers, as they effectively capture the relative spatial relationships between nodes. Although extensive research has been devoted to PEs in undirected graphs, PEs for directed graphs remain relatively unexplored. This work seeks to address this gap. We first introduce the notion of Walk Profile, a generalization of walk-counting sequences for directed graphs. A walk profile encompasses numerous structural features crucial for directed graph-relevant applications, such as program analysis and circuit performance prediction. We identify the limitations of existing PE methods in representing walk profiles and propose a novel Multi-q Magnetic Laplacian PE, which extends the Magnetic Laplacian eigenvector-based PE by incorporating multiple potential factors. The new PE can provably express walk profiles. Furthermore, we generalize prior basis-invariant neural networks to enable the stable use of the new PE in the complex domain. Our numerical experiments validate the expressiveness of the proposed PEs and demonstrate their effectiveness in solving sorting network satisfiability and performing well on general circuit benchmarks. Our code is available at https://github.com/Graph-COM/Multi-q-Maglap.

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

↑