Differentially Private Numerical Vector Analyses in the Local and Shuffle Model

Shaowei Wang, Jin Li, Yuntong Li, Wei Yang, Hongyang YanIEEE TDSC 2023

Abstract

Aggregating high-dimensional sparse numerical vectors under Local Differential Privacy (LDP) is a critical challenge in decentralized systems like Federated Learning. Traditional methods often suffer from excessive noise due to the "curse of dimensionality." This paper introduces two novel mechanisms, Collision and CoCo, which achieve minimax optimal error rates for $s$-sparse ternary vectors. By leveraging hashing to condense the output domain and exploiting negative correlations between data frequencies, these mechanisms reduce estimation errors by 30% to 60% compared to existing state-of-the-art methods. Furthermore, the authors provide tighter privacy amplification bounds in the shuffle model, significantly improving utility for a given privacy budget.

Introduction

In decentralized data processing, such as Federated Learning, a central server must aggregate sensitive data from millions of users. Local Differential Privacy (LDP) provides a robust framework where users sanitize their data before transmission. However, when dealing with high-dimensional numerical vectors (e.g., model gradients), the noise required for LDP often overwhelms the signal, a phenomenon known as the "curse of dimensionality." This work focuses on $s$-sparse ternary vectors—common in efficient, quantized machine learning—where most entries are zero and non-zeros are $\{-1, 1\}$.

The Collision and CoCo Mechanisms

The authors propose a shift from direct mean estimation to frequency estimation over a condensed domain.

  1. The Collision Mechanism: This mechanism represents a sparse vector as a set of "events" (e.g., "dimension $j$ is +1") and uses a hash function to map these into a smaller output domain. By reporting collisions in the hash space using an exponential-style mechanism, it avoids splitting the privacy budget across all $d$ dimensions, achieving the optimal error rate of $O(ds/n\epsilon^2)$.
  2. The CoCo (Correlated Collision) Mechanism: Specifically optimized for mean estimation, CoCo uses two hash functions to enforce a negative correlation between the positive and negative frequencies of the same dimension. This structured noise allows errors to cancel out during averaging, further reducing variance.
Illustration of the output probability design for the Collision (a) and CoCo (b) mechanisms.

Shuffle Model and Privacy Amplification

Beyond the local model, the paper analyzes these mechanisms in the shuffle model, where an intermediate shuffler permutes messages to hide their origin. The authors derive new, "precisely tight" privacy amplification bounds that are independent of the vector's dimension. This allows for higher accuracy for a given privacy target compared to general-purpose bounds like "privacy blankets."

Comparison of privacy amplification ratios across different methods.

Key Results

Experimental evaluations on synthetic datasets demonstrate substantial improvements over existing benchmarks:

  • Error Reduction: The Collision mechanism reduces frequency estimation errors by over 60% compared to benchmarks like PrivKV and PCKV.
  • Mean Estimation: CoCo provides an additional 15-20% error reduction over the basic Collision mechanism.
  • Privacy Efficiency: The tight shuffle bounds save approximately 25% of the privacy budget compared to previous general-purpose amplification analyses.
  • Computational Performance: Both mechanisms maintain low overhead, with $O(s)$ computational complexity and $O(\log s)$ communication complexity per user.

Conclusion

By rethinking sparse vector aggregation through the lens of hashing and structured noise, the Collision and CoCo mechanisms close the gap between theoretical lower bounds and practical performance. These methods offer a scalable and highly accurate solution for privacy-preserving high-dimensional data analysis in both local and shuffle models.

Summary updated

BibTeX
@misc{wang2023differentially,
  author = {Shaowei Wang and Jin Li and Yuntong Li and Jin Li and Wei Yang and Hongyang Yan},
  title = {{Differentially Private Numerical Vector Analyses in the Local and Shuffle Model}},
  year = {2023},
  eprint = {2304.04410},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.04410},
}
Figure