为量子机器学习模型设计高效故障注入测试方法
Efficient Mutation Testing of Quantum Machine Learning Models
- 提出新型突变操作,更高效地向量子电路注入故障
- 通过定向生成减少冗余突变电路,提升测试覆盖多样性
- 适用于验证量子神经网络等复杂量子模型的正确性
量子机器学习结合了量子计算与机器学习的优势,使模型能以更少参数学习复杂特征。随着量子机器学习模型复杂度上升,验证其实现是否符合设计规范并消除缺陷变得至关重要。突变测试通过人为引入故障来检测不符合规范或存在缺陷的量子电路,是识别问题的有效途径。本文将突变测试扩展至量子机器学习应用,特别是量子神经网络模型。主要贡献包括:定义了比现有方法更高效的突变操作;提出定向突变生成技术,降低冗余突变电路数量。大量实验表明,该方法生成的突变体更具多样性和代表性,能有效暴露传统方法无法发现的故障。
原文摘要 · Abstract (English)
Quantum machine learning integrates the strengths of quantum computing and machine learning, enabling models to learn complex features using fewer parameters than their classical counterparts. Due to the increasing complexity of quantum machine learning models, it is necessary to verify that the implementation of these models satisfy the design specification and be free of bugs and faults. Mutation testing is a promising avenue to identify faulty quantum circuits that do not meet design specifications or contain defects by intentionally inserting faults into the quantum circuit. It is necessary to define mutation operations to inject faults into quantum circuits to ensure that a test suite is robust enough to evaluate an implementation against its design specification. In this paper, we extend mutation testing to quantum machine learning applications, primarily quantum neural network models. Specifically, this paper makes two important contributions. We define new mutation operations for efficient fault insertion compared to state-of-the-art approaches. We also present a directed mutation generation technique to reduce redundant mutant circuits. Extensive experimental evaluation demonstrates that our approach generates a more diverse and representative set of mutants, effectively addressing faults that traditional techniques fail to expose.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。