Algorithm Search⌘K

Differential privacy

Problems

  • Private query release

    Answer every query of a large class, such as all counting queries, accurately under differential privacy.

    core

Algorithms

  • Laplace mechanism

    Adds Laplace noise with scale equal to the l1 sensitivity over epsilon to a numeric query, which gives epsilon-differential privacy.

    O(k) worst1 languagesintro
  • Randomized response

    Each person answers a yes or no question truthfully with probability p and flips it otherwise, so the population rate can still be estimated.

    O(n) worst1 languagesintro
  • Exponential mechanism

    Picks an output with probability proportional to e^(epsilon times its utility over twice the sensitivity); the factor 2 can be dropped when the utility is monotone in the data.

    O(m q) worst1 languagescore
  • Gaussian mechanism

    Adds Gaussian noise scaled to the l2 sensitivity, which gives (epsilon, delta)-differential privacy and composes well.

    O(k + T) worst1 languagescore
  • Geometric mechanism

    Adds two-sided geometric noise to an integer count, and is universally utility-maximizing for count queries under differential privacy.

    O(1/(1 - a)) expected1 languagescore
  • Output perturbation

    Trains a model by regularized empirical risk minimization and adds noise scaled to the sensitivity of the minimizer.

    O(K n d) worst1 languagescore
  • Report noisy max

    Adds independent Laplace or exponential noise to each candidate's count and reports only the index of the largest.

    O(m) worst1 languagescore
  • Sparse vector technique

    Compares a stream of low-sensitivity queries with a noisy threshold and reports only which one is first above it. The privacy cost is paid only for the queries above the threshold.

    O(k) worst1 languagescore
  • Binary tree mechanism

    Releases a running count of a bit stream at every step. It adds noise to the dyadic partial sums and adds at most log T of them, so the error grows only as a polylog of T.

    O(T log T) worst1 languagesadvanced
  • Differentially private stochastic gradient descent

    Clips each example's gradient to a fixed norm, adds Gaussian noise to the sum of a random batch, and tracks the privacy cost of training.

    O(T n d) worst1 languagesadvanced
  • Moments accountant

    Tracks the log moments of the privacy loss of each subsampled Gaussian step, adds them over the steps, and turns the sum into an (epsilon, delta) bound by a tail bound.

    O(m^2) worst1 languagesadvanced
  • Multiplicative weights exponential mechanism

    Keeps a synthetic histogram, picks a badly answered query with the exponential mechanism, measures it with Laplace noise and corrects the histogram by multiplicative weights.

    O(T |Q| N) worst1 languagesadvanced
  • Objective perturbation

    Adds a random linear term to a strongly convex empirical risk before minimizing it, which gives differentially private learning.

    O(K n d) worst1 languagesadvanced
  • Propose-test-release

    Proposes a bound on the local sensitivity, tests with noise that the data is far from any dataset that breaks it, and only then releases the answer with noise for that bound.

    O(n^2) worst1 languagesadvanced
  • RAPPOR

    Encodes each value into a Bloom filter and applies two stages of randomized response, so a server can estimate value frequencies over time.

    O(N k + k m M^2 + M^3) worst1 languagesadvanced
  • SmallDB mechanism

    Picks a small synthetic database with the exponential mechanism. It answers a huge set of counting queries, with an error that grows only with the log of their number.

    O(U^(m+1) |Q|) worst1 languagesadvanced
  • Smooth sensitivity framework

    Adds noise scaled to a smooth upper bound on the local sensitivity at the actual dataset. For the median this is often far less noise than the global sensitivity needs.

    O(n^2) worst1 languagesadvanced
  • Discrete Gaussian mechanism

    Adds integer noise with mass proportional to exp(-y^2/(2 sigma^2)), drawn by an exact sampler with only random integers and rational arithmetic, which avoids the flaws of float noise.

    O(1) expected1 languagesresearch
  • Matrix mechanism

    Answers a workload of linear queries by adding Laplace noise to a chosen strategy set of queries and then deriving the workload answers by least squares.

    O(p n^2 + n^3 + m n) worst1 languagesresearch
  • Numerical privacy loss distribution accounting

    Composes mechanisms by convolving discretized privacy loss distributions with the FFT, which gives near-exact epsilon for given delta.

    O(k n log(k n)) worst1 languagesresearch
  • Optimized local hashing

    A local frequency oracle in which each user hashes the value into a small range and applies generalized randomized response to the hash.

    O(n d) worst1 languagesresearch
  • Private aggregation of teacher ensembles

    Trains teachers on disjoint data, labels public data by a noisy vote among them, and trains a student model on those labels.

    O(n d + Q k m d) worst1 languagesresearch

