Simple Relative Deviation Bounds for Covariance and Gram Matrices

Daniel Barzilai, Ohad Shamir · OpenReview

Abstract

We provide non-asymptotic, relative deviation bounds for the eigenvalues of empirical covariance and gram matrices in general settings. Unlike typical uniform bounds, which may fail to capture the behavior of smaller eigenvalues, our results provide sharper control across the spectrum. Our analysis is based on a general-purpose theorem that allows one to convert existing uniform bounds into relative ones. The theorems and techniques emphasize simplicity and should be applicable across various settings.

Introduction

In modern statistics and machine learning, estimating the covariance structure of a population from finite samples is a foundational task. Given a population covariance matrix $\Sigma$, we typically work with an empirical estimate $\hat{\Sigma}$. Understanding the deviation between the eigenvalues of these two matrices—$\lambda_i(\hat{\Sigma})$ and $\lambda_i(\Sigma)$—is critical for the stability of algorithms like Principal Component Analysis (PCA), kernel regression, and manifold learning.

Traditionally, researchers have relied on uniform bounds derived from tools like Weyl’s inequality. These bounds provide an absolute error guarantee: $|\lambda_i(\hat{\Sigma}) - \lambda_i(\Sigma)| \le \epsilon$. While effective for the largest eigenvalues, uniform bounds often become vacuous for the smaller eigenvalues in the "tail" of the spectrum. If an eigenvalue is significantly smaller than the error tolerance $\epsilon$, the bound provides no meaningful information about its relative stability. This paper introduces a framework for relative deviation bounds, ensuring that the error scales proportionally with the eigenvalue itself:

$$|\lambda_i(\hat{\Sigma}) - \lambda_i(\Sigma)| \le C \cdot \lambda_i(\Sigma) \cdot \epsilon$$

The "Bridge" Theorem: From Uniform to Relative

The central contribution of this work is a non-probabilistic linear algebra result, referred to as Theorem 5. This theorem acts as a "bridge," allowing researchers to convert existing uniform bounds—specifically those derived for isotropic random vectors (where the covariance is the identity matrix $I$)—into relative bounds for general, non-isotropic covariance matrices.

The Reduction to Isotropic Strategy

The methodology follows a three-step "Reduction to Isotropic" strategy:

  1. Transformation: The data is viewed as a linear transformation of whitened (isotropic) vectors.
  2. Application: Standard results from high-dimensional probability (e.g., Vershynin’s bounds) are applied to determine how much an isotropic sample matrix deviates from the identity.
  3. Conversion: Theorem 5 is used to "lift" these isotropic bounds back to the original space, resulting in a relative bound that holds across the entire spectrum.

This approach is remarkably general because it decouples the randomness of the samples from the specific geometry of the population covariance matrix. Notably, these bounds do not require "spectral gap" assumptions—the requirement that eigenvalues be well-separated—which were often necessary in previous attempts to derive relative guarantees.

Spectrum-Wide Control Across Regimes

The paper applies this framework to several critical regimes in high-dimensional statistics:

Low-Dimensional and Gaussian Settings

In the low-dimensional regime ($d \le n$), the relative error for Gaussian data is shown to be approximately $2\epsilon + \epsilon^2$, where $\epsilon \approx \sqrt{d/n}$. This result is essentially optimal, providing tight control as the number of samples $n$ increases relative to the dimension $d$.

High-Dimensional and Sub-Gaussian Regimes

In modern machine learning, it is common for the dimension to exceed the number of samples ($d > n$). The authors demonstrate that even in these high-dimensional settings, the $i$-th empirical eigenvalue can be bounded by the $i$-th population eigenvalue scaled by a factor of $(n/d)$ and a relative error term. This holds for distributions with sub-gaussian entries and even extends to "heavier-tailed" data where only finite $p$-th moments are assumed.

The $d \approx n$ Challenge

The regime where the number of dimensions is nearly equal to the number of samples is notoriously difficult. The authors incorporate specific results for "nearly square" matrices to provide robust lower bounds, acknowledging that while bounds naturally loosen in this regime, relative control can still be maintained.

Implications and Limitations

By providing simple, general-purpose tools, this research allows for sharper analysis of spectral algorithms. Because the error is relative, practitioners can have greater confidence in the estimation of the "noise floor" or smaller signal components in high-dimensional datasets.

However, the authors note certain trade-offs. To maintain simplicity and broad applicability, the absolute constants ($C$) in these bounds may be larger than those found in highly specialized asymptotic proofs. Additionally, some high-dimensional results require the assumption of independent entries within the vectors, a stronger condition than the independence of the vectors themselves.

Conclusion

This work simplifies the derivation of relative deviation bounds for covariance and Gram matrices. By shifting the focus from absolute to relative error, the proposed framework provides a more nuanced and accurate picture of how empirical eigenvalues behave across the entire spectrum, offering a robust theoretical foundation for high-dimensional data analysis.

Summary updated

Abstract

We provide non-asymptotic, relative deviation bounds for the eigenvalues of empirical covariance and gram matrices in general settings. Unlike typical uniform bounds, which may fail to capture the behavior of smaller eigenvalues, our results provide sharper control across the spectrum. Our analysis is based on a general-purpose theorem that allows one to convert existing uniform bounds into relative ones. The theorems and techniques emphasize simplicity and should be applicable across various settings.
BibTeX
@misc{barzilai2024simple,
  author = {Daniel Barzilai and Ohad Shamir},
  title = {{Simple Relative Deviation Bounds for Covariance and Gram Matrices}},
  year = {2024},
  eprint = {2410.05754},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.05754},
}
Figure