LGNNIC: Acceleration of Large-Scale GNN Training using SmartNICs

TL;DR

LGNNIC accelerates large-scale GNN training using SmartNICs, achieving up to 62.4x speedup with neighbor sampling.

cs.DC 🔴 Advanced 2026-08-08 9 views
Liad Gerstman Aditya Dhakal Dejan Milojicic Avi Mendelson
GNN SmartNIC distributed systems data compression network optimization

Key Findings

Methodology

LGNNIC leverages SmartNICs for neighbor sampling and quantization at remote memory nodes, reducing data transfer. Evaluated with optimized DMA synchronization and high-overhead Socket benchmark on NVIDIA BlueField-2 SmartNIC and A100 GPU.

Key Results

  • Neighbor Sampling achieved up to 62.4x speedup with Sockets and 17.5x with DOCA-DMA, primarily due to reduced data transaction time.
  • Quantization provided additional speedups of up to 3.6x with Sockets and 1.3x with DOCA-DMA.
  • Both Neighbor Sampling and Quantization on the remote node demonstrated substantial training speedups in most configurations.

Significance

This research significantly enhances training speed by reducing network bottlenecks in distributed GNN training, crucial for handling large datasets like MAG240 and WikiKG90Mv2, which are impractical on single-node systems.

Technical Contribution

LGNNIC introduces neighbor sampling and quantization on SmartNICs, reducing data transfer and alleviating network congestion. It offers new engineering possibilities and theoretical guarantees compared to existing methods.

Novelty

LGNNIC is the first to implement neighbor sampling and quantization on SmartNICs, significantly reducing data transfer. This innovation shifts data processing to the network edge, unlike traditional methods.

Limitations

  • Preprocessing on low-performance devices may lead to computational bottlenecks.
  • The system relies on specific hardware configurations, limiting general applicability.
  • Quantization may affect model accuracy.

Future Work

Future research could explore multi-node scalability and cross-partition sampling optimization to further enhance system performance.

AI Executive Summary

Graph Neural Networks (GNNs) face storage and computation bottlenecks when handling large-scale graph data, especially on single-node systems. LGNNIC proposes an innovative distributed system architecture leveraging existing SmartNICs in modern systems to reduce communication overhead in GNN training.

The system offloads key preprocessing tasks such as neighbor sampling and quantization to remote memory nodes, reducing the data volume transferred to computational nodes. Experimental results show that LGNNIC significantly accelerates training across standard GNN workloads and sampling hyperparameters, achieving up to 62.4x speedup with Sockets and 17.5x with DOCA-DMA.

By conducting a proof-of-concept on NVIDIA BlueField-2 SmartNIC and A100 GPU, the study demonstrates substantial training speedups in most configurations. Although preprocessing on low-performance devices may pose computational challenges, the system offers new engineering possibilities and theoretical guarantees for large-scale GNN algorithms.

Deep Analysis

Background

Graph Neural Networks (GNNs) have been widely applied in fields like natural sciences, social network analysis, chip design, and recommendation systems. As graph sizes grow, traditional single-node CPU-GPU systems struggle to handle such large datasets. Distributed graph storage emerges as a potential solution but introduces network congestion issues.

Core Problem

The core problem in GNN training is the exponential growth of computational graphs as graph size increases, leading to surging computation and storage demands. Handling large datasets like MAG240 and WikiKG90Mv2 on single-node systems is impractical due to limited high-bandwidth memory capacity.

Innovation

LGNNIC's core innovation lies in utilizing SmartNICs for neighbor sampling and quantization at remote memory nodes, reducing data transfer. Unlike traditional methods, this innovation shifts data processing to the network edge, significantly alleviating network bottlenecks.

Methodology

  • �� Perform neighbor sampling on SmartNICs to reduce data volume.
  • �� Quantize feature tensors from FP32 to FP16.
  • �� Implement low-overhead data transfer using DOCA-DMA.
  • �� Conduct proof-of-concept on NVIDIA BlueField-2 SmartNIC and A100 GPU.

Experiments

Experiments used Reddit, OGBN-Products, and OGBN-MAG datasets, evaluated with Socket and DOCA-DMA communication mechanisms. Performance improvements were verified by comparing different sampling hyperparameters and quantization strategies.

