The Singular Value Decomposition
COMPSCI 527 — Computer Vision
COMPSCI 527 — Computer Vision The Singular Value Decomposition 1 / 21
The Singular Value Decomposition COMPSCI 527 Computer Vision - - PowerPoint PPT Presentation
The Singular Value Decomposition COMPSCI 527 Computer Vision COMPSCI 527 Computer Vision The Singular Value Decomposition 1 / 21 Outline 1 Math Corners and the SVD: Motivation 2 Orthogonal Matrices 3 Orthogonal Projection 4 The Singular
COMPSCI 527 — Computer Vision The Singular Value Decomposition 1 / 21
1 Math Corners and the SVD: Motivation 2 Orthogonal Matrices 3 Orthogonal Projection 4 The Singular Value Decomposition 5 Principal Component Analysis
COMPSCI 527 — Computer Vision The Singular Value Decomposition 2 / 21
Math Corners and the SVD: Motivation
COMPSCI 527 — Computer Vision The Singular Value Decomposition 3 / 21
Orthogonal Matrices
i vj = δij (Ricci delta)
i p =
COMPSCI 527 — Computer Vision The Singular Value Decomposition 4 / 21
Orthogonal Matrices
i p (Finding coefficients qi is easy!)
i vj = δij in matrix form
COMPSCI 527 — Computer Vision The Singular Value Decomposition 5 / 21
Orthogonal Matrices
COMPSCI 527 — Computer Vision The Singular Value Decomposition 6 / 21
Orthogonal Matrices
COMPSCI 527 — Computer Vision The Singular Value Decomposition 7 / 21
Orthogonal Projection
COMPSCI 527 — Computer Vision The Singular Value Decomposition 8 / 21
The Singular Value Decomposition
b = Ax : Rn → Rm. Example: A = 1 √ 2 √ 3 √ 3 −3 3 1 1 (m = n = 3) range(A) ↔ rowspace(A)
COMPSCI 527 — Computer Vision The Singular Value Decomposition 9 / 21
The Singular Value Decomposition
b = Ax where A = 1 √ 2 √ 3 √ 3 −3 3 1 1
COMPSCI 527 — Computer Vision The Singular Value Decomposition 10 / 21
The Singular Value Decomposition
Av1 = σ1u1 Av2 = σ2u2 σ1 ≥ σ2 > σ3 = 0 uT
1 u1
= 1 uT
2 u2
= 1 uT
3 u3
= 1 uT
1 u2
= uT
1 u3
= uT
2 u3
= vT
1 v1
= 1 vT
2 v2
= 1 vT
3 v3
= 1 vT
1 v2
= vT
1 v3
= vT
2 v3
=
COMPSCI 527 — Computer Vision The Singular Value Decomposition 11 / 21
The Singular Value Decomposition
COMPSCI 527 — Computer Vision The Singular Value Decomposition 12 / 21
The Singular Value Decomposition
A = UΣV T = [u1, . . . , ur, ur+1, . . . , um] σ1 ... σr ... · · · · · · . . . . . . · · · · · · v1 . . . vr vr+1 . . . vn [drawn for m > n]
COMPSCI 527 — Computer Vision The Singular Value Decomposition 13 / 21
Principal Component Analysis
COMPSCI 527 — Computer Vision The Singular Value Decomposition 14 / 21
Principal Component Analysis
nA1n
n
COMPSCI 527 — Computer Vision The Singular Value Decomposition 15 / 21
Principal Component Analysis
COMPSCI 527 — Computer Vision The Singular Value Decomposition 16 / 21
Principal Component Analysis
k = [u1, . . . , uk]
COMPSCI 527 — Computer Vision The Singular Value Decomposition 17 / 21
Principal Component Analysis
k = [u1, . . . , uk]
k Ac
k [A − µ(A)1T n ]
n
n
COMPSCI 527 — Computer Vision The Singular Value Decomposition 18 / 21
Principal Component Analysis
100 200 300 400 500 600 700 100 101 102 103 104 105
COMPSCI 527 — Computer Vision The Singular Value Decomposition 19 / 21
Principal Component Analysis
k [A − µ(A)1T n ]
n
k [a − µ(A)] (without incorporating a into the PCA)
COMPSCI 527 — Computer Vision The Singular Value Decomposition 20 / 21
Principal Component Analysis
COMPSCI 527 — Computer Vision The Singular Value Decomposition 21 / 21