Privately Learning Subspaces

Vikrant Singhal, Thomas Steinke

Abstract

Differential privacy (DP) typically struggles with high-dimensional data, a phenomenon known as the "curse of dimensionality." In many standard DP mechanisms, the sample complexity required for accurate estimation scales polynomially with the ambient dimension $d$. This paper presents a theoretical breakthrough by introducing algorithms for learning low-dimensional subspaces where the sample complexity is entirely independent of $d$. By leveraging $(\epsilon, \delta)$-approximate DP and novel aggregation techniques, the authors demonstrate that if data resides near a $k$-dimensional subspace, it can be recovered with a complexity scaling only with the intrinsic dimension $k$.

Introduction

In the realm of privacy-preserving machine learning, the "curse of dimensionality" presents a formidable barrier. Standard differentially private mechanisms often require the number of samples $n$ to grow with the ambient dimension $d$ of the dataset. In modern applications—ranging from genomic sequences to high-dimensional gradients in deep learning—$d$ can reach tens of thousands or millions. If the sample complexity depends on $d$, private learning becomes practically impossible for many real-world datasets.

However, high-dimensional data often exhibits low-rank structures, meaning the data points lie on or near a much lower-dimensional subspace of dimension $k \ll d$. This paper investigates whether it is possible to privately identify this subspace with a sample complexity that depends only on $k$ and the privacy parameters, effectively bypassing the ambient dimension $d$.

The Problem: Privacy vs. Dimensionality

Traditional Private Principal Component Analysis (PCA) methods typically rely on adding noise to the covariance matrix or using exponential mechanisms over the Grassmannian manifold. These approaches generally result in error or sample complexity bounds that scale with $d$.

The authors identify that "pure" $\epsilon$-differential privacy or concentrated DP cannot achieve dimension-independent guarantees due to fundamental packing lower bounds. To circumvent this, the proposed algorithms utilize $(\epsilon, \delta)$-approximate differential privacy, which provides the necessary flexibility to ignore the ambient dimension when the underlying structure is low-rank.

Algorithmic Framework

The authors tackle the problem through two distinct scenarios: the Exact Case and the Approximate Case.

1. The Exact Case: The GAP-MAX Algorithm

In the "Exact Case," the majority of data points lie strictly within a $k$-dimensional subspace, with a small number of adversarial outliers. To solve this, the authors propose a GAP-MAX mechanism.

The core of this approach is a specialized, low-sensitivity score function for candidate subspaces. For a given candidate subspace $S$, the score is defined as:

$$Score(S) = (\text{number of points in } S) - (\text{max number of points in any subspace } S' \subset S \text{ where } \dim(S') < \dim(S))$$

This "gap" ensures that only the true $k$-dimensional subspace receives a high score, while lower-dimensional subsets are penalized. By using the GAP-MAX algorithm to privately select the highest-scoring subspace, the authors achieve recovery with a sample complexity of $n \ge O(\ell + \log(1/\delta)/\epsilon)$, where $\ell$ is the number of outliers. Notably, $d$ does not appear in this bound, making it optimal up to constant factors.

2. The Approximate Case: Subsample-and-Aggregate

The "Approximate Case" is more complex, as noise ensures that no $k$-dimensional subspace contains all data points exactly. Here, the authors employ a Subsample-and-Aggregate strategy combined with a novel matrix aggregation trick:

  1. Partitioning: The dataset is divided into $m$ disjoint chunks.
  2. Local PCA: On each chunk, a standard (non-private) PCA is performed to identify a candidate projection matrix.
  3. Reference Point Projection: To aggregate these matrices without leaking sensitive information, the algorithm generates public, random Gaussian "reference points." These points are projected onto each of the candidate subspaces derived from the chunks.
  4. Private Histogram Aggregation: The algorithm then uses a DP histogram over the projected points to identify a dense cluster.

By transforming the problem of aggregating projection matrices into a location estimation problem in a lower-dimensional space, the authors maintain privacy while ensuring the final estimate is close to the true underlying subspace.

Key Results and Insights

The primary contribution of this work is the formal proof that subspace recovery can be dimension-independent.

  • Intrinsic Dimension Scaling: In the approximate case, assuming the data follows a Gaussian distribution with a significant multiplicative eigenvalue gap, the sample complexity scales with $k \log(1/\delta)/\epsilon$. While the error $\alpha$ depends on the gap, the number of samples required does not grow with the ambient dimension $d$.
  • The Power of $(\epsilon, \delta)$-DP: The work highlights that approximate DP is a necessary tool for overcoming dimensionality constraints that are insurmountable under stricter DP definitions.
  • Matrix Aggregation: The "reference point" trick provides a new way to handle the notoriously difficult problem of privately averaging projection matrices.

Limitations and Future Directions

While the theoretical bounds are promising, the authors note several constraints:

  • Multiplicative Eigenvalue Gap: The approximate case requires a multiplicative gap between the $k$-th and $(k+1)$-th eigenvalues. While this gap can depend on $d$, the sample complexity remains independent of $d$. However, this is a stronger requirement than the additive gaps often assumed in PCA literature.
  • Distributional Dependence: The current proofs for the approximate case rely on Gaussianity. Extending these guarantees to broader distributions (e.g., sub-Gaussian or heavy-tailed) remains an open area for research.
  • Computational Efficiency: While the sample complexity is low, the exponential mechanism over subspaces or the histogram approach can be computationally intensive, suggesting a need for more efficient implementations.

Conclusion

This research provides a theoretical foundation for high-dimensional private data analysis. By proving that the "curse of dimensionality" is not an inherent feature of subspace learning under $(\epsilon, \delta)$-DP, the authors open the door for more efficient private algorithms in fields where data is high-dimensional but structurally simple.

Summary updated

BibTeX
@inproceedings{singhal2021privately,
  author = {Vikrant Singhal and Thomas Steinke},
  title = {{Privately Learning Subspaces}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=MisKBePkUf},
}
Figure