Subspace-Orbit Randomized SVD
- Subspace-Orbit Randomized SVD is a matrix decomposition method that produces efficient low-rank approximations by leveraging two-sided subspace projections and random sampling.
- It achieves tight spectral and Frobenius error bounds with minimal data passes, ensuring both precision and scalability for handling large, high-dimensional matrices.
- The algorithm utilizes iterative power steps and orthonormal basis construction, making it highly compatible with modern multicore and GPU architectures for fast computations.
The Subspace-Orbit Randomized Singular Value Decomposition (SOR-SVD) is a matrix decomposition technique designed to produce efficient and accurate low-rank approximations of large, dense data matrices. Utilizing random sampling and subspace iteration principles, SOR-SVD operates with minimal passes on the data and achieves computational complexity suitable for large-scale modern computing platforms, including multicore and GPU architectures. SOR-SVD distinguishes itself from prior randomized SVD methods through a two-sided subspace projection approach and provably tight spectral and Frobenius error bounds, rendering it particularly effective for high-dimensional data applications where rapid, reliable matrix approximation is required (Kaloorazi et al., 2018).
1. Mathematical Formulation and Setup
Given a real-valued matrix with and numerical rank , the SOR-SVD algorithm constructs a rank- approximation through randomized linear algebraic techniques. The procedure begins by selecting an oversampling parameter —typically in the range of 5–10—and sets . A Gaussian test matrix with entries drawn i.i.d. from is used to probe both the range of and its adjoint. This double sampling strategy is a key distinguishing feature (Kaloorazi et al., 2018).
2. Subspace-Orbit Sampling and Power Iteration
The core of SOR-SVD is its two-sided subspace-orbit sampling procedure. In the basic two-pass algorithm:
- Compute 0.
- Compute 1.
For enhanced accuracy, 2 steps of a power iteration may be applied. With this optional refinement, initialize 3 and, for 4, alternate:
- 5
- 6
The parameter 7 determines the extent to which small singular values are suppressed, directly improving the subspace capture at the expense of additional passes through the data. This iterative enhancement is crucial for matrices with slowly-decaying singular value spectra, enabling the algorithm to adaptively optimize the low-rank subspace approximation (Kaloorazi et al., 2018).
3. Orthonormal Basis Construction
For both 8 and 9, thin QR decompositions are computed:
- 0 with 1,
- 2 with 3.
Here, 4 provides an approximate orthonormal basis for 5, while 6 approximates 7. This symmetric treatment of row and column subspaces—enabled by the two-sided sketch—provides empirical and theoretical advantages over one-sided randomized SVDs, as the basis quality directly impacts the accuracy of the final low-rank reconstruction (Kaloorazi et al., 2018).
4. Low-Rank Approximation and Error Bounds
The core matrix is constructed as 8, then subjected to a rank-9 truncated singular value decomposition: 0, with 1. The low-rank approximation of 2 is lifted from the subspace: 3 This technique ensures that most computational effort is directed towards operations (matrix–matrix multiplies, QR decompositions) that scale favorably on parallel platforms. Error analysis establishes deterministic and average-case spectral/Frobenius-norm bounds. Specifically, for 4, the following holds for 5 or 6: 7 where projection errors diminish rapidly as 8 and 9 increase. The expected Frobenius norm error and lower bounds for approximate singular values are likewise specified, demonstrating near-optimality as the oversampling and power iteration parameters grow (Kaloorazi et al., 2018).
5. Algorithmic Workflow and Pseudocode
The basic two-pass SOR-SVD algorithm is summarized as:
| Step | Description | Output/Notation |
|---|---|---|
| 1 | Draw 0 (i.i.d. Gaussian) | 1 |
| 2 | Compute 2 | 3 |
| 3 | Compute 4 | 5 |
| 4 | Thin QR: 6; 7 | 8, 9 |
| 5 | Form 0 | 1 |
| 6 | Truncated SVD: 2 | 3, 4, 5 |
| 7 | Reconstruct: 6 | 7 |
With 8 power steps, steps 2–3 are replaced by the power iteration loop as detailed above (Kaloorazi et al., 2018).
6. Computational Complexity and Scalability
The algorithm is optimized for high performance on modern hardware. For 9 and a matrix–vector multiply cost 0:
- Basic 3-pass: cost 1,
- 2-pass: cost 2,
- Additional 3 passes for power iterations.
Overall complexity is 4 flops, with dominant operations naturally suited to level-3 BLAS routines. Only 5–6 data passes are required, with the option for even single-pass variants. All large-scale work—mat-mul and tall-skinny QR—are efficiently parallelizable. Communication-avoiding QR (CAQR) can further reduce data movement. The small SVD is performed in-core and is negligible in communication cost (Kaloorazi et al., 2018).
7. Relationship to Other Randomized SVD Algorithms
SOR-SVD generalizes and improves upon previous randomized SVD methods:
- The classical one-sided R-SVD (Halko–Martinsson–Tropp) computes a single subspace projection, forming only 7, whereas SOR-SVD builds both 8 and 9—enabling better control over both the column and row subspaces and yielding tighter error bounds.
- TSR-SVD (“two-sided randomized SVD”) sketches both subspaces with separate random matrices but is hampered by a poorly constructed 0; SOR-SVD resolves this by using the data-driven 1, thereby enhancing accuracy and stability.
- Compared to subspace iteration strategies that rely on repeated application of 2, SOR-SVD achieves comparable accuracy with fewer, less expensive orthogonalizations and improved communication efficiency (Kaloorazi et al., 2018).
SOR-SVD is thus positioned as a robust, practical, and highly parallelizable approach for low-rank approximation, supporting scalable deployment in large-scale applications such as robust PCA, where replacing dense SVD computations with SOR-SVD leads to dramatic performance improvements.