Tutorials › Multivariate Statistics (Graduate) › Consistency Regimes for Growing Dimension and Sparsity

High-Dimensional Covariance Estimation · Tutorial 799 of 975

Consistency Regimes for Growing Dimension and Sparsity

Learn how dimension, sample size, sparsity, and shrinkage-target accuracy determine covariance consistency under two common matrix norms.

Advanced 12 min read

What You'll Learn

  • State sufficient dimension–sample-size regimes for sample covariance consistency in Frobenius and operator norm.
  • Distinguish what linear shrinkage guarantees from what depends on its target.
  • Derive sparse-thresholding error bounds that include unthresholded diagonal errors.
  • Translate the bounds into asymptotic conditions on dimension, sample size, and row sparsity.
  • Recognize when consistency under one matrix norm does not imply consistency under another.

Consistency Depends on the Norm

When the number of variables \(p\) grows with the sample size \(n\), an estimator can be accurate in one matrix norm and inaccurate in another. Frobenius error aggregates discrepancies across all entries, while operator error measures the largest change in a direction. Sparsity can make thresholding effective, but its guarantees also depend on how many nonzero covariances can occur in each row.

The conditions below are sufficient regimes, not universal necessary-and-sufficient characterizations. They use a common set of assumptions to compare sample covariance, linear shrinkage, and entrywise thresholding without implying that any one estimator is consistent in every high-dimensional setting.

Definition: For a covariance estimator \(\hat\Sigma\) and a sequence of true covariance matrices \(\Sigma=\Sigma_p\), consistency in Frobenius norm means \(\|\hat\Sigma-\Sigma\|_F\xrightarrow{p}0\). Consistency in operator norm means \(\|\hat\Sigma-\Sigma\|_{\mathrm{op}}\xrightarrow{p}0\). Here \(\|A\|_F=(\sum_{j,k}A_{jk}^2)^{1/2}\), and for a symmetric matrix \(A\), \(\|A\|_{\mathrm{op}}=\sup_{\|u\|_2=1}|u^\top A u|\).

Assume for the rate comparisons that \(X_1,\ldots,X_n\) are independent copies of a mean-zero \(p\)-vector \(X\) with covariance \(\Sigma\), and that the eigenvalues of \(\Sigma\) are bounded above by a constant \(M\) independent of \(p\). For operator-norm concentration, also assume a dimension-free bound on all standardized linear projections: \(\sup_{\|u\|_2=1}\|u^\top X\|_{\psi_2}\leq K\), for a constant \(K\) independent of \(p\). This is stronger than requiring each individual coordinate to be sub-Gaussian. The sample covariance in this comparison is \(S=n^{-1}\sum_{i=1}^n X_iX_i^\top\), using the known zero mean.

Sample Covariance: Two Different Dimension Conditions

Under these assumptions, sample covariance has the following rates:

Result: As \(n\) and \(p\) vary, \(\|S-\Sigma\|_{\mathrm{op}}=O_p(\sqrt{p/n}+p/n)\) and \(\|S-\Sigma\|_F=O_p(p/\sqrt n)\). Consequently, \(p/n\to0\) is sufficient for operator-norm consistency, whereas \(p^2/n\to0\) is sufficient for Frobenius-norm consistency.

For the operator bound, fix a unit vector \(u\). The projection \(u^\top X\) is sub-Gaussian with a dimension-free bound, and its variance is at most \(M\). Thus \((u^\top X)^2-E[(u^\top X)^2]\) has a sub-exponential norm bounded by a constant depending only on \(K\) and \(M\). Bernstein's inequality gives constants \(c,C>0\) such that \[ P\left(\left|u^\top(S-\Sigma)u\right|>t\right) \leq 2\exp\{-cn\min(t^2,t)\}. \]

To control all directions, take a \(1/4\)-net \(\mathcal N\) of the unit sphere with at most \(9^p\) points. For a symmetric matrix \(A\), approximation of a maximizing unit vector by a net point gives \(\|A\|_{\mathrm{op}}\leq 2\max_{u\in\mathcal N}|u^\top A u|\). A union bound therefore shows that, for a sufficiently large constant \(C_1\), the probability that \[ \|S-\Sigma\|_{\mathrm{op}}> C_1\left(\sqrt{\frac{p+x}{n}}+\frac{p+x}{n}\right) \] is at most \(2e^{-x}\). Taking, for example, \(x=p\) gives the asserted operator rate. For the Frobenius bound, each entry has variance at most \(C_2/n\), since the sub-Gaussian projection assumption bounds fourth moments and hence \(E[X_j^2X_k^2]\) uniformly. Summing over \(p^2\) entries gives \(E\|S-\Sigma\|_F^2\leq C_2p^2/n\); Markov's inequality yields the stated rate. \(\square\)

