Автора пока нетВзять себе
- Лицензия
- CC0 1.0 (общественное достояние)По материалам www.nist.gov
- Языки
- English
- Темы
- Наука
Remove one worker from a database, and a count over joined tables can change by as many rows as that worker has jobs. That is the problem this NIST blog post lays out. It is part of a series on differential privacy, and this installment was written by guest author Xi He, an assistant professor of computer science at the University of Waterloo, who works on answering queries with joins while preserving differential privacy. This is a paraphrase.
Why joins complicate things
Imagine the U.S. Census Bureau releasing employment statistics. “How many workers are over age 20?” needs one table of workers. “How many jobs were filled by employees over 20 in 2020?” needs two: a Workers table with demographics and a Jobs table, joined by matching the person identifier (P_ID) in each. Because a worker can hold several jobs, the joined result can have several rows for one person. In the post's example, Sally has two jobs, so Sally's name and age appear twice.
For the single-table count, the Laplace mechanism from earlier posts works: adding or removing one worker changes the count by at most one, so noise scaled to that sensitivity hides whether any worker is present. For a count over the join, sensitivity depends on the data: removing Sally removes two rows, or three if Sally had three jobs. It is bounded only by the most jobs a worker can hold in a year, which may be large. Since the needed noise can be so high that the results are useless, the post summarizes three approaches and their software.
Three approaches
| Approach | How it works | Tool |
|---|---|---|
| Truncation | Cap how many times a value can appear in the joined columns, say 5 jobs per person, keeping a random 5 and dropping the rest; the sensitivity of a count is then 5 | The PostgreSQL module of Google's open-source differential privacy library, which truncates base tables before querying |
| Local sensitivity | Add noise based on the true data rather than the global worst case, using the Elastic Sensitivity mechanism; achieves the relaxed approximate (epsilon, delta) differential privacy | FLEX, part of the open-source Chorus system. Chorus works with any SQL database but has no plugins for a specific engine and needs more setup than Google's library |
| Privacy beyond rows | Protect several kinds of entity at once, such as employers as well as employees; adding or removing an employer can change a job count without limit even if no other table changes. The data curator specifies which entities need protection in the schema | PrivateSQL, with fine-grained privacy definitions, but no open-source implementation is currently available |
Google's library and Chorus are both listed in NIST's Privacy Engineering Collaboration Space, which invites feedback and use cases. The post says no available open-source system covers all the known approaches for joins, and expects systems to mature as differential privacy spreads.
What comes next
These techniques apply to queries known in advance. The next post in the series covers differentially private synthetic data, a privatized version of a sensitive dataset that approximates the real one. Once built, it can be analyzed with existing tools and workflows without added privacy risk, which helps analysts who are less familiar with differential privacy.
Sources
- Xi He, University of Waterloo (guest author), National Institute of Standards and Technology, Differential Privacy for Complex Data: Answering Queries Across Multiple Data Tables, NIST Cybersecurity Insights blog; the post's two example-table figures are left out; a guest author's text, paraphrased in full; rewritten in hubnx's own words.
Комментарии

Читать дальше
Ещё на тему «Наука»




