Professional Documents
Culture Documents
Singular Value Decomposition (SVD) : Shusen Wang
Singular Value Decomposition (SVD) : Shusen Wang
Shusen Wang
Orthonormal Basis
Singular values
Indices
SVD: Example
Indices
SVD: Example
Singular values
Proof.
E . .
• 𝐀. 𝐀 = ∑*F" 𝜎* 𝐮* 𝐯* ∑E/F" 𝜎/ 𝐮/ 𝐯/. = ∑E*F" 𝜎* 𝐯* 𝐮.* ∑E/F" 𝜎/ 𝐮/ 𝐯/. .
A Property
Theorem. If 𝐀 = ∑E*F" 𝜎* 𝐮* 𝐯*. is the SVD of 𝐀, then 𝐀. 𝐀 = ∑E*F" 𝜎*$ 𝐯* 𝐯*. .
Proof.
• 𝐀. 𝐀 = ∑E*F" 𝜎* 𝐯* 𝐮.* ∑E/F" 𝜎/ 𝐮/ 𝐯/. .
. . .
Using ∑* 𝐗 * ∑/ 𝐗/ = ∑* 𝐗 * 𝐗 * + ∑*`/ 𝐗 * 𝐗/ .
A Property
Theorem. If 𝐀 = ∑E*F" 𝜎* 𝐮* 𝐯*. is the SVD of 𝐀, then 𝐀. 𝐀 = ∑E*F" 𝜎*$ 𝐯* 𝐯*. .
Proof.
• 𝐀. 𝐀 = ∑E*F" 𝜎* 𝐯* 𝐮.* ∑E/F" 𝜎/ 𝐮/ 𝐯/. .
Proof.
• 𝐀. 𝐀 = ∑E*F" 𝜎* 𝐯* 𝐮.* ∑E/F" 𝜎/ 𝐮/ 𝐯/. .
Eigenvalue decomposition of 𝐀. 𝐀.
$d
• It can be proved that 𝐀. 𝐀 d = ∑E*F" 𝜎* 𝐯* 𝐯*. .
Power Iteration for Truncated SVD
Goal: Compute the top 1 eigenvalue/eigenvector of 𝐀. 𝐀 = ∑E*F" 𝜎*$ 𝐯* 𝐯*. .
Algorithm:
1. Randomly initialize a vector 𝐱 c (with unit ℓ$-norm);
2. Repeat the power iteration: 𝐱 d ← 𝐀. 𝐀 𝐱 df" and 𝐱 d ← 𝐱 d / 𝐱 d .
$
$d
• It can be proved that 𝐀. 𝐀 d = ∑E*F" 𝜎* 𝐯* 𝐯*. .
Power Iteration for Truncated SVD
Goal: Compute the top 1 eigenvalue/eigenvector of 𝐀. 𝐀 = ∑E*F" 𝜎*$ 𝐯* 𝐯*. .
Algorithm:
1. Randomly initialize a vector 𝐱 c (with unit ℓ$-norm);
2. Repeat the power iteration: 𝐱 d ← 𝐀. 𝐀 𝐱 df" and 𝐱 d ← 𝐱 d / 𝐱 d .
$
kl
It converge to 0 because < 1.
km
Power Iteration for Truncated SVD
Goal: Compute the top 𝑘 eigenvalue/eigenvector of 𝐀. 𝐀 = ∑E*F" 𝜎*$ 𝐯* 𝐯*. .
Algorithm:
1. Randomly initialize a matrix 𝐗 c ∈ ℝ&×K (entries are i.i.d. standard Gaussian);
2. Orthogonalize the columns: 𝐗 c ← orth(𝐗 c);
3. Repeat the power iteration:
i. 𝐗 d ← 𝐀. 𝐀 𝐗 df" ;
ii. 𝐗 d ← orth(𝐗 d ).
Summary