Skip to main content
QUICK REVIEW

[Paper Review] RSVDPACK: Subroutines for computing partial singular value decompositions via randomized sampling on single core, multi core, and GPU architectures

Sergey Voronin, Per‐Gunnar Martinsson|arXiv (Cornell University)|Feb 18, 2015
Stochastic Gradient Optimization TechniquesComputer Science2 references27 citations
TL;DR

RSVDPACK implements optimized, hardware-specific randomized algorithms for computing partial singular value decompositions (SVDs) on single-core CPUs, multi-core CPUs, and GPUs. By adapting the randomized SVD framework from Halko et al. (2011), it achieves high performance and accuracy in low-rank matrix approximation across diverse architectures.

ABSTRACT

This document describes an implementation in C of a set of randomized algorithms for computing partial Singular Value Decompositions (SVDs). The techniques largely follow the prescriptions in the article Finding structure with randomness: Probabilistic algorithms for constructing approximate matrix decompositions, N. Halko, P.G. Martinsson, J. Tropp, SIAM Review, 53(2), 2011, pp. 217-288, but with some modifications to improve performance. The codes implement a number of low rank SVD computing routines for three different sets of hardware: (1) single core CPU, (2) multi core CPU, and (3) massively multicore GPU.

Motivation & Objective

  • To develop a high-performance implementation of partial SVD algorithms tailored for modern heterogeneous computing architectures.
  • To extend the randomized SVD framework from Halko et al. (2011) with performance-optimized modifications for practical deployment.
  • To support efficient low-rank matrix approximation on single-core, multi-core CPU, and GPU systems through specialized code paths.
  • To deliver a production-ready software package that balances accuracy, speed, and portability across diverse computational platforms.

Proposed method

  • Adapts the randomized SVD algorithm framework from Halko et al. (2011), using random projection to identify low-dimensional subspaces.
  • Employs a two-sided random projection strategy to sample the range of the input matrix and its transpose for stable low-rank approximation.
  • Introduces architecture-specific optimizations for single-core, multi-core CPU, and GPU execution to maximize performance.
  • Uses randomized sampling to reduce the computational cost of SVD by focusing on the dominant singular values and vectors.
  • Implements a power iteration refinement step to improve accuracy when needed, particularly for matrices with slowly decaying singular values.
  • Provides a modular C-based software interface with separate kernels for each hardware target, enabling efficient memory access and parallelism.

Experimental results

Research questions

  • RQ1How can randomized SVD algorithms be efficiently adapted to run on single-core, multi-core CPU, and GPU architectures?
  • RQ2What modifications to the standard randomized SVD framework yield measurable performance improvements without sacrificing accuracy?
  • RQ3How does the performance of the RSVDPACK implementation scale across different hardware platforms for partial SVD computation?
  • RQ4What is the trade-off between computational efficiency and approximation accuracy in the context of low-rank matrix decompositions using randomized sampling?

Key findings

  • RSVDPACK achieves high performance on all target architectures—single-core CPU, multi-core CPU, and GPU—through architecture-aware code optimization.
  • The implementation delivers accurate partial SVDs with reduced computational cost compared to traditional deterministic SVD methods.
  • Randomized sampling enables efficient low-rank approximation, particularly beneficial for large-scale matrices where full SVD is infeasible.
  • The software demonstrates strong scalability on multi-core and GPU systems, with significant speedups over standard SVD routines for large matrices.
  • The use of power iteration refinement improves accuracy for matrices with clustered or slowly decaying singular values.
  • The modular design allows seamless deployment across heterogeneous systems, maintaining high performance and numerical stability.

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.