Position-Sensing Graph Neural Networks: Proactively Learning Nodes Relative Positions

Yiqun Zhang, Zhenyue Qin, Saeed Anwar, Dongwoo Kim*, Yang Liu, Pan Ji, Tom Gedeon*

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Most existing graph neural networks (GNNs) learn node embeddings using the framework of message passing and aggregation. Such GNNs are incapable of learning relative positions between graph nodes within a graph. To empower GNNs with the awareness of node positions, some nodes are set as anchors. Then, using the distances from a node to the anchors, GNNs can infer relative positions between nodes. However, position-aware GNNs (P-GNNs) arbitrarily select anchors, leading to compromising position awareness and feature extraction. To eliminate this compromise, we demonstrate that selecting evenly distributed and asymmetric anchors is essential. On the other hand, we show that choosing anchors that can aggregate embeddings of all the nodes within a graph is NP-complete. Therefore, devising efficient optimal algorithms in a deterministic approach is practically not feasible. To ensure position awareness and bypass NP-completeness, we propose position-sensing GNNs (PSGNNs), learning how to choose anchors in a backpropagatable fashion. Experiments verify the effectiveness of PSGNNs against state-of-the-art GNNs, substantially improving performance on various synthetic and real-world graph datasets while enjoying stable scalability. Specifically, PSGNNs on average boost area under the curve (AUC) more than 14% for pairwise node classification and 18% for link prediction over the existing state-of-the-art position-aware methods. Our source code is publicly available at: https://github.com/ZhenyueQin/PSGNN.

Original languageEnglish
Pages (from-to)5787-5794
Number of pages8
JournalIEEE Transactions on Neural Networks and Learning Systems
Volume36
Issue number3
Early online date26 Mar 2024
DOIs
Publication statusPublished - Mar 2025

Fingerprint

Dive into the research topics of 'Position-Sensing Graph Neural Networks: Proactively Learning Nodes Relative Positions'. Together they form a unique fingerprint.

Cite this