Skip to main content
QUICK REVIEW

[Paper Review] Differentially Private Variational Inference for Non-conjugate Models

Joonas Jälkö, Onur Dikmen|arXiv (Cornell University)|Oct 27, 2016
Privacy-Preserving Technologies in DataComputer Science12 citations
TL;DR

This paper proposes Differentially Private Variational Inference (DPVI), a general-purpose method for private Bayesian inference in non-conjugate models. By applying gradient clipping and perturbation within doubly stochastic variational inference, DPVI achieves accuracy close to non-private inference under strong privacy guarantees, outperforming sampling-based alternatives like DP-SGLD in the strong privacy regime.

ABSTRACT

Many machine learning applications are based on data collected from people, such as their tastes and behaviour as well as biological traits and genetic data. Regardless of how important the application might be, one has to make sure individuals' identities or the privacy of the data are not compromised in the analysis. Differential privacy constitutes a powerful framework that prevents breaching of data subject privacy from the output of a computation. Differentially private versions of many important Bayesian inference methods have been proposed, but there is a lack of an efficient unified approach applicable to arbitrary models. In this contribution, we propose a differentially private variational inference method with a very wide applicability. It is built on top of doubly stochastic variational inference, a recent advance which provides a variational solution to a large class of models. We add differential privacy into doubly stochastic variational inference by clipping and perturbing the gradients. The algorithm is made more efficient through privacy amplification from subsampling. We demonstrate the method can reach an accuracy close to non-private level under reasonably strong privacy guarantees, clearly improving over previous sampling-based alternatives especially in the strong privacy regime.

Motivation & Objective

  • To develop a generic, efficient, and differentially private inference method applicable to arbitrary non-conjugate Bayesian models.
  • To overcome the limitations of existing private Bayesian inference methods, which are restricted to exponential family models or suffer from high privacy budget consumption.
  • To enable practical private inference in complex models by adapting doubly stochastic variational inference with differential privacy.
  • To demonstrate that DPVI achieves accuracy close to non-private variational inference even under strong privacy constraints (low ε).

Proposed method

  • DPVI extends doubly stochastic variational inference by incorporating differential privacy via gradient clipping and perturbation at the level of individual data point gradients.
  • The method applies gradient clipping with a threshold $ c_t $ to bound sensitivity, followed by adding Laplace or Gaussian noise to the clipped gradients to ensure ε-differential privacy.
  • Privacy amplification through subsampling is utilized to reduce the privacy budget per gradient update, improving efficiency.
  • The variational posterior is approximated using fully factorized distributions: $ q(\pi) $ via softmax transformation of a Gaussian, $ q(\mu) $ as a diagonal Gaussian, and $ q(τ) $ as a log-normal distribution.
  • Stochastic gradient ascent is used to optimize the variational lower bound (ELBO), with noise added to gradients to ensure privacy.
  • Monte Carlo integration is used to approximate predictive likelihoods in evaluation, and the method is validated on Bayesian logistic regression and Gaussian mixture models.

Experimental results

Research questions

  • RQ1Can a differentially private variational inference method be developed that is both general and efficient for non-conjugate models?
  • RQ2How does DPVI compare in performance to sampling-based private inference methods like DP-SGLD under strong privacy constraints?
  • RQ3To what extent can privacy amplification via subsampling improve the efficiency of differentially private variational inference?
  • RQ4Does gradient clipping in DPVI significantly alter the optimization landscape or stationary points of the variational objective?

Key findings

  • DPVI achieves predictive likelihoods close to the non-private baseline, even at low privacy budgets (e.g., ε = 1), demonstrating strong utility-privacy trade-offs.
  • For the Gaussian mixture model, DPVI learned posterior predictive distributions that were visually closer to the ground truth than those from DP-SGLD, especially in component location and shape.
  • DP-SGLD outperformed DPVI in terms of predictive likelihood when privacy requirements were more flexible (higher ε), but DPVI showed superior performance in the strong privacy regime (low ε).
  • The use of subsampling with $ q = 0.003 $ significantly reduced the privacy budget per iteration, enabling more stable and efficient optimization.
  • Gradient clipping did not diminish with convergence, as it is applied per data-point gradient, meaning it continues to affect optimization dynamics throughout training.
  • Simpler posterior approximations (e.g., diagonal covariance Gaussians) were more effective under DP due to smaller parameter norms, suggesting model simplification improves privacy efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.