Singular vector decomposition is one of the highlights of linear algebra.

Review of Linear Transformation

Before diving into the topic, we have a brief review of linear transformation. Given a matrix A∈Rm×nA \in \mathbb{R}^{m \times n} with rank rr, we can view it as a linear transformation from f:Rn→Rmf: \mathbb{R}^n \rightarrow \mathbb{R}^m defined as

f(x)=Ax,∀x∈Rn. f(x) = Ax, \forall x \in \mathbb{R}^n.

It maps a vector in the row space, i.e., the subspace spanned by row vectors of AA, to a vector in the column space, the subspace spanned by column vectors of AA.

Define

  1. S(AT)={∑i=1nλiA[i,:]:λi∈R,∀i∈[n]}S(A^T) = \{ \sum_{i = 1}^n \lambda_i A[i,:] : \lambda_i \in \mathbb{R}, \forall i \in [n] \}, which we call the row space of AA.

  2. N(AT)={x∈Rm,s.t.,Ax=0}N(A^T) = \{ x \in \mathbb{R}^m, s.t., Ax = 0\}, the subspace perpendicular to S(AT)S(A^T).

  3. S(A)={∑i=1mλiA[:,i]:λi∈R,∀i∈[m]}S(A) = \{ \sum_{i = 1}^m \lambda_i A[:,i] : \lambda_i \in \mathbb{R}, \forall i \in [m] \}, the columns space of AA.

  4. N(A)N(A) the space perpendicular to S(A)S(A).

Note that S(AT)S(A^T) and S(A)S(A) has the same dimension rr. For any x∈Rnx \in \mathbb{R}^n, we can write x=y+zx = y + z, such that y∈S(AT)y \in S(A^T) and z∈N(AT)z \in N(A^T). The operation Ax=Ay+AzAx = Ay + Az, takes the yy component to a vector in S(A)S(A) and the zz component to point 00, as illustrated by the figure.

Singular Vector Decomposition

Singular vector decomposition aims to find

  1. an orthonormal basis {v1,v2,...,vr}\{ v_1, v_2, ..., v_r \} for S(AT)S(A^T),
  2. and an orthogonal base {u1,u2,...,ur}\{ u_1, u_2, ..., u_r \} for S(A)S(A),
  3. such that f(vi)=Avi=σiuif(v_i) = A v_i = \sigma_i u_i for all i∈[r]i \in [r] and σ1≥σ2≥...≥σr>0\sigma_1 \ge \sigma_2 \ge ... \ge \sigma_r > 0.

When restricted to the sets {v1,v2,...,vr}\{ v_1, v_2, ..., v_r \} and {u1,u2,...,ur}\{ u_1, u_2, ..., u_r \}, ff is a bijection.

If we write V=[v1,v2,...,vr]V = [v_1, v_2, ..., v_r],

Σ=[σ1σ2...σr] \Sigma = \begin{bmatrix} &\sigma_1 \\ &&\sigma_2 \\ &&& ... \\ &&&&\sigma_r \end{bmatrix}

and U=[u1,u2,...,ur]U = [u_1, u_2, ..., u_r], then

AV=UΣ. A V = U \Sigma.

As the columns of VV are orthonormal vectors, it is invertible and V−1=VTV^{-1} = V^T. Hence

A=UΣV−1=UΣVT A = U \Sigma V^{-1} = U \Sigma V^T

Equivalently, it holds that

A=σ1u1v1T+σ2u2v2T+...+σrurvrT. A = \sigma_1 u_1 v_1^T + \sigma_2 u_2 v_2^T + ... + \sigma_r u_r v_r^T.

Further,

ATA=VΣ2VT,AAT=UΣ2UT. A^T A = V \Sigma^2 V^T, A A^T = U \Sigma^2 U^T.

which implies that

ATAV=VΣ2,AATU=UΣ2. A^T A V = V \Sigma^2, A A^T U = U \Sigma^2.

The viv_i's and uiu_i's are eigenvectors of ATAA^T A and AATA A^T respectively.

EXISTENCE