Results

Results showed that neighbor sampling achieved up to 62.4x speedup with Sockets and 17.5x with DOCA-DMA. Quantization provided additional speedups of up to 3.6x with Sockets and 1.3x with DOCA-DMA.

Applications

LGNNIC is applicable in scenarios requiring large-scale graph data processing, such as social network analysis and recommendation systems. By reducing communication overhead, it significantly enhances the efficiency of distributed GNN training.

Limitations & Outlook

The system relies on specific hardware configurations, limiting general applicability. Quantization may affect model accuracy. Preprocessing on low-performance devices may lead to computational bottlenecks.

Plain Language Accessible to non-experts

Imagine you're preparing a large meal in a kitchen. You need ingredients from different pantries, but you can only carry a little at a time, making it time-consuming. LGNNIC acts like a smart assistant, organizing and compressing the needed ingredients into small packages beforehand, allowing you to grab everything you need at once, saving time and effort.

ELI14 Explained like you're 14

Imagine playing a massive online game with a huge map that takes forever to load. LGNNIC is like a super helper that preloads parts of the map and simplifies unnecessary details, so you can jump into the game faster and enjoy a smoother experience! Isn't that cool?

Glossary

Graph Neural Network

A type of neural network designed to process graph-structured data by aggregating information from nodes and their neighbors.

Used for tasks like node classification, graph classification, and link prediction.

SmartNIC

A network interface card with computing capabilities, allowing data processing during transmission.

Used for executing neighbor sampling and quantization at remote memory nodes.

Neighbor Sampling

A method to reduce computation in GNN training by sampling neighbors of each layer to limit the size of the computational graph.

Used in LGNNIC to reduce data transfer volume.

Quantization

A technique to reduce data precision to lower storage and computation needs, often used to accelerate neural network inference.

Used in LGNNIC to reduce data transfer volume.

DOCA-DMA

An API for efficient data transfer, supporting DMA transfers between host and DPU buffers over PCIe.

Used in LGNNIC for low-overhead data transfer.

Open Questions Unanswered questions from this research

  • 1 How to optimize cross-partition sampling in multi-node environments?
  • 2 What is the impact of quantization on accuracy across different datasets?
  • 3 How to generalize this system without compromising performance?

Applications

Immediate Applications

Social Network Analysis

Enhances efficiency in analyzing large-scale social network graphs by reducing data transfer volume.

Long-term Vision

Recommendation System Optimization

Applied in large-scale recommendation systems to improve real-time recommendation efficiency and accuracy.

Abstract

Graph Neural Networks (GNNs) are widely used across domains such as natural sciences, social network analysis, chip design, and recommendation systems. However, as graph sizes grow, storing and processing them entirely on a single-node CPU-GPU system becomes increasingly impractical. A promising approach is to distribute the graph across multiple remote memory nodes, though this introduces a major bottleneck: inter-node network congestion during training. To address this, we propose LGNNIC, a novel inter-node system architecture that leverages SmartNICs co-located with remote memory nodes-a configuration already available in modern systems-to reduce communication overhead in distributed GNN training. LGNNIC offloads key preprocessing tasks to SmartNICs, reducing the volume of data transferred to computational (training) nodes and alleviating network congestion. We introduce two complementary techniques executed on the SmartNICs during the preprocessing phase: Neighbor Sampling, which performs mini-batch sampling, and Quantization of the sampled batches. To evaluate LGNNIC under different communication infrastructures, we designed both an optimized low-overhead DMA-based synchronization mechanism and a high-overhead socket-based alternative used as a benchmark. We evaluate the core SmartNIC offloading mechanisms across standard GNN workloads and sampling hyperparameters using a proof-of-concept (PoC) system comprising one remote-memory node with an NVIDIA BlueField-2 SmartNIC and one compute node with an A100 GPU. Both Neighbor Sampling and Quantization on the remote node demonstrated substantial training speedups in most configurations. Neighbor Sampling achieved up to 62.4x and 17.5x speedups with Sockets and DOCA-DMA, respectively, primarily due to reduced data transaction time. Quantization provided additional speedups of up to 3.6x and 1.3x, respectively, by reducing data transfer.

cs.DC cs.AI cs.AR cs.LG cs.PF