How close are the eigenvectors and eigenvalues of the sample and
actual covariance matrices?

arXiv:1702.05443v1 [stat.ML] 17 Feb 2017

Andreas Loukas
École Polytechnique Fédérale Lausanne, Switzerland
February 20, 2017
Abstract
How many samples are sufficient to guarantee that the eigenvectors and eigenvalues of the sample
covariance matrix are close to those of the actual covariance matrix? For a wide family of distributions,
including distributions with finite second moment and distributions supported in a centered Euclidean
ball, we prove that the inner product between eigenvectors of the sample and actual covariance matrices decreases proportionally to the respective eigenvalue distance. Our findings imply non-asymptotic
concentration bounds for eigenvectors, eigenspaces, and eigenvalues. They also provide conditions for
distinguishing principal components based on a constant number of samples.

1

Introduction

The covariance matrix C of an n-dimensional distribution is an integral part of data analysis, with numerous
occurrences in machine learning and signal processing. It is therefore crucial to understand how close it
e estimated from a finite number of samples m. Following
is to the sample covariance, i.e., the matrix C
developments in the tools for the concentration of measure, Vershynin showed that a sample size of m = O(n)
is up to iterated logarithmic factors √
sufficient for all distributions with finite fourth moment supported in a
centered Euclidean ball of radius O( n) [26]. Similar results hold also for sub-exponential distributions [1]
and distributions with finite second moment [20].
We take an alternative standpoint and ask if we can do better when only a subset of the spectrum is of
interest. Concretely, our objective is to characterize how many samples are sufficient to guarantee that an
eigenvector and/or eigenvalue of the sample and actual covariance matrices are, respectively, sufficiently close.
Our approach is motivated by the observation that methods that utilize the covariance commonly prioritize
the estimation of principal eigenspaces. For instance, in (local) principal component analysis we are usually
interested in the first few eigenvectors [9, 18], whereas when reducing the dimension of a distribution one
commonly projects it to the span of the first few eigenvectors [16, 12].
Our finding is that the “spectral leaking” occurring in the eigenvector estimation is strongly localized
w.r.t. the eigenvalue axis. In other words, the eigenvector u
ei of the sample covariance is less far likely to
lie in the span of an eigenvector uj of the actual covariance when the eigenvalue distance |λi − λj | is large
and the concentration of the distribution in the direction of uj is small. This phenomenon agrees with the
intuition that principal components of high variance are easier to estimate, exactly because they are more
likely to appear in the samples of the distribution. In addition, it suggests that it might be possible to obtain
good estimates of well separated principal eigenspaces from fewer than n samples.
We provide a mathematical argument confirming this phenomenon. Under fairly general conditions, we
prove that
!
!
kj2
ki2
m=O
and m = O
(1)
(λi − λj )2
λ2i
samples are asymptotically almost surely (a.a.s). sufficient to guarantee that |he
ui , uj i| and |δλi |/λi , respectively, is small for all distributions with finite second moment. Here, kj2 is a measure of the kurtosis of the
1

ũ1
ũ4
ũ20
ũ100

0.4

|hũi , uj i|

|hũi , uj i|

0.6

0.8

0.2

1
ũ1
ũ4
ũ20
ũ100

hũ4 , u4 i

0.6
0.4
0.2

0
101

10

-1

10

λj

(a) m = 10

-3

10

-5

0
101

1
ũ1
ũ4
ũ20
ũ100

0.8
0.6
0.4

hũ20 , u20 i

0.2
10

-1

10

-3

10

-5

0
101

0.6
0.4
0.2

10

-1

λj

10

λj

(b) m = 100

ũ1
ũ4
ũ20
ũ100

0.8

|hũi , uj i|

1
hũ1 , u1 i

|hũi , uj i|

1
0.8

(c) m = 500

-3

10

-5

0
101

hũ100 , u100 i

10

-1

10

-3

10-5

λj

(d) m = 1000

Figure 1: Inner products he
ui , uj i are localized w.r.t. the eigenvalue axis. The phenomenon is shown for MNIST. Much
fewer than n = 784 samples are needed to estimate u1 and u4 .

distribution in the direction of uj . We also attain a high probability bound for distributions supported in a
centered and scaled Euclidean ball, and show how our results can be used to characterize the sensitivity of
principal component analysis to a limited sample set.
To the best of our knowledge, these are the first non-asymptotic results concerning the eigenvectors of the
sample covariance of distributions with finite second moment. Previous studies have intensively investigated
the limiting distribution of the eigenvalues of a sample covariance matrix [24, 4], such as the smallest and
largest eigenvalues [6] and the eigenvalue support [7]. Eigenvectors and eigenprojections have attracted
less attention; the main research thrust entails using tools from the theory of large-dimensional matrices to
characterize limiting distributions [3, 13, 22, 5] and it has limited applicability in the non-asymptotic setting
where the sample size m is small and n cannot be arbitrary large.
Differently, our arguments follow from a combination of techniques from perturbation analysis and nonasymptotic concentration of measure. Moreover, in contrast to standard perturbation bounds [11, 27] commonly used to reason about eigenspaces [14, 15], they can be used to characterize weighted linear combinations
of he
ui , uj i2 over i and j, and they do not depend on the minimal eigenvalue gap separating two eigenspaces
but rather on all eigenvalue differences. The latter renders them particularly amendable to situations where
the eigenvalue gap is not significant but the eigenvalue magnitudes decrease sufficiently fast.
Our work also connects to subspace methods, where the signal and noise spaces are separated by an
appropriate eigenspace projection. In their recent work, Shaghaghi and Vorobyov characterized the first two
moments of the projection error, a result which implies sample estimates [23]. Their results are particularly
tight, but are restricted to specific projectors and Normal distributions. Finally, we remark that there exist
alternative estimators for the spectrum of the covariance with better asymptotic properties [2, 19]. Instead,
we here focus on the standard estimates, i.e., the eigenvalues and eigenvectors of the sample covariance.

