arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.06369cs.SE
收藏

量子机器学习框架中缺陷的实证研究

An Empirical Study of Bugs in Quantum Machine Learning Frameworks

Pengzhan Zhao, Xiongfei Wu, Junjie Luo, Zhuo Li, Jianjun Zhao

AI总结:

本文首次对量子机器学习框架中的缺陷进行实证研究,分析391个真实缺陷,提出症状与根因分类法,总结关键挑战并给出改进建议。

摘要:

量子计算已成为机器学习领域一个前景广阔的领域,相较于经典计算提供了显著的计算优势。随着人们对量子机器学习(QML)兴趣的增长,确保用于开发此类QML程序的软件平台的正确性和鲁棒性至关重要。确保此类平台可靠性的一个必要步骤是理解它们通常遭受的缺陷。为了满足这一需求,本文首次对QML框架中的缺陷进行了全面研究。我们检查了从九个流行的QML框架的22个开源仓库中收集的391个真实缺陷。我们发现:1)28%的缺陷是量子特有的,例如错误的酉矩阵实现,这需要专门的方法来发现和预防它们;2)我们手动提炼了一个包含五种症状和九种根本原因的QML平台缺陷分类法;3)我们总结了QML框架开发者面临的四个关键挑战。研究结果为研究人员提供了关于如何确保QML框架质量的见解,并为QML框架开发者提供了若干可操作的建议以改进其代码质量。

英文摘要:

Quantum computing has emerged as a promising domain for the machine learning (ML) area, offering significant computational advantages over classical counterparts. With the growing interest in quantum machine learning (QML), ensuring the correctness and robustness of software platforms to develop such QML programs is critical. A necessary step for ensuring the reliability of such platforms is to understand the bugs they typically suffer from. To address this need, this paper presents the first comprehensive study of bugs in QML frameworks. We inspect 391 real-world bugs collected from 22 open-source repositories of nine popular QML frameworks. We find that 1) 28% of the bugs are quantum-specific, such as erroneous unitary matrix implementation, calling for dedicated approaches to find and prevent them; 2) We manually distilled a taxonomy of five symptoms and nine root cause of bugs in QML platforms; 3) We summarized four critical challenges for QML framework developers. The study results provide researchers with insights into how to ensure QML framework quality and present several actionable suggestions for QML framework developers to improve their code quality.

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

↑