arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2509.21068cs.SE
收藏

一种改进的量子软件挑战分类方法:使用迁移学习和可解释AI

An Improved Quantum Software Challenges Classification Approach using Transfer Learning and Explainable AI

Beijing University of Technology(北京工业大学);University of Hertfordshire(赫特福德大学);University of Engineering and Technology, Mardan(马丹工程与技术大学);University of Oulu(奥卢大学);LUT University(拉彭兰塔理工大学);Penn State University Behrend(宾夕法尼亚州立大学贝亨学院)

Nek Dil Khan, Javed Ali Khan, Mobashir Husain, Muhammad Sohail Khan, Arif Ali Khan, Muhammad Azeem Akbar, Shahid Hussain

AI总结:

本文通过迁移学习和可解释AI技术,改进量子软件挑战分类,利用BERT等模型达到95%的准确率,优于传统D&ML方法,同时通过SHAP提升模型可解释性。

摘要:

量子软件工程(QSE)是技术公司实践的研究领域。量子开发者在优化量子计算和QSE概念时面临挑战。他们使用Stack Overflow讨论问题并用专业量子标签标注帖子,这些标签通常指技术方面而非开发者帖子。根据量子概念分类问题有助于识别频繁的QSE挑战。我们研究了将问题分类为不同挑战的方法。从问答平台提取了2829个问题,分析帖子以确定常见挑战并开发新的扎根理论。挑战包括工具、理论、学习、概念、错误和API使用。通过内容分析和扎根理论,讨论被注释为常见挑战以开发真实数据集。ChatGPT验证了人类注释并解决了分歧。微调的Transformer算法,包括BERT、DistilBERT和RoBERTa,将讨论分类为常见挑战。我们用BERT DistilBERT达到了95%的平均准确率,相比微调的深度和机器学习(D&ML)分类器,包括前馈神经网络(FNN)、卷积神经网络(CNN)和长短期记忆网络(LSTM),分别达到89%、86%和84%的准确率。基于Transformer的方法通过处理实际讨论(即不使用数据增强)比D&ML方法提高了6%的准确率。我们应用SHAP(SHapley Additive exPlanations)进行模型可解释性,揭示了语言特征如何驱动预测并增强了分类的透明性。这些发现可以帮助量子供应商和论坛更好地组织讨论以提高访问性和可读性。然而,需要与实际开发者和供应商进行实证评估研究。

英文摘要:

Quantum Software Engineering (QSE) is a research area practiced by tech firms. Quantum developers face challenges in optimizing quantum computing and QSE concepts. They use Stack Overflow (SO) to discuss challenges and label posts with specialized quantum tags, which often refer to technical aspects rather than developer posts. Categorizing questions based on quantum concepts can help identify frequent QSE challenges. We conducted studies to classify questions into various challenges. We extracted 2829 questions from Q&A platforms using quantum-related tags. Posts were analyzed to identify frequent challenges and develop a novel grounded theory. Challenges include Tooling, Theoretical, Learning, Conceptual, Errors, and API Usage. Through content analysis and grounded theory, discussions were annotated with common challenges to develop a ground truth dataset. ChatGPT validated human annotations and resolved disagreements. Fine-tuned transformer algorithms, including BERT, DistilBERT, and RoBERTa, classified discussions into common challenges. We achieved an average accuracy of 95% with BERT DistilBERT, compared to fine-tuned Deep and Machine Learning (D&ML) classifiers, including Feedforward Neural Networks (FNN), Convolutional Neural Networks (CNN), and Long Short-Term Memory networks (LSTM), which achieved accuracies of 89%, 86%, and 84%, respectively. The Transformer-based approach outperforms the D&ML-based approach with a 6\% increase in accuracy by processing actual discussions, i.e., without data augmentation. We applied SHAP (SHapley Additive exPlanations) for model interpretability, revealing how linguistic features drive predictions and enhancing transparency in classification. These findings can help quantum vendors and forums better organize discussions for improved access and readability. However,empirical evaluation studies with actual developers and vendors are needed.

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

↑