arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.02531quant-phcond-mat.dis-nncs.AIcs.LG
收藏

通过随机编码增强量子对抗鲁棒性

Enhancing Quantum Adversarial Robustness by Randomized Encodings

Tsinghua University(清华大学);Shanghai Qi Zhi Institute(上海期智研究院)

Weiyuan Gong, Dong Yuan, Weikang Li, Dong-Ling Deng

摘要:

量子物理学和机器学习之间的相互作用产生了量子机器学习的新兴前沿,先进的量子学习模型在解决某些具有挑战性的问题时可能优于经典模型。然而,量子学习系统容易受到对抗性攻击:在合法输入样本上添加精心制作的微小扰动可能会导致错误分类。为了解决这个问题,我们提出了一个通用的方案来保护量子学习系统免受对抗性攻击,通过酉或量子纠错编码器随机编码合法的数据样本。特别是,我们严格证明了全球和本地随机酉编码器导致指数消失的梯度(即贫瘠的高原)的任何变分量子线路,旨在增加对抗扰动,独立于输入数据和内部结构的对抗电路和量子分类器。此外,我们证明了量子分类器在局部酉对抗攻击下的脆弱性的严格界限。我们表明,随机黑盒量子纠错编码器可以保护量子分类器免受本地对抗性噪声和他们的鲁棒性增加,因为我们级联纠错码。为了量化鲁棒性增强,我们采用量子差分隐私作为量子分类器预测稳定性的度量。我们的研究结果为量子分类器建立了对抗性扰动的通用防御策略,为提高近期和未来量子学习技术的可靠性和安全性提供了有价值的指导。

英文摘要:

The interplay between quantum physics and machine learning gives rise to the emergent frontier of quantum machine learning, where advanced quantum learning models may outperform their classical counterparts in solving certain challenging problems. However, quantum learning systems are vulnerable to adversarial attacks: adding tiny carefully-crafted perturbations on legitimate input samples can cause misclassifications. To address this issue, we propose a general scheme to protect quantum learning systems from adversarial attacks by randomly encoding the legitimate data samples through unitary or quantum error correction encoders. In particular, we rigorously prove that both global and local random unitary encoders lead to exponentially vanishing gradients (i.e. barren plateaus) for any variational quantum circuits that aim to add adversarial perturbations, independent of the input data and the inner structures of adversarial circuits and quantum classifiers. In addition, we prove a rigorous bound on the vulnerability of quantum classifiers under local unitary adversarial attacks. We show that random black-box quantum error correction encoders can protect quantum classifiers against local adversarial noises and their robustness increases as we concatenate error correction codes. To quantify the robustness enhancement, we adapt quantum differential privacy as a measure of the prediction stability for quantum classifiers. Our results establish versatile defense strategies for quantum classifiers against adversarial perturbations, which provide valuable guidance to enhance the reliability and security for both near-term and future quantum learning technologies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