Hermite polynomial features for private data generation

Margarita Vinaroz, Mohammad-Amin Charusaie, Frederik Harder, Kamil Adamczewski, Mijung Park

TL;DR

This paper introduces Hermite Polynomial Features (HPF) as a more efficient alternative to random Fourier features for differentially private data generation. By leveraging the ordered nature of Hermite polynomials, HPF can approximate data distributions with significantly fewer features, leading to a better privacy-accuracy trade-off and improved performance on various datasets.

What Problem Does This Paper Address?

Generating synthetic data while preserving differential privacy is a significant challenge. A popular method for comparing data distributions is Maximum Mean Discrepancy (MMD), which relies on kernel mean embeddings. However, these embeddings are often infinite-dimensional, making them difficult to handle in a differentially private setting. A recent approach, DP-MERF, uses random Fourier features to approximate these embeddings, but requires an impractically large number of features, thus degrading the privacy-accuracy trade-off. This paper aims to improve this trade-off by proposing a more efficient feature representation.

Methods

The core contribution is the replacement of random Fourier features with Hermite polynomial features (HPF) for approximating kernel mean embeddings. The authors leverage the Mehler's formula to represent Gaussian kernels using Hermite polynomials. Unlike random features, HPF are ordered, meaning lower-order polynomials capture more information about the distribution. This allows for a more accurate approximation with fewer features. The paper also proposes strategies for handling high-dimensional data by using tensor products of HPF for individual dimensions (product kernel) and summing these kernels (sum kernel), which helps maintain tractability. For classification tasks, they extend this by creating a joint feature map for input-output pairs.

Datasets

The paper evaluates their method on several datasets:

  • 2D Gaussian mixtures: Used for initial demonstration and visualization of the method's performance.
  • Tabular datasets: Adult, Census, Cervical, Credit, Epileptic, Intrusion, Isolet, and Covtype. These were used to evaluate the a-way marginal accuracy and generalization performance on downstream tasks.
  • Image datasets: MNIST and FashionMNIST. These were used to evaluate downstream task accuracy after training on synthetic data.

Key Insights and Ideas

  • Ordered features matter: The ordered nature of Hermite polynomials is crucial. Lower-order polynomials capture essential distributional information, allowing for accurate approximations with fewer features compared to the unordered random Fourier features.
  • Efficiency gain: By using HPF, the number of features required is drastically reduced (e.g., from tens of thousands to a few hundred), leading to a more favorable privacy-accuracy trade-off.
  • Tractability for high dimensions: The proposed product and sum kernel combinations, along with subsampling input dimensions, make the method applicable to high-dimensional data where a direct tensor product of HPF would be computationally infeasible.
  • Improved privacy-accuracy balance: The core insight is that a more efficient feature representation directly translates to better privacy guarantees for a given level of accuracy, or better accuracy for a given privacy budget.

Key Results

  • Gaussian Mixtures: DP-HP achieved better Negative Log Likelihood (NLL) than DP-MERF, indicating higher quality synthetic data that better captures the true distribution's modes.
  • Tabular Data: DP-HP outperformed PrivBayes and DP-MERF in terms of a-way marginal accuracy, especially at stringent privacy levels.
  • Image Data: DP-HP achieved significantly higher downstream task accuracy on MNIST and FashionMNIST compared to DP-MERF and other GAN-based methods, even with limited synthetic data. For example, on MNIST, DP-HP achieved higher accuracy than DP-MERF with a considerable difference.
  • Feature Map Size: DP-HP used a feature map of 650 dimensions for the Gaussian mixture example, while DP-MERF used 30,000 random features, highlighting the efficiency gain.

Limitations and Future Work

  • Subsampling for high dimensions: For high-dimensional data, the product kernel requires subsampling input dimensions to maintain tractability. The authors acknowledge that this might limit the ability to capture correlations across all dimensions and suggest exploring better ways to approximate the outer product kernel than random sampling as a future direction.
  • Hyperparameter sensitivity: While the paper explores the impact of the gamma hyperparameter, further investigation into the sensitivity of other hyperparameters and their interplay could be beneficial.
  • Generalization of kernels: The paper focuses on Gaussian kernels. Extending the use of Hermite polynomials to approximate other types of kernels could broaden the applicability of the method.

Summary updated

BibTeX
@inproceedings{vinaroz2022hermite,
  author = {Margarita Vinaroz and Mohammad-Amin Charusaie and Frederik Harder and Kamil Adamczewski and Mijung Park},
  title = {{Hermite polynomial features for private data generation}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=-GnsNxaoDey},
}
Figure