Search

Search papers and lessons

User-Friendly Tail Bounds for Sums of Random Matrices

Joel A. Tropp · 2010

Joel Tropp's 2010 paper gives simple tail bounds for the largest eigenvalue of a sum of random matrices, with a matrix variance and a dimension factor, in the style of the classical scalar inequalities.

On this page

  • Colour = topic mix
  • Linear algebra
  • Probability
  • Calculus
  • Discrete math
  • Optimization
  • Information theory
  • ReadReady to readNot yet

TL;DR

Many problems in numerical mathematics ask how far the largest eigenvalue of a sum of random matrices can stray from its typical value. Tropp shows that the familiar scalar tail bounds of Hoeffding, Bernstein and Chernoff have matrix versions that are simple to check and essentially sharp in many settings. The bounds depend on a matrix variance and on the dimension of the matrices, and the dimension factor is necessary in the general case.

Builds on: Concentration Inequalities, Matrix Exponential, Positive Definite Matrix, Jensen's Inequality · Leads to: Random Matrix

Why it mattered

Random matrices appear in algorithms that use random sampling, random projections, randomized low-rank factorization, and sparse approximation. In each case an algorithm is correct only if a random matrix is close to its expectation with high probability, and the proof needs explicit constants. Earlier matrix tools gave bounds that were usually far from optimal, and they needed a lot of expertise to apply.

Tropp's paper made the matrix versions of the classical bounds easy to use. The paper lists its main results in an index, so a practitioner can find the inequality that fits the assumptions. The paper has been cited thousands of times, which reflects how widely its bounds have been adopted.

The problem

Take a finite sequence of independent random self-adjoint matrices X1,X2,…\bm{X}_1, \bm{X}_2, \dots of size d×dd \times d. A self-adjoint matrix has real eigenvalues, and λmax⁡\lambda_{\max} denotes the largest of them. The goal is to bound

P{λmax⁡(∑kXk)≥t}\mathbb{P}\left\{\lambda_{\max}\Big(\sum_k \bm{X}_k\Big) \geq t\right\}

for a level tt. This question covers the smallest eigenvalue too, by sign change, and the largest singular value of a sum of rectangular matrices, by a device called the self-adjoint dilation.

In the scalar case the tool is the Laplace transform method, usually credited to Bernstein. It bounds the tail by the moment generating function of the sum, and then bounds that function summand by summand. Ahlswede and Winter carried the method to the matrix case, but the step that bounds the trace of a matrix moment generating function was hard, and their resulting bounds were usually far from optimal. Tropp's contribution is a way to finish that step, using a deep theorem of Lieb on convex trace functions.

How it works

The paper's argument has a fixed order. The walkthrough follows it, and it traces one tiny case through the final bound.