2

Problem statement and main results

Let x ∈ Cn be a sample of a multivariate distribution and denote by x1 , x2 , . . . , xm the m independent
samples used to form the sample covariance, defined as
e=
C

m
X
(xp − x̄)(xp − x̄)∗

m

p=1

,

(2)

where x̄ is the sample mean. Denote by ui the eigenvector of C associated with eigenvalue λi , and correei of C,
e such that λ1 ≥ λ2 ≥ . . . ≥ λn . We ask:
spondingly for the eigenvectors u
ei and eigenvalues λ
Problem 1. How many samples are sufficient to guarantee that the inner product |he
ui , uj i| = |e
u∗i uj | and the
ei − λi | is smaller than some constant t with probability larger than ?
eigenvalue gap |δλi | = |λ
Clearly, when asking that all eigenvectors and eigenvalues of the sample and actual covariance matrices
e − Ck2 ≤ t [26]. However, we
are close, we will require at least as many samples as needed to ensure that kC
might do better when only a subset of the spectrum is of interest. The reason is that inner products |he
ui , uj i|
possess strong localized structure along the eigenvalue axis. To illustrate this phenomenon, let us consider the
distribution constructed by the n = 784 pixel values of digit ‘1’ in the MNIST database. Figure 1, compares
the eigenvectors uj of the covariance computed from all 6742 images, to the eigenvectors u
ei of the sample
2

e computed from a random subset of m = 10, 100, 500, and 1000 samples. For each
covariance matrices C
i = 1, 4, 20, 100, we depict at λj the average of |he
ui , uj i| over 100 sampling draws. We observe that: (i ) The
magnitude of he
ui , uj i is inversely proportional to their eigenvalue gap |λi − λj |. (ii ) Eigenvector u
ej mostly
lies in the span of eigenvectors uj over which the distribution is concentrated.
We formalize these statements in two steps.

2.1

Perturbation arguments

First, we work in the setting of Hermitian matrices and notice the following inequality:
e = δC + C, with eigenvectors uj and u
Theorem 3.2. For Hermitian matrices C and C
ei respectively, the
inequality
|he
uj , uj i| ≤

2 kδCuj k2
,
|λi − λj |

ei > sgn(λi > λj )(λi + λj ) and λi 6= λj .
holds for sgn(λi > λj ) 2λ
The above stands out from standard eigenspace perturbation results, such as the sin(Θ) Theorem [11] and
its variants [14, 15, 27] for three main reasons: First, Theorem 3.2 characterizes the angle between any pair of
eigenvectors allowing us to jointly bound any linear combination of inner-products. Though this often proves
handy (c.f. Section 5), it was not possible using sin(Θ)-type arguments. Second, classical bounds are not
appropriate for a probabilistic analysis as they feature ratios of dependent random variables (corresponding
to perturbation terms). In the analysis of spectral clustering, this complication was dealt with by assuming
ei − λj | [15]. We weaken this condition at a cost of a multiplicative factor of 2. In contrast
that |λi − λj | ≤ |λ
to previous work, we also prove that the condition is met a.a.s. Third, previous bounds are expressed in
terms of the minimal eigenvalue gap between eigenvectors lying in the interior and exterior of the subspace
of interest. This is a limiting factor in practice as it renders the results only amenable to situations where
there is a very large eigenvalue gap separating the subspaces. The proposed result improves upon this by
considering every eigenvalue difference.

2.2

Spectral concentration

The second part of our analysis focuses on the covariance and has a statistical flavor. In particular, we give
an answer to Problem 1 for various families of distributions.
In the context of distributions with finite second moment, we prove in Section 4.1 that:
Theorem 4.1. For any two eigenvectors u
ei and uj of the sample and actual covariance respectively, and for
any real number t > 0:
P(|he
ui , uj i| ≥ t) ≤

2
1 
2kj
,
m t |λi − λj |

(3)

s.t. the same conditions as Theorem 3.2.
For eigenvalues, we provide the following guarantee:
ei of C and C,
e respectively, and for any t > 0, we have
Theorem 4.2. For any eigenvalues λi and λ
!

2
ei − λi |
|λ
1
ki
≥t ≤
.
P
λi
m λi t