The key is ATAA^T A, which is semi-positive. Since

ATAx=0⇔xATAx=0⇔Ax=0, A^T A x = 0 \Leftrightarrow x A^T A x = 0 \Leftrightarrow Ax = 0,

ATAA^T A and AA has the rank rr, the same null space and hence the same row space. Further, as ATAA^T A is semi-positive, it has rr positive eigenvalue. Denote the eigenvalues of ATAA^TA in decreasing order as λ1≥λ2≥...≥λr>0\lambda_1 \ge \lambda_2 \ge ... \ge \lambda_r > 0 and the corresponding (unit length) eigenvectors as v1,v2,...,vrv_1, v_2, ..., v_r. The viv_i's are orthogonal, as

  • For i≠ji \neq j, viTATAvj=λiviTvj=λjviTvjv_i^T A^T A v_j = \lambda_i v_i^T v_j = \lambda_j v_i^T v_j. As λi≠λj\lambda_i \neq \lambda_j, viTvj=0v_i^T v_j = 0.

They constitute an orthogonal base of the row space of ATAA^T A and the row space AA.

Now we use the viv_i's to search for uiu_i's as follows: let σ=λi\sigma = \sqrt{\lambda_i}, we claim that

ui≐1σiAvi,∀i∈[r] u_i \doteq \frac{1}{\sigma_i} A v_i, \forall i \in [r]

are orthonormal.

  1. The uiu_i's are orthogonal: uiTuj=1σiσjviTATAvj=σj2σiσjviTvj=0u_i^T u_j = \frac{1}{\sigma_i \sigma_j} v_i^T A^T A v_j = \frac{\sigma_j^2 }{\sigma_i \sigma_j} v_i^T v_j = 0
  2. The uiu_i's are unite vectors: uiTui=1σi2viTATAvi=1u_i^T u_i = \frac{1}{\sigma_i^2} v_i^T A^T A v_i = 1

Hence uiu_i's constitutes an orthonormal basis. As the columns of AA has dimension rr, the uiu_i's covers the entire columns space. This completes the proof.
■\blacksquare

GEOMETRIC INTERPRETATION

To understand the geometry of SVD, we first extend the matrix VV to an orthogonal base in Rn\mathbb{R}^n and UU to an orthogonal base in Rm\mathbb{R}^m. By adding proper zero rows and columns to Σ\Sigma, we still have A=UΣVTA = U \Sigma V^T.

Now, the transformation f(x)f(x) is decomposed into three steps:

x→VTx→Σ(VTx)→U(ΣVTx) x \rightarrow V^Tx \rightarrow \Sigma (V^T x) \rightarrow U(\Sigma V^T x)

It suffices to under the effect of multiplying an orthogonal matrix VV. It is indeed a rotation. To see this, multiply VV by eie_i gives viv_i, i.e., Vei=viV e_i = v_i, for all for i∈[n]i \in [n]. Therefore, VV takes the orthogonal base I=[e1,e2,...,en]I = [e_1, e_2, ..., e_n] to the orthogonal base V=[v1,v2,...,vn]V = [v_1, v_2, ..., v_n].

Note that the inverse V−1V^{-1} of VV is also an orthogonal matrix and hence a rotation. Indeed it rotates the orthogonal base V=[v1,v2,...,vn]V = [v_1, v_2, ..., v_n] back to I=[e1,e2,...,en]I = [e_1, e_2, ..., e_n]. To understand this, observe that V−1=VTV^{-1} = V^T. For arbitrary viv_i, we have VTvi=eiV^T v_i = e_i.

Therefore, VTxV^T x corresponds to a rotation, in the reverse direction to the one defined by VV.

Next, the matrix Σ\Sigma scales the ii-th dimension of VTxV^T x by σi\sigma_i, for all i∈[n]i \in [n]. Combined with the first step, if x=vix = v_i, then it is first rotation to the direction eie_i, then scaled by a factor σi\sigma_i.

Finally, UU is an orthogonal matrix and corresponds to another rotation, which take ei∈Rme_i \in \mathbb{R}^m to a vector uiu_i.

