NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Instance-Optimal Private Density Estimation in the Wasserstein Distance

Vitaly Feldman, Audra McMillan, Satchit Sivakumar, Kunal Talwar

Abstract

Traditional differentially private density estimation focuses on minimax rates, which provide performance guarantees for the worst-case distribution. However, real-world data often exhibits structures that allow for significantly better performance. This paper introduces the first instance-optimal algorithms for private density estimation under the Wasserstein distance. By utilizing quantile-based approaches for 1D data and randomized hierarchically separated trees (HSTs) for higher dimensions, the proposed methods adapt to the underlying data geometry. Theoretical and synthetic results demonstrate substantial performance gains over minimax-optimal methods, particularly on sparse or concentrated distributions.

Introduction

Density estimation is a fundamental statistical task, but protecting individual privacy through Differential Privacy (DP) often introduces significant noise. Most existing DP algorithms are designed for "minimax" optimality, ensuring the best possible performance on the most difficult distributions. This approach is often overly pessimistic for real-world datasets. This work shifts the paradigm toward instance optimality, where algorithms automatically achieve better accuracy when the specific distribution is "easy" or structured. The authors focus on the Wasserstein distance, a metric that incorporates the geometry of the space, making it highly relevant for applications like population mapping where the magnitude of error matters as much as the presence of error.

Methods

The researchers propose two primary frameworks to achieve instance optimality:

  1. 1D Quantile-based Approach: For distributions in $\mathbb{R}$, the algorithm estimates a set of roughly $\epsilon n$ equally spaced quantiles. This allows the model to naturally adapt to data concentration; if data points are bunched together, the estimated quantiles will be closer, reducing the overall Wasserstein error.
  2. Randomized Hierarchically Separated Trees (HSTs): For high-dimensional and general metric spaces, complex spaces are embedded into tree structures. This reduces the Wasserstein estimation problem into a series of simpler Total Variation (TV) distance estimations at different tree levels, allowing the algorithm to scale to arbitrary metric spaces.
  3. Theoretical Benchmarking: To prove instance optimality, the authors define local neighborhoods around distributions and derive lower bounds using a private version of Assouad’s Lemma, showing that no DP algorithm can significantly outperform their rate on a given instance.

Results and Discussion

The proposed algorithms achieve instance optimality up to polylogarithmic factors, meaning they perform nearly as well as an "oracle" algorithm with prior knowledge of the distribution's shape. A key advantage is sparsity adaptation; the error rate scales with the size of the distribution's support rather than the entire domain.

In synthetic experiments using bimodal distributions, the instance-optimal algorithm demonstrated its superiority. While a standard minimax-optimal algorithm suffered an error of 13.4 on 1,600 samples, the instance-optimal approach achieved an error of only 0.86 by adapting to the distribution's sparsity.

Comparison of density estimation on a bimodal distribution, showing the density spikes (left) and the corresponding cumulative step functions (right).

Conclusion

This work provides a significant step toward practical private density estimation by moving beyond worst-case analysis. By leveraging the Wasserstein distance and instance-optimal frameworks, the authors show that privacy does not have a "flat tax" but rather a cost that scales with the complexity of the specific data instance. While a small polylogarithmic gap remains between current algorithms and theoretical lower bounds, the ability to exploit local data geometry and sparsity offers a more efficient path for privacy-preserving statistics in real-world scenarios.

Summary updated

BibTeX
@inproceedings{feldman2024instance,
  author = {Vitaly Feldman and Audra McMillan and Satchit Sivakumar and Kunal Talwar},
  title = {{Instance-Optimal Private Density Estimation in the Wasserstein Distance}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=Apq6corvfZ},
}
Figure