Term kj = (E kxx∗ uj k22 − λ2j )1/2 captures the tendency of the distribution to fall in the span of uj : the
smaller the tail in the direction of uj the less likely we are going to confuse u
ei with uj .
For normal distributions, we have that kj2 = λ2j + λj tr(C) and the number of samples needed for |he
ui , uj i|
−1
to be small is m = O(tr(C)/λ2i ) when λj = O(1) and m = O(λ−2
)
when
λ
=
O(tr(C)
).
Thus
for
j
i
normal distributions, principal components ui and uj with min{λi /λj , λi } = Ω(tr(C)1/2 ) can be distinguished

3

given a constant number of samples. On the other hand, estimating λi with small relative error requires
m = O(tr(C)/λi ) samples and can thus be achieved from very few samples when λi is large1 .
In Section 4.2, we also give a sharp bound for the family of distributions supported within a ball (i.e.,
kxk ≤ r a.s.).
Theorem 4.3. For sub-gaussian distributions supported within a centered Euclidean ball of radius r, there
exists an absolute constant c, independent of the sample size, such that for any real number t > 0,
!
c m Φij (t)2
,
(4)
P(|he
ui , uj i| ≥ t) ≤ exp 1 −
2
λj kxkΨ2
where Φij (t) =

|λi −λj | t−2λj
2 (r 2 /λj −1)1/2

− 2 kxkΨ2 and s.t. the same conditions as Theorem 3.2.

Above, kxkΨ2 is the sub-gaussian norm, for which we usually have kxkΨ2 = O(1) [25]. As such, the theorem
implies that, whenever λi  λj = O(1), the sample requirement is with high probability m = O(r2 /λ2i ).
These theorems solidify our experimental findings shown in Figure 1. Moreover, combined with the
analysis of principal component estimation given in Section 5, they provide a concrete characterization of the
relation between the spectrum (eigenvectors and eigenvalues) of the sample and actual covariance matrix as
a function of the number of samples, the eigenvalue gap, and the distribution properties.

3

Perturbation arguments

Before focusing on the sample covariance matrix, it helps to study he
ui , uj i in the setting of Hermitian matrices.
The presentation of the results is split in three parts. Section 3.1 starts by studying some basic properties
of inner products of the form he
ui , uj i, for any i and j. The results are used in Section 3.2 to provide a first
bound on the angle between two eigenvectors, and refined in Section 3.3.

3.1

Basic observations

We start by noticing an exact relation between the angle of a perturbed eigenvector and the actual eigenvectors
of C.
Pn
ei − λj ) (e
Lemma 3.1. For every i and j in 1, 2, . . . , n, the relation (λ
u∗i uj ) = `=1 (e
u∗i u` ) (u∗j δCu` ) holds .
Proof. The proof follows from a modification of a standard argument in perturbation theory. We start from
ei u
eu
the definition C
ei = λ
ei and write
(C + δC) (ui + δui ) = (λi + δλi ) (ui + δui ).

(5)

Expanded, the above expression becomes
Cδui + δCui + δCδui = λi δui + δλi ui + δλi δui ,

(6)

where we used the fact that Cui = λi ui to eliminate two terms. To proceed, we substitute δui =
where βij = δu∗i u` , into (6) and multiply from the left by u∗j , resulting to:
n
X
`=1

βij u∗j Cu` + u∗j δCui +

n
X

βij u∗j δCu` = λi

`=1

n
X

βij u∗j u` + δλi u∗j ui + δλi

`=1

n
X

βij u∗j u`

Pn

j=1

βij u` ,

(7)

`=1

Cancelling the unnecessary terms and rearranging, we have
δλi u∗j ui + (λi + δλi − λj )βik = u∗j δCui +

n
X

βij u∗j δCu` .

`=1
1 Though

the same cannot be stated about the absolute error |δλi |, that is smaller for small λi .

4

(8)

ei − λj and furthermore that βik = u
At this point, we note that (λi + δλi − λj ) = λ
e∗i uj − u∗i uj . With this in
place, equation (8) becomes
ei − λj ) (e
δλi u∗j ui + (λ
u∗i uj − u∗i uj ) = u∗j δCui +

n
X
(e
u∗i u` ) u∗j δCu` − u∗j δCui .

(9)

`=1

