Blowfish privacy: tuning privacy-utility trade-offs using policies

Xi He, Ashwin Machanavajjhala, Bolin Ding

TL;DR

Blowfish privacy is a flexible class of privacy definitions that allows data publishers to "tune" the trade-off between privacy and utility using explicit policies. By specifying exactly what information must remain secret and accounting for known public constraints, Blowfish can achieve orders of magnitude better accuracy than standard Differential Privacy while still providing rigorous mathematical guarantees.

What Problem Does This Paper Address?

Differential Privacy (DP) has become the gold standard for privacy-preserving data analysis, but it has two major practical drawbacks. First, it is often "too strong," requiring so much noise that the resulting data becomes useless for certain applications (like social recommendations or high-dimensional clustering). Second, DP assumes that data records are independent. In the real world, data is often correlated due to publicly known constraints (e.g., "the total number of patients in this study is exactly 100"). If an adversary knows these constraints, they can sometimes bypass DP's protections to reconstruct sensitive individual information.

The authors introduce Blowfish Privacy to address these gaps, providing a framework that moves beyond the "one-size-fits-all" approach of standard DP.

Methods

The core innovation is the Privacy Policy, defined as $P = (\mathcal{T}, G, \mathcal{I}_Q)$.

  • Discriminative Secret Graph ($G$): Instead of requiring that any two values in the domain be indistinguishable (as in DP), Blowfish allows publishers to define a graph where edges represent specific pairs of values that must be hidden. For example, a policy might hide a user's exact location within a 1km grid but allow the system to reveal which city they are in.
  • Constraints ($\mathcal{I}_Q$): The policy explicitly incorporates auxiliary knowledge—deterministic constraints like marginal totals—that an adversary might already know.

The authors develop several novel mechanisms to satisfy this definition:

  1. Policy-Specific Sensitivity: They show how to calibrate Laplace noise based on the specific secret graph, which is often much lower than the global sensitivity used in DP.
  2. Ordered Hierarchical Mechanism (OH): A hybrid strategy for range queries on ordered data (like age or income). It combines a standard hierarchical tree with a new "Ordered Mechanism" to ensure that error remains low even when the domain size is large.
  3. Policy Graphs for Constraints: To handle public constraints, they introduce a graph-theoretic approach to analytically bound the sensitivity of histogram queries, making it computationally feasible to release accurate data even when correlations exist.

Datasets

The authors evaluated Blowfish using four distinct datasets:

  • Twitter: 193,563 tweets with latitude/longitude coordinates, used for 2D spatial clustering and range queries.
  • Skin Segmentation: 245,057 instances of RGB values from face images, representing a 3D ordinal domain.
  • Adult (Census): 48,842 records from the US Census, focusing on the "capital loss" attribute.
  • Synthetic Data: A 4-dimensional dataset with 1,000 points used to test high-dimensional performance.

Key Insights and Ideas

  • DP is a Special Case: Differential Privacy is simply Blowfish privacy where the secret graph is "complete" (every value must be indistinguishable from every other) and there are no public constraints.
  • Utility through Specificity: By relaxing the requirement to hide every possible property of an individual, you can drastically reduce the noise needed. If you only care about hiding a user's specific disease but not their age, you can get much more accurate age-related statistics.
  • The "Aha" Moment for Range Queries: For ordered domains, the authors found that if you only need to hide transitions between adjacent values (a line graph policy), the error for range queries becomes independent of the domain size. This is a massive improvement over the $O(\log^3 |T|)$ error typical of DP.

Key Results

The empirical results demonstrate that Blowfish can provide significantly higher utility than standard DP:

  • K-Means Clustering: In many scenarios, the error introduced by the Laplace mechanism under DP was 100x higher than the non-private baseline. Under Blowfish policies, this error was often less than 5x the baseline.
  • Dimensionality Matters: The benefits of Blowfish are even more pronounced in higher dimensions. As shown in the figures below, Blowfish policies (like $G^{attr}$) significantly outperform standard Laplace mechanisms as the complexity of the data increases.

K-Means error on the Skin Segmentation dataset for different Blowfish policies. Objective ratio comparing Laplace to Blowfish; higher values indicate Blowfish is much more accurate.

  • Range Queries: The Ordered Hierarchical Mechanism consistently outperformed the best-known DP mechanisms, especially when the privacy policy focused on local indistinguishability (small $\theta$).

Limitations and Future Work

  • Computational Complexity: The authors note that checking if a specific sensitivity bound holds for general constraints is NP-hard. While they provide efficient solutions for "sparse" constraints, more work is needed for complex, overlapping constraints.
  • Policy Selection: The paper provides the mechanism for tuning, but choosing the "right" policy for a specific real-world application remains a challenge that requires domain expertise.
  • Dynamic Data: The current framework assumes the set of individuals in the database is known and fixed. Extending this to dynamic databases where individuals can be added or deleted is a suggested area for future research.

Summary updated

BibTeX
@inproceedings{he2014blowfish,
  author = {Xi He and Ashwin Machanavajjhala and Bolin Ding},
  title = {{Blowfish privacy: tuning privacy-utility trade-offs using policies}},
  booktitle = {SIGMOD},
  year = {2014},
  doi = {10.1145/2588555.2588581},
}
Figure