SVD as an Optimal Summary
Rank-k truncation on an image and a data matrix, with the error bound made visible.
Controls
Number of singular components used to reconstruct the matrix.
Additive Gaussian noise on every pixel — raise k too far and you start fitting this.
Every result on this page is a deterministic function of the seed and the controls.
Original, rank-k reconstruction, and residual
k = 6 of 48 possible components.
Singular value spectrum
linear scale
Cumulative energy captured
Eckart–Young: truncated SVD is the optimal rank-k summary.
Each additional singular component reduces reconstruction error on the data you have, by construction — but once the true signal's few dominant components are captured, the rest of the spectrum is noise. Fitting it lowers training error while adding nothing (or something harmful) for new data. The elbow in the singular value spectrum, not the tail, is usually where the signal ends.
