Skip to main content
QUICK REVIEW

[Paper Review] Achieving Differential Privacy using Methods from Calculus

Peeter Laud, Alisa Pankova|arXiv (Cornell University)|Nov 15, 2018
Privacy-Preserving Technologies in DataComputer Science5 references3 citations
TL;DR

This paper introduces derivative sensitivity, a calculus-based analogue to local sensitivity, enabling precise and flexible quantification of query sensitivity for differential privacy in continuous functions. By leveraging norms and derivatives, the method computes noise-adding magnitudes tailored to nuanced data metrics, significantly improving privacy-utility trade-offs in database queries.

ABSTRACT

We introduce derivative sensitivity, an analogue to local sensitivity for continuous functions. We use this notion in an analysis that determines the amount of noise to be added to the result of a database query in order to obtain a certain level of differential privacy, and demonstrate that derivative sensitivity allows us to employ powerful mechanisms from calculus to perform the analysis for a variety of queries. We have implemented the analyzer and evaluated its efficiency and precision. We also show the flexibility of derivative sensitivity in specifying the quantitative privacy notion of the database, as desired by the data owner. Instead of only using the `number of changed rows' metric, our metrics can depend on the locations and amounts of changes in a much more nuanced manner. This will help to make sure that the distance is not larger than the data owner desires (which would undermine privacy), thereby encouraging the adoption of differentially private data analysis mechanisms.

Motivation & Objective

  • Address the need for fine-grained, data-owner-defined privacy metrics beyond simple row-count differences.
  • Develop a calculus-based framework to compute sensitivity for continuous query functions, improving noise-utility trade-offs.
  • Enable precise noise addition by analyzing derivative sensitivity, reducing overestimation of sensitivity compared to traditional methods.
  • Support complex SQL workflows with projections, filters, joins, and subqueries under flexible ℓp and composite metrics.
  • Integrate the analyzer with database systems to compute sensitivity values using actual data contents, enhancing practical applicability.

Proposed method

  • Define derivative sensitivity as a continuous analogue to local sensitivity, using derivatives of query functions to measure output change per unit input change.
  • Employ ℓp-norms (1 ≤ p ≤ ∞) and their combinations to model diverse input metrics, allowing data owners to specify privacy preferences based on attribute values and locations.
  • Introduce a framework for composing metrics across rows, tables, and databases, supporting public and sensitive attributes.
  • Implement a static analyzer that takes schema, metric, query, and data contents to compute derivative sensitivity at a given database instance.
  • Use the computed derivative sensitivity to scale noise (e.g., Laplace or Gaussian) for achieving desired differential privacy levels.
  • Integrate the analyzer into a DBMS pipeline to perform sensitivity analysis on actual data, ensuring accuracy and efficiency.

Experimental results

Research questions

  • RQ1How can we generalize local sensitivity to continuous functions using calculus-based methods?
  • RQ2Can derivative sensitivity enable more precise and less conservative noise addition in differentially private query processing?
  • RQ3How can diverse, user-defined input metrics (e.g., ℓp-norms, composite norms) be integrated into sensitivity analysis for better privacy control?
  • RQ4What is the performance and precision of a calculus-based sensitivity analyzer when applied to real SQL workflows?
  • RQ5How does derivative sensitivity handle complex query structures like joins, filters, and subqueries under varying privacy metrics?

Key findings

  • Derivative sensitivity enables more accurate sensitivity estimation than traditional local sensitivity, especially for continuous data, reducing overestimation and improving utility.
  • The analyzer achieved high precision in benchmarks, with median error rates below 1% for most queries, and low relative errors (e.g., 0.0006 for b1_5) in complex cases.
  • For large-scale queries like b10, the analyzer correctly identified infinite sensitivity (due to high error in filtering), indicating a need for noise placement before filtering.
  • The framework supports flexible privacy metrics, including ℓ1, ℓ2, ℓ∞, and composite norms, allowing data owners to express nuanced privacy preferences.
  • The implementation demonstrated scalability, handling queries with up to 283.82M rows (b9) and noise scales up to 201.81K, with runtime in the tens of seconds for complex workloads.
  • The method successfully handles complex query plans involving multiple filters and joins, with sensitivity values reflecting the true impact of input changes on output.

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.