The Laplace mechanism releases a numerical query with added Laplace distribution noise scaled to the query's sensitivity. For , define its sensitivity under the chosen dataset adjacency byFor and positive finite sensitivity, release with independent noise coordinates of density , where . The ratio of output densities for adjacent inputs is bounded by , by the triangle inequality. Integrating over any measurable output event proves differential privacy.[ref]
For a count with add/remove sensitivity one and , the noise scale is two and its variance is . Smaller privacy parameters increase uncertainty in this mechanism. A fixed output when sensitivity is zero needs no noise. The adjacency convention is essential: changing what one person can contribute changes the required sensitivity bound.
New to topics? Read the docs here!