Quantum Privacy Aggregation of Teacher Ensembles (QPATE) for Privacy Preserving Quantum Machine Learning

William M. Watkins, Heehwan Wang, Sangyoon Bae, Huan-Hsin Tseng, Jiook Cha, Samuel Yen-Chi Chen, Shinjae YooICASSP 2024 · DOI

TL;DR

This paper introduces QPATE, the first method to combine the privacy-preserving PATE framework with quantum machine learning (QML) models. By training quantum neural networks (QNNs) using PATE, they demonstrate a way to achieve strong privacy guarantees for QML while maintaining high accuracy, even outperforming classical PATE on certain metrics.

What Problem Does This Paper Address?

Machine learning models, especially large ones, raise significant privacy concerns. Sensitive data used for training can potentially be leaked through model parameters or by querying the model. Differential Privacy (DP) offers a robust mathematical framework to quantify and limit this privacy loss. While techniques like Private Aggregation of Teacher Ensembles (PATE) have been successfully applied to classical machine learning for privacy-preserving federated learning, their application to the emerging field of Quantum Machine Learning (QML) has been unexplored. This paper aims to bridge this gap by investigating how PATE can be adapted to QML models, specifically Variational Quantum Circuits (VQCs), to ensure privacy without sacrificing performance.

Methods

The core of this work is the adaptation of the PATE framework to QML. PATE works by training multiple "teacher" models on disjoint subsets of private data. These teachers then predict labels for a separate, non-sensitive dataset. A "student" model is then trained on this publicly available, but noisily labeled, dataset. The noise introduced during the aggregation of teacher predictions is what provides the privacy guarantee.

In this study, the researchers replace the classical teacher and student models with hybrid quantum-classical classifiers. These classifiers consist of convolutional neural network (CNN) layers followed by a Variational Quantum Circuit (VQC) block. The VQC is responsible for encoding information into a quantum state and performing computations. The privacy is achieved by using the PATE mechanism to generate noisy labels for the student model's training data, derived from the ensemble of quantum teachers. They utilize the momentum accountant method to track and bound the privacy loss.

Datasets

The primary dataset used for training and evaluation is MNIST. Specifically, the task is a binary classification of handwritten digits '0' and '1'. The original MNIST images are padded to a size of 32x32.

Key Insights and Ideas

  • PATE is adaptable to QML: The study successfully demonstrates that the PATE framework, designed for classical ML, can be effectively applied to quantum machine learning models, opening new avenues for privacy-preserving QML.
  • Quantum advantage in privacy: QPATE shows a notable advantage in accuracy over classical PATE, especially at lower privacy budgets (smaller epsilon values), suggesting that quantum models might be more resilient to the noise introduced for privacy.
  • "Fuzziness" as a privacy tool: The inherent "fuzziness" introduced by the noisy aggregation of teacher predictions in PATE is crucial for privacy. This fuzziness, when applied to quantum models, doesn't necessarily lead to a drastic drop in accuracy, unlike in some classical scenarios.
  • Hybrid approach is key: The combination of classical convolutional layers and quantum VQC blocks in the teacher and student models proves effective for both learning and privacy.

Key Results

The paper reports that QPATE achieved over 99% accuracy on the MNIST binary classification task with significant privacy guarantees. Specifically:

  • At a privacy parameter $\epsilon$ of 0.01, QPATE showed 28.84% higher performance than classical PATE.
  • As $\epsilon$ increased (e.g., to 0.1 and above), the performance of both classical PATE and QPATE became comparable.
  • QPATE achieved good test performance even after just 1 epoch of training, indicating faster convergence in some privacy-constrained scenarios.

Limitations and Future Work

  • Limited scope: The study focused on binary classification of MNIST digits. The authors acknowledge that generalizing these results to more complex image classification tasks (like CIFAR10 or ImageNet21k) is a crucial next step.
  • Trade-off between accuracy and privacy: While QPATE shows promise, the inherent trade-off between prediction accuracy and the privacy budget ($\epsilon$) remains a challenge. Achieving high accuracy with very low $\epsilon$ values is difficult.
  • Future work: The authors plan to test QPATE on more complex image classification tasks and explore its generalization capabilities. They also aim to further investigate the quantum advantage in privacy-preserving machine learning.

Summary updated

BibTeX
@misc{watkins2024quantum,
  author = {William M. Watkins and Heehwan Wang and Sangyoon Bae and Huan-Hsin Tseng and Jiook Cha and Samuel Yen-Chi Chen and Shinjae Yoo},
  title = {{Quantum Privacy Aggregation of Teacher Ensembles (QPATE) for Privacy Preserving Quantum Machine Learning}},
  year = {2024},
  eprint = {2401.07464},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.07464},
}
Figure