Tutorials › Multivariate Statistics (Graduate) › Operator-Norm Rates for Sparse Covariance Thresholding

High-Dimensional Covariance Estimation · Tutorial 790 of 975

Operator-Norm Rates for Sparse Covariance Thresholding

See why thresholding turns uniform entrywise concentration into an operator-norm rate proportional to row sparsity.

Advanced 12 min read

What You'll Learn

  • State sub-Gaussian and row-sparsity assumptions for the thresholding rate
  • Obtain a uniform entrywise covariance error bound from concentration
  • Derive the operator-norm bound for hard thresholding
  • Interpret the roles of row sparsity, dimension, and sample size
  • Identify why entrywise accuracy alone does not control operator-norm error

Why Entrywise Accuracy Is Not Enough

In a high-dimensional problem, a sample covariance matrix can estimate each covariance entry accurately while still accumulating substantial error across a row. Operator norm measures the largest overall directional effect of that matrix error, so controlling it requires attention both to entrywise noise and to how many entries can matter in each row. Thresholding addresses this accumulation by removing entries that are small relative to the noise level.

For an exactly row-sparse covariance matrix, the resulting rate has a simple interpretation: it is the maximum number of nonzero entries in a row multiplied by the typical largest entrywise error. Under sub-Gaussian sampling, that entrywise scale is of order \(\sqrt{\log p/n}\), where \(p\) is the dimension and \(n\) is the sample size.

Sampling Conditions and the Thresholded Estimator

Let \(X_1,\ldots,X_n\) be independent and identically distributed mean-zero random vectors in \(\mathbb{R}^p\), with covariance matrix \(\Sigma=E[X_iX_i^\top]\). Write \(M=\max_{1\le j\le p}\Sigma_{jj}\), and assume \(0<M<\infty\). For a random variable \(Z\), define \(\|Z\|_{\psi_2}=\inf\{t>0:E[\exp(Z^2/t^2)]\le 2\}\). Assume there is a constant \(K\ge 1\) such that, for every \(u\in\mathbb{R}^p\), \(\|u^\top X_i\|_{\psi_2}\le K\sqrt{u^\top\Sigma u}\). This is a relative sub-Gaussian condition: each linear combination has a tail scale controlled by its variance.

Definition: The matrix \(\Sigma\) is row-sparse with maximum row support \(s\) if each row contains at most \(s\) nonzero entries, counting the diagonal entry when it is nonzero. The sample covariance, with the mean known to be zero or estimated from the sample, is \(S=n^{-1}\sum_{i=1}^n(X_i-\bar X)(X_i-\bar X)^\top\), where \(\bar X=n^{-1}\sum_{i=1}^nX_i\). The hard-thresholded estimator \(T_\tau(S)\) leaves diagonal entries unchanged and replaces an off-diagonal entry \(S_{jk}\) by \(S_{jk}\mathbf{1}\{|S_{jk}|>\tau\}\).

The threshold is applied symmetrically, so \(T_\tau(S)\) is symmetric. We measure error using the operator norm \(\|A\|_{\mathrm{op}}=\sup_{\|v\|_2=1}\|Av\|_2\). The thresholding operation need not preserve positive definiteness; the result below concerns its estimation error, not a positive-definite repair.

Uniform Entrywise Concentration

The key input is a simultaneous bound on all covariance entries. The earlier material on concentration bounds for sample covariance error gives the relevant concentration principle. In precise form, for a centered sub-exponential random variable \(Y\) with \(\|Y\|_{\psi_1}\le B\), Bernstein's inequality gives \(P(|n^{-1}\sum_iY_i|>C B(\sqrt{t/n}+t/n))\le 2e^{-t}\), for a universal constant \(C\). Here \(\|Y\|_{\psi_1}=\inf\{a>0:E[\exp(|Y|/a)]\le2\}\).

Entrywise concentration bound: There is a constant \(C_0\), depending only on universal constants in the concentration inequalities, such that for \(0<\eta<1\) and \(n\ge \log(4p^2/\eta)\), \[ P\left(\max_{j,k}|S_{jk}-\Sigma_{jk}| \le C_0K^2M\sqrt{\frac{\log(4p^2/\eta)}{n}}\right)\ge 1-\eta. \]

