Definitionintro
Global sensitivity
Also called l1 sensitivity, query sensitivity.
The largest change in a function's value, in a given norm, over all pairs of datasets that differ in one record.
The global sensitivity of a function of a dataset is the largest change of its value, measured in a norm, between two datasets that differ in one record. It is the maximum over all pairs of neighbors, not only the pairs near the actual data. The basic mechanisms of differential privacy add noise in proportion to it: the Laplace mechanism uses the sensitivity in the norm, and the Gaussian mechanism uses the sensitivity in the norm. Dwork, McSherry, Nissim and Smith (2006) defined it. The value depends on the neighbor relation, so it must always be stated with one.
Definition
Datasets and the two neighbor relations, add/remove and replace, are as on the page of differential privacy. Let map datasets to , and let .
Definition. The global sensitivity of in the norm, under a neighbor relation , is
If the maximum does not exist, the supremum is used, and it can be . The two common cases are and . A mechanism only needs an upper bound ; a larger bound gives more noise and the same privacy.
Sensitivity of a utility. For a utility of each candidate , as in the exponential mechanism, the sensitivity is : one bound for all candidates at the same time.
Local sensitivity. The local sensitivity at a fixed dataset is , a maximum over the neighbors of only. So . Noise scaled to is not private, because the scale itself depends on and can reveal it (Nissim, Raskhodnikova and Smith 2007). Smooth sensitivity and propose-test-release are safe ways to use it.
Properties. These follow from the definition and the triangle inequality.
- Norms. For with coordinates, , because holds for every vector in .
- Concatenation. For , and .
- Lipschitz maps. If for all , then in those norms.
- Relations. A replace step is at most a removal and an addition, so under replace is at most twice under add/remove. It can be smaller, as for a mean with a known , or equal, as for a count.
- Linear queries. For a histogram and , adding or removing one record changes by one unit vector , so under add/remove is the largest norm of a column of . The matrix mechanism is built on this fact.
Examples and non-examples
A count. The number of records with a property changes by at most 1 when one record is added, removed or changed. So under both relations.
A histogram. The histogram over bins has and under add/remove, because one bin changes by 1. Under replace one bin falls by 1 and another rises by 1, so and .
Counts that one record can all change. If each record can add 1 to each of counts, as for overlapping predicates, then and . With , the Laplace mechanism with has scale 100 and standard deviation per count. The analytic Gaussian mechanism with and needs , so the gap between the two norms decides which mechanism adds less noise.
A sum of bounded values. Clip each value to . The sum changes by at most under both relations, so . For the ages clipped to , the sum is 247 and .
A mean. Under replace with a public , the mean of values in has ; for the ages above, . Under add/remove, is not fixed, and a single dataset of size 1 shows that the change can be as large as . The usual fix is to release a noisy sum and a noisy count and divide them, which is post-processing.
Non-example: an unbounded sum. If the values are not clipped, one record can change the sum by any amount, and . No finite Laplace noise makes the sum private. Clipping is part of the mechanism, and the bound must be chosen without looking at the data.
Non-example: a small local sensitivity. The median of the ages above is 41. Changing one age can move it only to a value from 35 to 58, so under replace. But for the dataset , changing one 0 to 100 moves the median from 0 to 100, so the global sensitivity is the whole range, 100. Laplace noise of scale would not be private; this is the case that smooth sensitivity and propose-test-release handle.
Related definitions
- The mechanisms. The Laplace mechanism adds to each coordinate. The geometric mechanism is its integer form. The Gaussian mechanism calibrates to . Report noisy max and the exponential mechanism use the sensitivity of each score.
- Data-dependent sensitivity. Local sensitivity, smooth sensitivity and the test of propose-test-release adapt the noise to the actual data while keeping privacy.
- Sensitivity of a whole workload. For many linear queries at once, the matrix mechanism and private query release work with the sensitivity of a matrix, property 5 above, and not with the sensitivity of each query alone.
References
- Cynthia Dwork, Frank McSherry, Kobbi Nissim and Adam Smith, Calibrating noise to sensitivity in private data analysis, TCC 2006, LNCS 3876, pages 265 to 284, the definition of the sensitivity of a function and its use to set the scale of the noise
- Cynthia Dwork and Aaron Roth, The Algorithmic Foundations of Differential Privacy, Foundations and Trends in Theoretical Computer Science 9(3-4), 2014, pages 211 to 407, Section 3.3, Definition 3.1 (sensitivity in the l1 norm); Section 3.4, the sensitivity of a utility function; Section 3.5.3, Definition 3.8 (sensitivity in the l2 norm)
- Kobbi Nissim, Sofya Raskhodnikova and Adam Smith, Smooth sensitivity and sampling in private data analysis, STOC 2007, pages 75 to 84, local sensitivity, why noise cannot be scaled to it, and smooth sensitivity
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag RRCN85 Edit this page History Report an error Markdown