# Differential Privacy

Published articles for Differential Privacy.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Fully Homomorphic Encryption in Production Systems

DevFeed: [Fully Homomorphic Encryption in Production Systems](<https://devfeed.tech/articles/fully-homomorphic-encryption-in-production-systems-40498.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/fhe-in-production/>)

Published: 2024-07-31T07:00:00Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [homomorphic encryption](<https://devfeed.tech/topics/homomorphic-encryption.md>), [FHE](<https://devfeed.tech/topics/fhe.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Edge](<https://devfeed.tech/topics/edge.md>), [Microsoft](<https://devfeed.tech/topics/microsoft.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Differential Privacy](<https://devfeed.tech/topics/differential-privacy.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [clustering](<https://devfeed.tech/topics/clustering.md>), [Library](<https://devfeed.tech/topics/library.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [differential-privacy](<https://devfeed.tech/tags/differential-privacy.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [fhe](<https://devfeed.tech/tags/fhe.md>), [homomorphic-encryption](<https://devfeed.tech/tags/homomorphic-encryption.md>), [ios](<https://devfeed.tech/tags/ios.md>), [library](<https://devfeed.tech/tags/library.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [microsoft-edge](<https://devfeed.tech/tags/microsoft-edge.md>), [programming](<https://devfeed.tech/tags/programming.md>), [systems](<https://devfeed.tech/tags/systems.md>)

### AI overview

A living document catalogs production systems known to use fully or somewhat homomorphic encryption. It describes deployments and techniques involving Microsoft Edge password checking, Apple's Live Caller ID Lookup, and Apple's private image search, while distinguishing FHE from SHE.

### Source excerpt

In this living document, I will list all production systems I'm aware of that use fully homomorphic encryption (FHE). For background on FHE, see my overview of the field. If you have any information about production FHE systems not in this list, or corrections to information in this list, please send me an email with sufficient detail allow the claim to be publicly verified. For all production deployments, I will distinguish between cases where the deployed system does "fully" homomorphic encryption (with bootstrapping), aka FHE, and "somewhat" homomorphic encryption, aka SHE (avoiding bootstrapping).

## Advances in private training for production on-device language models

DevFeed: [Advances in private training for production on-device language models](<https://devfeed.tech/articles/advances-in-private-training-for-production-on-device-language-models-28546.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/02/advances-in-private-training-for.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-02-21T20:15:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Language models](<https://devfeed.tech/topics/language-models.md>), [Federated Learning](<https://devfeed.tech/topics/federated-learning.md>), [Google](<https://devfeed.tech/topics/google.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>)

Tags: [differential-privacy](<https://devfeed.tech/tags/differential-privacy.md>), [federated-learning](<https://devfeed.tech/tags/federated-learning.md>), [gboard](<https://devfeed.tech/tags/gboard.md>), [google](<https://devfeed.tech/tags/google.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [on-device-learning](<https://devfeed.tech/tags/on-device-learning.md>), [phones](<https://devfeed.tech/tags/phones.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [production](<https://devfeed.tech/tags/production.md>), [research](<https://devfeed.tech/tags/research.md>), [responsible-ai](<https://devfeed.tech/tags/responsible-ai.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

This Google Research article describes advances in privately training Gboard's on-device language models. It explains how federated learning keeps training data on users' devices while differential privacy provides formal privacy guarantees. The article reports that all Gboard next-word-prediction neural language models use federated learning with formal differential privacy guarantees, across more than 30 models, 7 or more languages, and 15 or more countries.

### Source excerpt

Posted by Zheng Xu, Research Scientist, and Yanxiang Zhang, Software Engineer, Google Language models (LMs) trained to predict the next word given input text are the key technology for many applications [1, 2]. In Gboard, LMs are used to improve users' typing experience by supporting features like next word prediction (NWP), Smart Compose, smart completion and suggestion, slide to type, and proofread. Deploying models on users' devices rather than enterprise servers has advantages like lower latency and better privacy for model usage. While training on-device models directly from user data effectively improves the utility performance for applications such as NWP and smart text selection, protecting the privacy of user data for model training is important. Gboard features powered by on-device language models. In this blog we discuss how years of research advances now power the private training of Gboard LMs, since the proof-of-concept development of federated learning (FL) in 2017 and formal differential privacy (DP) guarantees in 2022. FL enables mobile phones to collaboratively learn a model while keeping all the training data on device, and DP provides a quantifiable measure of data anonymization. Formally, DP is often characterized by (ε, δ) with smaller values representing stronger guarantees. Machine learning (ML) models are considered to have reasonable DP guarantees for ε=10 and strong DP guarantees for ε=1 when δ is small. As of today, all NWP neural network LMs in Gboard are trained with FL with formal DP guarantees, and all future launches of Gboard LMs trained on user data require DP. These 30+ Gboard on-device LMs are launched in 7+ languages and 15+ countries, and satisfy (ɛ, δ)-DP guarantees of small δ of 10-10 and ɛ between 0.994 and 13.69. To the best of our knowledge, this is the largest known deployment of user-level DP in production at Google or anywhere, and the first time a strong DP guarantee of ɛ < 1 is announced for models trained directly on

## DP-Auditorium: A flexible library for auditing differential privacy

DevFeed: [DP-Auditorium: A flexible library for auditing differential privacy](<https://devfeed.tech/articles/dp-auditorium-a-flexible-library-for-auditing-differential-privacy-28547.md>)

Original publisher: [Read original article](<http://blog.research.google/2024/02/dp-auditorium-flexible-library-for.html>)

Author: Google AI (noreply@blogger.com)

Published: 2024-02-13T22:11:00Z

Content type: article

Language: en

Sources: [Google Research](<https://devfeed.tech/sources/google-research.md>)

Topics: [Library](<https://devfeed.tech/topics/library.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Python](<https://devfeed.tech/topics/python.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [data-protection](<https://devfeed.tech/tags/data-protection.md>), [differential-privacy](<https://devfeed.tech/tags/differential-privacy.md>), [library](<https://devfeed.tech/tags/library.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [python](<https://devfeed.tech/tags/python.md>), [research](<https://devfeed.tech/tags/research.md>), [responsible-ai](<https://devfeed.tech/tags/responsible-ai.md>), [security-and-privacy](<https://devfeed.tech/tags/security-and-privacy.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

Google Research introduces DP-Auditorium, an open source Python library that audits differential privacy guarantees using black-box access to mechanisms. It includes testing algorithms for Rényi, pure, and approximate differential privacy and can identify guarantee violations and suggest suitable tests for particular bugs.

### Source excerpt

Posted by Mónica Ribero Díaz, Research Scientist, Google Research Differential privacy (DP) is a property of randomized mechanisms that limit the influence of any individual user's information while processing and analyzing data. DP offers a robust solution to address growing concerns about data protection, enabling technologies across industries and government applications (e.g., the US census) without compromising individual user identities. As its adoption increases, it's important to identify the potential risks of developing mechanisms with faulty implementations. Researchers have recently found errors in the mathematical proofs of private mechanisms, and their implementations. For example, researchers compared six sparse vector technique (SVT) variations and found that only two of the six actually met the asserted privacy guarantee. Even when mathematical proofs are correct, the code implementing the mechanism is vulnerable to human error. However, practical and efficient DP auditing is challenging primarily due to the inherent randomness of the mechanisms and the probabilistic nature of the tested guarantees. In addition, a range of guarantee types exist, (e.g., pure DP, approximate DP, Rényi DP, and concentrated DP), and this diversity contributes to the complexity of formulating the auditing problem. Further, debugging mathematical proofs and code bases is an intractable task given the volume of proposed mechanisms. While ad hoc testing techniques exist under specific assumptions of mechanisms, few efforts have been made to develop an extensible tool for testing DP mechanisms. To that end, in "DP-Auditorium: A Large Scale Library for Auditing Differential Privacy", we introduce an open source library for auditing DP guarantees with only black-box access to a mechanism (i.e., without any knowledge of the mechanism's internal properties). DP-Auditorium is implemented in Python and provides a flexible interface that allows contributions to continuously improve

## "Practical Math" Preview: Collect Sensitive Survey Responses Privately

DevFeed: ["Practical Math" Preview: Collect Sensitive Survey Responses Privately](<https://devfeed.tech/articles/practical-math-preview-collect-sensitive-survey-responses-privately-40454.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2022/05/14/practical-math-preview-collect-sensitive-survey-responses-privately/>)

Published: 2022-05-14T09:40:49Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [math](<https://devfeed.tech/topics/math.md>), [Statistics](<https://devfeed.tech/topics/statistics.md>), [Code](<https://devfeed.tech/topics/code.md>), [Software](<https://devfeed.tech/topics/software.md>)

Tags: [bias](<https://devfeed.tech/tags/bias.md>), [code](<https://devfeed.tech/tags/code.md>), [collect](<https://devfeed.tech/tags/collect.md>), [differential-privacy](<https://devfeed.tech/tags/differential-privacy.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [politics](<https://devfeed.tech/tags/politics.md>), [practical](<https://devfeed.tech/tags/practical.md>), [practical-math](<https://devfeed.tech/tags/practical-math.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [random](<https://devfeed.tech/tags/random.md>), [randomized-algorithm](<https://devfeed.tech/tags/randomized-algorithm.md>), [research](<https://devfeed.tech/tags/research.md>), [responses](<https://devfeed.tech/tags/responses.md>), [survey](<https://devfeed.tech/tags/survey.md>)

### AI overview

This chapter preview explains randomized response, a survey technique for estimating aggregate statistics about sensitive questions while preserving respondents' privacy. Respondents use private coin flips to introduce randomization and maintain plausible deniability.

### Source excerpt

This is a draft of a chapter from my in-progress book, Practical Math for Programmers: A Tour of Mathematics in Production Software. Tip: Determine an aggregate statistic about a sensitive question, when survey respondents do not trust that their responses will be kept secret. Solution: import random def respond_privately(true_answer: bool) -> bool: '''Respond to a survey with plausible deniability about your answer.''' be_honest = random.random() < 0.5 random_answer = random.random() < 0.

## Why Theoretical Computer Scientists Aren't Worried About Privacy

DevFeed: [Why Theoretical Computer Scientists Aren't Worried About Privacy](<https://devfeed.tech/articles/why-theoretical-computer-scientists-aren-t-worried-about-privacy-40322.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2013/06/10/why-theoretical-computer-scientists-arent-worried-about-privacy/>)

Published: 2013-06-10T09:51:27Z

Content type: opinion

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [online privacy](<https://devfeed.tech/topics/online-privacy.md>), [Security](<https://devfeed.tech/topics/security.md>), [national security](<https://devfeed.tech/topics/national-security.md>), [Computer science](<https://devfeed.tech/topics/computer-science.md>), [Google](<https://devfeed.tech/topics/google.md>), [backdoor](<https://devfeed.tech/topics/backdoor.md>), [Statistics](<https://devfeed.tech/topics/statistics.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Users](<https://devfeed.tech/topics/users.md>)

Tags: [backdoor](<https://devfeed.tech/tags/backdoor.md>), [computer-science](<https://devfeed.tech/tags/computer-science.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [databases](<https://devfeed.tech/tags/databases.md>), [differential-privacy](<https://devfeed.tech/tags/differential-privacy.md>), [google](<https://devfeed.tech/tags/google.md>), [homomorphic-encryption](<https://devfeed.tech/tags/homomorphic-encryption.md>), [national-security](<https://devfeed.tech/tags/national-security.md>), [politics](<https://devfeed.tech/tags/politics.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [security](<https://devfeed.tech/tags/security.md>), [statistics](<https://devfeed.tech/tags/statistics.md>), [users](<https://devfeed.tech/tags/users.md>)

### AI overview

This opinion article discusses public concern about government surveillance and privacy, arguing that privacy, convenience, and security can be maintained together technologically. It also distinguishes the author's personal privacy preferences from opposition to privacy violations as policy.

### Source excerpt

There has been a lot of news recently on government surveillance of its citizens. The biggest two that have pervaded my news feeds are the protests in Turkey, which in particular have resulted in particular oppression of social media users, and the recent light on the US National Security Agency's widespread "backdoor" in industry databases at Google, Verizon, Facebook, and others. It appears that the facts are in flux, as some companies have denied their involvement in this program, but regardless of the truth the eye of the public has landed firmly on questions of privacy.