MetaNMP: Leveraging Cartesian-Like Product to Accelerate HGNNs with Near-Memory Processing
Open Access
- 17 June 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-13
Abstract
Heterogeneous graph neural networks (HGNNs) based on metapath exhibit powerful capturing of rich structural and semantic information in the heterogeneous graph. HGNNs are highly memory-bound and thus can be accelerated by near-memory processing. However, they also suffer from significant memory footprint (due to storing metapath instances as intermediate data) and severe redundant computation (when vertex features are aggregated among metapath instances). To address these issues, this paper proposes MetaNMP, the first DIMM-based near-memory processing HGNNs accelerator with reduced memory footprint and high performance. Specifically, we first propose a cartesian-like product paradigm to generate all metapath instances on the fly for heterogeneous graphs. In this way, metapath instances no longer need to be stored as intermediate data, avoiding significant memory consumption. We then design a data flow for aggregating vertex features on metapath instances, which aggregates vertex features along the direction of the metapath instances dispersed from the starting vertex to exploit shareable aggregation computations, eliminating most of the redundant computations. Finally, we integrate specialized hardware units in DIMM to accelerate HGNNs with near-memory processing, and introduce a broadcast mechanism for edge data and vertex features to mitigate the inter-DIMM communication. Our evaluation shows that MetaNMP achieves the memory space reduction of 51.9% on average and the performance improvement by 415.18× compared to NVIDIA Tesla V100 GPU.Keywords
Funding Information
- National Key Research and Development Program of China (2022YFB4501403)
- National Natural Science Foundation of China (61832006, 61825202, 61929103)
- HUAWEI Technologies Co., LTD (YBN2021035018)
This publication has 9 references indexed in Scilit:
- Accelerating Graph Convolutional Networks Through a PIM-Accelerated ApproachIEEE Transactions on Computers, 2023
- A Flexible Yet Efficient DNN Pruning Approach for Crossbar-Based Processing-in-Memory ArchitecturesIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2022
- ReaDy: A ReRAM-Based Processing-in-Memory Accelerator for Dynamic Graph Convolutional NetworksIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2022
- Characterizing and Understanding HGNNs on GPUsIEEE Computer Architecture Letters, 2022
- MAGNN: Metapath Aggregated Graph Neural Network for Heterogeneous Graph Embedding2020
- Cross-Platform Identification of Anonymous Identical Users in Multiple Social Media NetworksIEEE Transactions on Knowledge and Data Engineering, 2015
- Ramulator: A Fast and Extensible DRAM SimulatorIEEE Computer Architecture Letters, 2015
- ZSimACM SIGARCH Computer Architecture News, 2013
- RooflineCommunications of the ACM, 2009