Back to AI Math Mind Map
中文·English
📐 AI MathID: matrix-applications

Matrix Decomposition Applications

矩阵分解应用
🎯Core Definition
Three flagship applications. (1) Low-rank approximation (Eckart-Young theorem): truncating A=UΣVTA = U\Sigma V^T to the top kk singular values gives Ak=UkΣkVkTA_k = U_k\Sigma_k V_k^T, the best rank-k\le k approximation of AA, with Frobenius error minrank(B)kABF=i>kσi2\min_{\text{rank}(B) \le k} \Vert A - B \Vert_F = \sqrt{\sum_{i > k} \sigma_i^2} and spectral error σk+1\sigma_{k+1}. (2) PCA = SVD: for a centered data matrix XX (columns mean-subtracted), the principal directions are the eigenvectors of XTXX^TX, i.e. the right singular vectors VV of XX; scores are UΣU\Sigma and the variance along principal component ii is σi2/(n1)\sigma_i^2 / (n-1); SVD avoids squaring the condition number by never forming XTXX^TX. (3) Pseudoinverse: A+=VΣ+UTA^+ = V\Sigma^+U^T (Σ+\Sigma^+ inverts nonzero singular values) unifies the least-squares solution of overdetermined systems and the minimum-norm solution of underdetermined ones.
💡Use Cases
compression and dimensionality reduction (PCA, t-SNE initialization); matrix factorization in recommenders; image compression/denoising; low-rank adaptation (LoRA approximates weight updates by ΔW=BA\Delta W = BA); numerically stable linear-system solving.
Key Problems Solved
high-dimensional storage and compute are expensive — a rank-kk approximation stores k(m+n)k(m+n) parameters instead of mnmn, an order-of-magnitude or more reduction when kmin(m,n)k \ll \min(m,n); Eckart-Young guarantees the discarded tail i>kσi2\sqrt{\sum_{i>k} \sigma_i^2} is both minimal and exactly computable; PCA via SVD is numerically more stable than eigen-decomposing XTXX^TX (avoids κ(XTX)=κ(X)2\kappa(X^TX) = \kappa(X)^2); low-rank methods such as LoRA shrink d×dd \times d updates to r(d1+d2)r(d_1 + d_2), cutting trainable parameters by orders of magnitude.
🎯5 High-Frequency Exam Points
1
State the Eckart-Young theorem: why is Ak=UkΣkVkTA_k = U_k\Sigma_k V_k^T the optimal rank-kk approximation? How is i>kσi2\sqrt{\sum_{i>k}\sigma_i^2} derived?
2
Derive PCA = SVD: why are principal directions right singular vectors of XX rather than eigenvectors? Why is the variance of component ii equal to σi2/(n1)\sigma_i^2/(n-1)?
3
By hand: for a 2×2 matrix, compute the best rank-1 approximation A1=σ1u1v1TA_1 = \sigma_1 u_1 v_1^T and its Frobenius-norm error.
4
Why does A+=VΣ+UTA^+ = V\Sigma^+U^T deliver both least-squares and minimum-norm solutions? Numerical advantages over the normal equations (XTX)1XT(X^TX)^{-1}X^T?
5
Storage accounting: how many parameters does a rank-kk approximation need (vs mnmn)? Why is LoRA a low-rank approximation and by how much does it cut trainable parameters?
📖 In-depth Guide:📄 linear-algebra-for-ai
Updated 2026-08-12
🎯
Test Your Knowledge: Practice Questions for "Matrix Decomposition Applications"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardProjection & Least SquaresNext CardJacobian & Hessian

🔗 More AI Math Knowledge Cards

Adam/AdamW MathBayesian InferenceBias-Variance DecompositionBootstrap