Read along with the audio summary
Can you take a massive library of human faces and break it down into its primary patterns? The speaker raises this possibility using the Singular Value Decomposition, or S V D, one of the most useful matrix decompositions in numerical linear algebra. In this episode from January 18, 2020, the speaker walks through how this foundational tool works.
Turn complex images into a simple table of numbers. A single picture is actually a grid of pixels, which can be reshaped into one tall column vector. By lining up a library of human faces side by side, each as its own column, you build a complete data matrix called X.
Once you have that matrix, you can break it into three distinct pieces. As the speaker explains, X equals U times Sigma times V transpose.
Find the foundational building blocks hidden in your data. The first piece, the U matrix, contains left singular vectors. These columns are hierarchical modes that capture primary patterns, which in the face example, the speaker calls eigenfaces.
Rank your patterns from most to least important. The middle piece, Sigma, is a rectangular diagonal matrix containing non negative numbers called singular values. The size of each value tells you the exact importance of its matching mode in U and V.
See how those patterns mix together. The V matrix holds right singular vectors. Its columns show how the principal modes in U combine to reconstruct the original columns of X.
Keep your math clean with perpendicular columns. Both the U and V matrices are orthogonal, meaning their columns are mutually perpendicular and have a unit length of one. Because of this property, U transpose times U equals the identity matrix.
S V D breaks any data matrix into spatial modes, their ordered importance, and their mixture coefficients. It is guaranteed to exist for any matrix and is readily available in standard numerical software like MATLAB or Python.