Accurate and Scalable Graph Neural Networks via Message Invariance

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Shi, Zhihao, Wang, Jie, Zhuang, Zhiwei, Liang, Xize, Li, Bin, Wu, Feng
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915175557234688
author Shi, Zhihao
Wang, Jie
Zhuang, Zhiwei
Liang, Xize
Li, Bin
Wu, Feng
author_facet Shi, Zhihao
Wang, Jie
Zhuang, Zhiwei
Liang, Xize
Li, Bin
Wu, Feng
contents Message passing-based graph neural networks (GNNs) have achieved great success in many real-world applications. For a sampled mini-batch of target nodes, the message passing process is divided into two parts: message passing between nodes within the batch (MP-IB) and message passing from nodes outside the batch to those within it (MP-OB). However, MP-OB recursively relies on higher-order out-of-batch neighbors, leading to an exponentially growing computational cost with respect to the number of layers. Due to the neighbor explosion, the whole message passing stores most nodes and edges on the GPU such that many GNNs are infeasible to large-scale graphs. To address this challenge, we propose an accurate and fast mini-batch approach for large graph transductive learning, namely topological compensation (TOP), which obtains the outputs of the whole message passing solely through MP-IB, without the costly MP-OB. The major pillar of TOP is a novel concept of message invariance, which defines message-invariant transformations to convert costly MP-OB into fast MP-IB. This ensures that the modified MP-IB has the same output as the whole message passing. Experiments demonstrate that TOP is significantly faster than existing mini-batch methods by order of magnitude on vast graphs (millions of nodes and billions of edges) with limited accuracy degradation.
format Preprint
id arxiv_https___arxiv_org_abs_2502_19693
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Accurate and Scalable Graph Neural Networks via Message Invariance
Shi, Zhihao
Wang, Jie
Zhuang, Zhiwei
Liang, Xize
Li, Bin
Wu, Feng
Machine Learning
Artificial Intelligence
Message passing-based graph neural networks (GNNs) have achieved great success in many real-world applications. For a sampled mini-batch of target nodes, the message passing process is divided into two parts: message passing between nodes within the batch (MP-IB) and message passing from nodes outside the batch to those within it (MP-OB). However, MP-OB recursively relies on higher-order out-of-batch neighbors, leading to an exponentially growing computational cost with respect to the number of layers. Due to the neighbor explosion, the whole message passing stores most nodes and edges on the GPU such that many GNNs are infeasible to large-scale graphs. To address this challenge, we propose an accurate and fast mini-batch approach for large graph transductive learning, namely topological compensation (TOP), which obtains the outputs of the whole message passing solely through MP-IB, without the costly MP-OB. The major pillar of TOP is a novel concept of message invariance, which defines message-invariant transformations to convert costly MP-OB into fast MP-IB. This ensures that the modified MP-IB has the same output as the whole message passing. Experiments demonstrate that TOP is significantly faster than existing mini-batch methods by order of magnitude on vast graphs (millions of nodes and billions of edges) with limited accuracy degradation.
title Accurate and Scalable Graph Neural Networks via Message Invariance
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2502.19693