arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.22141cs.SEcs.AI
收藏

将人工智能与人类专业知识相结合:ChatGPT在生成蜕变关系方面能力的深入分析

Integrating Artificial Intelligence with Human Expertise: An In-depth Analysis of ChatGPT's Capabilities in Generating Metamorphic Relations

Swinburne University of Technology(斯威本科技大学)

Yifan Zhang, Dave Towey, Matthew Pike, Quang-Hung Luu, Huai Liu, Tsong Yueh Chen

AI总结:

本研究深入分析GPT-4在软件测试中生成蜕变关系的能力,发现其优于GPT-3.5,并验证了AI与人类评估的互补性,凸显AI在软件测试中的潜力。

摘要:

背景:本文深入研究了使用OpenAI开发的GPT模型生成和评估蜕变关系(MRs),特别关注GPT-4在软件测试环境中的能力。目标:旨在检验GPT-3.5和GPT-4为从先前研究采用的特定被测系统(SUT)生成的MRs的质量,并引入和应用一套改进的评估标准,用于多样化的SUTs。方法:初始阶段使用先前研究的标准评估GPT-3.5和GPT-4生成的MRs,随后将增强的评估框架应用于GPT-4为九个多样化SUTs(从简单程序到包含AI/ML组件的复杂系统)生成的MRs。一个定制的GPT评估器与人类评估者一起评估MRs,实现了自动与人工评估方法的直接比较。结果:研究发现GPT-4在生成准确且有用的MRs方面优于GPT-3.5。借助先进的评估标准,GPT-4展示了在广泛SUTs(包括包含AI/ML组件的复杂系统)中生成高质量MRs的显著能力。结论:GPT-4展示了生成适用于各种应用的MRs的高级能力。该研究强调了人工智能在软件测试中日益增长的潜力,特别是在MRs的生成和评估方面,并指出了人类与AI技能在这一领域的互补性。

英文摘要:

Context: This paper provides an in-depth examination of the generation and evaluation of Metamorphic Relations (MRs) using GPT models developed by OpenAI, with a particular focus on the capabilities of GPT-4 in software testing environments. Objective: The aim is to examine the quality of MRs produced by GPT-3.5 and GPT-4 for a specific System Under Test (SUT) adopted from an earlier study, and to introduce and apply an improved set of evaluation criteria for a diverse range of SUTs. Method: The initial phase evaluates MRs generated by GPT-3.5 and GPT-4 using criteria from a prior study, followed by an application of an enhanced evaluation framework on MRs created by GPT-4 for a diverse range of nine SUTs, varying from simple programs to complex systems incorporating AI/ML components. A custom-built GPT evaluator, alongside human evaluators, assessed the MRs, enabling a direct comparison between automated and human evaluation methods. Results: The study finds that GPT-4 outperforms GPT-3.5 in generating accurate and useful MRs. With the advanced evaluation criteria, GPT-4 demonstrates a significant ability to produce high-quality MRs across a wide range of SUTs, including complex systems incorporating AI/ML components. Conclusions: GPT-4 exhibits advanced capabilities in generating MRs suitable for various applications. The research underscores the growing potential of AI in software testing, particularly in the generation and evaluation of MRs, and points towards the complementarity of human and AI skills in this domain.

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

↑