Towards Practical Differentially Private Convex Optimization

Roger Iyengar, Joseph P. Near, Dawn Song, Om Thakkar, Abhradeep Thakurta, Lun WangIEEE Symposium on Security and Privacy 2019

Abstract

Building useful predictive models often involves learning from sensitive data. Training models with differential privacy (DP) can guarantee the privacy of such sensitive data. For convex optimization tasks, several DP algorithms are known, but none has yet been deployed in practice. In this work, we make two major contributions towards practical differentially private convex optimization. First, we present Approximate Minima Perturbation (AMP), a novel algorithm that can leverage any off-the-shelf optimizer. We show that it can be employed without any hyperparameter tuning, making it an attractive technique for practical deployment. Second, we perform an extensive empirical evaluation of state-of-the-art algorithms on a range of public and real-world datasets. We release open-source implementations and benchmarks on nine public datasets and four large-scale industrial datasets.

Introduction

Differential Privacy (DP) is the gold standard for protecting individual data points during model training. In the context of convex optimization (e.g., Logistic Regression or Support Vector Machines), a popular technique is "objective perturbation," which adds noise to the loss function to ensure the resulting model does not reveal sensitive training data.

However, a significant gap exists between theoretical guarantees and practical implementation. Theoretical proofs for objective perturbation typically assume the discovery of an exact mathematical minimum. In reality, engineers use iterative solvers (like Gradient Descent) that terminate when they are "close enough." Releasing an approximate solution using math designed for an exact one can inadvertently leak private data. This paper introduces a framework to bridge this gap, making DP optimization compatible with the imperfect solvers used in production.

The Approximate Minima Perturbation (AMP) Algorithm

The authors propose Approximate Minima Perturbation (AMP) to address the limitations of existing DP optimization methods. AMP is designed to provide robust privacy and utility guarantees even when the solver only reaches an approximate minimum.

The algorithm employs a two-stage noise process:

  1. Objective Perturbation: Similar to classic methods, a random linear term is added to the objective function.
  2. Solution Perturbation: A second layer of Gaussian noise is added to the final model. Crucially, the scale of this noise is tied to the "gradient norm," a measure of how close the solver got to the true minimum.

Key Advantages

  • Optimizer Agnostic: AMP treats the optimizer as a "black box," allowing the use of high-performance solvers like BFGS or custom SGD implementations.
  • Hyperparameter-Free: A data-independent strategy allows for automatic setting of privacy parameters, making the tool accessible to non-experts.

Experimental Evaluation

The researchers conducted one of the most extensive evaluations in the field, using 13 datasets to benchmark AMP against state-of-the-art algorithms.

Summary of datasets used in the empirical evaluation, including public benchmarks and real-world Uber datasets.

The evaluation suite includes:

  • Public Benchmarks: Five low-dimensional datasets and four high-dimensional datasets, such as RCV1 with over 47,000 dimensions.
  • Real-World Data: Four large-scale datasets obtained through collaboration with Uber Technologies, representing actual production use cases with millions of samples.

To support the community, the authors have released the DPML Benchmark, providing a standardized platform for testing new DP algorithms.

Key Results and Insights

  • Superior Accuracy: AMP consistently outperformed existing state-of-the-art algorithms, such as Private SGD, across nearly all tested datasets.
  • Practicality at Scale: On Uber's real-world datasets, AMP achieved accuracies within 4% of the non-private baseline even under strict privacy settings ($\epsilon = 0.01$). For very large datasets, the "cost" of privacy is often negligible.
  • Noise as Regularization: Interestingly, on certain datasets, the DP model performed better than the non-private baseline. This suggests that DP noise can act as a form of regularization, preventing overfitting.
  • The Sparsity Trade-off: While AMP is generally the best performer, the Private Frank-Wolfe algorithm is superior for high-dimensional datasets where the optimal model is sparse.

Conclusion and Future Work

By proving that privacy holds even for approximate solutions, the authors have removed a significant technical barrier to deploying DP in production environments. While this work focuses on convex problems and smooth loss functions, it provides a rigorous foundation for extending these principles to non-convex landscapes, potentially including deep neural networks.

Summary updated

BibTeX
@inproceedings{iyengar2019towards,
  author = {Roger Iyengar and Joseph P. Near and Dawn Song and Om Thakkar and Abhradeep Thakurta and Lun Wang},
  title = {{Towards Practical Differentially Private Convex Optimization}},
  booktitle = {IEEE Symposium on Security and Privacy},
  year = {2019},
  url = {https://openreview.net/forum?id=-ZJHv0YGctB},
}
Figure