Skip to content
nonconvexcard

Spectral Norm of Random Matrices

The net-plus-concentration argument that gives the sqrt(n) + sqrt(p) bound, and the semicircle law for Wigner matrices.

Random MatricesGraduate⏱ 3 hours12 min readrandom matricesspectral normwignersemicircleoperator norm
4 problems →

The variational reduction

LemmaBilinear variational form of the spectral norm

For any A∈Rn×pA \in \R^{n\times p},

∥A∥=max⁡u∈Sn−1 max⁡v∈Sp−1 ⟨Au,v⟩=max⁡u,vu⊤A⊤v.\norm{A} = \max_{u \in S^{n-1}}\ \max_{v\in S^{p-1}}\ \ip{Au}{v} = \max_{u,v} u^\top A^\top v .

Moreover, if N⊆Sp−1\Ncal \subseteq S^{p-1} and M⊆Sn−1\mathcal{M}\subseteq S^{n-1} are ε\eps-nets with ε<1/2\eps<1/2, then

∥A∥≤11−2εmax⁡v∈Mmax⁡u∈N⟨Au,v⟩.\norm{A} \le \frac{1}{1-2\eps}\max_{v\in\mathcal{M}}\max_{u\in\Ncal} \ip{Au}{v}.

The main bound

TheoremSpectral norm of a matrix with sub-Gaussian entries

Let A∈Rn×pA\in\R^{n\times p} have independent, mean-zero entries with ∥Aij∥ψ2≤K\norm{A_{ij}}_{\psi_2}\le K. Then there is an absolute constant CC such that for every t≥0t \ge 0,

P(∥A∥≥CK(n+p+t))≤2e−t2.\P\Big(\norm{A} \ge CK\big(\sqrt n + \sqrt p + t\big)\Big) \le 2e^{-t^2}.

In particular E∥A∥≤CK(n+p)\E\norm{A} \le CK(\sqrt n + \sqrt p).

Assumptions

Independence of the entries (not merely of the rows), mean zero, uniformly bounded ψ2\psi_2 norm. No identical distribution and no symmetry is needed.

Key idea

Count the exponents once more. The net has e(n+p)log⁡12e^{(n+p)\log 12} points, and each fails with probability e−cs2/K2e^{-c s^2/K^2}. For the union bound to survive we need s2≳K2(n+p)s^2 \gtrsim K^2(n+p), that is s≳Kn+p≍K(n+p)s \gtrsim K\sqrt{n+p} \asymp K(\sqrt n+\sqrt p). The answer is forced by the arithmetic of the net size against the concentration exponent — there is no cleverness left in the argument once the two ingredients are in place.

Sharp constants: the Bai–Yin law

TheoremBai–Yin law

Let A∈Rn×pA \in \R^{n\times p} have i.i.d. entries with mean 00, variance 11 and finite fourth moment, and let n,p→∞n,p \to \infty with p/n→λ∈(0,1]p/n \to \lambda \in (0,1]. Then almost surely

σmax⁡(A)=n+p+o(n),σmin⁡(A)=n−p+o(n).\sigma_{\max}(A) = \sqrt n + \sqrt p + o(\sqrt n), \qquad \sigma_{\min}(A) = \sqrt n - \sqrt p + o(\sqrt n) .

Quoted from the references. The point of comparison with the theorem above is instructive: the net argument gives the right order with an unspecified constant CC, valid for every finite n,pn,p and with an exponential tail. Bai–Yin gives the exact constant 11 in front of each square root, but only asymptotically and only almost surely. Both are useful, for different purposes — and the finite-sample statement is the one a statistician needs.

Run it: Marchenko–Pastur lawEigenvalues of a sample covariance matrix against the Marchenko–Pastur density for aspect ratio λ = p/n.

Wigner matrices and the semicircle law

DefinitionWigner matrix

A Wigner matrix is a symmetric W∈Rd×dW \in \R^{d\times d} whose entries {Wij}i≤j\{W_{ij}\}_{i\le j} are independent with mean 00 and variance 11 (the diagonal may have a different variance). The normalisation of interest is W/dW/\sqrt d, which keeps the spectrum O(1)O(1).

TheoremWigner semicircle law

Let WdW_d be Wigner matrices with uniformly bounded fourth moments and let μd=1d∑i=1dδλi(Wd/d)\mu_d = \frac1d\sum_{i=1}^d \delta_{\lambda_i(W_d/\sqrt d)} be the empirical spectral distribution. Then μd\mu_d converges weakly, almost surely, to the semicircle law with density

ρsc(x)=12π4−x2 1{∣x∣≤2}.\rho_{sc}(x) = \frac{1}{2\pi}\sqrt{4-x^2}\,\one\{|x|\le2\}.

The standard proofs are the moment method — show 1dEtr⁡((W/d)2k)→1k+1(2kk)\frac1d\E\tr\big((W/\sqrt d)^{2k}\big) \to \frac{1}{k+1}\binom{2k}{k}, the Catalan numbers, which are the moments of the semicircle — and the Stieltjes transform method, which derives the self-consistent equation s(z)=1−z−s(z)s(z) = \frac{1}{-z - s(z)} for the limiting transform. Both are given in the references; neither is short, and neither is reproduced here.

Matrix concentration

The net argument above is specific to the operator norm of a matrix with independent entries. A more flexible tool handles sums of dependent-within-summand random matrices.

TheoremMatrix Bernstein inequality

Let X1,…,XnX_1,\dots,X_n be independent, mean-zero, symmetric random matrices in Rd×d\R^{d\times d} with ∥Xi∥≤M\norm{X_i}\le M almost surely, and set σ2=∥∑iEXi2∥\sigma^2 = \norm{\sum_i \E X_i^2}. Then for all t≥0t\ge0,

P(∥∑i=1nXi∥≥t)≤2dexp⁡(−t22σ2+23Mt).\P\left(\norm{\sum_{i=1}^n X_i} \ge t\right) \le 2d\exp\left(-\frac{t^2}{2\sigma^2 + \tfrac23 Mt}\right).

Quoted from Tropp's survey. Compare with the scalar Bernstein inequality: the bound is identical except for the factor 2d2d in front, which is the price of passing from a number to a d×dd\times d matrix. Since it appears inside a logarithm after inversion, the practical cost is an extra log⁡d\log d in every sample-complexity statement — which is exactly the log⁡d\log d that appears in covariance-estimation rates on the next section.

Problems

The net argument for the spectral normProof · Graduate · 3 hours Frobenius versus operator norm for random matricesNumerical · Intermediate · 30 min Catalan numbers are the moments of the semicircle lawProof · Advanced · 1 hour Simulate Wigner and Wishart spectraCoding · Intermediate · 1 hour

References

  • BookRoman Vershynin (2018). High-Dimensional Probability: An Introduction with Applications in Data ScienceChapter 4 contains the net argument reproduced below in the author's own words; Chapter 7 covers the sharper bounds.
  • SurveyJoel A. Tropp (2015). An Introduction to Matrix Concentration InequalitiesThe standard reference for matrix Bernstein and its relatives.
  • BookZhidong Bai and Jack W. Silverstein (2010). Spectral Analysis of Large Dimensional Random MatricesThe reference for limiting spectral distributions, including the Bai–Yin and Marchenko–Pastur results quoted here.
  • BookTerence Tao (2012). Topics in Random Matrix TheoryA readable route to the semicircle law via moment methods and via Stieltjes transforms.

These works are cited as sources to read, not reproduced. All exposition, examples and problems on this site are written independently; where an argument is standard, the citation points to a canonical treatment.

Results stated on this page

Problems (4)

All problems