Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Data Poisoning Attacks on Quantum Machine Learning in the NISQ Era

Satwik Kundu, Swaroop Ghosh|arXiv (Cornell University)|Nov 21, 2024
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

This paper introduces QUID, a novel quantum indiscriminate data poisoning attack targeting Quantum Machine Learning (QML) models in the NISQ era. By leveraging intra-class encoder state similarity (ESS) computed from density matrices of encoding circuits, QUID identifies optimal poisoned labels without requiring victim model training or gradient access, achieving up to 92% accuracy degradation in QNNs under noisy conditions.

ABSTRACT

With the growing interest in Quantum Machine Learning (QML) and the increasing availability of quantum computers through cloud providers, addressing the potential security risks associated with QML has become an urgent priority. One key concern in the QML domain is the threat of data poisoning attacks in the current quantum cloud setting. Adversarial access to training data could severely compromise the integrity and availability of QML models. Classical data poisoning techniques require significant knowledge and training to generate poisoned data, and lack noise resilience, making them ineffective for QML models in the Noisy Intermediate Scale Quantum (NISQ) era. In this work, we first propose a simple yet effective technique to measure intra-class encoder state similarity (ESS) by analyzing the outputs of encoding circuits. Leveraging this approach, we introduce a \underline{Qu}antum \underline{I}ndiscriminate \underline{D}ata Poisoning attack, QUID. Through extensive experiments conducted in both noiseless and noisy environments (e.g., IBM\_Brisbane's noise), across various architectures and datasets, QUID achieves up to $92\%$ accuracy degradation in model performance compared to baseline models and up to $75\%$ accuracy degradation compared to random label-flipping. We also tested QUID against state-of-the-art classical defenses, with accuracy degradation still exceeding $50\%$, demonstrating its effectiveness. This work represents the first attempt to reevaluate data poisoning attacks in the context of QML.

Motivation & Objective

  • To address the critical but unexplored threat of data poisoning attacks in Quantum Machine Learning (QML) models deployed in cloud-based NISQ environments.
  • To develop a label-flipping attack that operates without requiring knowledge of the victim model’s training procedure or additional training steps.
  • To evaluate the effectiveness of the proposed attack under realistic noisy quantum hardware conditions, including IBM_Brisbane’s noise model.
  • To test the attack’s resilience against state-of-the-art classical defenses, such as SS-DPA, in the context of QML.
  • To establish a new benchmark for evaluating QML security by introducing a method to assess encoder circuit performance via intra-class state similarity (ESS) without full model training.

Proposed method

  • Proposes intra-class encoder state similarity (ESS) as a metric using density matrices derived solely from the encoding circuit, enabling performance estimation of state preparation circuits without training QML models.
  • Uses ESS to identify the most dissimilar class label for each data point by measuring the distance between encoded quantum states in Hilbert space, selecting the label that maximizes state divergence.
  • Applies this label-flipping strategy to generate poisoned training data, where the selected labels are assigned to clean data points to degrade model generalization.
  • Executes the encoding circuit on noisy quantum hardware to determine poisoned labels, ensuring noise resilience without requiring retraining or gradient computation.
  • Employs a quantum circuit-based approach to compute ESS via density matrices, avoiding the need for expectation value measurements that lose information.
  • Evaluates QUID across multiple QNN architectures (e.g., PQC-1), datasets (MNIST-4, Fashion-4, Kuzushiji-4, Letters-4, MNIST-10), and noise models, including IBM_Brisbane’s noisy device.

Experimental results

Research questions

  • RQ1Can intra-class encoder state similarity (ESS) be effectively computed from encoding circuits alone to guide data poisoning in QML?
  • RQ2How effective is a label-flipping attack based on ESS in degrading QNN performance under noisy NISQ conditions?
  • RQ3Can QUID outperform random label-flipping and other baseline poisoning strategies in both noiseless and noisy quantum environments?
  • RQ4How resilient is QUID to state-of-the-art classical defenses like SS-DPA in the context of QML?
  • RQ5To what extent does the use of density matrices for ESS computation impact scalability and practical deployment on real quantum hardware?

Key findings

  • QUID achieves up to 92% accuracy degradation in QNNs compared to baseline models on datasets like MNIST-4 and Fashion-4 under noisy conditions.
  • In comparison to random label-flipping, QUID causes up to 75% accuracy degradation, demonstrating superior attack effectiveness.
  • Even when defended with SS-DPA, a state-of-the-art defense technique, QUID still degrades model accuracy by over 50% on average across tested datasets.
  • On an 8-qubit, 2-layer QNN trained on reduced MNIST-10 with ε=0.5, QUID causes an additional 41% accuracy degradation and 0.4 higher test loss compared to random flipping.
  • The attack remains effective in noisy environments such as IBM_Brisbane’s device model, confirming its robustness to NISQ-level noise.
  • The use of density matrices for ESS computation enables high-accuracy label selection, though it incurs high measurement cost due to exponential scaling with qubit count.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.