e i − λj ) u
The proof completes by noticing that, in the left hand side, all terms other than (λ
e∗i uj fall-off, either
∗
e
due to ui uj = 0, when i 6= k, or because δλi = λi − λj , o.w.
As the expression reveals, he
ui , uj i depends on the orientation of u
ei with respect to all other u` . Moreover,
the angles between eigenvectors depend not only on the minimal gap between the subspace of interest and
ei − λj . This is a crucial ingredient
its complement space (as in the sin(Θ) theorem), but on every difference λ
to a tight bound, that will be retained throughout our analysis.

3.2

Bounding arbitrary angles

We proceed to decouple the inner products.
e = δC + C, with eigenvectors uj and u
Theorem 3.1. For any Hermitian matrices C and C
ei respectively,
ei − λj | |he
we have that |λ
ui , uj i| ≤ kδC uj k2 .
Proof. We rewrite Lemma 3.1 as
ei − λj )2 (e
(λ
u∗i uj )2 =

!2
n
X
∗
∗
(e
ui u` ) (uj δCu` ) .

(10)

`=1

We now use the Cauchy-Schwartz inequality
ei − λj )2 (e
(λ
u∗i uj )2 ≤

n
n
n
X
X
X
(e
u∗i u` )2
(u∗j δCu` )2 =
(u∗j δCu` )2 = kδC uj k22 ,
`=1

`=1

(11)

`=1

where in the last step we exploited Lemma 3.2. The proof concludes by taking a square root at both sides of
the inequality.
Lemma 3.2.

n
P

(u∗j δCu` )2 = kδC uj k22 .

`=1

Proof. We first notice that u∗j δCu` is a scalar and equal to its transpose. Moreover, δC is Hermitian as the
difference of two Hermitian matrices. We therefore have that
n
n
n
X
X
X
(u∗j δCu` )2 =
u∗j δCu` u∗` δCuj = u∗j δC
(u` u∗` )δCuj = u∗j δCδCuj = kδCuj k22 ,
`=1

`=1

`=1

matching our claim.

3.3

Refinement

As a last step, we move all perturbation terms to the numerator, at the expense of a multiplicative constant
factor.
e = δC + C, with eigenvectors uj and u
Theorem 3.2. For Hermitian matrices C and C
ei respectively, the
inequality
|he
uj , uj i| ≤

2 kδCuj k2
,
|λi − λj |

ei > sgn(λi > λj )(λi + λj ) and λi 6= λj .
holds for sgn(λi > λj ) 2λ

5

Proof. Adding and subtracting λi from the left side of the expression in Lemma 3.1 gives
(δλi + λi − λj ) (e
u∗i uj ) =

n
X
(e
u∗i u` ) (u∗j δCu` ).

(12)

`=1

For λi 6= λj , the above expression can be re-written as
n
P

|e
u∗i uj | =

(e
u∗i u` ) (u∗j δCu` ) − δλi (e
u∗i uj )

`=1

≤ 2 max

|λi − λj |

 n
P ∗


(e
ui u` ) (u∗j δCu` )

`=1





|λi − λj |

,






|δλi | |e
u∗i uj |
.
|λi − λj | 



(13)

Let us examine the right-hand side inequality carefully. Obviously, when the condition |λi − λj | ≤ 2 |δλi |
is not met, the right clause of (13) is irrelevant. Therefore, for |δλi | < |λi − λj | /2 the bound simplifies to
2
|e
u∗i uj | ≤

n
P

(e
u∗i u` ) (u∗j δCu` )

`=1

|λi − λj |

.

Similar to the proof of Theorem 3.1, applying the Cauchy-Schwartz inequality we have that
s
n
n
P
P
2
(e
u∗i u` )2
(u∗j δCu` )2
`=1
`=1
2 kδCuj k2
|e
u∗i uj | ≤
=
,
|λi − λj |
|λi − λj |

(14)

(15)

where in the last step we used Lemma 3.2. To finish the proof we notice that, due to Theorem 3.2, whenever
ei − λj |, one has
|λi − λj | ≤ |λ
|e
u∗i uj | ≤

2 kδCuj k2
kδC uj k2
kδC uj k2
≤
<
.
ei − λj |
|λi − λj |
|λi − λj |
|λ

(16)

ei − λj |, i.e., for
Our bound therefore holds for the union of intervals |δλi | < |λi − λj | /2 and |λi − λj | ≤ |λ
e
e
λi > (λi + λj )/2 when λi > λj and for λi < (λi + λj )/2 when λi < λj .

4

Spectral concentration

This section builds on the perturbation results of Section 3 to characterize how far any inner product he
ui , uj i
ei are from the ideal estimates.
and eigenvalue λ
Before proceeding, we remark on some simplifications employed in the following. W.l.o.g., we will assume
that the mean E[x] is zero and the covariance full rank. Though the case of rank-deficient C is easily
handled by substituting the inverse with the Moore-Penrose pseudoinverse, we opt to make the exposition
in the simpler setting. In addition, we will assume the perspective of Theorem 3.2, for which the inequality
ei > sgn(λi > λj )(λi + λj ) holds. This event occurs a.a.s. when the gap and the sample
sgn(λi > λj ) 2λ
size are sufficiently large (see Section 4.1.2), but it is convenient to assume that it happens almost surely.
Removing this assumption is possible, but is not pursued here as it leads to less elegant and sharp estimates.

4.1

Distributions with finite second moment

Our first flavor of results is based on a variant of the Tchebichef inequality and holds for any distribution
with finite second moment.

6

4.1.1

Concentration of eigenvector angles

We start with the concentration of inner-products |he
ui , uj i|.
Theorem 4.1. For any two eigenvectors u
ei and uj of the sample and actual covariance respectively, with
λi 6= λj , and for any real number t > 0, we have
P(|he
ui , uj i| ≥ t) ≤

2
1  2 kj
m t |λi − λj |




ei > sgn(λi > λj )(λi + λj ) and kj = E kxx∗ uj k2 − λ2 1/2 .
for sgn(λi > λj ) 2λ
2
j
Proof. According to a variant of Tchebichef’s inequality [21], for any random variable X and for any real
numbers t > 0 and α:
P(|X − α| ≥ t) ≤

Var[X] + (E[X] − α)2
.
t2

(17)

Setting X = he
ui , uj i and α = 0, we have




2
ui , uj i2
E he
4 E kδCuj k22
Var[he
ui , uj i] + E[he
ui , uj i]
P(|he
ui , uj i| ≥ t) ≤
=
≤ 2
,
t2
t2
t (λi − λj )2

(18)

where the last inequality follows from Theorem 3.2. We continue by expanding δC using the definition of the
eigenvalue decomposition and substituting the expectation.
h
i


e j − λ j uj k 2
E kδCuj k22 = E kCu
2
h
i
e − λj )(C
e − λj )uj
= E u∗j (C
h
i
h i
e 2 uj + λ2 − 2λj u∗ E C
e uj
= E u∗j C
j
j
h
i
e 2 uj − λ2 .
= E u∗j C
(19)
j
In addition,


m
h
i
X
E (xp x∗p )(xq x∗q )
∗ e2
∗
uj
E uj C uj =
uj
m2
p,q=1

 



m
X E xp x∗p E xq x∗q
X
E xp x∗p xp x∗p
∗
∗
=
uj
uj +
uj
uj
m2
m2
p=1
p6=q

m(m − 1) 2
1
λj + u∗j E[xx∗ xx∗ ] uj
2
m
m
1 2
1 ∗
= (1 − ) λj + uj E[xx∗ xx∗ ] uj
m
m
=

and therefore


1
1
E kδCuj k22 = (1 − ) λ2j + u∗j E[xx∗ xx∗ ] uj − λ2j
m
m


u∗j E[xx∗ xx∗ ] uj − λ2j
E kxx∗ uj k22 − λ2j
=
=
.
m
m
Putting everything together, the claim follows.
The following corollary will be very useful when applying our results.

7

(20)

Corollary 4.1. For any weights wij and real t > 0:


X
X
P
wij he
ui , uj i2 > t ≤
i6=j

i6=j

4 wij kj2
,
m t (λi − λj )2



1/2
ei > sgn(λi > λj )(λi + λj ).
where kj = E kxx∗ uj k22 − λ2j
and wij 6= 0 when λi 6= λj and sgn(λi > λj ) 2λ
Proof. We proceed as in the proof of Theorem 4.1:
hP
i




2
X
 21
E
w
he
u
,
u
i
ij
i
j
i6=j
E kδCuj k22
4 X
2


P
>t ≤
≤ 2
wij
wij he
ui , uj i
t2
t
(λi − λj )2

(21)

i6=j

i6=j



The claim follows by computing E kδCuj k22 (as before) and squaring both terms within the probability.
4.1.2

Eigenvalue concentration

A slight modification of the same argument can be used to characterize the eigenvalue relative difference.
ei of C and C,
e respectively, and for any t > 0, we have
Theorem 4.2. For any eigenvalues λi and λ
!

2
ei − λi |
|λ
ki
1
P
≥t ≤
,
λi
m λi t


where ki = (E kxx∗ ui k22 − λi )1/2 .
Proof. Directly from the Bauker-Fike theorem [8] one sees that
e i − λi ui k2 = kδCui k2 .
|δλi | ≤ kCu

(22)

The proof is then identical to the one of Theorem 4.1.
As such, the probability the main condition of our Theorems holds is at least




|λi − λj |
2ki2
e
e
P sgn(λi > λj ) 2λi > sgn(λi > λj )(λi + λj ) ≥ P |λi − λi | <
>1−
.
2
m|λi − λj |

(23)

4.1.3

The influence of the distribution




As seen by the straightforward inequality E kxx∗ uj k22 ≤ E kxk42 , kj connects to the kurtosis of the distribution. However, it also captures the tendency of the distribution to fall in the span of uj .
To see this, we will work with the uncorrelated random vectors ε = C −1/2 x, which have zero mean and
identity covariance.
h
i
kj2 = E u∗j C 1/2 εε∗ Cεε∗ C 1/2 uj − λ2j


= λj E u∗j εε∗ Cεε∗ uj − λ2j
h
i
= λj (E kΛ1/2 U ∗ εε∗ uj k22 − λj ).
(24)
If we further set ε̂ = U ∗ ε, we have
kj2 = λj

n
X




λ` E ε̂(`)2 ε̂(j)2 − λj .

(25)

`=1

It is therefore easier to untangle the spaces spanned by u
ei and uj when the variance of the distribution along
the latter space is small (the expression is trivially minimized when λj → 0) or when the variance is entirely
contained along that space (the expression is also small when λi = 0 for all i 6= j). In addition, it can be
seen that distributions with fast decaying tails allow for better principal component identification (E ε̂(j)4
is a measure of kurtosis over the direction of uj ).
For the particular case of a Normal distribution, we provide a closed-form expression.
8

Corollary 4.2. For a Normal distribution, we have kj2 = λj (λj + tr(C)).
Proof. For a centered and normal distribution with identity covariance, the choice of basis is arbitrary and
the
ε̂ = U ∗ε is also
 vector
  zero mean with identity covariance. Moreover, for every ` 6= j we can write
2
E ε̂(`) ε̂(j)2 = E ε̂(`)2 E ε̂(j)2 = 1. This implies that
n
X




E kxx∗ uj k22 = λ2j E ε̂(j)4 + λj
λ` = λ2j (3 − 1) + λj tr(C) = 2λ2j + λj tr(C)

(26)

`6=j

and, accordingly, kj2 = λj (λj + tr(C)).

4.2

Distributions supported in a Euclidean ball

Our last result provides a sharper probability estimate for the family of sub-gaussian distributions supported
in a centered Euclidean ball of radius r, with their Ψ2 -norm
kxkΨ2 = sup khx, yikψ2 ,

(27)

y∈S n−1

where S n−1 is the unit sphere and with the ψ2 -norm of a random variable X defined as
p 1/p

kXkψ2 = sup p−1/2 E[|X| ]

.

(28)

p≥1

Our setting is therefore similar to the one used to study covariance estimation [26]. Due to space constraints,
we refer the reader to the excellent review article [25] for an introduction to sub-gaussian distributions as a
tool for non-asymptotic analysis of random matrices.
Theorem 4.3. For sub-gaussian distributions supported within a centered Euclidean ball of radius r, there
exists an absolute constant c, independent of the sample size, such that for any real number t > 0,
!
c m Φij (t)2
P(|he
ui , uj i| ≥ t) ≤ exp 1 −
,
(29)
2
λj kxkΨ2
where Φij (t) =

|λi −λj | t−2λj
2 (r 2 /λj −1)1/2

ei > sgn(λi > λj )(λi + λj ).
− 2 kxkΨ2 , λi 6= λj and sgn(λi > λj ) 2λ

Proof. We start from the simple observation that, for every upper bound B of |he
ui , uj i| the relation P(|he
ui , uj i| > t) ≤
P(B > t) holds. To proceed therefore we will construct a bound with a known tail. As we saw in Sections 3.3
and 4.1,
|he
ui , uj i| ≤

=
≤

=

2 kδCuj k2
|λi − λj |
Pm
2 (1/m) p=1 (xp x∗p uj − λj uj )
2

Pm

p=1

xp x∗p uj − λj uj

2

m |λi − λj |
Pm q ∗ 2 ∗
2 p=1 (uj xp ) (xp xp ) − 2λj (u∗j xp )2 + λ2j
m |λi − λj |
2

=

2

|λi − λj |

Pm q
p=1

(u∗j xp )2 (kxp k22
m |λi − λj |

− λj ) + λ2j

(30)

Assuming further that kxk2 ≤ r, and since the numerator is minimized when kxp k22 approaches λj , we can
write for every sample x = C 1/2 ε:
q
q
(u∗j x)2 (kxk22 − λj ) + λ2j ≤ (u∗j x)2 (r2 − λj ) + λ2j
q
q
= λj (u∗j ε)2 (r2 − λj ) + λ2j ≤ |u∗j ε| λj r2 − λ2j + λj ,
(31)

9

which is a shifted and scaled version of the random variable |ε̂(j)| = |u∗j ε|. Setting a = (λj r2 − λ2j )1/2 , we
have
!
Pm
2 p=1 (|ε̂p (j)| a + λj )
P(|he
ui , uj i| ≥ t) ≤ P
≥t
m |λi − λj |
!
m
X
=P
(|ε̂p (j)| a + λj ) ≥ 0.5 mt |λi − λj |
p=1

!
m (0.5 t |λi − λj | − λj )
=P
|ε̂p (j)| ≥
.
a
p=1
m
X

(32)

By Lemma 4.1 however, the left hand side is a sum of independent sub-gaussian variables. Since the summands
are not centered, we expand each |ε̂p (j)| = zp + E[|ε̂p (j)|] in terms of a centered sub-gaussian zp with the
same ψ2 -norm. Furthermore, by Jensen’s inequality and Lemma 4.1

1/2
2
E[|ε̂p (j)|] ≤ E ε̂p (j)2
≤
kxkΨ2 .
λj
Therefore, if we set Φij (t) =

(0.5 |λi −λj | t−λj )
(r 2 /λj −1)1/2

(33)

− 2 kxkΨ2

!
mΦij (t)
.
P(|he
ui , uj i| ≥ t) ≤ P
zp ≥
λj
p=1
m
X

(34)

Moreover, by the rotation invariance
the left hand side of the last inequality is a sub-gaussian
Pm principle,
2
with ψ2 -norm smaller than (C p=1 kzp kψ2 )1/2 = (c1 m)1/2 kzkψ2 ≤ (Cm/λj )1/2 kxkΨ2 , for some absolute
constant c1 . As a consequence, there exists an absolute constant c2 , such that for each θ > 0:
!
!
m
X
c2 θ2 λj
P
zp ≥ θ ≤ exp 1 −
.
(35)
2
m kxkΨ2
p=1
Substituting θ = m Φij (t)/λj , we have
P(|he
ui , uj i| ≥ t) ≤ exp 1 −

c2 m2 Φij (t)2 λj
2

mλ2j kxkΨ2

!
= exp 1 −

c2 m Φij (t)2

!
,

2

λj kxkΨ2

(36)

which is the desired bound.
Lemma 4.1. If x is a sub-gaussian random vector and√ε = C −1/2 x, then for every i, the random variable
ε̂(i) = u∗i ε is also sub-gaussian, with kε̂(i)kψ2 ≤ kxkΨ2 / λi .
Proof. The fact that ε̂(i) is sub-gaussian follows easily by the definition of a sub-gaussian random vector,
according to which for every y ∈ Rn the random variable hx, yi is sub-gaussian. Setting y = ui , the first part
is proven. For the bound of the norm, notice that
kxkΨ2 = sup khx, yikψ2 = sup
y∈S n−1

y∈S n−1

n
X

1/2

λj (u∗j y)(u∗j ε)

j=1

≥
ψ2

n
X
j=1

1/2

1/2

λj (u∗j ui )ε̂(j)

= λi

kε̂(i)kψ2 ,

(37)

ψ2

where, for the last inequality, we set y = ui .

5

Principal component estimation

The last step in our exposition entails moving from statements about eigenvector angles to statements about
the eigenvectors themselves. In particular, we are going to focus on the eigenvectors of the sample covariance
associated to the largest eigenvalues, commonly referred to as principal components.
10

hũi , uj i2
1

197

393

588

j=i−2

rank(C)

Pi+2

hũi , ui i2

1
0.8
0.6
0.4
0.2
0

n

1
0.8
0.6
0.4
0.2
0

784

ũ1
1

197

393

m
hũi , uj i2
j=i−4

ũ6

ũ10
588

ũ20
784

m

(a) ` = 0

Pi+4

ũ3

(b) ` = 2

1
0.8
0.6
0.4
0.2
0

ũ1
1

197

ũ3

ũ6

393

ũ10
588

ũ20
784

m
(c) ` = 4

Figure 2: Much less than n = 784 samples are needed to estimate principal components associated to large isolated
eigenvalues (top). The sample requirement reduces further if we are satisfied by a tight localization of eigenvectors,
such that u
ei is almost entirely contained within the span of the 2` surrounding eigenvectors of ui , shown here for
` = 2 (middle) and ` = 4 (bottom).

The phenomenon we will characterize is portrayed in Figure 2. The experiment in question concerns the
n = 784 dimensional distribution constructed by the 6131 images featuring digit ‘3’ found in the MNIST
database. The top sub-figure shows the estimation accuracy for a set of five principal components averaged
over 200 sampling draws. The trends suggest that the first three eigenvectors can be estimated up to a
satisfactory accuracy by much less than n samples. The sample requirements decrease further if we are
satisfied by a tight localization of eigenvectors2 , such that u
ei is almost entirely contained within the span
of the 2` surrounding eigenvectors of ui . As suggested by the middle and bottom sub-figures, by slightly
increasing `, we reduce the number of samples needed to estimate higher principal components.
In the following, we show that our results verify these trends. We are interested to find out how many
samples are sufficient to ensure that u
ei is almost entirely contained within span(ui−` , . . . , ui , . . . , ui+` ) for
some small non-negative integer `. Setting S = {(j < i − `) ∪ (i + ` < j ≤ r)}, where r is the rank of C, we
have as a consequence of Corollary 4.1 that for distributions with finite second moment:


i+`
X
X
4 kj2
P
he
ui , uj i2 < 1 − t ≤
(38)
mt (λi − λj )2
j∈S

j=i−`

In accordance with the experimental results, equation (38) reveals that it is much easier to estimate the
principal components of larger variance, and that, by introducing a small slack in terms of ` one mitigates
the requirement for eigenvalue separation.
It might be also interesting to observe that, for covariance matrices that are (approximately) low-rank,
we obtain estimates reminiscent of compressed setting [10], in the sense that the sample requirement becomes
a function of the non-zero eigenvalues. Though intuitive, this dependency of the estimation accuracy on the
rank was not transparent in known results for covariance estimation [20, 1, 26].

6

Conclusions

The main contribution of this paper was the derivation of non-asymptotic bounds for the concentration of
inner-products |he
ui , uj i| involving eigenvectors of the sample and actual covariance matrices. We also showed
how these results can be extended to reason about eigenvectors, eigenspaces, and eigenvalues.
2 This is relevant for instance when we wish to construct projectors over specific principal eigenspaces and we have to ensure
that the projection space estimated from the sample covariance closely approximates an eigenspace of the actual covariance.

11

We have identified two interesting directions for further research. The first has to do with obtaining
tighter concentration estimates. Especially with regards to our perturbation arguments, we believe that our
current bounds on inner products could be sharpened by at least a constant multiplicative factor. We also
suspect that a joint analysis of angles could also lead to a significant improvement over Corollary 4.1. The
second direction involves using our results for the analysis of methods that utilize the eigenvectors of the
covariance for dimensionality reduction. Examples include (fast) principal component projection [12] and
regression [17].

References
[1] Radoslaw Adamczak, Alexander Litvak, Alain Pajor, and Nicole Tomczak-Jaegermann. Quantitative
estimates of the convergence of the empirical covariance matrix in log-concave ensembles. Journal of the
American Mathematical Society, 23(2):535–561, 2010.
[2] SE Ahmed. Large-sample estimation strategies for eigenvalues of a wishart matrix. Metrika, 47(1):35–45,
1998.
[3] Theodore Wilbur Anderson. Asymptotic theory for principal component analysis. The Annals of Mathematical Statistics, 34(1):122–148, 1963.
[4] ZD Bai. Methodologies in spectral analysis of large dimensional random matrices, a review. Statistica
Sinica, pages 611–662, 1999.
[5] ZD Bai, BQ Miao, GM Pan, et al. On asymptotics of eigenvectors of large sample covariance matrix.
The Annals of Probability, 35(4):1532–1572, 2007.
[6] ZD Bai and YQ Yin. Limit of the smallest eigenvalue of a large dimensional sample covariance matrix.
The annals of Probability, pages 1275–1294, 1993.
[7] Zhi-Dong Bai and Jack W Silverstein. No eigenvalues outside the support of the limiting spectral
distribution of large-dimensional sample covariance matrices. Annals of probability, pages 316–345,
1998.
[8] Friedrich L Bauer and Charles T Fike. Norms and exclusion theorems. Numerische Mathematik,
2(1):137–141, 1960.
[9] Jens Berkmann and Terry Caelli. Computation of surface geometry and segmentation using covariance
techniques. IEEE Transactions on Pattern Analysis and Machine Intelligence, 16(11):1114–1116, 1994.
[10] Emmanuel J. Candès, Xiaodong Li, Yi Ma, and John Wright. Robust principal component analysis?
Journal of the ACM, 58(3):11:1–11:37, June 2011.
[11] Chandler Davis and William Morton Kahan. The rotation of eigenvectors by a perturbation. III. SIAM
Journal on Numerical Analysis, 7(1):1–46, 1970.
[12] Roy Frostig, Cameron Musco, Christopher Musco, and Aaron Sidford. Principal component projection
without principal component analysis. In Proceedings of The 33rd International Conference on Machine
Learning, pages 2349–2357, 2016.
[13] V Girko. Strong law for the eigenvalues and eigenvectors of empirical covariance matrices. 1996.
[14] Ling Huang, Donghui Yan, Nina Taft, and Michael I Jordan. Spectral clustering with perturbed data.
In Advances in Neural Information Processing Systems, pages 705–712, 2009.
[15] Blake Hunter and Thomas Strohmer. Performance analysis of spectral clustering on compressed, incomplete and inaccurate measurements. arXiv preprint arXiv:1011.0997, 2010.
[16] Ian Jolliffe. Principal component analysis. Wiley Online Library, 2002.

12

[17] Ian T Jolliffe. A note on the use of principal components in regression. Applied Statistics, pages 300–303,
1982.
[18] Nandakishore Kambhatla and Todd K Leen. Dimension reduction by local principal component analysis.
Neural computation, 9(7):1493–1516, 1997.
[19] Xavier Mestre. Improved estimation of eigenvalues and eigenvectors of covariance matrices using their
sample estimates. IEEE Transactions on Information Theory, 54(11), 2008.
[20] Mark Rudelson. Random vectors in the isotropic position. Journal of Functional Analysis, 164(1):60–72,
1999.
[21] Dilip Sarwate. Two-sided chebyshev inequality for event not symmetric around the mean? Mathematics
Stack Exchange, 2013. URL:http://math.stackexchange.com/q/144675 (version: 2012-05-13).
[22] James R Schott. Asymptotics of eigenprojections of correlation matrices with some applications in
principal components analysis. Biometrika, pages 327–337, 1997.
[23] Mahdi Shaghaghi and Sergiy A Vorobyov. Subspace leakage analysis of sample data covariance matrix.
In ICASSP, pages 3447–3451. IEEE, 2015.
[24] Jack W Silverstein and ZD Bai. On the empirical distribution of eigenvalues of a class of large dimensional
random matrices. Journal of Multivariate analysis, 54(2):175–192, 1995.
[25] Roman Vershynin. Introduction to the non-asymptotic analysis of random matrices. arXiv:1011.3027,
2010.
[26] Roman Vershynin. How close is the sample covariance matrix to the actual covariance matrix? Journal
of Theoretical Probability, 25(3):655–686, 2012.
[27] Yi Yu, Tengyao Wang, Richard J Samworth, et al. A useful variant of the davis–kahan theorem for
statisticians. Biometrika, 102(2):315–323, 2015.

13

