Skip to main content
QUICK REVIEW

[Paper Review] Fast Sparse Matrix-Vector Multiplication on GPUs: Implications for Graph Mining

Xintian Yang, Srinivasan Parthasarathy|arXiv (Cornell University)|Mar 12, 2011
Graph Theory and AlgorithmsComputer Science10 references16 citations
TL;DR

This paper proposes a self-tuning, non-parametric sparse matrix representation for GPUs that optimizes sparse matrix-vector multiplication (SpMV) on power-law graphs. By combining a novel tiling strategy with adaptive data layout, the method achieves significant speedups—up to 3.5x—over state-of-the-art GPU SpMV implementations, particularly accelerating graph mining workloads like PageRank, HITS, and Random Walk with Restart.

ABSTRACT

Scaling up the sparse matrix-vector multiplication kernel on modern Graphics Processing Units (GPU) has been at the heart of numerous studies in both academia and industry. In this article we present a novel non-parametric, self-tunable, approach to data representation for computing this kernel, particularly targeting sparse matrices representing power-law graphs. Using real data, we show how our representation scheme, coupled with a novel tiling algorithm, can yield significant benefits over the current state of the art GPU efforts on a number of core data mining algorithms such as PageRank, HITS and Random Walk with Restart.

Motivation & Objective

  • Address the performance bottleneck of sparse matrix-vector multiplication (SpMV) on GPUs for large-scale graph workloads.
  • Overcome limitations of existing GPU SpMV approaches that rely on fixed or parameterized data representations unsuitable for power-law graphs.
  • Develop a self-tunable, non-parametric data representation that adapts to input matrix characteristics without manual tuning.
  • Improve performance of core graph mining algorithms—PageRank, HITS, and Random Walk with Restart—by optimizing SpMV on GPUs.
  • Enable efficient, automatic configuration of SpMV kernels for diverse sparse matrices arising in real-world graph applications.

Proposed method

  • Introduce a non-parametric data representation that dynamically adapts to the sparsity pattern and degree distribution of power-law graphs.
  • Design a novel tiling algorithm that partitions the matrix into tiles optimized for coalesced memory access and load balancing on GPU warps.
  • Use a self-tuning mechanism that selects the optimal tile size and data layout based on runtime profiling of matrix characteristics.
  • Structure the matrix storage to minimize memory access divergence and maximize occupancy on GPU streaming multiprocessors.
  • Integrate the representation with a custom kernel that exploits the skewed degree distribution typical of power-law graphs.
  • Automatically tune the data layout and tiling parameters during kernel launch without requiring user input or prior knowledge of matrix structure.

Experimental results

Research questions

  • RQ1How can sparse matrix-vector multiplication on GPUs be optimized for matrices derived from power-law graphs, which exhibit highly skewed degree distributions?
  • RQ2What data representation and tiling strategy can achieve high performance across diverse sparse matrices without requiring manual parameter tuning?
  • RQ3To what extent can a self-tuning, non-parametric approach outperform existing GPU-optimized SpMV implementations on real-world graph mining workloads?
  • RQ4How does the proposed method scale across different graph sizes and sparsity patterns compared to state-of-the-art GPU SpMV techniques?
  • RQ5What performance gains can be achieved for key graph mining algorithms like PageRank, HITS, and Random Walk with Restart using the proposed SpMV optimization?

Key findings

  • The proposed self-tuning, non-parametric representation achieves up to 3.5x speedup over the best existing GPU SpMV implementations on real-world power-law graphs.
  • The method outperforms state-of-the-art GPU SpMV libraries on all tested workloads, including PageRank, HITS, and Random Walk with Restart, across multiple real datasets.
  • The tiling strategy significantly improves memory coalescing and reduces load imbalance, leading to higher GPU occupancy and better utilization of memory bandwidth.
  • The self-tuning mechanism automatically selects optimal tile sizes and data layouts without user configuration, eliminating the need for manual tuning.
  • The approach achieves consistent performance improvements across diverse matrices with varying sparsity and degree distributions, demonstrating robustness.
  • The performance gains are most pronounced on matrices with heavy-tailed degree distributions, which are common in real-world graphs such as social networks and web graphs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.