Distributed Privacy-Preserving Prediction

Lingjuan Lyu, Yee Wei Law, Kee Siong NgarXiv 2019

TL;DR

This paper introduces a novel Distributed Privacy-Preserving Prediction (DPPP) framework that allows multiple parties to collaboratively train and make predictions without sharing their sensitive local data or models. By combining distributed differential privacy mechanisms with homomorphic encryption, DPPP ensures individual privacy while maintaining high prediction accuracy, even with an untrusted aggregator.

What Problem Does This Paper Address?

In the era of big data, collaborative machine learning across multiple parties offers significant advantages, especially when individual datasets are small or heterogeneous. However, privacy concerns are a major roadblock. Parties are hesitant to share their raw training data, and even sharing trained model parameters or predictions can lead to privacy leakage through various attacks. Existing solutions often rely on trusted third parties or require significant noise, degrading model utility. This paper tackles the challenge of enabling collaborative prediction in a privacy-preserving manner, specifically addressing the scenario where an aggregator might be untrusted and could potentially collude with some parties. The goal is to allow parties to contribute to a collective prediction without revealing their individual data, model, or precise prediction.

Methods

The core of the DPPP framework lies in its integration of two key privacy-enhancing technologies:

  • Distributed Differential Privacy (DDP): Instead of each party adding a large amount of noise to satisfy local differential privacy (LDP), DDP allows parties to add a smaller share of noise. This is achieved by using mechanisms like the Binomial Mechanism (BM) and the Discrete Gaussian Mechanism (DGM). The paper specifically highlights improvements to the Binomial Mechanism, providing a tighter privacy bound. The stability of these discrete mechanisms is crucial for DDP, as it allows for the analysis of overall privacy by considering individual noise contributions.
  • Homomorphic Encryption: To prevent the untrusted aggregator from learning anything beyond the aggregated prediction, homomorphic encryption is employed. Specifically, the paper uses a threshold variant of the Paillier scheme. Each party encrypts its locally computed prediction (after adding its share of DDP noise) before sending it to the aggregator. The additive homomorphic property of this encryption scheme allows the aggregator to compute an encrypted sum of all the noisy predictions without decrypting them individually. A distributed decryption process, requiring a threshold of parties, is then used to recover the final aggregated, noisy prediction.

This combination ensures that individual predictions are masked by both DDP noise and encryption, and the aggregator only sees an encrypted sum, which is then decrypted to reveal the final, privacy-guaranteed prediction.

Datasets

The paper evaluates DPPP on three datasets:

  • MNIST: A standard dataset for image classification, used to train Convolutional Neural Networks (CNNs).
  • Breast Cancer: A dataset with 569 records and 32 features, classified into malignant and benign. Support Vector Machines (SVMs) with RBF kernels were used.
  • NSL-KDD: A dataset for intrusion detection, containing 125,973 records with 41 features. A smaller subset, NSL-KDD-20, was used for experiments. SVMs with RBF kernels were also used for this dataset.

The authors note that for Breast Cancer and NSL-KDD, they sampled subsets to simulate scenarios with a smaller number of teachers and data.

Key Insights and Ideas

  • DPPP as a Privacy-Preserving Alternative to Centralized Models: The framework offers a way to achieve collaborative prediction without the need for a centralized, non-private model, which is often the most accurate but least private approach.
  • Synergy of DDP and Homomorphic Encryption: The paper demonstrates how combining distributed differential privacy (for individual noise sharing) with homomorphic encryption (for aggregator obliviousness) creates a robust privacy-preserving system.
  • Improved Binomial Mechanism Bounds: The work provides a tighter theoretical bound for the privacy cost of the Binomial Mechanism in a distributed setting, which is a valuable contribution to the theoretical understanding of DDP.
  • Aggregator Obliviousness is Key: By ensuring the aggregator only sees encrypted data and a final encrypted sum, the framework significantly reduces privacy leakage compared to methods where the aggregator might have more visibility.
  • Practical Utility: Despite the privacy guarantees, DPPP achieves comparable performance to non-private methods, outperforming standalone and LDP approaches, highlighting its practical applicability.

Key Results

  • Accuracy: DPPP demonstrated comparable prediction accuracy to centralized and distributed non-private frameworks, especially at higher privacy budgets (e.g., € ≥ 0.05 for MNIST and NSL-KDD-20). It consistently outperformed standalone and Local Differential Privacy (LDP) frameworks across all datasets.
  • Comparison to PATE: DPPP showed comparable performance to the PATE framework, which relies on a trusted aggregator.
  • Mechanism Performance: DPPP with the Discrete Gaussian Mechanism (DGM) generally outperformed DPPP with the Binomial Mechanism (BM).
  • Robustness to Privacy Budgets: The framework's effectiveness was shown to persist across varying privacy budgets (€) and privacy leakage parameters (δ).
  • Computational Overhead: The computational overhead for teachers was minimal and nearly constant, while the aggregator's overhead increased with the number of teachers but was manageable and could be further optimized. Communication costs were also deemed practical.

Limitations and Future Work

  • Unbalanced and Non-IID Data: The paper acknowledges that real-world data distributions can be unbalanced (some teachers having much more data than others) and non-IID (data not representative of the overall population). While the framework is generally robust, these aspects can affect accuracy, especially with few teachers.
  • Future Work Directions:
    • Extending the framework to handle unbalanced and non-IID data distributions.
  • Applying the framework to a wider range of machine learning tasks beyond classification.
  • Investigating privacy accounting for multiple sequential queries using different DDP mechanisms.
  • Exploring more efficient cryptographic protocols or alternative privacy mechanisms.

Summary updated

BibTeX
@misc{lyu2019distributed,
  author = {Lingjuan Lyu and Yee Wei Law and Kee Siong Ng},
  title = {{Distributed Privacy-Preserving Prediction}},
  year = {2019},
  eprint = {1910.11478},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.11478},
}
Figure