Corollary: Define the Frobenius norm of a matrix AA as

∥A∣F=∑i,jai,j2 \Vert A|_F = \sqrt{\sum_{i, j} a_{i, j}^2 }

Then ∥A∥F2=∥Σ∥2=∑i=1rσi2\Vert A\Vert _F^2 = \Vert \Sigma\Vert ^2 = \sum_{i = 1}^r \sigma_i^2.

Proof: Note that rotating the vectors do not change their distance from the origin. Recall that UTU^T and VV are both rotations. Hence ∥A∥F2=∥AV∥F2=∥UTAV∥F2=∥UTUΣVTV∥F2=∥Σ∥F2\Vert A\Vert _F^2 = \Vert AV\Vert _F^2 = \Vert U^T A V\Vert _F^2 = \Vert U^T U \Sigma V^T V\Vert _F^2= \Vert \Sigma\Vert _F^2.

□\square.

APPLICATIONS

An important property of the viv_i is that

  1. v1=arg⁡max⁡v∈Rn,∥v∥=1∥Av∥v_1 = \arg\max_{v \in \mathbb{R}^n, \Vert v\Vert = 1} \Vert Av\Vert.
  2. v2=arg⁡max⁡v∈Rn,∥v∥=1,v⊥v1∥Av∥v_2 = \arg\max_{v \in \mathbb{R}^n, \Vert v\Vert = 1, v \perp v_1} \Vert Av \Vert.
  3. ...
  4. vr=arg⁡max⁡v∈Rn,∥v∥=1,v⊥v1,v⊥v2,...,v⊥vr−1∥Av∥v_r = \arg\max_{v \in \mathbb{R}^n, \Vert v\Vert = 1, v \perp v_1, v \perp v_2, ..., v \perp v_{r - 1}} \Vert Av \Vert

Proof: For any v∈Rn,∥v∥=1v \in \mathbb{R}^n, \Vert v\Vert = 1, we can write v=∑i=1naiviv = \sum_{i = 1}^n a_i v_i, where ∑i=1nai2=1\sum_{i = 1}^n a_i^2 = 1, since viv_i's are an orthogonal base. Then

∥Av∥2=xTATAx=xTVΣUTUΣVTx=∥ΣVTx∥2=∑i=1rai2σi2 \begin{aligned} \Vert Av\Vert ^2 &= x^T A^T A x \\ &= x^T V \Sigma U^T U \Sigma V^T x \\ &= \Vert \Sigma V^T x\Vert ^2 \\ &= \sum_{i = 1}^r a_i^2 \sigma_i^2 \end{aligned}

which is maximized to σ12\sigma_1^2 when a1=1a_1 = 1 and ai=0,i≥2a_i = 0, i \ge 2. Hence (1) is proved.

Similarly, when ∥v∥=1,v⊥v1,v2,...,vk\Vert v\Vert = 1, v \perp v_1, v_2, ..., v_k for some k<rk < r, then a1=a2=...ak=0a_1 = a_2 = ... a_k = 0, and v=∑i=k+1raiviv = \sum_{i = k + 1}^r a_i v_i.

∥Av∥2=∑i=k+1rai2σi2 \begin{aligned} \Vert Av\Vert ^2 &= \sum_{i = k + 1}^r a_i^2 \sigma_i^2 \end{aligned}

which achieves maximum when ak+1=1a_{k + 1} = 1 and ai=0,i>k+1a_i = 0, i > k + 1. In this case v=vk+1v = v_{k + 1}.

Best Fit kk subspace

An implication is that, the subspace space VkV_k spanned by (v1,v2,...,vk)(v_1, v_2, ..., v_k), is the best kk-dimension subspace of Rn\mathbb{R}^n that fits the row vectors of AA, namely, A[1,:],A[2,:],...,A[m,:]A[1, :], A[2, :], ..., A[m, :]. Here fits mean the sum of the square of the perpendicular distance from the row vector to their projections on the subspace is minimized. Denote SS any subspace of Rn\mathbb{R}^n, then for v∈Rnv \in \mathbb{R}^n, we can decompose vv into two part: the part vSv_S that is within SS and the part vS⊥v_{S_\perp} perpendicular to SS. Then

