Definitioncore
Local differential privacy
Also called LDP, local model of 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.
Local differential privacy (LDP) is differential privacy without a trusted curator. Each user runs a randomized algorithm, a local randomizer, on their own data and sends only its output. The randomizer is -LDP if, for any two possible inputs of one user, the probability of each report changes by at most the factor . So the collector, or anyone who sees the reports, learns little about any one user's true value, even if the collector is not honest. The classic example is randomized response. Google, Apple and Microsoft have used LDP to collect statistics from devices, with protocols such as RAPPOR. The price is accuracy: for many tasks the error is of order for users, where the central model reaches .
Definition
Let be the set of possible values of one user and a set of reports.
Definition (local randomizer). A randomized map is -locally differentially private if, for all and every event ,
It is -LDP if for all and .
Definition (local protocol). In a non-interactive local protocol, user holds , sends with fresh randomness, and the analyst computes its result from only. The protocol is -LDP if each is. In an interactive protocol, the randomizer that a user runs may depend on the earlier reports, and each randomizer must be -LDP given the past. When a user answers several times, the budgets add by sequential composition.
Three facts follow from the definition.
- Any two inputs. The neighbor relation is not chosen by the analyst: every pair of values of one user must be protected. This is the replace relation applied to one user, with the data set of size 1.
- Central DP follows. If each is -LDP, then the vector of reports is -DP in the central sense under replace: changing changes only the law of . The converse fails; most central mechanisms are not local.
- Finite reports. When is finite, is -LDP if and only if, for every report , . So every report has positive probability under every input when .
Examples and non-examples
Randomized response. For a bit , report with probability and otherwise. The ratio of the two probabilities of each report is exactly , so it is -LDP. With the truth is reported with probability . If is the fraction of reports equal to 1, then is an unbiased estimate of the true fraction . At the standard deviation of the estimated count is , which is 1000 for users. The central Laplace mechanism with the same adds a standard deviation of to the count.
-ary randomized response. For a value in a set of size , report the true value with probability and each other value with probability . With and the probabilities are and , with the ratio 3. For large the true value is rarely sent, and hashing protocols such as optimized local hashing and RAPPOR do better for frequency estimation.
Laplace noise on a bounded value. For , the report is -LDP, since any two inputs differ by at most 1. The average of reports estimates the mean, and the noise adds a standard deviation of to it.
Non-example: noise added by the collector. If users send true values and the collector adds Laplace noise to the total, the result is central DP but not LDP: the collector sees the raw data. LDP is a property of what leaves the user.
Non-example: Laplace noise on an unbounded value. For with no bound, is not -LDP for any : the inputs 0 and give the density ratio at points beyond , which grows without bound. The value must be clipped to a known range before the noise.
Non-example: deterministic coding. Sending a hash of the value, or the value with its last digits removed, is not -LDP for any finite : some report has probability 1 under one input and 0 under another. Such codings can be part of an LDP protocol only when noise follows them.
Non-example: a rare leak. The randomizer that sends with probability and a fixed symbol otherwise is -LDP but not -LDP for any . Approximate LDP with a that is not tiny allows such leaks of single users.
Related definitions
- Differential privacy in the central model trusts a curator with the raw data and adds noise to the result. LDP implies it under replace, with the same .
- Privacy amplification by shuffling shows that if the local reports are sent through an anonymous shuffler, they are central DP with a much smaller . This shuffle model sits between the local and the central models.
- Geo-indistinguishability relaxes LDP for locations: the factor between two inputs is , where is their distance.
- Approximate DP gives the version above.
- Kasiviswanathan, Lee, Nissim, Raskhodnikova and Smith (2011) defined local algorithms and showed that a concept class can be learned by a local algorithm exactly when it can be learned with statistical queries, up to polynomial factors. They also showed that some classes need interaction.
- Evfimievski, Gehrke and Srikant (2003) stated the same bound on report probabilities as an amplification condition for randomization operators in data mining, before the name LDP was used.
- Duchi, Jordan and Wainwright (2018) proved minimax rates for estimation under LDP, which show that for small the effective number of samples drops from to about .
References
- Shiva Prasad Kasiviswanathan, Homin K. Lee, Kobbi Nissim, Sofya Raskhodnikova and Adam Smith, What can we learn privately?, SIAM Journal on Computing 40(3), 2011, pages 793 to 826, the definitions of a local randomizer and of a local algorithm, and the equivalence of local learning with statistical query learning
- John C. Duchi, Michael I. Jordan and Martin J. Wainwright, Minimax optimal procedures for locally private estimation, Journal of the American Statistical Association, 2018, the minimax rates under local privacy, which show that the effective sample size drops from n to about n epsilon^2
- Alexandre Evfimievski, Johannes Gehrke and Ramakrishnan Srikant, Limiting privacy breaches in privacy preserving data mining, ACM PODS 2003, the amplification condition on a randomization operator, which is the e^epsilon bound on the ratio of report probabilities
- Stanley L. Warner, Randomized response: a survey technique for eliminating evasive answer bias, Journal of the American Statistical Association 60(309), 1965, pages 63 to 69, the randomized response survey design
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 B0BD8J Edit this page History Report an error Markdown