ChatGPT能否生成逼真的合成系统需求规范?案例研究的结果
Can ChatGPT Generate Realistic Synthetic System Requirement Specifications? Results of a Case Study
AI总结:
本文探讨了ChatGPT能否在不接触真实系统需求规范的情况下生成逼真的合成规范,通过系统方法生成300个跨10行业的规范,并发现62%的专家认为其合理,但存在矛盾陈述和缺陷,强调需结合专家评估。
摘要:
系统需求规范(SyRSs)是核心的自然语言(NL) artifacts。为研究目的获取真实 SyRS 非常有价值,但受限于专有限制或保密问题。生成合成 SyRSs(SSyRSs)可解决这种稀缺性。黑盒大语言模型(LLMs)如 ChatGPT 提供了通过提供自然语言生成功能轻松访问的能力,而无需访问真实数据。然而,LLMs 存在幻觉和过度自信的问题,这对它们的使用构成了重大挑战。我们设计了一项探索性研究,以调查尽管存在这些挑战,是否可以使用 ChatGPT 生成逼真的 SSyRSs 而不接触真实 SyRSs。通过系统方法利用提示模式、基于 LLM 的质量评估和迭代提示优化,我们使用 ChatGPT 生成了 300 个跨 10 个行业的 SSyRSs。结果通过跨模型检查和专家研究评估,n=87 提交调查。62% 的专家认为 SSyRSs 是合理的。然而,深入检查揭示了矛盾陈述和缺陷。总体而言,我们能够在一定程度上使用 ChatGPT 生成逼真的 SSyRSs,但基于 LLM 的质量评估无法完全取代彻底的专家评估。本文提出了我们研究的方法论和结果,并讨论了我们获得的关键见解。
英文摘要:
System requirement specifications (SyRSs) are central, natural-language (NL) artifacts. Access to real SyRS for research purposes is highly valuable but limited by proprietary restrictions or confidentiality concerns. Generating synthetic SyRSs (SSyRSs) can address this scarcity. Black-box large language models (LLMs) such as ChatGPT offer compelling generation capabilities by providing easy access to NL generation functions without requiring access to real data. However, LLMs suffer from hallucinations and overconfidence, which pose major challenges in their use. We designed an exploratory study to investigate whether, despite these challenges, we can generate realistic SSyRSs with ChatGPT without having access to real SyRSs. Using a systematic approach that leverages prompt patterns, LLM-based quality assessments, and iterative prompt refinements, we generated 300 SSyRSs across 10 industries with ChatGPT. The results were evaluated using cross-model checks and an expert study, with n=87 submitted surveys. 62\% of experts considered the SSyRSs to be realistic. However, in-depth examination revealed contradictory statements and deficiencies. Overall, we were able to generate realistic SSyRSs to a certain extent with ChatGPT, but LLM-based quality assessments cannot fully replace thorough expert evaluations. This paper presents the methodology and results of our study and discusses the key insights we obtained.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。