Techniques

  • Subsample and aggregate

    Runs a non-private estimator on disjoint blocks of the data and combines the results with a private aggregator.

    advanced

Definitions

  • Differential privacy

    A randomized algorithm is epsilon-DP if changing one record changes the probability of each output set by at most a factor e^epsilon.

    intro
  • Global sensitivity

    The largest change in a function's value, in a given norm, over all pairs of datasets that differ in one record.

    intro
  • Approximate differential privacy

    Relaxes differential privacy by an additive delta, so that the e^epsilon bound may fail with a small probability.

    core
  • Local differential privacy

    Each user randomizes their own data before sending it, so that the output for any two inputs differs by at most a factor e^epsilon.

    core
  • Geo-indistinguishability

    Location privacy in which the probability of a reported location may change by at most e^(epsilon d) between true locations at distance d.

    advanced
  • Privacy loss random variable

    The log ratio ln(p(Y)/q(Y)) of the output laws of a mechanism on two neighbors, at an output Y drawn on the first. Its law gives the exact delta for each epsilon.

    advanced
  • Renyi differential privacy

    A mechanism is (alpha, epsilon)-RDP if the Renyi divergence of order alpha between its outputs on neighbors is at most epsilon. Composition adds epsilons; the Gaussian has alpha/(2 sigma^2).

    advanced
  • Zero-concentrated differential privacy

    A mechanism is rho-zCDP if the Renyi divergence of every order alpha between its outputs on neighbors is at most rho times alpha. The Gaussian meets it with equality; rho adds under composition.

    advanced
  • Gaussian differential privacy

    States privacy as a lower bound f on the type II error of any test that tells neighbors apart at each type I error. mu-GDP takes f as the curve of N(0,1) against N(mu,1).

    research

Theorems

  • Basic composition theorem

    If k mechanisms, each (epsilon_i, delta_i)-DP, run on the same data, even adaptively, the k outputs together are (sum of epsilon_i, sum of delta_i)-DP.

    intro
  • Post-processing theorem

    Any function applied to the output of a differentially private algorithm, without access to the data, is private with the same parameters.

    intro
  • Advanced composition theorem

    k-fold adaptive composition of (epsilon, delta)-DP mechanisms is (epsilon', k delta + delta')-DP with epsilon' = epsilon sqrt(2k ln(1/delta')) + k epsilon (e^epsilon - 1), so loss grows as sqrt(k).

    core
  • Dinur-Nissim reconstruction attack

    If all 2^n subset sums of n secret bits have error o(n), or about n random ones have error o(sqrt n), almost all bits follow from the answers, so no private mechanism is that accurate.

    core
  • Group privacy

    An epsilon-DP mechanism protects any group of k records with parameter k times epsilon; with delta the additive term grows to about k e^((k-1) epsilon) delta.

    core
  • Parallel composition theorem

    Mechanisms run on disjoint parts of the data, with parts fixed before the data is seen, cost only the largest epsilon in total under add/remove neighbors, and at most twice it under replace.

    core
  • Packing lower bound for differential privacy

    If many datasets close to one dataset each need their own region of outputs, an epsilon-DP mechanism fails on one of them unless there are at most about e^(m epsilon) of them.

    advanced
  • Privacy amplification by subsampling

    An (epsilon, delta)-DP mechanism run on a Poisson sample with rate q is (ln(1 + q(e^epsilon - 1)), q delta)-DP under add/remove, about q(e^epsilon - 1); without replacement it holds under replace.

    advanced
  • Fingerprinting code lower bound

    Fingerprinting codes show that answering d attribute means with (epsilon, delta)-DP and error below 1/2 needs about sqrt(d) rows, which the Gaussian mechanism nearly matches.

    research
  • Optimal composition theorem

    Gives the exact set of (epsilon', delta') that k-fold adaptive composition of (epsilon, delta)-DP mechanisms satisfies, through a hypothesis testing view and one worst-case mechanism.

    research
  • Privacy amplification by shuffling

    Shuffling the reports of n users with epsilon_0-LDP randomizers gives central (epsilon, delta)-DP with epsilon = O(sqrt(e^epsilon_0 log(1/delta)/n)), for epsilon_0 up to about ln(n/log(1/delta)).

    research