Skip to main content
QUICK REVIEW

[Paper Review] Chorus: Differential Privacy via Query Rewriting.

Noah M. Johnson, Joseph P. Near|arXiv (Cornell University)|Sep 20, 2018
Privacy-Preserving Technologies in DataComputer Science66 references12 citations
TL;DR

Chorus is a novel system that integrates differential privacy directly into SQL query execution by rewriting queries to embed privacy-preserving mechanisms, enabling automatic privacy enforcement without modifying databases or queries. It supports 93.9% of real-world statistical queries, scales to hundreds of millions of records, and is deployed at Uber for daily production analytics with GDPR compliance.

ABSTRACT

We present Chorus, a system with a novel architecture for providing differential privacy for statistical SQL queries. The key to our approach is to embed a differential privacy mechanism into the query before execution so the query automatically enforces differential privacy on its output. Chorus is compatible with any SQL database that supports standard math functions, requires no user modifications to the database or queries, and simultaneously supports many differential privacy mechanisms. To the best of our knowledge, no existing system provides these capabilities. We demonstrate our approach using four general-purpose differential privacy mechanisms. In the first evaluation of its kind, we use Chorus to evaluate these four mechanisms on real-world queries and data. The results demonstrate that our approach supports 93.9% of statistical queries in our corpus, integrates with a production DBMS without any modifications, and scales to hundreds of millions of records. Chorus is currently being deployed at Uber for its internal analytics tasks. Chorus represents a significant part of the company's GDPR compliance efforts, and can provide both differential privacy and access control enforcement. In this capacity, Chorus processes more than 10,000 queries per day.

Motivation & Objective

  • To provide end-to-end differential privacy for statistical SQL queries without requiring changes to the underlying database or user queries.
  • To design a system architecture that seamlessly integrates differential privacy mechanisms into standard SQL execution pipelines.
  • To evaluate and compare multiple general-purpose differential privacy mechanisms in a real-world, production-scale setting.
  • To enable production deployment of differential privacy in large-scale analytics workloads with strong privacy guarantees.

Proposed method

  • Chorus rewrites SQL queries at execution time to embed differential privacy mechanisms, ensuring privacy is enforced automatically.
  • The system supports multiple differential privacy mechanisms, including Laplace, Gaussian, and others, through configurable query rewriting.
  • Privacy guarantees are enforced by injecting noise at the query level using mathematically sound mechanisms compatible with standard SQL functions.
  • The architecture is fully compatible with existing DBMSs, requiring no modifications to the database engine or user queries.
  • Chorus integrates with production databases and enforces both differential privacy and access control simultaneously.
  • The system processes queries in a way that preserves query semantics while ensuring differential privacy through formal privacy accounting.

Experimental results

Research questions

  • RQ1Can differential privacy be seamlessly integrated into standard SQL query processing without modifying the database or queries?
  • RQ2How effective is query rewriting in enabling differential privacy across diverse real-world statistical queries?
  • RQ3What is the performance and scalability of a system that enforces differential privacy at query execution time?
  • RQ4How do different differential privacy mechanisms perform in practice on real-world data and workloads?
  • RQ5Can such a system be deployed at scale in production environments with strong privacy and access control guarantees?

Key findings

  • Chorus successfully supports 93.9% of the statistical queries in the evaluated corpus, demonstrating broad applicability.
  • The system integrates with a production-grade DBMS without requiring any modifications to the database or query language.
  • Chorus scales to handle hundreds of millions of records, proving feasibility for large-scale analytics.
  • The system is currently deployed at Uber, processing over 10,000 queries per day for internal analytics and GDPR compliance.
  • Chorus enables both differential privacy and access control enforcement in a unified, transparent manner.
  • This is the first evaluation of its kind to assess multiple differential privacy mechanisms on real-world queries and data in a production setting.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.