Machine Learning
Dimensionality Reduction & SVD
Compress, visualize, and separate signal from six angles — from image compression to pulling a static background out of surveillance video.
Data — Book ratings, handwritten digits, grayscale images, and a surveillance video clip.
Rank-1 SVD isolates a video's static background — 98.09% of the energy in one mode
Context
A study of how high-dimensional data can be compressed and understood: six methods — PCA, SVD, randomized SVD, t-SNE, UMAP, and LLE — applied across four real datasets, from sparse book-rating vectors to raw pixels.
Approach
- Compared linear reducers (PCA, truncated/randomized SVD) against non-linear manifold methods (t-SNE, UMAP, LLE) on the same data, with fair, seeded, apples-to-apples splits.
- Used low-rank SVD to compress images, and a low-rank-plus-sparse decomposition to separate a moving foreground from a static background in video.
- Fed PCA-compressed features into a downstream model to test whether reduction helps the task, not just the plot.
Result
The non-linear methods separated handwritten digits far better than the linear ones, while a single SVD mode captured almost all of a surveillance clip’s energy — leaving the moving cars behind as a clean sparse residual. Compressing features before modeling made the downstream model both faster and more accurate.
What it demonstrates
Fluency with the unsupervised-learning toolkit and, more importantly, judgment about when each method earns its cost — plus the ability to turn linear algebra into a striking, legible result.