[Paper Review] A Hierarchical Singular Value Decomposition Algorithm for Low Rank Matrices
This paper proposes a hierarchical block-based singular value decomposition (SVD) algorithm that enables efficient, low-rank approximation of dense, large-scale matrices by recursively merging and truncating truncated SVDs of matrix blocks. The method achieves significant speedups—up to 2x—over full SVD with truncation, even on a single core, while maintaining errors below 3% for low-rank matrices, and supports arbitrary matrix dimensions through dual row- and column-wise partitioning.
Singular value decomposition (SVD) is a widely used technique for dimensionality reduction and computation of basis vectors. In many applications, especially in fluid mechanics and image processing the matrices are dense, but low-rank matrices. In these cases, a truncated SVD corresponding to the most significant singular values is sufficient. In this paper, we propose a tree based merge-and-truncate algorithm to obtain an approximate truncated SVD of the matrix. Unlike previous methods, our technique is not limited to "tall and skinny" or "short and fat" matrices and it can be used for matrices of arbitrary size. The matrix is partitioned into blocks and the truncated SVDs of blocks are merged to obtain the final SVD. If the matrices are low rank, this algorithm gives significant speedup over finding the truncated SVD, even when run on a single core. The error is typically less than 3\%.
Motivation & Objective
- To address the computational inefficiency of full SVD for large, dense, low-rank matrices commonly found in fluid dynamics and image processing.
- To overcome limitations of prior distributed SVD methods that are restricted to 'tall and skinny' or 'short and fat' matrices.
- To develop a scalable, single-core and parallelizable algorithm that enables low-rank SVD approximation with minimal data transfer and high performance.
- To reduce error in low-rank approximation through an iterative improvement technique applied to singular vectors and values.
- To provide a flexible framework that supports arbitrary matrix dimensions via simultaneous row- and column-wise block partitioning.
Proposed method
- The algorithm partitions a matrix into blocks along both rows and columns, enabling hierarchical processing of arbitrary-sized matrices.
- It computes truncated SVDs for each block independently using standard SVD routines (e.g., LAPACK), retaining only the largest singular values and corresponding vectors.
- A tree-based merge-and-truncate (MAT) strategy recursively combines the truncated SVDs of child blocks into parent blocks using incremental SVD techniques.
- After each merge, singular values and vectors below a threshold (determined by a merge parameter γ) are truncated to maintain low rank and reduce computational cost.
- An iterative improvement step is applied to refine the approximation by re-computing the SVD of the residual matrix and updating the basis vectors.
- The method supports both row-wise and column-wise partitioning, enabling efficient processing of matrices regardless of aspect ratio.
Experimental results
Research questions
- RQ1Can a hierarchical block-based SVD algorithm achieve significant speedup over full SVD with truncation for dense, low-rank matrices on a single core?
- RQ2How does the performance and accuracy of the proposed algorithm vary with different block sizes and matrix types?
- RQ3To what extent can the algorithm reduce approximation error through iterative refinement of singular vectors and values?
- RQ4Does the algorithm maintain high accuracy and efficiency when applied to matrices with slowly decaying singular values, such as the FACES dataset?
- RQ5What is the optimal block size configuration for maximizing speedup while minimizing error across diverse matrix structures?
Key findings
- The algorithm achieves a maximum speedup of approximately 2x over full SVD with truncation when using a block size of 8192×64 on a velocity dataset.
- For the FACES dataset, the error reaches up to 5% when using a block size of 10304×100, primarily due to poor approximation of the last two singular values.
- The error is typically less than 3% across tested datasets, with the largest errors concentrated in the smallest singular values and vectors.
- Iterative improvement significantly reduces error in the least significant singular vectors and values, improving cosine similarity between actual and approximate left singular vectors.
- Speedup is most pronounced when the number of columns per block is close to the desired rank and the number of rows per block is large, especially for matrices with rapidly decaying singular values.
- The algorithm demonstrates robustness across diverse data types, including CFD velocity and density matrices, and the ORL FACES dataset, with consistent performance and low error.
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.