NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Efficient GCNs Accelerator Using 3D-Stacked Processing-in-Memory Architectures

Runze Wang, Ao Hu, Long Zheng, Qinggang Wang, Jingrui Yuan, Haifeng Liu, Linchen Yu, Xiaofei Liao, Hai Jin

Abstract

Graph Convolutional Networks (GCNs) are powerful tools for relational data analysis but are severely bottlenecked by irregular memory access patterns during the sparse aggregation phase. This paper introduces GCNim, a 3D-stacked Processing-in-Memory (PIM) accelerator that addresses these inefficiencies through a novel hybrid computation model and unified bank-level processing elements. By transforming irregular memory reads into streamlined data transmissions and eliminating hardware idle time, GCNim achieves massive speedups and energy savings compared to state-of-the-art CPUs, GPUs, and specialized accelerators.

The GCN Bottleneck: Aggregation vs. Combination

A standard GCN layer consists of two primary phases: Aggregation and Combination. The combination phase involves standard dense matrix multiplication to transform node features. In contrast, the aggregation phase requires gathering feature vectors from a node's neighbors based on the graph's sparse adjacency matrix.

The two phases of a GCN layer: (a) Input Graph, (b) Aggregation of neighbor features, and (c) Combination via neural network layers.

In traditional architectures, the aggregation phase is highly inefficient. Because graphs are sparse, fetching neighbor data results in random, scattered memory accesses that stall CPUs and GPUs. While existing PIM solutions increase bandwidth, they often use separate hardware engines for each phase, leading to workload imbalances and high latency for remote memory accesses.

GCNim: A Hybrid PIM Architecture

GCNim solves these bottlenecks by integrating compute logic directly into 3D-stacked memory chips and introducing three major architectural innovations:

1. Hybrid Computation Model

Instead of a one-size-fits-all approach, GCNim applies different matrix multiplication strategies optimized for each phase. It utilizes a row-wise product for the dense combination phase and an outer product for the sparse aggregation phase.

GCNim's hybrid computation model: (a) Row-wise product for combination and (b) Outer product for aggregation.

2. Remote Merging (Push vs. Pull)

Traditionally, processors "pull" data from remote memory banks, causing significant stalls. By using the outer product, GCNim generates partial feature vectors locally and "pushes" them to the destination memory banks. This data-driven transmission hides communication latency behind ongoing computation.

3. Unified Processing Elements (PEs)

Rather than using separate engines for aggregation and combination, GCNim employs unified PEs at every DRAM bank. These PEs can seamlessly alternate between phases, ensuring maximum hardware utilization regardless of whether a dataset is aggregation-heavy (like Reddit) or combination-heavy (like Nell).

Key Results and Performance

GCNim was evaluated against high-end hardware and specialized accelerators across various datasets (Cora, CiteSeer, PubMed, NELL, and Reddit). The performance gains are substantial:

  • Speedup: GCNim achieved an average speedup of 3,736x over a high-end CPU and 76.5x over an NVIDIA V100 GPU. It also outperformed specialized PIM accelerators like GCIM by 5.58x.
  • Energy Efficiency: The architecture consumes approximately 8,292x less energy than the CPU baseline and 81x less than the GPU.
  • Practicality: The custom logic added to the DRAM layers is minimal, occupying only 7.58% of the bank area, making it a viable design for 3D-stacked memory constraints.

Conclusion and Future Directions

GCNim demonstrates that a unified, data-driven PIM architecture can effectively overcome the irregular memory access challenges inherent in GCNs. While the current design relies on static preprocessing for load balancing, future work could extend this architecture to support dynamic graphs and the more complex requirements of GCN training.

Summary updated

BibTeX
@article{wang2024efficient,
  author = {Runze Wang and Ao Hu and Long Zheng and Qinggang Wang and Jingrui Yuan and Haifeng Liu and Linchen Yu and Xiaofei Liao and Hai Jin},
  title = {{An Efficient GCNs Accelerator Using 3D-Stacked Processing-in-Memory Architectures}},
  journal = {IEEE Trans. Comput. Aided Des. Integr. Circuits Syst.},
  year = {2024},
  doi = {10.1109/tcad.2023.3341753},
}
Figure