∥v∥2=∥vS∥2+∥vS⊥∥2 \Vert v\Vert ^2 = \Vert v_{S}\Vert ^2 + \Vert v_{S_\perp}\Vert ^2

Minimizing ∥vS⊥∥2\Vert v_{S_\perp}\Vert ^2 is equivalent to maximizing ∥vS∥2\Vert v_{S}\Vert ^2. The subspace space by (v1,v2,...,vk)(v_1, v_2, ..., v_k) is the subspace that maximize the sum of the squares of the projections of row vectors to the subspace.

We prove this by induction. When k=1k = 1, the proof holds trivially by the definition of v1v_1. In particular, Av1A v_1 is the lengths of the projections of the row to the line that go through v1v_1, since v1v_1 is a unit vector. Further, the corresponding projected vectors in Rn\mathbb{R}^n are

Av1v1T=σ1u1v1T Av_1 v_1^T = \sigma_1 u_1 v_1^T

For general kk, by induction hypothesis Vk−1V_{k - 1} is the best k−1k-1 dimension space that fit rows of AA. Denote N(Vk−1)N(V_{k -1}) the subspace that is perpendicular to Vk−1V_{k - 1}, which has dimension n−k+1n - k + 1. For any kk dimensional subspace S∩N(Vk−1)≠∅S \cap N(V_{k - 1}) \neq \emptyset, since dim(S)+dim(N(Vk−1))=k+n−k+1≥ndim(S) + dim(N(V_{k - 1})) = k + n - k + 1 \ge n. Let sk∈S∩N(Vk−1)s_k \in S \cap N(V_{k - 1}) be a unit vector. By the definition of vkv_k, we have

∥Avk∥2≥∥Ask∥2 \Vert Av_k\Vert ^2 \ge \Vert As_k\Vert ^2

Now we can extend sks_k to a base of SS, denoted as s1,s2,...,sks_1, s_2, ..., s_k. By induction hypothesis, it holds

∑i=1k−1∥Avi∥2≥∑i=1k−1∥Asi∥2 \sum_{i = 1}^{k - 1} \Vert A v_i\Vert ^2 \ge \sum_{i = 1}^{k - 1} \Vert A s_i\Vert ^2

Hence

∑i=1k∥Avi∥2≥∑i=1k∥Asi∥2 \sum_{i = 1}^{k} \Vert A v_i\Vert ^2 \ge \sum_{i = 1}^{k} \Vert A s_i\Vert ^2

But the former is exactly sum of the squares of the lengths of the projections to VkV_k and the later is the one to SS. Finally, we mention that the projection of AA to VkV_k is given by

Ak=∑i=1kσiuiviT A_k = \sum_{i = 1}^k \sigma_i u_i v_i ^T

Corollary 1. For any rank kk matrix BB, we have

∥A−Ak∥F≤∥A−B∥F \Vert A - A_k\Vert _F \le \Vert A - B\Vert _F

Intuitively, if we view square root of the sum of square distance of row vectors to the origin (note that the origin can be viewed as a zero dimension subspace.)

Corollary 2. Define the 2-norm of a matrix AA as

∥A∥2=σ1=max⁡v∈Rn,∥v∥=1∥Av∥ \Vert A \Vert _2 = \sigma_1 = \max_{v \in \mathbb{R}^n, \Vert v\Vert = 1} \Vert Av \Vert

The 22-norm is the square root of the maximum sum of squares of the projections of the row vectors to a one dimension subspace. Then an implication of the SVD is that, for any rank kk matrix BB, we have

∥A−Ak∥2≤∥A−B∥2 \Vert A - A_k\Vert _2 \le \Vert A - B\Vert _2

Proof: First note that for v=∑i=1raiviv = \sum_{i = 1}^r a_i v_i, such that ∑i=1kai2=1\sum_{i = 1}^k a_i^2 = 1,

