Graph Neural Networks (GNNs) have been widely used in various domains, and GNNs with sophisticated computational graph lead to higher latency and larger memory consumption. Optimizing the GNN computational graph suffers from: (1) Redundant neural operator computation. The same data are propagated through the graph structure to perform the same neural operation multiple times in GNNs, leading to redundant computation which accounts for 92.4% of total operators. (2) Inconsistent thread mapping. Efficient thread mapping schemes for vertex-centric and edge-centric operators are different. This inconsistency prohibits operator fusion to reduce memory IO. (3) Excessive intermediate data. For GNN training which is usually performed concurrently with inference, intermediate data must be stored for the backward pass, consuming 91.9% of the total memory requirement. To tackle these challenges, we propose following designs to optimize the GNN computational graph from a novel coordinated computation, IO, and memory perspective: (1) Propagation-postponed operator reorganization. We reorganize operators to perform neural operations before the propagation, thus the redundant computation is eliminated. (2) Unified thread mapping for fusion. We propose a unified thread mapping scheme for both vertex- and edge-centric operators to enable fusion and reduce IO. (3) Intermediate data recomputation. Intermediate data are recomputed during the backward pass to reduce the total memory consumption. Extensive experimental results on three typical GNN models show that, we achieve up to 2.75x end-to-end speedup, 6.89x less memory IO, and 7.73x less memory consumption over state-of-the-art frameworks.
Designing the Topology of Graph Neural Networks: A Novel Feature Fusion Perspective
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Paradigm. Inc.(第四范式有限公司);Lenovo(联想)
Graph Learning Should Move Beyond Restrictive Views of Spectral and Message-Passing GNNs
RWTH Aachen University(亚琛工业大学);Massachusetts Institute of Technology(麻省理工学院);École Polytechnique Fédérale de Lausanne(洛桑联邦理工学院);Stanford University(斯坦福大学);University of California San Diego(加州大学圣地亚哥分校);Univ. de Montréal(蒙特利尔大学);Mila(Mila人工智能研究所);Technion – Israel Institute of Technology(技术学院–以色列理工学院)
Large Language Models Meet Graph Neural Networks: A Perspective of Graph Mining
School of Computer Science and Engineering(计算机科学与工程学院);University of Electronic Science and Technology of China(电子科技大学);th Research Institute of CETC(中国电子科技集团公司第五十四研究所)
On the Computational Capability of Graph Neural Networks: A Circuit Complexity Bound Perspective
The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);The Simons Institute for the Theory of Computing at UC Berkeley(加州大学伯克利分校西蒙斯理论计算研究所);UC Berkeley(加州大学伯克利分校)
LLM Enhancers for GNNs: An Analysis from the Perspective of Causal Mechanism Identification
Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);National Key Laboratory of Space Integrated Information System(空间信息集成系统国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Tsinghua University(清华大学)
Understanding Oversmoothing in Diffusion-Based GNNs From the Perspective of Operator Semigroup Theory
The School of Data Science, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院);The Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);School of Mathematical Sciences, University of Chinese Academy of Sciences(中国科学院大学数学科学学院)
Exploring and Improving Initialization for Deep Graph Neural Networks: A Signal Propagation Perspective
The Chinese University of Hong Kong, Shenzhen, China(香港中文大学(深圳));Shenzhen Research Institute of Big Data(深圳大数据研究院);Shenzhen International Center for Industrial and Applied Mathematics(深圳国际工业与应用数学中心)
A Geometric Perspective on the Difficulties of Learning GNN-based SAT Solvers
Department of Computing Sciences, Bocconi University, Milan, Italy(计算机科学系,博科尼大学,米兰,意大利);Bocconi Institute for Data Science and Analytics (BIDSA)(博科尼数据科学与分析研究所)
Making Classic GNNs Strong Baselines Across Varying Homophily: A Smoothness-Generalization Perspective
Zhejiang Key Laboratory of Accessible Perception and Intelligent Systems, Zhejiang University(浙江可及感知与智能系统重点实验室,浙江大学);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);School of Software Technology, Zhejiang University(浙江大学软件学院);China University of Mining and Technology(中国矿业大学);Department of Computer Science, New York University Shanghai(纽约大学上海分校计算机科学系)
Feature Distribution on Graph Topology Mediates the Effect of Graph Convolution: Homophily Perspective
Kim Jaechul Graduate School of Artificial Intelligence, KAIST(KAIST金在哲人工智能研究生院);School of Electrical Engineering, KAIST(KAIST电气工程学院);Michigan State University(密歇根州立大学)
Survey on Graph Neural Network Acceleration: An Algorithmic Perspective
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Tsinghua University(清华大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Monash University(莫纳什大学);University of California, Santa Barbara(加州大学圣巴巴拉分校)
Topology Attack and Defense for Graph Neural Networks: An Optimization Perspective
Northeastern University(东北大学);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室);IBM Research(IBM研究院);Massachusetts Institute of Technology(麻省理工学院);University of Minnesota(明尼苏达大学)
Rethinking Causal Relationships Learning in Graph Neural Networks
Science and Technology on Integrated Information System Laboratory, Institute of Software Chinese Academy of Sciences(中国科学院软件研究所综合信息系统技术国家级重点实验室);University of Chinese Academy of Sciences(中国科学院大学);State Key Laboratory of Intelligent Game(智能博弈国家重点实验室);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系)
Enabling Homogeneous GNNs to Handle Heterogeneous Graphs via Relation Embedding
School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);School of Artificial Intelligence, Hebei University of Technology(河北工业大学人工智能学院)
Nanchang University(南昌大学);Illinois Institute of Technology(伊利诺伊理工大学);Milwaukee School of Engineering(密尔沃基工程学院);The Pennsylvania State University(宾夕法尼亚州立大学)