Optimizing Fitness-For-Use of Differentially Private Linear Queries

Yingtai Xiao, Zeyu Ding, Yuxin Wang, Danfeng Zhang, Daniel Kifer

TL;DR

Real-world data releases under differential privacy often require specific, individual accuracy targets for each query rather than an optimal average. This paper introduces the fitness-for-use framework for linear queries, optimizing correlated Gaussian noise to guarantee per-query error bounds while minimizing privacy loss. It solves this problem with SM-II, a scalable Newton–Conjugate Gradient algorithm that outperforms existing matrix mechanism baselines.

What Problem Does This Paper Address?

When organizations like the U.S. Census Bureau publish data, end-users rely on specific tables for concrete applications (e.g., redistricting or allocating federal funds). Each application imposes a "fitness-for-use" threshold—such as a maximum margin of error or variance.

Standard differential privacy (DP) algorithms, such as the classical Matrix Mechanism, minimize total or sum-squared error across all queries. While mathematically convenient, this global objective often allocates excessive accuracy to certain queries while leaving others too noisy to be useful. Weighted sum-squared heuristics also fail unpredictably. This paper formalizes the problem of satisfying individual, per-query variance bounds ($\text{expected squared error} \le c_i$) while expending the minimum possible privacy budget.

Methods

The authors formulate the task as finding an optimal covariance matrix $\Sigma$ for additive Gaussian noise, such that:

  1. Every query is answered without bias.
  2. Each query's variance meets its specified bound $c_i$.
  3. The overall privacy cost $\Delta_M$ (which determines the $(\epsilon, \delta)$-DP guarantee) is minimized.

Directly solving this constrained optimization via interior point methods fails to scale beyond tiny domains ($d \approx 64$). To overcome this, the authors introduce SM-II:

  • Double Soft-Max Reformulation: Replaces the non-differentiable $\max$ over privacy costs and the $\max$ over variance violations with smooth $\text{soft-max}$ approximations parameterized by temperature parameters $t_1, t_2$.
  • Second-Order Optimization without Hessian Materialization: Minimizes the smooth objective using Newton’s method. Because a full Hessian over a $d \times d$ covariance matrix has size $d^2 \times d^2$ (intractably large), the algorithm uses Conjugate Gradient (CG) and Kronecker product identities ($(A \otimes B)\operatorname{vec}(C) = \operatorname{vec}(BCA^T)$) to compute Hessian-vector products implicitly.
  • Backtracking Line Search: Guarantees that each step maintains positive definiteness of $\Sigma$ via Cholesky decomposition.

Datasets

Because DP query mechanisms are evaluated across workload structures and domain sizes, the paper benchmarks against both synthetic workloads and real census schemas:

  • Analytical Identity + Sum: An identity matrix coupled with a total sum query.
  • PL-94-171 Redistricting Data: A 2010 U.S. Census schema combining voting age, ethnicity, and OMB race categories into a 252-dimensional domain evaluated on demographic marginals.
  • 1D Range Queries: Prefix queries and random interval range queries across domain sizes $d \in \{64, \dots, 1024\}$.
  • Random & WRelated Workloads: Dense, unstructured query workloads generated via random signs ($\pm 1$) and Gaussian matrix factorizations.
  • Age Pyramids & Multi-Way Marginals: Realistic demographic workloads measuring age by gender and 3-way contingency tables.

Key Insights and Ideas

  • Total Error Minimization Fails Fitness-for-Use: On an identity-plus-sum query workload, optimizing for sum of squared errors results in a worst-case per-query error that is $O(\sqrt{d})$ times larger than optimal. Standard fixes, such as weighting queries by inverse target variance, can paradoxically make the worst-case violation even worse.
  • A Unique "Best" Privacy Covariance: While multiple covariance matrices can achieve the same minimum overall privacy cost $\Delta_M$, the authors prove that exactly one unique matrix minimizes the refined lexicographic ordering of personalized privacy costs (the privacy profile).
  • "Free" Query Answers: Under this unique optimal noise structure, data publishers maximize their capacity to release additional, unasked queries in the future at zero additional privacy cost.

Key Results

  • Hitting Error Targets: On the Census PL-94 workload, the total-error-optimal Matrix Mechanism (CA) exceeded target variances by up to $3.99\times$ at the same privacy cost. SM-II met all target bounds exactly ($1.00\times$) at the expense of only a $2.07\times$ increase in total sum-squared error.
  • Consistent Gains on Structured Queries: On random range queries, SM-II reduced the maximum variance violation ratio by $\approx 25\%$ (uniform accuracy targets) and by $\ge 40\%$ (random accuracy targets) compared to weighted matrix mechanism variants. On age pyramids, SM-II outperformed competitors by over $58\%$.
  • Optimization Efficiency: On small instances ($d=16$), standard gradient descent required 264.36 seconds to converge, while SM-II converged in 0.058 seconds.

Limitations and Future Work

  • Metric Scope: The formulation is restricted to expected squared error (variance) under Gaussian noise; other user-level metrics (e.g., $L_1$ error, absolute bounds, or quantile constraints) are not supported.
  • Scalability to Massive Domains: While SM-II easily handles moderate domains ($d \le 1024$), scaling to high-dimensional spaces with millions of bins remains an open challenge. The authors suggest future work could combine SM-II with domain-decomposition methods from the high-dimensional matrix mechanism (HDMM).

Summary updated

BibTeX
@article{xiao2021optimizing,
  author = {Yingtai Xiao and Zeyu Ding and Yuxin Wang and Danfeng Zhang and Daniel Kifer},
  title = {{Optimizing Fitness-For-Use of Differentially Private Linear Queries}},
  journal = {Proc. VLDB Endow.},
  year = {2021},
  url = {https://openreview.net/forum?id=gEO9dECZ_3l},
}
Figure