Skip to main content
Information and Computation

Low-Rank Approximation Laboratory

Examine how singular value decay governs the tradeoff between matrix compression, Frobenius and spectral approximation error, and bilinear evaluation fidelity f(x, y) = xᵀ A y.

4 / 20
20
0.45
0.05
0.35
||A − A_r||_F —
Relative Frobenius Error —
Spectral Error ||A − A_r||_2 —
Retained Energy —
Parameters r(m+n+1) / mn —
Bilinear Probe MSE —
A & A_r scale: — Residual scale: —
Mathematical Model

Eckart–Young–Mirsky Theorem and Bilinear Compression

For any real matrix A = U Σ Vᵀ with singular values σ₁ ≥ σ₂ ≥ … ≥ σₙ ≥ 0, truncating to the leading r singular triplets yields the best rank-r approximation A_r in both Frobenius and spectral norms:

||A − A_r||_F = sqrt(Σ_{k > r} σ_k²)
||A − A_r||_2 = σ_{r+1}
Factorization storage: r(m + n + 1) vs dense m · n

When evaluating a bilinear form f(x, y) = xᵀ A y, replacing A with A_r reduces evaluation cost from O(n²) to O(nr). The resulting prediction error depends not only on σ_{r+1}, but also on how strongly probe pairs (x, y) align with the discarded singular subspaces.

Assumptions & Numerical Scope

  • Singular value decomposition is computed directly in JavaScript via one-sided Jacobi orthogonalization on n × n matrices (n ≤ 32).
  • The bilinear probe experiment uses synthetic unit-norm vector pairs with tunable alignment to the top-r singular vectors rather than external datasets.
  • When r(m + n + 1) ≥ mn, factored storage exceeds dense storage despite exact or near-exact reconstruction.