A Private Approximation of the 2nd-Moment Matrix of Any Subsamplable Input

Bar Mahpud, Or Sheffet

Introduction

Estimating the second-moment (or covariance) matrix is a fundamental task in data science, serving as the backbone for principal component analysis (PCA), Mahalanobis distance calculations, and various clustering algorithms. However, performing this estimation under the constraints of Differential Privacy (DP) presents a significant challenge, particularly when the underlying data does not conform to "well-behaved" distributions.

Traditional private covariance estimators often rely on strict assumptions, such as Gaussianity or bounded leverage scores, which ensure that no single data point exerts an outsized influence on the global spectrum. In real-world scenarios, datasets frequently exhibit heavy tails or contain outliers that violate these assumptions. This paper introduces a novel recursive framework that leverages a property called subsamplability to achieve accurate private second-moment estimation even for worst-case, heavy-tailed inputs.

The Problem: Beyond Distributional Assumptions

Most existing DP covariance estimators struggle when the data has a large range ($R$) but small minimum eigenvalues ($\lambda_{min}$). In such cases, the standard DP noise required to protect privacy can completely overwhelm the signal in the directions of small variance. To circumvent this, researchers typically assume the data is sub-Gaussian or that the leverage scores are uniformly low.

The authors of this work seek a more robust solution. They aim to privately approximate the second-moment matrix for any input where the global spectral structure is stable, regardless of whether individual points are erratic or heavy-tailed.

The Subsamplability Framework

The core innovation of this paper is the concept of $(m, \alpha, \beta)$-subsamplability. A dataset is considered subsamplable if a random subset of size $m$ is likely to provide a good spectral approximation (within a factor of $1 \pm \alpha$) of the full dataset's second-moment matrix.

This property is significantly more general than standard concentration bounds. It shifts the focus from local point-wise constraints (like leverage scores) to global stability. As long as the global structure is preserved in random samples, the algorithm can effectively "ignore" the noise introduced by individual outliers.

Methodology: Recursive Preconditioning and Shrinking

The proposed algorithm utilizes a recursive approach to handle the high dynamic range of the data's eigenvalues. The process involves several key steps:

  1. Recursive Preconditioning: Inspired by techniques used for Gaussian data, the algorithm iteratively identifies directions with large eigenvalues. It then applies a linear transformation to "shrink" the data along these axes, effectively bringing the data's "aspect ratio" closer to a sphere. This makes it easier to add DP noise without destroying the signal in any specific direction.
  2. Outlier Handling via Shrinking: Unlike previous methods, this algorithm explicitly manages points that fall outside the expected range after transformation. The authors prove that these outliers belong to a specific "tail set" ($P_{tail}$) that is small enough to be handled without ruining the final spectral approximation.
  3. zCDP Integration: The framework is designed to satisfy zero-Concentrated Differential Privacy (zCDP). This allows for tighter privacy-utility trade-offs and more efficient composition of privacy losses across the multiple recursive steps.
  4. Parameter Estimation: To initialize the recursion, the authors provide auxiliary private algorithms to estimate the initial covering radius (maximum norm) and the minimum eigenvalue of the dataset.

Key Insights and Results

The algorithm's primary contribution is its ability to provide a $(1 \pm \gamma)$-spectral approximation where $\gamma$ can be much smaller than the initial subsampling error $\alpha$.

Spectral Accuracy and Sample Complexity

The algorithm returns a matrix $\tilde{\Sigma}$ such that: $$(1 - \gamma)\Sigma_{eff} \preceq \tilde{\Sigma} \preceq (1 + \gamma)\Sigma$$ where $\Sigma_{eff}$ represents the second-moment matrix of the "nice" portion of the data. For heavy-tailed data, such as the Truncated Pareto distribution, the algorithm achieves a sample complexity of approximately $\tilde{O}(\frac{d}{\gamma^2} + \frac{d^{3/2}}{\gamma \sqrt{\rho}})$, where $d$ is the dimensionality and $\rho$ is the privacy parameter.

Robustness to Outliers

The method demonstrates superior robustness compared to the standard "subsample-and-aggregate" baseline. It can handle a fraction of outliers up to $\tilde{O}(1/d)$, which is particularly advantageous in high-dimensional settings. In synthetic tests involving contaminated mixtures and convex ellipsoids, the algorithm outperformed state-of-the-art estimators, especially in regimes where outliers were specifically correlated with the directions of small eigenvalues.

Conclusion and Future Work

This work provides a powerful new tool for private data analysis on messy, real-world datasets. By moving away from point-wise leverage score constraints and focusing on the global property of subsamplability, the authors have expanded the reach of private covariance estimation.

Future research directions include reducing the dependency on the failure probability of subsampling (the $\beta$ parameter) and optimizing the computational cost of the recursive spectral decompositions. Additionally, while the paper provides private methods for estimating initial parameters like the data range, further simplifying these requirements would enhance the algorithm's practical deployability.

Summary updated

BibTeX
@inproceedings{mahpud2025private,
  author = {Bar Mahpud and Or Sheffet},
  title = {{A Private Approximation of the 2nd-Moment Matrix of Any Subsamplable Input}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=Ep4mYI7OLF},
}
Figure