Towards Practical Differential Privacy for SQL Queries

Noah Johnson, Joseph P. Near, Dawn Song
6/28/2017
310 citations
cs.CRcs.DB

Official code: uber-archive/sql-differential-privacy (402 stars, Scala, MIT, last commit 2019-12-03).

Abstract

Differential privacy promises to enable general data analytics while protecting individual privacy, but existing differential privacy mechanisms do not support the wide variety of features and databases used in real-world SQL-based analytics systems. This paper presents the first practical approach for differential privacy of SQL queries.

Show full abstract

Using 8.1 million real-world queries, we conduct an empirical study to determine the requirements for practical differential privacy, and discuss limitations of previous approaches in light of these requirements. To meet these requirements we propose elastic sensitivity, a novel method for approximating the local sensitivity of queries with general equijoins. We prove that elastic sensitivity is an upper bound on local sensitivity and can therefore be used to enforce differential privacy using any local sensitivity-based mechanism. We build FLEX, a practical end-to-end system to enforce differential privacy for SQL queries using elastic sensitivity. We demonstrate that FLEX is compatible with any existing database, can enforce differential privacy for real-world SQL queries, and incurs negligible (0.03%) performance overhead.

View on arXivView PDF

Code Implementations(1)

MIT

Dataflow analysis & differential privacy for SQL queries. This project is deprecated and not maintained.

40269ScalaJun 15, 20177 years agoMIT
sql

Similar Papers

Cite this paper

@article{johnson2017towards,
  title  = {Towards Practical Differential Privacy for SQL Queries},
  author = {Noah Johnson and Joseph P. Near and Dawn Song},
  year   = {2017},
  eprint = {1706.09479},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1706.09479}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1706.09479.svg)](https://codeofpaper.com/paper/1706.09479)

Discussion