∥(A−Ak)v∥=∑i=k+1raiσi \Vert (A - A_k) v\Vert = \sum_{i = k + 1}^r a_i \sigma_i

it is maximized when ak+1=1a_{k + 1} = 1 and ∥A−Ak∥2=σk+1\Vert A - A_k\Vert _2 = \sigma_{k + 1}. Now, as dim(Ak+1)+dim(N(BT))=k+1+n−k≥ndim(A_{k + 1}) + dim(N(B^T)) = k + 1 + n - k \ge n, ∃v∈Rn\exists v \in \mathbb{R}^n, such that Bv=0Bv = 0 and v=∑i=1k+1aiviv = \sum_{i = 1}^{k + 1} a_i v_i and ∥v∥=1\Vert v\Vert = 1. Now

∥A−B∥2≥∥(A−B)v∥=∥Av∥=∑i=1k+1ai2σi2≥σk+1 \Vert A - B\Vert _2 \ge \Vert (A - B)v\Vert = \Vert Av\Vert = \sqrt{\sum_{i = 1}^{k + 1} a_i^2 \sigma_i^2 } \ge \sigma_{k + 1}

which finishes our proof.

Computing SVD

If suffices to compute the eigenvectors and eigenvalues of ATAA^T A, i.e., σi2\sigma_i^2's and viv_i's. In the simplest case, σ1>σ2≥σ3≥...≥σr\sigma_1 > \sigma_2 \ge \sigma_3 \ge ... \ge \sigma_r, then we can take powers of ATAA^T A,

(ATA)k=VΣ2kVT=∑i=1rσi2kviviT (A^T A)^k = V \Sigma^{2k} V^T = \sum_{i = 1}^r \sigma_i^{2k} v_i v_i^T

Dividing the matrix by σ12k\sigma_1^{2k},

1σ12k(ATA)k=VΣ2kVT=v1v1T+∑i=2rσi2kσ12kviviT \frac{1}{\sigma_1^{2k} } (A^T A)^k = V \Sigma^{2k} V^T = v_1 v_1^T + \sum_{i = 2}^r \frac{\sigma_i^{2k}}{\sigma_1^{2k} } v_i v_i^T

The second part converges to 0 as k→∞k \rightarrow \infty. Then for any vector vv that is not perpendicular to v1v_1, we have

lim⁡k1σ12k(ATA)kv=v1(v1Tv)=(v1Tv)v1 \lim_k \frac{1}{\sigma_1^{2k} } (A^T A)^k v = v_1 (v_1^T v) = (v_1^T v) v_1

which is a multiple of v1v_1. Normalizing the vector recovers v1v_1.

When there is a tie of the largest eigenvalues, that is σ1=σ2=...=σt\sigma_1 = \sigma_2 = ... = \sigma_t for some t<rt < r, and suppose that vv is not perpendicular to v1,v2,...,vtv_1, v_2, ..., v_t simultaneously, then

lim⁡k1σ12k(ATA)kv=the projection of v to Vt \lim_k \frac{1}{\sigma_1^{2k} } (A^T A)^k v = \text{the projection of } v \text { to } V_t

Suppose we are satisfied with this result, we still need to address two problems.

  1. We use σ12k\sigma_1^{2k} to normalize the resulting vector, which is unknown.
  2. How can we find a vector vv that is not perpendicular to all v1,..,vtv_1, .., v_t simultaneously, i.e., its projection to VtV_t is not zero.

We defer the discussion of the first issue. As for the second issue, we tackle the problem for picking a vector vv uniformly at random from the nn-dimension unit ball, and then normalize it by $v / \Vert v\Vert $, in the hope that it is a "good" vector.

Lemma: With probability at least 1/21 / 2, that vTv1≥1/nv^T v_1 \ge 1 /\sqrt{n}.

Proof: By symmetry of the nn-dimension unit ball, it suffices to show that for an arbitrary given fixed direction, the projection of vv to that direction is at least 1/4n1 / 4 \sqrt n with probability 1/21 / 2. For convenience, we choose this direction to be e1e_1.

Denote the volume of an nn-dimensional unit ball as V(n)V(n).

