Effective Data-Aware Covariance Estimator From Compressed Data

Xixian Chen, Haiqin Yang, Shenglin Zhao, Michael R. Lyu, Irwin King

Abstract

Estimating covariance matrices from high-dimensional, compressed data is a critical challenge in modern machine learning, particularly for distributed systems. Traditional "data-oblivious" methods, such as Gaussian random projections, often suffer from inconsistency and high computational overhead. This paper introduces the Data-aware Covariance Estimator (DACE), a novel framework that utilizes a weighted sampling scheme to provide unbiased, accurate, and computationally efficient covariance estimates. By prioritizing "important" data entries based on their magnitudes, DACE significantly outperforms standard projection methods across various synthetic and real-world benchmarks.

Introduction

In the era of big data, datasets are frequently high-dimensional and distributed across multiple nodes, making raw data transmission and storage prohibitively expensive. Dimension reduction and compressed sensing are common strategies to mitigate these costs. Typically, data is projected into a lower-dimensional space using random matrices. However, these traditional methods face two primary issues: inconsistency in recovering the original covariance matrix as sample sizes grow, and the high computational cost associated with dense projections.

Methodology: The DACE Framework

DACE addresses these limitations by shifting from blind projections to a data-aware weighted sampling approach.

Weighted Sampling Scheme

Unlike fixed projection matrices, DACE calculates a unique sampling probability for each entry in a data vector. This probability is a weighted combination of the entry's relative $\ell_1$-norm and its squared $\ell_2$-norm. This strategy ensures that high-magnitude entries, which carry more information about the covariance structure, are preserved during compression.

Unbiased Estimator

The authors developed a specific estimator ($\hat{C}_e = \hat{C}_1 - \hat{C}_2$) incorporating a diagonal correction term. They provide a rigorous proof that this formulation is unbiased, ensuring that its expected value converges to the true covariance matrix. Because DACE relies on sampling rather than dense matrix multiplication, the resulting compressed data is sparse, leading to significant speedups in downstream calculations.

Experimental Evaluation

The performance of DACE was evaluated against several baselines, including Gauss-Inverse, Sparse Projections, and UniSample-HD, using both synthetic and real-world datasets.

Synthetic Benchmarks

Six synthetic datasets ($X_1$ to $X_6$) were generated with varying dimensions (up to $d=65,536$) and sample sizes (up to $n=200,000$). These tests aimed to assess the estimator's accuracy under different signal-to-noise ratios and structural properties.

Relative estimation error across six synthetic datasets (X1-X6) with varying dimensions and sample sizes. DACE (red) consistently achieves the lowest error.

Real-World Performance

DACE was also tested on diverse real-world datasets such as DailySports, CIFAR-10, and MNIST. In multiclass classification tasks on MNIST, DACE achieved accuracy levels nearly identical to those obtained using uncompressed data, even at compression ratios exceeding 90%.

Key Results and Insights

The experimental results highlight several advantages of the DACE framework:

  1. Superior Accuracy: DACE consistently achieves lower relative estimation errors than competing methods at identical compression ratios ($m/d$).
  2. Handling High Dimensionality: As dimensionality increases, the performance gap between DACE and data-oblivious methods widens. For very high dimensions ($d=65,536$), DACE remains computationally feasible while Gaussian methods (like Gauss-Inverse) become prohibitively expensive to compute and are often omitted from comparisons at that scale.
Performance comparison on the highest-dimensional synthetic dataset (X6, d=65,536), showing DACE's significant accuracy advantage over Sparse and UniSample-HD methods.
  1. Stability through $\ell_1/\ell_2$ Balancing: The use of a balance parameter $\alpha$ allows DACE to combine the variance reduction of $\ell_2$ sampling with the stability of $\ell_1$ sampling, preventing instability from extremely small entries.

Conclusion

The Data-aware Covariance Estimator (DACE) represents a significant advancement in covariance estimation from compressed data. By leveraging data-aware sampling, it provides a mathematically sound, unbiased, and highly efficient alternative to traditional random projections. Its ability to maintain high classification accuracy while significantly reducing data volume makes it a powerful tool for large-scale, distributed machine learning applications.

Summary updated

BibTeX
@article{chen2020effective,
  author = {Xixian Chen and Haiqin Yang and Shenglin Zhao and Michael R. Lyu and Irwin King},
  title = {{Effective Data-Aware Covariance Estimator From Compressed Data}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2020},
  doi = {10.1109/tnnls.2019.2929106},
}
Figure