Definition (Late-truncated GN). First form the generalized Nyström approximation \mathbf{B}=\mathsf{gn}(\mathbf{A},\mathbf\Omega,\mathbf\Psi). Return \widehat{\mathbf{A}}=[\mathbf{B}]_k, a best rank-at-most-k approximation to the completed matrix. This truncation selects a subspace from the output rather than from the original range sketch.
Late-truncated GN
Late-truncated generalized Nyström (TGN) truncates the completed GN approximation to the target rank.
Mathematical guarantees
Theorem (Expected relative error). For a real input \mathbf{A}, independent standard Gaussian sketches of widths \ell,p, and 0<\varepsilon\le1, suppose
\ell\ge\frac{200k}{\varepsilon},\qquad p\ge14\ell.
Then
\mathbb{E}\|\mathbf{A}-[\mathsf{gn}(\mathbf{A},\mathbf\Omega,\mathbf\Psi)]_k\|_{\mathrm{F}}^2\le(1+\varepsilon)\|\mathbf{A}-[\mathbf{A}]_k\|_{\mathrm{F}}^2.
Both sketch widths can be chosen of order k/\varepsilon. This is a sufficient upper bound on the expected squared approximation error, valid for every real input matrix. The source also retains alternative bounds with different sufficient sketch sizes.
Lean statement and details
General form: sizes are index types
NLAlib.integral_frobNorm_sub_truncatedSVD_generalizedNystrom_sq_le_one_add_of_hasLaw_gaussianMatrix_of_truncatedGeneralizedNystromRangeDim_le.{u_1,
u_2, u_3, u_4, u_5}
{Ω : Type u_1} [MeasurableSpace Ω] {μ : Measure Ω} {m : Type u_2} {n : Type u_3} {l : Type u_4}
{p : Type u_5} [Fintype m] [Fintype n] [Fintype l] [Fintype p] {X : Ω → Matrix n l ℝ}
{Ψ : Ω → Matrix m p ℝ} (A : Matrix m n ℝ) (k : ℕ) {ε : ℝ} (hX : HasLaw X (gaussianMatrix n l) μ)
(hΨ : HasLaw Ψ (gaussianMatrix m p) μ) (hXΨ : X ⟂ᵢ[μ] Ψ) (hε : 0 < ε) (hε1 : ε ≤ 1)
(hl : truncatedGeneralizedNystromRangeDim k ε ≤ ↑(Fintype.card l))
(hp : truncatedGeneralizedNystromCorangeDim (Fintype.card l) ≤ Fintype.card p) :
∫ (ω : Ω), frobNorm (A - truncatedSVD (generalizedNystrom A (X ω) (Ψ ω)) k) ^ 2 ∂μ ≤
(1 + ε) * frobNorm (A - truncatedSVD A k) ^ 2Theorem (An unavoidable error on hard inputs). Let \mathbf{A}_a=\operatorname{diag}(a\mathbf{I}_k,\mathbf{I}_{n-k}), and use independent standard Gaussian sketches with k+2\le\ell<n and p\ge\ell+2. For every \eta>0, all sufficiently large a satisfy
\mathbb{E}\|\mathbf{A}_a-[\mathsf{gn}(\mathbf{A}_a,\mathbf\Omega,\mathbf\Psi)]_k\|_{\mathrm{F}}^2\ge(n-k)+\frac{k(n-\ell)}{p-\ell-1}-\eta.
The optimal rank-k squared Frobenius error is n-k when a\ge1. The extra term shows noise that late truncation can retain even when the leading singular values become arbitrarily large. This is a lower bound for a particular family of inputs, rather than an upper guarantee for every input.
Lean statement and details
General form: sizes are index types
NLAlib.eventually_le_integral_frobNorm_sub_truncatedSVD_generalizedNystrom_fromBlocks_sq.{u_1, u_2,
u_3, u_4, u_5}
{Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} {l : Type u_2} {p : Type u_3}
{s : Type u_4} {t : Type u_5} [Fintype l] [Fintype p] [Fintype s] [Fintype t] [DecidableEq s]
[DecidableEq t] {X : Ω → Matrix (s ⊕ t) l ℝ} {Ψ : Ω → Matrix (s ⊕ t) p ℝ}
(hX : HasLaw X (gaussianMatrix (s ⊕ t) l) μ) (hΨ : HasLaw Ψ (gaussianMatrix (s ⊕ t) p) μ)
(hXΨ : X ⟂ᵢ[μ] Ψ) (hsl : Fintype.card s + 2 ≤ Fintype.card l)
(hlp : Fintype.card l + 2 ≤ Fintype.card p) {η : ℝ} (hη : 0 < η) :
∀ᶠ (a : ℝ) in Filter.atTop,
↑(Fintype.card t) +
↑(Fintype.card s) * (↑(Fintype.card s) + ↑(Fintype.card t) - ↑(Fintype.card l)) /
(↑(Fintype.card p) - ↑(Fintype.card l) - 1) -
η ≤
∫ (ω : Ω),
frobNorm
(fromBlocks (a • 1) 0 0 1 -
truncatedSVD (generalizedNystrom (fromBlocks (a • 1) 0 0 1) (X ω) (Ψ ω))
(Fintype.card s)) ^
2 ∂μComponents
Mathematical background
Pseudoinverses
Moore–Penrose pseudoinverses, least-squares solutions, and range conditions.
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.
Embeddings and sketch guarantees
Johnson–Lindenstrauss, subspace embeddings, approximate matrix multiplication, and projection-cost preservation.
Structural theory for randomized low-rank approximation
Range-finder bounds, Gram correspondences, polynomial filters, and truncation decompositions.