On Differentially Private Subspace Estimation in a Distribution-Free Setting

Eliad Tsfadia

This paper tackles a fundamental bottleneck in privacy-preserving machine learning: the "curse of dimensionality." While standard private algorithms often require more data as the number of features increases, this work identifies specific conditions under which we can estimate a dataset's low-dimensional structure with a sample size that is completely independent of the ambient dimension.

The Dimensionality Tax in Differential Privacy

Differential Privacy (DP) usually comes with a steep "dimensionality tax." For tasks like subspace estimation—finding the best $k$-dimensional hyperplane to fit your data—existing lower bounds suggest you need a number of samples that grows with the square root of the dimension $d$. In modern applications like deep learning, where $d$ can be in the millions, this cost is prohibitive.

However, real-world data is rarely "worst-case." Gradients in neural network training, for example, often cluster near a low-dimensional subspace. This paper asks: Can we quantify how "easy" a dataset is and use that to avoid paying for the high ambient dimension?

Defining "Easiness" via Singular-Value Gaps

The authors propose two new ways to define an "easy" dataset based on multiplicative singular-value gaps:

  1. Strong Subspace Estimator: Depends on the ratio between the $k$-th and $(k+1)$-th singular values ($\sigma_{k+1}/\sigma_k$).
  2. Weak Subspace Estimator: Depends on the ratio between the $k$-th singular value and the sum of all remaining singular values.

Unlike prior work that relied on additive gaps ($\sigma_k^2 - \sigma_{k+1}^2$), these multiplicative gaps are the key to allowing the sample complexity to become independent of $d$. Furthermore, these measures are distribution-free; they hold for any dataset satisfying the singular-value gap conditions, without assuming the data comes from a specific distribution like a Gaussian.

The EstSubspace Algorithm

To achieve their upper bounds, the authors introduce EstSubspace, an algorithm utilizing a sample-and-aggregate approach:

  • Partition: The dataset is split into $t$ random subsets.
  • Local Estimation: A non-private subspace is computed for each subset.
  • Aggregation: These local subspaces are aggregated into a single private estimate using FriendlyCore, a robust DP averaging algorithm.

A key theoretical insight is that a simple, uniformly random partition is sufficient to ensure that local subspaces represent the global structure well enough for private aggregation. By using FriendlyCore, the algorithm is not just a theoretical construct but is efficient enough to run practically on high-dimensional data.

Theoretical Lower Bounds

To prove their "easiness" measures are fundamentally necessary, the authors use Fingerprinting Codes—a standard tool for proving DP lower bounds—combined with a novel "padding-and-permuting" technique.

Visualizing the padding-and-permuting technique for lower bounds.

This technique allows them to construct hard instances that are "easy" according to their definitions. By planting a fingerprinting code in one of several "almost rank-1" matrices and concatenating them, they show that increasing the padding length makes the instance "easier" by increasing the singular-value gap. This proves that the gaps they identified are strictly necessary for dimension-independent sample complexity.

Key Results and Performance

The authors provide nearly matching upper and lower bounds for the number of points $n$ required. As shown in the table below, when the "easiness" parameters ($\gamma_1, \gamma_2$) are small, the dependence on $d$ vanishes in the upper bounds.

Summary of sample complexity bounds based on easiness parameters.

Empirically, the authors validated their theoretical bounds using synthetic datasets where the "easiness" could be precisely controlled. Their EstSubspace algorithm demonstrated a clear advantage: while the error of traditional DP-PCA grows with $\sqrt{d}$, EstSubspace maintains low error even as the dimension increases, provided the data has a sufficiently strong low-dimensional structure.

Limitations and Future Work

While a significant step forward, the work has a few limitations:

  • Extreme Closeness: The current algorithm requires data to be very close to a subspace to achieve dimension independence. In many practical deep learning scenarios, the "noise" might still be too high for these benefits to fully materialize.
  • Theoretical Gaps: There remains a small gap (a factor of $k^{1.5}$) between the upper and lower bounds for the "Weak" estimator.
  • Direct Usefulness: Future work could focus on estimating "useful" projections directly rather than trying to estimate the projection matrix itself, which might further reduce sample complexity.

Summary updated

BibTeX
@inproceedings{tsfadia2024differentially,
  author = {Eliad Tsfadia},
  title = {{On Differentially Private Subspace Estimation in a Distribution-Free Setting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=aCcHVnwNlf},
}
Figure