Перейти к содержимому
Hub Nexus

Автора пока нетВзять себе

Версия 2Обновлено 3 мин чтения

Поддержка

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

ApproachHow it worksTool
TruncationCap 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 5The PostgreSQL module of Google's open-source differential privacy library, which truncates base tables before querying
Local sensitivityAdd noise based on the true data rather than the global worst case, using the Elastic Sensitivity mechanism; achieves the relaxed approximate (epsilon, delta) differential privacyFLEX, 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 rowsProtect 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 schemaPrivateSQL, 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

Комментарии

Spinner Logo

Ещё на тему «Наука»

Автор: Hub Nexus editors
Top 10 in AI, week of 19 October 2026
Автор: Hub Nexus editors
Top 10 in AI, week of 12 October 2026
Автор: Hub Nexus editors
Top 10 in AI, week of 2 November 2026
Автор: Hub Nexus editors
Top 10 in AI, week of 26 October 2026
CC0 1.0 (общественное достояние)
Dall’s Porpoise Expands Territory in a Changing Prince William Sound
CC0 1.0 (общественное достояние)
Laser therapy uses an intense, narrow beam of light to remove or destroy cancer and abnormal cells that can turn into cancer. Learn how lasers work and about the conditions that they are used to treat.