TL;DR
Publishing spatial datasets under differential privacy typically degrades accuracy due to random noise and crude "uniformity assumptions" across spatial partitions. Spatial Neural Histograms (SNH) reframes answering spatial range count queries as a continuous function approximation problem learned by neural networks. By isolating noise addition to an initial data-collection phase and using spatial data augmentation, SNH dramatically reduces query errors while satisfying strict $\varepsilon$-differential privacy.
What Problem Does This Paper Address?
Location-based services generate massive amounts of trajectory and check-in data, which are vital for traffic optimization, urban planning, and disease tracking. To protect user privacy, aggregate counts are released using Differential Privacy (DP).
Existing solutions (like Uniform Grid, Adaptive Grid, or PrivTree) partition the 2D space into discrete cells, add DP-compliant Laplace noise to each cell, and answer range count queries by summing overlapping cell values. This introduces two major sources of error:
- Perturbation Noise: Added noise directly scales with partition granularity and sensitivity.
- Uniformity Error: When a query partially overlaps a cell, mechanisms assume points are uniformly distributed inside that cell. In reality, human spatial density is extremely skewed (e.g., dense shopping malls surrounded by sparse suburbs).
Applying standard differentially private neural network training (such as DP-SGD) directly to spatial coordinates fails because the sensitivity per individual record is massive, drowning gradient signals in noise.
Methods
SNH circumvents DP-SGD by establishing three core architectural principles:
[Raw Spatial Data]
│
▼ (Data Collection: Disjoint Grid + Laplace Noise)
[Noisy Grid Cells (QD, YD)] ── (Satisfies ε-DP via Parallel Composition)
│
▼ (Data Augmentation: synthesize multiple query sizes)
[Augmented Query Set (QA, YA)]
│
▼ (Standard, non-private SGD with workload-aware loss)
[Trained Neural Networks (k models for k sizes)] ──► [Inference: 329 µs forward pass]
- Separation of Noise from Training: The database is queried exactly once across non-overlapping equi-width grid cells ($Q_D$) using parallel composition ($\text{Lap}(1/\varepsilon)$ noise per cell). Because the labels are already differentially private, all downstream neural training is protected by DP’s post-processing property—eliminating the need for noisy gradient descent (DP-SGD).
- Spatial Data Augmentation: To teach networks to answer queries of varying sizes without spending extra privacy budget, SNH synthesizes new training queries ($Q_A$) by aggregating base grid cells under pre-learning uniformity assumptions.
- Multi-Granularity Neural Models: Instead of a single model learning spatial location and arbitrary bounding box dimensions simultaneously, SNH trains $k$ independent, fully connected neural networks (20 layers, 80 units wide), each specialized for a specific query size. Runtime queries are routed to the nearest model and minimally scaled.
- ParamSelect (Tuning on Public Data): Optimal grid cell width $\rho$ is crucial. SNH trains an offline ExtraTrees regression model on disjoint, public spatial datasets using non-private features (e.g., spatial entropy $h_D$, dataset size $n$, privacy budget $\varepsilon$) to predict optimal $\rho$ without consuming the private dataset's privacy budget.
Datasets
The evaluation tests 12 US cities divided into low, medium, and high population densities across four location datasets:
- Gowalla (GW): 6.4 million public check-ins from 200,000 users.
- SF-CABS-S (CABS): 217,000 mobility trace start-points from San Francisco taxis.
- Veraset (VS): Proprietary, commercial dataset consisting of billions of anonymized cellphone location pings across the US.
- SPD-VS: Derived from Veraset by applying Stay Point Detection (SPD) to identify genuine Points of Interest (POI) visits where a user spent $\ge 30$ minutes within 100 meters.
- Synthetic GMM: Gaussian Mixture Models with 16 components used to systematically evaluate performance under variable data skewness ($\sigma$).
Note: Models evaluated on private datasets (e.g., VS) strictly used disjoint public datasets (e.g., GW) as auxiliary inputs ($D_I, Q_W, D_T$) to guarantee zero privacy leakage.
Key Insights and Ideas
- Neural networks act as cross-space denoisers: Gradient descent naturally aggregates observations across distinct spatial regions. The network learns the underlying continuous density manifold, effectively smoothing out both the high-frequency Laplace noise and the blocky artifacts of the uniformity assumption.
- Shift uniformity error pre-learning, not post-learning: Applying the uniformity assumption before training (during data augmentation) lets the neural network compensate for discretization errors. Conversely, applying the uniformity assumption after training (scaling model outputs) directly propagates error into the final query result.
- Auto-tuning parameters with public spatial proxies: Spatial entropy ($h_D$) transfers remarkably well across different datasets covering the same geographic region (e.g., using decade-old Gowalla data to predict optimal cell sizes for 2019 Veraset cellphone traces).
Key Results
- Up to 50% Error Reduction: Across proprietary datasets (VS, SPD-VS) and open benchmarks (CABS, GW), SNH consistently achieved up to 50% lower relative error than competitive baselines (PrivTree, Uniform Grid, Adaptive Grid, DAWA, and DP-STHoles).
- Superiority in High-Privacy Regimes: SNH’s performance advantage was most pronounced at small $\varepsilon$ values (e.g., $\varepsilon = 0.05$ and $0.1$), which are critical for iterative or temporal data releases.
- Runtime and Space Efficiency: At inference time, SNH answers range count queries via a single network forward pass in $329\ \mu\text{s}$, with each trained model occupying just $4\text{ MB}$ of storage.
Limitations and Future Work
- Training Overhead: While inference is fast ($329\ \mu\text{s}$), training $k$ deep neural networks takes up to 20 minutes per release.
- Simple Equi-Width Base Partitioning: SNH currently utilizes a uniform 2D grid for data collection. Integrating more sophisticated, non-uniform DP data-collection structures could improve base signal quality.
- Extension to Trajectories: The current architecture is strictly designed for 2D spatial point distributions. The authors cite extending SNH to high-dimensional spatio-temporal user trajectory data as primary future work.
Summary updated