arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.13533quant-ph
收藏

VeriQR:量子机器学习模型的鲁棒性验证工具

VeriQR: A Robustness Verification Tool for Quantum Machine Learning Models

Yanling Lin, Ji Guan, Wang Fang, Mingsheng Ying, Zhaofeng Su

AI总结:

VeriQR是首个形式化验证和改进量子机器学习模型鲁棒性的工具,支持精确及近似算法,并能通过对抗训练和噪声增强提升鲁棒性。

摘要:

对抗性噪声攻击对量子机器学习(QML)模型构成了重大威胁,这与经典模型的情况类似。在当前噪声中等规模量子时代,噪声不可避免,这一点尤为突出。因此,在部署QML模型之前确保其鲁棒性至关重要。为应对这一挑战,我们引入了VeriQR,据我们所知,这是首个专门用于正式验证和改进QML模型鲁棒性的工具。该工具通过引入随机噪声来模拟真实量子硬件的噪声影响,从而正式验证QML模型的鲁棒性。VeriQR支持用于局部和全局鲁棒性验证的精确(健全且完备)算法。为提高效率,它实现了用于验证局部鲁棒性的欠近似(完备)算法和用于验证全局鲁棒性的基于张量网络的算法。作为正式验证工具,VeriQR能够检测对抗样本,并利用它们进行进一步分析,通过对抗训练增强局部鲁棒性,这在真实量子机器学习模型的实验中得到了证明。此外,它允许用户加入自定义噪声。基于此功能,我们使用各种真实世界示例评估了VeriQR,实验结果证实,添加特定量子噪声可以增强QML模型的全局鲁棒性。这些过程通过VeriQR提供的用户友好图形界面得以实现,适用于无需深入理解量子计算反直觉概率性质的普通用户。

英文摘要:

Adversarial noise attacks present a significant threat to quantum machine learning (QML) models, similar to their classical counterparts. This is especially true in the current Noisy Intermediate-Scale Quantum era, where noise is unavoidable. Therefore, it is essential to ensure the robustness of QML models before their deployment. To address this challenge, we introduce \textit{VeriQR}, the first tool designed specifically for formally verifying and improving the robustness of QML models, to the best of our knowledge. This tool mimics real-world quantum hardware's noisy impacts by incorporating random noise to formally validate a QML model's robustness. \textit{VeriQR} supports exact (sound and complete) algorithms for both local and global robustness verification. For enhanced efficiency, it implements an under-approximate (complete) algorithm and a tensor network-based algorithm to verify local and global robustness, respectively. As a formal verification tool, \textit{VeriQR} can detect adversarial examples and utilize them for further analysis and to enhance the local robustness through adversarial training, as demonstrated by experiments on real-world quantum machine learning models. Moreover, it permits users to incorporate customized noise. Based on this feature, we assess \textit{VeriQR} using various real-world examples, and experimental outcomes confirm that the addition of specific quantum noise can enhance the global robustness of QML models. These processes are made accessible through a user-friendly graphical interface provided by \textit{VeriQR}, catering to general users without requiring a deep understanding of the counter-intuitive probabilistic nature of quantum computing.

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

↑