These conditions differ because the Frobenius norm accumulates error over many entries. The operator bound instead controls the maximum error over directions; its proof pays for a net whose size grows exponentially in \(p\).

Worked Example: Sample Covariance in Both Norms

Suppose \(p=\lfloor n^{0.4}\rfloor\) and the assumptions above hold. The operator rate is \(\sqrt{p/n}+p/n=O(n^{-0.3}+n^{-0.6})\), which tends to zero. The Frobenius rate is \(p/\sqrt n=O(n^{-0.1})\), which also tends to zero. Both sufficient conditions hold: \(p/n=O(n^{-0.6})\to0\) and \(p^2/n=O(n^{-0.2})\to0\).

If instead \(p=\lfloor n^{0.7}\rfloor\), the operator condition still holds because \(p/n=O(n^{-0.3})\to0\). But the Frobenius rate is \(O(n^{0.2})\), and \(p^2/n=O(n^{0.4})\) does not tend to zero. The displayed Frobenius bound therefore does not establish Frobenius consistency in this regime. It is important not to treat an operator-norm guarantee as a Frobenius-norm guarantee.

Linear Shrinkage: The Target Matters

A linear shrinkage estimator combines the sample covariance with a target \(T\): \(\hat\Sigma_{\alpha}=(1-\alpha)S+\alpha T\), where \(0\leq\alpha\leq1\) may depend on \(n\) and \(p\). Its error has the exact decomposition \[ \hat\Sigma_\alpha-\Sigma=(1-\alpha)(S-\Sigma)+\alpha(T-\Sigma). \] For either norm, the triangle inequality gives \[ \|\hat\Sigma_\alpha-\Sigma\| \leq(1-\alpha)\|S-\Sigma\|+\alpha\|T-\Sigma\|. \] This bound makes the role of shrinkage precise: it can reduce the contribution from sample noise, but its target contributes its own approximation error.

Sufficient condition: In either norm, if \((1-\alpha)\|S-\Sigma\|\xrightarrow{p}0\) and \(\alpha\|T-\Sigma\|\xrightarrow{p}0\), then \(\hat\Sigma_\alpha\) is consistent in that norm. In particular, if the sample covariance is consistent and \(\|T-\Sigma\|=O_p(1)\), shrinkage with \(\alpha\to0\) preserves consistency. A nonvanishing shrinkage weight needs a target whose error, after multiplication by \(\alpha\), vanishes in the norm under consideration.

Worked Example: A Scalar Target Can Prevent Frobenius Consistency

Let \(p\) be even, \(\Sigma=\operatorname{diag}(1,2,1,2,\ldots,1,2)\), and use the target \(T=1.5I_p\) with fixed \(\alpha=1/2\). Then half the diagonal entries of \(T-\Sigma\) are \(0.5\), and half are \(-0.5\). Consequently, \(\|T-\Sigma\|_F=\sqrt{p(0.5)^2}=\sqrt p/2\), while \(\|T-\Sigma\|_{\mathrm{op}}=0.5\).

Take \(p=\lfloor n^{0.2}\rfloor\). The sample covariance is Frobenius consistent because \(p/\sqrt n=O(n^{-0.3})\to0\). Nevertheless, the reverse triangle inequality gives \[ \|\hat\Sigma_\alpha-\Sigma\|_F \geq \alpha\|T-\Sigma\|_F-(1-\alpha)\|S-\Sigma\|_F =\frac{\sqrt p}{4}-\frac12\|S-\Sigma\|_F. \] The first term diverges, and the second is \(O_p(n^{-0.3})\). Thus this shrinkage estimator is not Frobenius consistent. Its target discrepancy is bounded in operator norm, so this example does not make the same claim about operator consistency.

For targets such as a scalar multiple of the identity, a small operator discrepancy does not necessarily mean a small Frobenius discrepancy: repeating a modest discrepancy across \(p\) diagonal entries can produce a Frobenius error of order \(\sqrt p\). This is why a shrinkage method cannot be declared consistent without specifying both the target and the norm.

Thresholding: Sparsity Changes the Regime

Suppose each row of \(\Sigma\) has at most \(s_p\) nonzero off-diagonal entries. Define a hard-thresholded estimator by leaving the diagonal of \(S\) unchanged and setting \(S_{jk}\) to zero when \(|S_{jk}|\leq\lambda\), for \(j\ne k\). With uniformly sub-Gaussian projections and bounded covariance eigenvalues, entrywise concentration and a union bound give \[ \max_{j,k}|S_{jk}-\Sigma_{jk}| =O_p\left(\sqrt{\frac{\log p}{n}}\right) \] when \(\log p/n\to0\). Choose \(\lambda=A\sqrt{\log p/n}\) for a sufficiently large fixed \(A\).

