9.1310 min read
The SVD Solution
The solution to the linear reduction problem is: compute and take — the top left singular vectors. The minimum reconstruction error is .
The fraction of variance retained is . As increases, more variance is retained and error decreases. When (rank), the error is zero.
Formal View
Theorem 9.5 — SVD Solves Linear Reduction
The optimal (first left singular vectors of ). Minimum reconstruction error:
Explained variance: out of total .
Interactive Visualization
SVD as Three Transformations
Why This Matters
The SVD gives the provably optimal way to compress data while minimizing reconstruction error.
- PCA: project onto top- singular vectors to capture maximum variance.
- Image compression: only largest singular values and vectors needed.
- Collaborative filtering: SVD finds latent user/item factors.
Quiz
Question 1
The optimal -dimensional subspace for dimensionality reduction is spanned by:
Question 2
Keeping only the top- singular vectors minimizes the Frobenius-norm reconstruction error.
Common Mistakes
- Using right singular vectors instead of left singular vectors for the reduction subspace.
- Confusing "top-" (largest) with "bottom-" — always keep largest singular values.