[Paper Review] PRIMME_SVDS: A High-Performance Preconditioned SVD Solver for Accurate Large-Scale Computations
PRIMME_SVDS is a high-performance, preconditioned SVD solver for computing a small number of extreme singular triplets in large-scale sparse matrices. It combines a two-stage iterative method with preconditioning via the PRIMME eigensolver framework, achieving superior accuracy and speed over PROPACK and SLEPc, especially for smallest singular values and ill-conditioned problems.
The increasing number of applications requiring the solution of large scale singular value problems have rekindled interest in iterative methods for the SVD. Some promising recent ad- vances in large scale iterative methods are still plagued by slow convergence and accuracy limitations for computing smallest singular triplets. Furthermore, their current implementations in MATLAB cannot address the required large problems. Recently, we presented a preconditioned, two-stage method to effectively and accurately compute a small number of extreme singular triplets. In this research, we present a high-performance software, PRIMME SVDS, that implements our hybrid method based on the state-of-the-art eigensolver package PRIMME for both largest and smallest singular values. PRIMME SVDS fills a gap in production level software for computing the partial SVD, especially with preconditioning. The numerical experiments demonstrate its superior performance compared to other state-of-the-art software and its good parallel performance under strong and weak scaling.
Motivation & Objective
- Address the lack of robust, high-performance software for computing partial SVD, especially for smallest singular triplets.
- Overcome slow convergence and accuracy issues in existing iterative SVD methods for ill-conditioned and clustered spectra problems.
- Enable efficient large-scale SVD computation using preconditioning, which is critical for real-world applications.
- Provide a production-quality, multi-language library (C, MATLAB, Python, R) with shared and distributed memory support.
- Demonstrate superior performance and scalability compared to state-of-the-art packages like PROPACK and SLEPc.
Proposed method
- Adapt the two-stage PHSVDS method—originally designed for eigenvalue problems—into a preconditioned SVD solver using equivalent eigenformulations.
- Use the normal equations formulation (A^T A) and the augmented system (A^T A; A) to solve for singular triplets, switching heuristically between them based on numerical stability.
- Integrate the PRIMME framework to leverage advanced Krylov subspace methods (e.g., JDQR, JDQMR, GMRES) and preconditioning techniques.
- Implement a hybrid strategy: first stage uses preconditioned iterative methods (e.g., GD+k, JDQMRETol) to accelerate convergence, second stage refines the solution.
- Support both symmetric and nonsymmetric matrices, with automatic switching between the two formulations to improve robustness.
- Provide a flexible interface supporting single and distributed memory parallelism, with optimized matrix-vector products via librsb and Elemental.
Experimental results
Research questions
- RQ1Can a preconditioned, two-stage iterative SVD method achieve both high accuracy and performance for smallest singular triplets in large-scale problems?
- RQ2How does PRIMME_SVDS compare to PROPACK and SLEPc in terms of convergence speed, accuracy, and scalability on large, ill-conditioned matrices?
- RQ3To what extent does preconditioning improve convergence and reduce matrix-vector products in SVD computation?
- RQ4Can a production-quality SVD library be built on top of an existing eigensolver framework (PRIMME) while supporting multiple programming languages and parallel architectures?
- RQ5How effective is the heuristic switching between normal equations and augmented system formulations in maintaining robustness across diverse problem types?
Key findings
- PRIMME_SVDS outperforms PROPACK and SLEPc in both speed and robustness, especially for smallest singular triplets and ill-conditioned matrices.
- With preconditioning, PRIMME_SVDS reduces matrix-vector products by up to 90% and runtime by up to 90% compared to non-preconditioned methods, as shown on matrices like cage15 and atmosmodl.
- On the LargeRegFile matrix, PRIMME_SVDS achieved a 12x speedup over libskylark’s CondEst function using the same stopping criterion.
- The use of librsb for matrix-vector products provided a 2x speedup over Elemental in libskylark, highlighting the importance of optimized kernels.
- PRIMME_SVDS demonstrated strong and weak scaling on distributed memory systems, confirming its suitability for large-scale HPC environments.
- The library achieved high accuracy with relative tolerance of 0.1, and its stopping criterion was more reliable than the probabilistic small-error criterion used in libskylark.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.