Definition (Late-truncated RSVD). Form \mathbf{B}=\mathbf{P}_{\mathbf{A}\mathbf\Omega}\mathbf{A}, then return [\mathbf{B}]_k, a best rank-at-most-k approximation to \mathbf{B}. Here [\cdot]_k denotes truncated SVD.
Late-truncated RSVD
Implementations
Mathematical guarantees
Theorem (Orthogonal error decomposition). For every matrix \mathbf{A}, sketch \mathbf\Omega, and target rank k,
\|\mathbf{A}-[\mathbf{B}]_k\|_{\mathrm{F}}^2=\|\mathbf{A}-\mathbf{B}\|_{\mathrm{F}}^2+\|\mathbf{B}-[\mathbf{B}]_k\|_{\mathrm{F}}^2,\qquad\mathbf{B}=\mathbf{P}_{\mathbf{A}\mathbf\Omega}\mathbf{A}.
The squared error separates into the range-finding error and the error from truncating within that range.
Lean statement and details
NLAlib.frobNorm_sub_truncatedSVD_rsvd_sq.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜]
{l : Type u_2} {m : Type u_3} {n : Type u_4} [Fintype l] [Fintype m] [Fintype n]
(A : Matrix m n 𝕜) (Ω : Matrix n l 𝕜) (k : ℕ) :
frobNorm (A - truncatedSVD (rsvd A Ω) k) ^ 2 =
frobNorm (A - rsvd A Ω) ^ 2 + frobNorm (rsvd A Ω - truncatedSVD (rsvd A Ω) k) ^ 2Mathematical background
Singular values
Singular-value decompositions, Weyl inequalities, interlacing, and best-rank approximation.
Random matrices and sketch laws
Gaussian matrices, Haar frames, CountSketch, and subsampled randomized Hadamard transforms.
Best-rank approximation and truncation
Truncated SVD, Eckart–Young optimality, and error bounds for projection and truncation.
Structural theory for randomized low-rank approximation
Range-finder bounds, Gram correspondences, polynomial filters, and truncation decompositions.