Privately Learning Smooth Distributions on the Hypercube by Projections

Clément Lalanne, Sébastien GadatICML 2024

Introduction

Estimating a probability distribution from sensitive data without leaking individual information is a fundamental challenge in privacy-preserving machine learning. Nonparametric density estimation is the statistical art of learning the shape of a probability distribution without assuming it fits a simple, pre-defined formula.

Performing this task under Central Differential Privacy (CDP) requires adding calibrated noise to estimates so that no single individual's data can be reverse-engineered. However, this introduces a complex challenge: the bias-variance-privacy tradeoff. To achieve the most accurate estimate, one must know how "smooth" the true distribution is (denoted by a parameter $\beta$). Assuming it is too smooth misses important details (high bias), while assuming it is too jagged fits the noise (high variance).

In real-world scenarios, $\beta$ is rarely known in advance. Previous work in private density estimation typically assumed $\beta$ was known, restricted data to one dimension, or only allowed for integer levels of smoothness. This paper introduces an estimator that operates in high dimensions, accommodates fine-grained fractional smoothness, and is adaptive—meaning it automatically determines the optimal smoothness from the data itself while remaining strictly private.

Advancing the State of the Art

The authors extend existing Fourier-based techniques to handle high-dimensional data with fractional smoothness. Crucially, they introduce an adaptive method that automatically finds the best privacy-utility trade-off.

Comparison of the proposed method with prior work across privacy, dimensionality, smoothness, adaptivity, and estimation rates.

As summarized in the table above, this work generalizes previous one-dimensional and integer-smoothness constraints to a high-dimensional setting ($d \in \mathbb{N} \setminus \{0\}$) with fractional smoothness ($\beta \in (0, +\infty)$). Most importantly, it introduces adaptivity, a feature missing from prior private estimation frameworks.

Methodology: Private Projection Estimators

The authors utilize Projection Estimators, which project the unknown density function onto a truncated Fourier basis (representing the distribution as a sum of sine and cosine waves) rather than interacting with the raw data directly.

  1. The Base Estimator: Empirical Fourier coefficients are calculated directly from the data.
  2. The Privacy Mechanism: To satisfy $\rho$-zero-concentrated differential privacy ($\rho$-zCDP), complex Gaussian noise is added to these coefficients.
  3. The Adaptive Selection: To determine where to truncate the Fourier series (which dictates the assumed smoothness) without knowing $\beta$, the authors adapt the Lepskii method. Standard statistical adaptive methods balance estimation bias against sampling variance. Here, the authors design a novel, privacy-aware penalization term that forces the algorithm to balance bias, sampling variance, and the newly introduced privacy variance simultaneously.

Key Insights and Theoretical Results

Minimax Optimality and the Privacy Phase Transition

The authors mathematically prove the absolute "speed limit" (minimax lower bound) for this problem. They demonstrate that the error of any private estimator must scale as $\max(n^{-\frac{2\beta}{2\beta+d}}, (n\sqrt{\rho})^{-\frac{2\beta}{\beta+d}})$, where $d$ is the dimension. They then prove that their specific private Fourier projection estimator achieves this optimal rate exactly.

The mathematics reveal a fascinating tipping point known as the Privacy Phase Transition. If the privacy budget $\rho$ is large enough relative to the dataset size $n$ (specifically, $\rho \gtrsim n^{-\frac{2\beta}{2\beta+d}}$), the cost of privacy is mathematically negligible. The error is dominated entirely by the standard difficulty of having a finite sample. Conversely, if $\rho$ is smaller, the privacy noise becomes the dominant source of error.

The Necessity of Privacy-Aware Penalization

A standard, non-private hyperparameter tuning algorithm cannot simply be made differentially private post-hoc. Because the adaptive selection itself relies on the data, the selection mechanism must explicitly account for how privacy noise scales differently than standard sampling noise. The authors prove that their adaptive Lepskii estimator nearly matches the optimal rate (losing only a tiny logarithmic factor) without prior knowledge of the true smoothness $\beta$.

The Importance of Fractional Smoothness

By extending the mathematics to handle non-integer smoothness (using Hölder remainders for Sobolev spaces), the theory allows for much more precise modeling. Forcing a model to assume an integer smoothness often leads to overly conservative estimates and slower convergence.

Limitations and Future Work

While theoretically robust, the paper acknowledges several limitations:

  • The Curse of Dimensionality: Because this is a nonparametric method, rates of convergence degrade severely as the dimension $d$ increases. In practice, this approach requires an exponentially large amount of data to work well in very high-dimensional spaces.
  • Technical Artifacts: To make the mathematical proofs for the adaptive method work, one procedure requires knowing the maximum height of the true density function ($||f||_\infty$) in advance. The authors note this might be an artifact of their analysis rather than a strict requirement.
  • Lack of Empirical Validation: As a purely theoretical statistics and machine learning paper, no empirical datasets or benchmarks were used. A natural next step is to implement these estimators and test them on synthetic and real-world data to evaluate how theoretical constants impact actual performance.

Summary updated

BibTeX
@inproceedings{lalanne2024privately,
  author = {Clément Lalanne and Sébastien Gadat},
  title = {{Privately Learning Smooth Distributions on the Hypercube by Projections}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=NeEbsvnaWE},
}
Figure