How Many Singular Values to Keep

Matrix DecompositionsMedium+20 XP+20

How Many Singular Values to Keep

An embedding matrix AAA used by a retrieval system has exactly five non-zero singular values:

σ1=12,σ2=5,σ3=4,σ4=3,σ5=2\sigma_1 = 12, \quad \sigma_2 = 5, \quad \sigma_3 = 4, \quad \sigma_4 = 3, \quad \sigma_5 = 2σ1​=12,σ2​=5,σ3​=4,σ4​=3,σ5​=2

Truncating the SVD after kkk terms gives the best rank-kkk approximation AkA_kAk​. Two standard facts you may use:

∥A∥F2=∑iσi2,∥A−Ak∥F2=∑i>kσi2\|A\|_F^2 = \sum_i \sigma_i^2, \qquad \|A - A_k\|_F^2 = \sum_{i > k} \sigma_i^2∥A∥F2​=∑i​σi2​,∥A−Ak​∥F2​=∑i>k​σi2​

The compression rule is: keep the smallest kkk for which AkA_kAk​ retains at least 90%90\%90% of AAA's squared Frobenius norm (its "energy").

What is that kkk, and what relative error ∥A−Ak∥F∥A∥F\dfrac{\|A - A_k\|_F}{\|A\|_F}∥A∥F​∥A−Ak​∥F​​ does it leave?

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.