基于生成式人工智能的软件元数据分类
Software Metadata Classification based on Generative Artificial Intelligence
AI总结:
本文提出利用生成式AI和OpenAI API生成代码注释数据集,将其整合至现有语料库后,显著提升了SVM和ANN模型在代码注释质量分类上的精确率与召回率。
摘要:
本文提出了一种通过应用生成式人工智能(AI)来增强二进制代码注释质量分类模型性能的新方法。通过利用 OpenAI API,从各种 GitHub 仓库和开源项目中提取了 1239 对新生成的代码-注释对组成数据集,将其标记为“Useful”或“Not Useful”,并整合到现有的 9048 对 C 编程语言语料库中。采用前沿的大语言模型架构,生成的数据集在模型准确率上展现出显著提升。具体而言,当将其纳入支持向量机(SVM)模型时,精确率提高了 6%,从 0.79 上升至 0.85。此外,人工神经网络(ANN)模型的召回率提高了 1.5%,从 0.731 攀升至 0.746。本文阐明了生成式 AI 在增强代码注释质量分类模型方面的潜力。结果证实了该方法的有效性,表明其在软件开发和质量保证领域的更广泛背景中具有适用性。研究结果强调了整合生成技术以提升实际软件工程场景中机器学习模型准确性和有效性的重要性。
英文摘要:
This paper presents a novel approach to enhance the performance of binary code comment quality classification models through the application of Generative Artificial Intelligence (AI). By leveraging the OpenAI API, a dataset comprising 1239 newly generated code-comment pairs, extracted from various GitHub repositories and open-source projects, has been labelled as "Useful" or "Not Useful", and integrated into the existing corpus of 9048 pairs in the C programming language. Employing a cutting-edge Large Language Model Architecture, the generated dataset demonstrates notable improvements in model accuracy. Specifically, when incorporated into the Support Vector Machine (SVM) model, a 6% increase in precision is observed, rising from 0.79 to 0.85. Additionally, the Artificial Neural Network (ANN) model exhibits a 1.5% increase in recall, climbing from 0.731 to 0.746. This paper sheds light on the potential of Generative AI in augmenting code comment quality classification models. The results affirm the effectiveness of this methodology, indicating its applicability in broader contexts within software development and quality assurance domains. The findings underscore the significance of integrating generative techniques to advance the accuracy and efficacy of machine learning models in practical software engineering scenarios.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。