To see why this bound applies, the sub-Gaussian condition with \(u=e_j\) implies \(\|X_{ij}\|_{\psi_2}\le K\sqrt M\) for each coordinate. Products of sub-Gaussian variables are sub-exponential, so \(\|X_{ij}X_{ik}-E[X_{ij}X_{ik}]\|_{\psi_1}\le C K^2M\). Apply Bernstein's inequality to each of the \(p^2\) entries of \(n^{-1}\sum_iX_iX_i^\top\), and take a union bound. With \(t=\log(4p^2/\eta)\), the resulting probability of any entrywise failure is at most \(\eta/2\), after adjusting universal constants. The condition \(n\ge t\) makes \(t/n\le\sqrt{t/n}\), so both terms in Bernstein's bound are of the stated order.

For the sample-centered covariance, subtracting \(\bar X\bar X^\top\) adds at most \(\max_j|\bar X_j|^2\) to the maximum entrywise error. Sub-Gaussian tail bounds and a union bound over the \(p\) coordinates give \(\max_j|\bar X_j|^2\le C K^2M t/n\) with probability at least \(1-\eta/2\), again after adjusting constants. Since \(t/n\le\sqrt{t/n}\), this term is absorbed into the displayed bound. Combining the two events proves the claim.

The Operator-Norm Rate

Set \(D=C_0K^2M\sqrt{\log(4p^2/\eta)/n}\), so the concentration result says that, with probability at least \(1-\eta\), every entry of \(S-\Sigma\) has absolute value at most \(D\). Choose \(\tau\ge 2D\). On this event, every truly zero off-diagonal entry is removed: its sample value has absolute value at most \(D<\tau\). Thus thresholding does not leave noise entries at locations where the true covariance is zero.

Theorem: Under the stated sub-Gaussian and sampling assumptions, if \(\Sigma\) has maximum row support \(s\), \(n\ge\log(4p^2/\eta)\), and \(\tau\ge2C_0K^2M\sqrt{\log(4p^2/\eta)/n}\), then \[ P\left(\|T_\tau(S)-\Sigma\|_{\mathrm{op}}\le \frac{3}{2}s\tau\right)\ge1-\eta. \] In particular, choosing \(\tau\) a sufficiently large constant multiple of the entrywise noise scale gives an operator-norm error of order \(sK^2M\sqrt{\log(p/\eta)/n}\).

Proof. Work on the event \(\max_{j,k}|S_{jk}-\Sigma_{jk}|\le D\). At a nonzero off-diagonal location, if the sample entry is retained, the estimation error is at most \(D\). If it is removed, then \(|S_{jk}|\le\tau\), and therefore \[ |\Sigma_{jk}|\le|\Sigma_{jk}-S_{jk}|+|S_{jk}|\le D+\tau\le \frac{3}{2}\tau. \] The error at that location is consequently at most \(3\tau/2\), whether retained or removed. A zero off-diagonal location contributes no error because its sample entry is removed. Diagonal entries are not thresholded, and their errors are at most \(D\le\tau/2\). Each row of \(T_\tau(S)-\Sigma\) therefore has at most \(s\) potentially nonzero entries, each of absolute value at most \(3\tau/2\). Its maximum absolute row sum is at most \(3s\tau/2\).

For a symmetric matrix \(A\), \(\|A\|_{\mathrm{op}}\le\max_j\sum_k|A_{jk}|\). Indeed, for any unit vector \(v\), symmetry and \(2|v_jv_k|\le v_j^2+v_k^2\) imply \[ |v^\top Av|\le\sum_{j,k}|A_{jk}||v_jv_k| \le\sum_jv_j^2\sum_k|A_{jk}| \le\max_j\sum_k|A_{jk}|. \] The spectral theorem gives \(\|A\|_{\mathrm{op}}=\sup_{\|v\|_2=1}|v^\top Av|\) for symmetric \(A\). Applying this inequality to \(T_\tau(S)-\Sigma\) proves the theorem on the concentration event, which has probability at least \(1-\eta\). \(\square\)

Worked Examples

Worked Example: Translating the Rate into a Threshold

Suppose \(p=1000\), \(n=2000\), \(K=1\), \(M=1\), and the maximum row support is \(s=6\). Take \(\eta=0.05\). The logarithmic factor is \(\log(4p^2/\eta)=\log(80{,}000{,}000)\approx18.20\), so \(\sqrt{\log(4p^2/\eta)/n}\approx\sqrt{18.20/2000}\approx0.0954\).

The entrywise bound is \(D\approx0.0954C_0\). A threshold \(\tau=2D\), or any larger threshold, meets the theorem's condition. The operator-norm bound is then \(\frac32s\tau=9\tau\approx1.717C_0\). The numerical constant \(C_0\) is not specified by the rate notation, so this calculation illustrates the scale and dependence rather than providing a calibrated practical threshold. In particular, the dimension enters through the logarithm, not as a factor of \(p\).