Now, we would like to use two cylinders to estimate the probability of ∣e1Tv∣/∥v∥≤14n|e_1 ^T v| / \Vert v\Vert \le \frac{1}{4 \sqrt n}.

Note that the points {v}\{v \} inside the ball with e1Tv/∥v∥≤14ne_1^T v / \Vert v\Vert \le \frac{1}{4 \sqrt n} is completely contained in a cylinder centered in the equator, with radius one and height 14n\frac{1}{4 \sqrt n} that is parallel to e1e_1. Its volume is given by 14nV(n−1)\frac{1}{4 \sqrt n} V(n - 1). Hence:

Pr⁡[∣vTe1∣≤14n]≤214nV(n−1)V(n) \Pr \left[ |v^T e_1| \le \frac{1}{4 \sqrt n} \right] \le \frac{2 \frac{1}{4 \sqrt n} V(n - 1)}{V(n)}

On the other hand, we can use a cylinder centered at the equator to lower bound the volume of nn-dimension unit ball. The cylinder is inside the ball, with height 21n2\frac{1}{\sqrt n} and radius (1−(1n)2)1/2(1 - (\frac{1}{ \sqrt n})^2)^{1/ 2} . Therefore,

V(n)≥21n(1−(1n)2)(n−1)/2V(n−1)≥21n(1−1n)n/2V(n−1) \begin{aligned} V(n) & \ge 2 \frac{1}{\sqrt n} \left(1 - (\frac{1}{\sqrt n})^2 \right)^{(n - 1) / 2} V(n - 1) \\ &\ge 2 \frac{1}{\sqrt n} \left( 1 - \frac{1}{n} \right)^{n / 2} V(n - 1) \end{aligned}

Note that (1−1n)n(1 - \frac{1}{n})^n increases with nn, and for n≥2n \ge 2, (1−1n)n≥14(1 - \frac{1}{n})^n \ge \frac{1}{4} and (1−1n)n/2≥12\left( 1 - \frac{1}{n} \right)^{n / 2} \ge \frac{1}{2}

Pr⁡[vTe1≤14n]≤14nV(n−1)V(n)≤12 \Pr \left[ v^T e_1 \le \frac{1}{4 \sqrt n} \right] \le \frac{\frac{1}{4 \sqrt n} V(n - 1)}{V(n)} \le \frac{1}{2}

□\square

Theorem After 1ϵln⁡nϵ\frac{1}{\epsilon} \ln \frac{n}{\epsilon} iterations, we can obtain a vector whose component that is perpendicular to VtV_t is at most ϵ\epsilon fraction of its square length, with probability at least 12\frac{1}{2}.

Proof: If σi<(1−ϵ)σ1\sigma_i < (1 - \epsilon) \sigma_1, then

σi2k∑j=1kσ12k≤σiσ12k≤(1−ϵ)2k \frac{\sigma_i^{2k}}{ \sum_{j = 1}^k \sigma_1^{2k} } \le \frac{\sigma_i}{\sigma_1}^{2k} \le (1-\epsilon)^{2k}

Denote σ1=σ2=...=σt\sigma_1 = \sigma_2 = ... = \sigma_t for some t<rt < r the largest singular values. By the previous lemma, we pick a vv from the unit ball at random, and take $v \leftarrow v / \Vert v\Vert $. Denote v=∑i=1naiviv = \sum_{i = 1}^n {a_i} v_i, then with probability at least 1/21/ 2 we have ∑i=1tai2≥14n\sqrt{ \sum_{i = 1}^t a_i^2} \ge \frac{1}{4 \sqrt n}. On the other hand, vv is a unit vector, hence ∑i=1nai2=1\sum_{i = 1}^n a_i^2 = 1. Therefore, ∑i=t+1nai2≤1−116n\sum_{i = t + 1}^n a_i^2 \le 1 - \frac{1}{16 n}

Now