Thresholding rates: Under the stated sparsity and concentration assumptions, \[ \|\hat\Sigma_{\mathrm{thr}}-\Sigma\|_{\mathrm{op}} =O_p\left((s_p+1)\sqrt{\frac{\log p}{n}}\right), \qquad \|\hat\Sigma_{\mathrm{thr}}-\Sigma\|_F =O_p\left(\sqrt{\frac{p(s_p+1)\log p}{n}}\right). \] Thus sufficient conditions are \((s_p+1)^2\log p/n\to0\) for operator consistency and \(p(s_p+1)\log p/n\to0\) for Frobenius consistency.

To see these bounds, work on the event that the largest entrywise sampling error is at most \(C\sqrt{\log p/n}\). For a true zero off-diagonal entry, a threshold larger than that error removes the entry. For a true nonzero off-diagonal entry, the thresholded estimate differs from the truth by at most the sampling error plus the threshold. Each row has at most \(s_p\) such entries. The diagonal is not thresholded, so its error must also be counted: there is one diagonal error per row. The maximum absolute row sum of the error is therefore at most \(C'(s_p+1)\sqrt{\log p/n}\). For a symmetric matrix the operator norm is bounded by the maximum absolute row sum, proving the operator rate.

The same event gives an entrywise error bounded by \(C'\sqrt{\log p/n}\), with at most \(p(s_p+1)\) potentially nonzero errors: at most \(ps_p\) off-diagonal errors and \(p\) diagonal errors. Summing their squares and taking a square root proves the Frobenius rate. Since the event has probability tending to one under the concentration assumption, both bounds hold in probability. \(\square\)

Worked Example: A Sparse Thresholding Regime

Let \(p=\lfloor n^{0.4}\rfloor\) and \(s_p=\lfloor n^{0.1}\rfloor\), with the assumptions used for the thresholding bounds. The operator error is \(O_p((n^{0.1}+1)\sqrt{\log n/n})=O_p(n^{-0.4}\sqrt{\log n})\), which tends to zero. The Frobenius error is \(O_p(\sqrt{n^{0.4}(n^{0.1}+1)\log n/n})=O_p(n^{-0.25}\sqrt{\log n})\), which also tends to zero. Both sufficient conditions are met.

For comparison, if \(p=\lfloor n^{0.8}\rfloor\) and \(s_p=\lfloor n^{0.3}\rfloor\), the operator sufficient condition holds: \((s_p+1)^2\log p/n=O(n^{-0.4}\log n)\to0\). The Frobenius sufficient condition does not: \(p(s_p+1)\log p/n=O(n^{0.1}\log n)\) grows. This means the stated bounds certify operator consistency in that regime, but do not certify Frobenius consistency. Failure of a sufficient condition alone does not prove that an estimator is inconsistent.

Reading the Regimes Correctly

The three estimators rely on different sources of structure. Sample covariance needs dimension to grow slowly enough relative to sample size. A shrinkage estimator additionally needs its target to be close enough in the chosen norm, or its weight to diminish enough to suppress target bias. Thresholding trades a potentially larger dimension for a sparse covariance structure, with the row sparsity \(s_p\) controlling the operator bound.

A useful comparison is:

Estimator and normSufficient consistency regimeWhat drives the condition
Sample covariance, operator\(p/n\to0\)Concentration over directions
Sample covariance, Frobenius\(p^2/n\to0\)Accumulation across matrix entries
Thresholded covariance, operator\((s_p+1)^2\log p/n\to0\)Largest rowwise accumulation, including the diagonal
Thresholded covariance, Frobenius\(p(s_p+1)\log p/n\to0\)Number of potentially nonzero estimation errors

A common mistake is to use coordinatewise sub-Gaussianity as though it automatically gave operator-norm covariance concentration. It does not: concentration must control all linear projections, or another condition with the same effect must be imposed. A second mistake is to count only off-diagonal support when bounding thresholding error. Because the diagonal is left unthresholded, its errors remain even when \(s_p=0\); the safe general operator rate contains \(s_p+1\), not \(s_p\).

Finally, an \(O_p\) rate that tends to zero establishes consistency, but a sufficient condition that fails does not by itself establish inconsistency. Conversely, consistency in operator norm does not imply consistency in Frobenius norm when \(p\) grows. The norm, the target error, and the structural assumptions must all be checked separately.

Check Your Understanding

Use the stated rates and assumptions to answer the following.

  1. For \(p=\lfloor n^{0.6}\rfloor\), which of the sample-covariance consistency conditions in this tutorial hold?
  2. Why is a bound on all standardized linear projections relevant to the sample covariance operator rate?
  3. If a shrinkage weight stays bounded away from zero, what must be checked about the target to establish consistency in a specified norm?
  4. Why does the general thresholded operator rate include \(s_p+1\) rather than \(s_p\)?
  5. For thresholding, does failure of \(p(s_p+1)\log p/n\to0\) prove Frobenius inconsistency? Explain.
Clinical Biostats