Answering Multi-Dimensional Range Queries under Local Differential Privacy

Jianyu Yang, Tianhao Wang, Ninghui Li, Xiang Cheng, Sen Su

TL;DR

Answering multi-dimensional range queries under Local Differential Privacy (LDP) requires balancing attribute correlations, large domain sizes, and the curse of dimensionality. This paper introduces Hybrid-Dimensional Grids (HDG), a framework that collects both 1-D and 2-D binned marginals using Optimized Local Hash, resolves inconsistencies, and reconstructs higher-dimensional query answers via iterative weighted updates. Backed by a theoretical guideline for choosing grid granularities, HDG reduces query error by up to an order of magnitude compared to prior approaches.

What Problem Does This Paper Address?

In the Local Differential Privacy (LDP) model, users perturb their own data before sending it to an untrusted central aggregator. While LDP is widely deployed by companies like Google, Apple, and Microsoft, existing techniques mostly target single categorical or 1-D numerical attributes.

Extending LDP to multi-dimensional range queries (e.g., finding the fraction of users whose age, income, and browsing time fall within specific ranges) introduces three conflicting challenges:

  1. Attribute Correlations: Assuming attributes are independent destroys utility when data features are correlated.
  2. Curse of Dimensionality: Measuring full high-dimensional joint distributions causes exponential state explosion, resulting in overwhelming perturbation noise.
  3. Large Attribute Domains: Answering fine-grained queries over large domains requires summing up many noisy values, inflating the cumulative variance.

Existing methods handle at most two of these: CALM handles correlations via low-dimensional marginals but fails on large domains; HIO uses multi-dimensional hierarchies but fractures users across too many groups; and Multiplied Square Wave (MSW) handles large domains well but completely ignores attribute correlations.

Methods

The authors propose Two-Dimensional Grids (TDG) and its upgraded counterpart, Hybrid-Dimensional Grids (HDG):

[Users split into groups] ──(OLH)──> [1-D Grids (g1) + 2-D Grids (g2)]
                                                  │
                                                  ▼
                                       [Consistency & Norm-Sub]
                                                  │
                                                  ▼
                                       [Weighted Update Matrix]
                                                  │
                                                  ▼
[λ-D Range Query] ◄── [Weighted Update] ◄── [2-D Subquery Answers]
  • Grid Construction & User Partitioning: HDG partitions users into $m = d + \binom{d}{2}$ disjoint groups. Each user reports their data mapped to either a 1-D grid (with granularity $g_1$) or a 2-D grid (with granularity $g_2$) using the Optimized Local Hash (OLH) protocol.
  • Consistency & Non-Negativity Post-Processing: To reconcile conflicting counts across overlapping grids and remove negative values introduced by OLH noise, the aggregator iteratively applies constrained weighted averaging alongside a normalization step (Norm-Sub).
  • Response Matrix Generation via Weighted Update: When a range query partially intersects a 2-D cell, assuming a uniform distribution causes substantial bias. HDG uses the iterative Weighted Update (multiplicative weights) method to fuse the coarse 2-D grid with the finer-grained 1-D grids into a refined $c \times c$ response matrix per attribute pair.
  • Higher-Dimensional ($\lambda$-D) Query Answering: For queries where $\lambda > 2$, HDG breaks the query into $\binom{\lambda}{2}$ constituent 2-D range queries and reconstructs the joint $\lambda$-D answer using iterative Weighted Update over the $2^\lambda$ sub-regions.
  • Analytical Granularity Guideline: Choosing $g_1$ and $g_2$ is formulated as a bias-variance trade-off (noise variance increases with finer cells; intra-cell non-uniformity bias increases with coarser cells). The paper derives closed-form formulas to analytically set near-optimal grid granularities without leaking user privacy.

Datasets

The authors evaluated their methods on two real and two synthetic datasets (varying the number of users $n \in [10^5, 10^7]$, attributes $d \in [3, 10]$, and domain size $c \in [2^4, 2^{10}]$):

  • Ipums: Real-world US Census 2018 records (~1 million records).
  • Bfive: Real-world Big Five personality test response times in milliseconds (~1 million records, exhibiting weaker attribute correlations).
  • Normal: Synthetic dataset sampled from a multivariate normal distribution (pairwise covariance 0.8).
  • Laplace: Synthetic dataset sampled from a multivariate Laplace distribution (pairwise covariance 0.8, exhibiting heavy tails and spike distributions).

Key Insights and Ideas

  • 1-D Grids Compensate for 2-D Coarseness: 2-D grids must be relatively coarse to maintain sufficient sample density per cell under LDP. Introducing 1-D grids provides high-resolution marginals along single axes at minimal user-budget cost. Fusing them removes the need to assume uniform distribution within partial 2-D cells.
  • Pairwise Marginals are the "Sweet Spot": Decomposing high-dimensional space into pairwise 2-D grids provides enough structural correlation to reconstruct $\lambda$-dimensional queries accurately without triggering exponential noise blowup.
  • Analytical Parameter Tuning: Rather than treating binning granularities as empirical hyperparameters, modeling the expected squared error allows $g_1$ and $g_2$ to be chosen analytically using only public metadata ($n, \varepsilon, d$).

Key Results

  • Order-of-Magnitude Improvement: Across real and synthetic benchmarks, HDG consistently achieved the lowest Mean Absolute Error (MAE), frequently beating CALM, HIO, and LHIO by an order of magnitude in low-to-moderate privacy budgets ($\varepsilon \in [0.2, 2.0]$).
  • Stability Over Large Domains ($c$): While CALM's error climbs rapidly as domain size increases from $2^4$ to $2^{10}$ (due to summing hundreds of noisy marginal cells), HDG's error remains flat because grid binning keeps the noise variance bounded.
  • Robustness Across Correlation Structures: MSW performed well on Bfive (where correlations are weak) but failed on Normal and Laplace. HDG matched MSW on weakly correlated data while vastly outperforming it on correlated distributions.
  • Guideline Accuracy: Comparing the analytical granularity recommendations against exhaustive grid searches confirmed that the paper's closed-form selections closely match the empirical best configurations.

Limitations and Future Work

  • Quadratic User Splitting: Because the number of groups scales with $O(d^2)$, scaling to very high-dimensional settings (e.g., $d \gg 10$) would divide the population into too many thin slices, increasing sampling and noise variance.
  • Dataset-Dependent Estimation Error: The multiplicative weight update used to reconstruct queries with $\lambda > 2$ depends on dataset-specific joint structures, occasionally leading to slight non-monotonic error behaviors as dimensionality increases.
  • Approximation in Non-Uniformity Derivation: The closed-form granularity formula relies on an idealized uniform approximation to quantify boundary bias, which may deviate on extremely skewed or multi-modal edge distributions.

Summary updated

BibTeX
@article{yang2020answering,
  author = {Jianyu Yang and Tianhao Wang and Ninghui Li and Xiang Cheng and Sen Su},
  title = {{Answering Multi-Dimensional Range Queries under Local Differential Privacy}},
  journal = {Proc. VLDB Endow.},
  year = {2020},
  url = {https://openreview.net/forum?id=TJ-0V30rqgh},
}
Figure