TY - JOUR AU - Balcer, Victor AU - Vadhan, Salil PY - 2019/09/25 Y2 - 2024/03/19 TI - Differential Privacy on Finite Computers JF - Journal of Privacy and Confidentiality JA - JPC VL - 9 IS - 2 SE - TPDP 2017 DO - 10.29012/jpc.679 UR - https://journalprivacyconfidentiality.org/index.php/jpc/article/view/679 SP - AB - <p style="-qt-block-indent: 0; text-indent: 0px; margin: 0px;">We consider the problem of designing and analyzing differentially private algorithms that can be implemented on <em>discrete</em> models of computation in <em>strict</em> polynomial time, motivated by known attacks on floating point implementations of real-arithmetic differentially private algorithms (Mironov, CCS 2012) and the potential for timing attacks on expected polynomial-time algorithms.</p><p style="-qt-block-indent: 0; text-indent: 0px; margin: 0px;">As a case study, we examine the basic problem of approximating the histogram of a categorical dataset over a possibly large data universe X.</p><p style="-qt-block-indent: 0; text-indent: 0px; margin: 0px;">The classic Laplace Mechanism (Dwork, McSherry, Nissim, Smith, TCC 2006 and J. Privacy \&amp; Confidentiality 2017) does not satisfy our requirements, as it is based on real arithmetic, and natural discrete analogues, such as the Geometric Mechanism (Ghosh, Roughgarden, Sundarajan, STOC 2009 and SICOMP 2012), take time at least linear in |X|, which can be exponential in the bit length of the input.</p><p style="-qt-paragraph-type: empty; -qt-block-indent: 0; text-indent: 0px; margin: 0px;">&nbsp;</p><p style="-qt-block-indent: 0; text-indent: 0px; margin: 0px;">In this paper, we provide strict polynomial-time discrete algorithms for approximate histograms whose simultaneous accuracy (the maximum error over all bins) matches that of the Laplace Mechanism up to constant factors, while retaining the same (pure) differential privacy guarantee.</p><p style="-qt-block-indent: 0; text-indent: 0px; margin: 0px;">One of our algorithms produces a sparse histogram as output.</p><p style="-qt-block-indent: 0; text-indent: 0px; margin: 0px;">Its ``"per-bin accuracy" (the error on individual bins) is worse than that of the Laplace Mechanism by a factor of log|X|, but we prove a lower bound showing that this is necessary for any algorithm that produces a sparse histogram.</p><p style="-qt-block-indent: 0; text-indent: 0px; margin: 0px;">A second algorithm avoids this lower bound, and matches the per-bin accuracy of the Laplace Mechanism, by producing a compact and efficiently computable representation of a dense histogram; it is based on an (n+1)-wise independent implementation of an appropriately clamped version of the Discrete Geometric Mechanism.</p> ER -