flowchart LR
  A[Random self-adjoint summands] --> B[Matrix Laplace transform bound]
  B --> C[Bound the trace of the matrix mgf]
  C --> D[Lieb's concave trace function]
  D --> E[Gaussian Bernstein and Hoeffding tails]
  E --> F[Dimension factor and variance]
  1. Reduce the tail to a moment generating function. For any θ>0\theta \gt 0, the event that the largest eigenvalue of the sum exceeds tt is contained in the event that the exponential of θ\theta times the sum has trace at least eθte^{\theta t}. Markov's inequality then gives the bound e−θt E tr⁡exp⁡(∑kθXk)e^{-\theta t}\,\mathbb{E}\,\operatorname{tr}\exp\big(\sum_k \theta \bm{X}_k\big). Check: this is the matrix version of the scalar Chernoff step, and it holds for any random self-adjoint matrices, independent or not.

  2. Take the best θ\theta. The bound is an infimum over θ>0\theta \gt 0, so the tail is controlled by the smallest value of this expression. Check: a larger θ\theta tightens the exponential factor but loosens the trace term, so the optimal choice balances the two.

  3. Bound the trace of the matrix moment generating function. This is the hard step. For scalars, the moment generating function of a sum factors into a product. For matrices it does not, because noncommuting matrices do not multiply that way. Ahlswede and Winter bounded the trace term directly. Tropp instead uses Lieb's theorem, which says that a certain trace function is concave, and applies it to split the expectation over the summands. Check: the resulting bound depends on the summands only through their matrix moments, not through the full eigenstructure.

  4. Read off the variance. The result is a bound that depends on a matrix variance. For a Gaussian series ∑kξkAk\sum_k \xi_k \bm{A}_k with fixed Ak\bm{A}_k, that variance is σ2=∥∑kAk2∥\sigma^2 = \big\|\sum_k \bm{A}_k^2\big\|, the largest eigenvalue of the sum of squares. Check: this is the noncommutative version of the variance of a sum of scalar terms.

  5. Attach the dimension factor. The bound carries a factor dd in front, the dimension of the matrices. Check: in the scalar case there is no such factor, and the paper shows it cannot be removed in the matrix case in general.

  6. Finish with the tail. Putting the steps together gives Tropp's Gaussian bound, P{λmax⁡(∑kξkAk)≥t}≤d e−t2/2σ2\mathbb{P}\{\lambda_{\max}(\sum_k \xi_k \bm{A}_k) \geq t\} \leq d\, e^{-t^2/2\sigma^2}, and his Bernstein bound for independent, mean-zero summands with a uniform upper bound on their largest eigenvalues. Check: the Bernstein bound has the same shape as the scalar one, with the variance replaced by a matrix variance.

A tiny case traced through

Take d=100d = 100 and a diagonal Gaussian matrix ∑k=1dγkEkk\sum_{k=1}^{d} \gamma_k \bm{E}_{kk}, where each γk\gamma_k is a standard normal variable and Ekk\bm{E}_{kk} has a 1 in diagonal position kk and zeros elsewhere. Its spectral norm is max⁡k∣γk∣\max_k |\gamma_k|, the largest absolute diagonal entry, and the paper's bound for the norm says P{∥⋅∥≥t}≤2d e−t2/2\mathbb{P}\{\|\cdot\| \geq t\} \leq 2d\, e^{-t^2/2}. The factor 2d2d is 200200. At t2=2ln⁡(2d)t^2 = 2\ln(2d), the bound equals 2d⋅(2d)−1=12d \cdot (2d)^{-1} = 1, so the bound is useless below t=2ln⁡200≈3.26t = \sqrt{2\ln 200} \approx 3.26. The paper notes that the norm exceeds 2ln⁡d≈3.03\sqrt{2\ln d} \approx 3.03 with high probability at this size, so the bound is only a little loose here.

The math

The formulas use the matrix exponential, the semidefinite order ≼\preccurlyeq, and the spectral norm ∥⋅∥\|\cdot\|, which is the largest singular value of a matrix.

Step 1 in symbols: the Laplace transform bound

For θ>0\theta \gt 0,

P{λmax⁡(∑kXk)≥t}≤inf⁡θ>0{e−θt E tr⁡exp⁡(∑kθXk)}.\mathbb{P}\left\{\lambda_{\max}\Big(\sum_k \bm{X}_k\Big) \geq t\right\} \leq \inf_{\theta \gt 0} \Big\{ e^{-\theta t}\, \mathbb{E}\,\operatorname{tr}\exp\Big(\sum_k \theta \bm{X}_k\Big) \Big\}.

The right-hand side is the matrix analogue of the scalar moment generating function bound. See Matrix Exponential for the exponential of a matrix.

Step 3 in symbols: the trace function

The paper's central tool is Lieb's concavity theorem. For a fixed self-adjoint matrix H\bm{H}, the map A↦tr⁡exp⁡(H+log⁡A)\bm{A} \mapsto \operatorname{tr}\exp(\bm{H} + \log \bm{A}) is concave on positive-definite matrices. Tropp uses it to bound the trace of the moment generating function one summand at a time. The result is an inequality on the matrix cumulant generating function that adds across independent summands.

Step 4 in symbols: the Gaussian bound

For fixed self-adjoint Ak\bm{A}_k and independent standard normal or Rademacher ξk\xi_k,

P{λmax⁡(∑kξkAk)≥t}≤d⋅e−t2/2σ2,σ2=∥∑kAk2∥.\mathbb{P}\left\{\lambda_{\max}\Big(\sum_k \xi_k \bm{A}_k\Big) \geq t\right\} \leq d \cdot e^{-t^2/2\sigma^2}, \qquad \sigma^2 = \Big\|\sum_k \bm{A}_k^2\Big\|.

The variance σ2\sigma^2 is the operator norm of the sum of squares, and dd is the dimension. See Gaussian (Normal) Distribution for the scalar case.

Step 5 in symbols: the Bernstein bound

For independent, mean-zero, self-adjoint Xk\bm{X}_k with λmax⁡(Xk)≤R\lambda_{\max}(\bm{X}_k) \leq R almost surely,

P{λmax⁡(∑kXk)≥t}≤d⋅exp⁡(−t2/2σ2+Rt/3),σ2=∥∑kE(Xk2)∥.\mathbb{P}\left\{\lambda_{\max}\Big(\sum_k \bm{X}_k\Big) \geq t\right\} \leq d \cdot \exp\left(\frac{-t^2/2}{\sigma^2 + Rt/3}\right), \qquad \sigma^2 = \Big\|\sum_k \mathbb{E}(\bm{X}_k^2)\Big\|.

The Hoeffding case has the same form with the constant 1/81/8 in the exponent. The matrix Chernoff case, for sums of independent random positive-semidefinite matrices, has the scalar Chernoff form with the largest eigenvalue μmax⁡\mu_{\max} of the mean sum in the exponent, d [eδ/(1+δ)1+δ]μmax⁡/Rd\,[e^\delta/(1+\delta)^{1+\delta}]^{\mu_{\max}/R}.

Step 6 in symbols: the rectangular case

For fixed d1×d2d_1 \times d_2 matrices Bk\bm{B}_k,

P{∥∑kξkBk∥≥t}≤(d1+d2) e−t2/2σ2,σ2=max⁡{∥∑kBkBk∗∥, ∥∑kBk∗Bk∥}.\mathbb{P}\left\{\Big\|\sum_k \xi_k \bm{B}_k\Big\| \geq t\right\} \leq (d_1 + d_2)\, e^{-t^2/2\sigma^2}, \qquad \sigma^2 = \max\left\{\Big\|\sum_k \bm{B}_k \bm{B}_k^*\Big\|,\ \Big\|\sum_k \bm{B}_k^* \bm{B}_k\Big\|\right\}.

Results

The paper's results are inequalities with proofs, and its examples check how sharp they are. The points below are taken from the paper's statements.

  • The variance can be much smaller than the Ahlswede–Winter variance. The paper's variance σ2\sigma^2 is often dd times smaller than the earlier variance σAW2=∑kλmax⁡(Ak2)\sigma_{\rm AW}^2 = \sum_k \lambda_{\max}(\bm{A}_k^2). The paper says the gain is typical of results built from its method.
  • The expected norm is controlled by the variance. For a Gaussian series Y\bm{Y}, the paper gives c σ≤E∥Y∥≤σ2log⁡(2ed)c\,\sigma \leq \mathbb{E}\|\bm{Y}\| \leq \sigma\sqrt{2\log(2ed)}, with cc a universal constant. The dependence on dimension is only logarithmic.
  • The norm of a random-sign weighted matrix is bounded. For Γ⊙B\bm{\Gamma} \odot \bm{B}, where Γ\bm{\Gamma} has independent standard normal entries and ⊙\odot is the entrywise product, the paper shows the median norm is at most σ2log⁡(2(d1+d2))\sigma\sqrt{2\log(2(d_1+d_2))}, with σ2\sigma^2 the largest squared row or column norm of B\bm{B}.
  • The dimension factor cannot be removed. For a diagonal Gaussian matrix the norm is typically above 2log⁡d\sqrt{2\log d}, and the paper uses this example to show that the factor cannot be dropped from its tail bound.
  • The bound can overestimate the expectation. For the unnormalised Gaussian orthogonal ensemble, the known bound on the expected norm is 2d2\sqrt{d}. The paper's integrated tail gives (d+3)log⁡(2ed)\sqrt{(d+3)\log(2ed)}, which is too large by about log⁡d\sqrt{\log d}. The paper notes this is the worst possible discrepancy given its other bound.

Limits. The dimension factor dd is part of the general statement, and it can be wasteful when the matrices live in a smaller subspace. The paper addresses this with an effective dimension rr, the dimension of a fixed subspace that contains the ranges of the matrices. The Gaussian results are the cleanest; the Hoeffding case has constant 1/81/8, which the paper says can be improved when more information is available. The proofs depend on Lieb's theorem, which is deep, so the reader must take the result on trust unless they read its proof.

Reading guide

The paper is long, so it helps to read the introduction and index first, then the sections that match the application.

  • 1 Introduction and the index of inequalities. Read with Concentration Inequalities and Markov Inequality. The index in section 1.2 lists each bound and says where it is proved.
  • 2 Algebra, analysis, and probability with matrices. Read with Matrix Exponential, Positive Definite Matrix and the logarithm of a matrix. Section 2.7 explains the semidefinite order used throughout.
  • 3 Tail bounds via the Laplace transform method. Read with Jensen's Inequality and Convex Function. Section 3.4 contains the concave trace function that carries the argument.
  • 4 Case study: matrix Gaussian series. Read with Gaussian (Normal) Distribution. Section 4.3 is a worked application, and sections 4.4 and 4.5 cover the expectation and the dimension factor.
  • 5 Sums of random positive-semidefinite matrices. Read with Markov Inequality and Concentration Inequalities for the matrix Chernoff bound, which is the paper's version of the classical Chernoff theorem.
  • 6 Matrix Bennett and Bernstein inequalities. The Bernstein bound is Theorem 1.4 in section 1.2.3, and its rectangular form is Theorem 1.6.
  • 7 Matrix Hoeffding, Azuma and McDiarmid inequalities. Read with Martingale; the summary is in section 1.2.5.

Check yourself

QuestionIn the tiny case with d = 100 and diagonal Gaussian entries, at what level t does the bound 2d times e to the minus t squared over 2 first drop to 1?Show answer
Set 2d e−t2/2=12d\, e^{-t^2/2} = 1. With 2d=2002d = 200, this gives t2=2ln⁡200≈10.60t^2 = 2\ln 200 \approx 10.60, so t≈3.26t \approx 3.26. Below this level the bound is larger than 1, so it says nothing.
QuestionWhy does the matrix variance sigma squared in the Gaussian bound use the operator norm of the sum of squares, and not the sum of the scalar variances?Show answer
The summands are matrices, and their squares need not commute, so there is no single scalar variance. The operator norm of ∑kAk2\sum_k \bm{A}_k^2 is the largest eigenvalue of that sum, which is the matrix analogue of the variance. It reduces to the scalar variance when all the matrices are scalars.
QuestionWhat does the paper mean by saying the dimension factor cannot be removed in general?Show answer
For a diagonal Gaussian matrix, the spectral norm is the largest absolute value of dd independent normal variables, and with high probability it is above 2log⁡d\sqrt{2\log d}. A bound with no dimension factor would rule out values of that size as too unlikely, which is false. So the factor dd is needed to allow for having many chances for one large entry.
QuestionA researcher uses the Bernstein bound with R = 1 and sigma squared = 3, and wants the probability that the largest eigenvalue of a sum exceeds t = 4 in dimension d = 5. What does the bound give?Show answer
Substitute into dexp⁡(−t2/2σ2+Rt/3)d \exp\big(\frac{-t^2/2}{\sigma^2 + Rt/3}\big). Here t2/2=8t^2/2 = 8 and σ2+Rt/3=3+4/3=13/3\sigma^2 + Rt/3 = 3 + 4/3 = 13/3, so the exponent is −8×3/13=−24/13≈−1.846-8 \times 3/13 = -24/13 \approx -1.846. The bound is 5e−1.846≈5×0.158≈0.795 e^{-1.846} \approx 5 \times 0.158 \approx 0.79. The bound is weak at this level, and a larger tt would be needed to make it useful.

Sources

Read the full paper

Joel A. Tropp, 2010. arXiv:1004.4389