Skip to main content
QUICK 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 Science被引用 3
一句话总结

本文提出 QUID,一种针对 NISQ 时代量子机器学习(QML)模型的新型量子无差别数据 poisoning 攻击。通过利用编码电路密度矩阵计算的类内编码态相似性(ESS),QUID 在无需受害者模型训练或梯度访问的情况下,识别出最优污染标签,进而在噪声条件下使 QNN 的准确率最高下降 92%。

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.

研究动机与目标

  • 解决在基于云的 NISQ 环境中部署的量子机器学习(QML)模型所面临的、尚未被探索的关键但重要的数据 poisoning 攻击威胁。
  • 开发一种标签翻转攻击,其无需了解受害者模型的训练过程或额外训练步骤。
  • 在包含 IBM_Brisbane 噪声模型在内的真实噪声量子硬件条件下,评估所提攻击的有效性。
  • 在 QML 背景下,测试攻击对最先进的经典防御方法(如 SS-DPA)的鲁棒性。
  • 通过在不进行完整模型训练的情况下,利用类内态相似性(ESS)评估编码电路性能,建立 QML 安全评估的新基准。

提出的方法

  • 提出类内编码态相似性(ESS)作为度量指标,仅使用编码电路导出的密度矩阵,实现对态制备电路性能的估计,而无需训练 QML 模型。
  • 利用 ESS 通过测量希尔伯特空间中编码量子态之间的距离,识别每个数据点最不相似的类别标签,选择使态发散最大的标签。
  • 应用此标签翻转策略生成污染训练数据,将所选标签分配给干净数据点,以降低模型泛化能力。
  • 在噪声量子硬件上执行编码电路,以确定污染标签,确保在无需重训练或梯度计算的情况下具备抗噪声能力。
  • 采用基于量子线路的方法,通过密度矩阵计算 ESS,避免因期望值测量而损失信息。
  • 在多个 QNN 架构(如 PQC-1)、数据集(MNIST-4、Fashion-4、Kuzushiji-4、Letters-4、MNIST-10)以及噪声模型(包括 IBM_Brisbane 的噪声设备模型)上评估 QUID。

实验结果

研究问题

  • RQ1仅从编码电路中能否有效计算类内编码态相似性(ESS),以指导 QML 中的数据 poisoning?
  • RQ2基于 ESS 的标签翻转攻击在噪声 NISQ 条件下对 QNN 性能的降级效果如何?
  • RQ3QUID 在无噪声和有噪声的量子环境中,是否能优于随机标签翻转及其他基线 poisoning 策略?
  • RQ4在 QML 背景下,QUID 对最先进的经典防御技术(如 SS-DPA)的鲁棒性如何?
  • RQ5使用密度矩阵计算 ESS 对实际量子硬件上的可扩展性和部署有何影响?

主要发现

  • 在噪声条件下,QUID 在 MNIST-4 和 Fashion-4 等数据集上使 QNN 的准确率最高下降 92%,相比基线模型。
  • 与随机标签翻转相比,QUID 导致最高 75% 的准确率下降,证明了其攻击效果的优越性。
  • 即使采用 SS-DPA 这类最先进的防御技术,QUID 在测试数据集上的平均准确率仍下降超过 50%。
  • 在 8 量子比特、2 层 QNN 上,使用缩减版 MNIST-10 且 ε=0.5 训练时,QUID 导致额外 41% 的准确率下降和 0.4 的更高测试损失,相比随机翻转。
  • 该攻击在 IBM_Brisbane 的设备模型等噪声环境中依然有效,证实其对 NISQ 级噪声的鲁棒性。
  • 使用密度矩阵计算 ESS 能够实现高精度的标签选择,但因与量子比特数量呈指数级增长,导致测量成本较高。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。