1∥(ATA)k∥F(ATA)kv=∑i=1rσi2k∑j=1kσ12kviviTv=∑i=1raiσi2k∑j=1kσ12kvi=∑i=1tσi2k∑j=1kσ12kaivi+∑i=t+1rσi2k∑j=1kσ12kaivi \begin{aligned} \frac{1}{\Vert (A^T A)^{k} \Vert _F } (A^T A)^k v &= \sum_{i = 1}^r \frac{\sigma_i^{2k}}{ \sum_{j = 1}^k \sigma_1^{2k} } v_i v_i^T v \\ &= \sum_{i = 1}^r \frac{a_i \sigma_i^{2k}}{ \sum_{j = 1}^k \sigma_1^{2k} } v_i \\ &= \sum_{i = 1}^t \frac{\sigma_i^{2k}}{ \sum_{j = 1}^k \sigma_1^{2k} } a_i v_i + \sum_{i = t + 1}^r \frac{\sigma_i^{2k}}{ \sum_{j = 1}^k \sigma_1^{2k} } a_i v_i \end{aligned}

For the second term

∥∑i=t+1rσi2k∑j=1kσ12kaivi∥2=∑i=t+1r(σi2k∑j=1kσ12kai)2≤∑i=t+1r(σi2k∑j=1tσ12kai)2≤(1−ϵ)4kt2∑i=t+1rai2≤(1−ϵ)4kt2 \begin{aligned} \left\Vert \sum_{i = t + 1}^r \frac{\sigma_i^{2k}}{ \sum_{j = 1}^k \sigma_1^{2k} } a_i v_i \right\Vert ^2 &= \sum_{i = t + 1}^r (\frac{\sigma_i^{2k}}{ \sum_{j = 1}^k \sigma_1^{2k} } a_i)^2 \\ &\le \sum_{i = t + 1}^r (\frac{\sigma_i^{2k}}{ \sum_{j = 1}^t \sigma_1^{2k} } a_i)^2 \\ &\le \frac{ (1 - \epsilon)^{4k} }{t^2} \sum_{i = t + 1}^r a_i^2 \\ &\le \frac{ (1 - \epsilon)^{4k} }{t^2} \end{aligned}

For the first term

∥∑i=1tσi2k∑j=1kσ12kaivi∥2=∑i=1t(σi2k∑j=1kσ12k)2ai2≥∑i=1t(1t+(n−t)(1−ϵ)2k)2ai2≥(1t+n(1−ϵ)2k)2∑i=1tai2≥(1t+n(1−ϵ)2k)2116n \begin{aligned} \left\Vert \sum_{i = 1}^t \frac{\sigma_i^{2k}}{ \sum_{j = 1}^k \sigma_1^{2k} } a_i v_i \right\Vert^2 &= \sum_{i = 1}^t (\frac{\sigma_i^{2k}}{ \sum_{j = 1}^k \sigma_1^{2k} })^2 a_i^2 \\ &\ge \sum_{i = 1}^t (\frac{ 1 }{ t + (n - t)(1 - \epsilon)^{2k} })^2 a_i^2 \\ &\ge (\frac{ 1 }{ t + n (1 - \epsilon)^{2k} } )^2 \sum_{i = 1}^t a_i^2 \\ &\ge (\frac{ 1 }{ t + n (1 - \epsilon)^{2k} } )^2 \frac{1}{16n} \end{aligned}

If we take k=O(1ϵln⁡nϵ)k = O( \frac{1}{\epsilon} \ln \frac{n}{\epsilon}), then the second term is at most ϵ\epsilon fraction of the first term.

Remark: picking a point uniformly at random can be done as follows: first pick a point vv uniformly at random from the high dimension cube: [−1,1]n[-1, 1]^n, then checks whether the point is inside the ball (∥v∥<1\Vert v\Vert < 1). This however, could suffers from efficiency problem as the volume of the ball approaches to 00 as the number of dimension increases. More efficient sampling method is needed. But it is not the current focus of this article.

Reference

[1]. GILBERT STRANG, Introduction to Linear Algebra.

[2]. Venkatesan Guruswami and Ravi Kannan, Note 2, Singular Value Decomposition, 15-496/15-859X: Computer Science Theory for the Information Age, Spring 2012, CMU