Worked Example: Tracking Errors Row by Row

Consider the covariance matrix \[ \Sigma=\begin{pmatrix} 1&0.30&0&0\\ 0.30&1&0.08&0\\ 0&0.08&1&0\\ 0&0&0&1 \end{pmatrix}. \] It is positive definite: it is symmetric, has positive diagonal entries, and is strictly diagonally dominant since every off-diagonal row sum is less than 1. Its maximum row support, counting the diagonal, is \(s=3\). Suppose a symmetric sample covariance \(S\) has diagonal entries 1 and off-diagonal entries \(S_{12}=0.34\), \(S_{23}=0.07\), \(S_{13}=0.04\), and \(S_{14}=0.02\), with the remaining off-diagonal entries zero. Each entry differs from its population counterpart by at most \(0.04\).

Set \(\tau=0.10\), so the maximum entrywise error \(0.04\) is at most \(\tau/2\). Hard thresholding retains \(S_{12}=0.34\), because \(0.34>0.10\), and removes \(S_{23}=0.07\), \(S_{13}=0.04\), and \(S_{14}=0.02\), because each is at most \(0.10\) in absolute value. The error row sums are \(0.04\) in row 1, \(0.04+0.08=0.12\) in row 2, \(0.08\) in row 3, and \(0\) in row 4. Thus the maximum absolute row sum is \(0.12\), and the operator norm is at most \(0.12\). The theorem gives the valid, more conservative bound \(\frac32(3)(0.10)=0.45\). The weak true covariance \(0.08\) was removed, but its resulting error remains controlled by the threshold.

Worked Example: How Sample Size and Sparsity Change the Scale

For \(p=4096\), \(\log p\approx8.317\). With \(n=16{,}384\) and \(s=8\), the basic rate factor (omitting constants and the fixed confidence-level adjustment) is \[ s\sqrt{\frac{\log p}{n}} =8\sqrt{\frac{8.317}{16{,}384}} \approx8(0.02253) \approx0.1802. \] If the sample size is quadrupled to \(65{,}536\), the square root is halved: \(8\sqrt{8.317/65{,}536}\approx8(0.01127)\approx0.0902\). If instead \(n=16{,}384\) is held fixed and the maximum row support doubles to \(s=16\), the rate doubles to approximately \(0.3604\). These calculations isolate the theorem's three main contributions: linear growth in row support, logarithmic growth in dimension, and inverse-square-root improvement with sample size.

Interpretation and a Common Pitfall

The rate is not merely an entrywise concentration statement. It uses sparsity to limit how many entrywise errors can accumulate in any row. If \(s\) is large, even small errors can add up; if \(s\) is small, thresholding removes noise at zero locations and only a limited number of true locations contribute to each row sum. The sub-Gaussian condition supplies the \(\sqrt{\log p/n}\) scale for controlling all entries simultaneously.

  • Pitfall: treating maximum entrywise error as operator-norm error. The incorrect argument is “every entry has error at most \(D\), so the operator error is at most \(D\).” A row with many errors can have a much larger row sum than \(D\). The correction is to count how many entries can contribute: under exact row sparsity and thresholding at least twice the entrywise error bound, the row sum is at most \(3s\tau/2\), which then controls the operator norm.
  • Pitfall: thresholding below the noise level. A threshold smaller than the uniform entrywise error need not remove entries at true zero locations. The proof depends on choosing \(\tau\ge2D\), not merely on applying some positive threshold.
  • Pitfall: reading the bound as an exact error value. It is a high-probability upper bound with conservative constants. A realized error can be much smaller, as the row-by-row calculation illustrates.
Key takeaway: Under sub-Gaussian sampling, the uniform covariance-entry noise scale is proportional to \(K^2M\sqrt{\log(p/\eta)/n}\). Hard thresholding at least twice that scale removes noise at zero entries; exact row sparsity then converts the entrywise control into an operator-norm rate proportional to \(sK^2M\sqrt{\log(p/\eta)/n}\).

Check Your Understanding

Use the theorem and its assumptions to answer these questions.

  1. Why does the threshold need to be at least twice the uniform entrywise error bound in the proof?
  2. For fixed \(p\), \(K\), \(M\), and \(s\), how does the stated rate change when \(n\) is multiplied by four?
  3. In the row-by-row example, which removed entry contributes the largest estimation error, and why is that error still controlled?
  4. Why does a uniform bound on individual entries, by itself, not establish the same operator-norm rate?
  5. What part of the rate reflects the maximum number of nonzero entries in a covariance row?
Clinical Biostats