Skip to main content
QUICK REVIEW

[Paper Review] Differential privacy for counting queries: can Bayes estimation help uncover the true value?

Maurizio Naldi, Giuseppe D’Acquisto|arXiv (Cornell University)|Jul 1, 2014
Privacy-Preserving Technologies in DataComputer Science7 references8 citations
TL;DR

This paper proposes a Bayesian estimation approach to improve the accuracy of differential privacy-protected counting queries without increasing privacy loss. By leveraging known database size and predicate probability, the method corrects Laplacian noise in a single query response, achieving significantly lower average error than naive noisy estimation—especially under strict privacy budgets (e.g., ε < 1), where the Bayes estimator reduces error growth compared to the linear increase seen in the naive approach.

ABSTRACT

Differential privacy is achieved by the introduction of Laplacian noise in the response to a query, establishing a precise trade-off between the level of differential privacy and the accuracy of the database response (via the amount of noise introduced). Multiple queries may improve the accuracy but erode the privacy budget. We examine the case where we submit just a single counting query. We show that even in that case a Bayesian approach may be used to improve the accuracy for the same amount of noise injected, if we know the size of the database and the probability of a positive response to the query.

Motivation & Objective

  • To investigate whether Bayesian estimation can improve accuracy of a single noisy response in differential privacy for counting queries.
  • To assess whether additional knowledge (database size and predicate probability) can refine the noisy response beyond naive estimation.
  • To evaluate the trade-off between privacy (ε) and accuracy under Bayesian vs. naive estimation.
  • To quantify the probability that Bayesian estimation outperforms naive estimation across varying privacy levels and predicate probabilities.
  • To analyze the risk of invalid responses (outside [0,n]) due to Laplacian noise in counting queries.

Proposed method

  • The paper models the true count as a binomially distributed random variable with parameters n (database size) and p (predicate probability).
  • It applies a Bayesian estimator using a conjugate prior (Beta distribution) to update beliefs about the true count based on the noisy response.
  • The posterior mean is computed as a weighted average of the prior mean and the noisy observation, with weights inversely proportional to variance.
  • The method assumes the user knows n and p, which are not part of the query but are externally available or estimable.
  • Performance is evaluated via Monte Carlo simulation with 100,000 runs across varying ε, n, and p.
  • Two metrics are used: average error (mean absolute deviation) and the probability that Bayes error is lower than naive error.

Experimental results

Research questions

  • RQ1Can Bayesian estimation reduce error in a single differential privacy-protected counting query when the database size and predicate probability are known?
  • RQ2How does the performance of the Bayesian estimator compare to the naive noisy estimator across different privacy levels (ε)?
  • RQ3Does the improvement of the Bayesian estimator depend on the predicate probability p, especially near p=0.5 where variance is highest?
  • RQ4What is the probability that the Bayesian estimator yields a lower error than the naive estimator under various noise levels?
  • RQ5What is the likelihood that Laplacian noise produces an invalid response (outside [0,n]) for a counting query?

Key findings

  • The Bayesian estimator consistently achieves lower average error than the naive noisy estimator across all tested privacy levels (ε) and database sizes.
  • Under strict privacy (ε < 1), the average error of the naive estimator grows linearly with 1/ε, while the Bayes estimator’s error levels off, showing significant improvement.
  • The probability that the Bayesian estimator outperforms the naive estimator exceeds 50% in all cases and increases with higher privacy requirements (lower ε).
  • The Bayesian estimator performs worst at p = 0.5, where the binomial variance is maximized, but still outperforms the naive estimator in terms of average error.
  • The probability of generating an invalid response (outside [0,n]) due to Laplacian noise is non-negligible and depends on ε and n, with the risk increasing as ε decreases.
  • For ε = 0.1, the naive estimator’s average error is fixed at 10 (since 1/ε = 10), while the Bayes estimator’s error varies with p, being lowest at p ≈ 0 or 1.

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.