paper-with-me

Papers

Accelerating SpMM Kernel with Cache-First Edge Sampling for Graph Neural Networks

2021-04-21 · Chien-Yu Lin, Liang Luo, Luis Ceze

Graph neural networks (GNNs), an emerging deep learning model class, can extract meaningful representations from highly expressive graph-structured data and are therefore gaining popularity for wider ranges of applications. However, current GNNs suffer from the poor performance of their sparse-dense matrix multiplication (SpMM) operator, even when using powerful GPUs. Our analysis shows that 95% of the inference time could be spent on SpMM when running popular GNN models on NVIDIA's advanced V100 GPU. Such SpMM performance bottleneck hinders GNNs' applicability to large-scale problems or the development of more sophisticated GNN models. To address this inference time bottleneck, we introduce ES-SpMM, a cache-first edge sampling mechanism and codesigned SpMM kernel. ES-SpMM uses edge sampling to downsize the graph to fit into GPU's shared memory. It thus reduces the computation cost and improves SpMM's cache locality. To evaluate ES-SpMM's performance, we integrated it with a popular GNN framework, DGL, and tested it using representative GNN models and datasets. Our results show that ES-SpMM outperforms the highly optimized cuSPARSE SpMM kernel by up to 4.35x with no accuracy loss and by 45.3x with less than a 1% accuracy loss.

📄 PDF Abstract BibTeX arXiv:2104.10716

Code (0)

등록된 구현이 없습니다.

Tasks

GPU

Similar Papers 제목 키워드 기반

AutoSAGE: Input-Aware CUDA Scheduling for Sparse GNN Aggregation (SpMM/SDDMM) and CSR Attention

2025-11-17 · Aleksandar Stankovic arxiv

Sparse GNN aggregations (CSR SpMM/SDDMM) vary widely in performance with degree skew, feature width, and GPU micro-architecture. We present AutoSAGE, an input-aware CUDA scheduler that chooses tiling and mapping per inpu…

Distributed-Memory Sparse Kernels for Machine Learning

2022-03-15 · Vivek Bharadwaj, Aydın Buluç, James Demmel

Sampled Dense Times Dense Matrix Multiplication (SDDMM) and Sparse Times Dense Matrix Multiplication (SpMM) appear in diverse settings, such as collaborative filtering, document clustering, and graph embedding. Frequentl…

BIG-bench Machine LearningCollaborative FilteringGraph Embedding

On Efficient Scaling of GNNs via IO-Aware Layers Implementations

2026-05-29 · Daria Fomina, Daniil Krasylnikov, Alexey Boykov, Andrey Dolgovyazov 외 arxiv

Graph Neural Networks (GNNs) are bottlenecked by sparse, irregular memory access. Popular frameworks such as DGL and PyTorch Geometric support general message passing, but complex layers often materialize edge-wise inter…

iSpLib: A Library for Accelerating Graph Neural Networks using Auto-tuned Sparse Operations

2024-03-21 · Md Saidul Hoque Anik, Pranav Badhe, Rohit Gampa, Ariful Azad

Core computations in Graph Neural Network (GNN) training and inference are often mapped to sparse matrix operations such as sparse-dense matrix multiplication (SpMM). These sparse operations are harder to optimize by man…

CPUGraph Neural Network

Performance Optimization of Deep Learning Sparse Matrix Kernels on Intel Max Series GPU

2023-11-01 · Mohammad Zubair, Christoph Bauinger

In this paper, we focus on three sparse matrix operations that are relevant for machine learning applications, namely, the sparse-dense matrix multiplication (SPMM), the sampled dense-dense matrix multiplication (SDDMM),…

GPU