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

GPT-4与安全案例生成:一项探索性分析

GPT-4 and Safety Case Generation: An Exploratory Analysis

York University(约克大学)

Mithila Sivakumar, Alvine Boaye Belle, Jinjun Shan, Kimya Khakzad Shahandashti

AI总结:

本文通过四项实验并结合X射线系统与车辆轮胎噪声识别ML组件的真实安全案例,探索GPT-4对GSN的理解及其生成安全案例的能力,发现其可生成较合理且语义接近参考案例的安全论证。

摘要:

在不断发展的软件工程领域,以ChatGPT为代表的大型语言模型(LLM)和对话式界面的出现堪称革命性变化。尽管它们在各个领域的潜力不可否认,本文仍展开了一次引人入胜的探索,以研究其尚未被充分认识的领域,即安全案例生成的探索。本文的主要目标是深入考察GPT-4现有的知识库,特别关注其对目标结构化表示法(Goal Structuring Notation,GSN)的理解;GSN是一种成熟的表示法,可用于可视化呈现安全案例。随后,我们使用GPT-4开展了四项不同实验。这些实验旨在评估其在既定系统和应用领域内生成安全案例的能力。为衡量GPT-4在此情境下的性能,我们将其生成的结果与为一个X射线系统以及车辆中用于轮胎噪声识别(TNR)的机器学习(ML)组件所构建的真实安全案例进行比较。这使我们能够获得关于该模型生成能力的宝贵洞见。研究结果表明,GPT-4展现出生成中等准确且合理的安全论证的能力。此外,它还能够生成与实验中用作真实基准的参考安全案例在语义内容上高度一致的安全案例。

英文摘要:

In the ever-evolving landscape of software engineering, the emergence of large language models (LLMs) and conversational interfaces, exemplified by ChatGPT, is nothing short of revolutionary. While their potential is undeniable across various domains, this paper sets out on a captivating expedition to investigate their uncharted territory, the exploration of generating safety cases. In this paper, our primary objective is to delve into the existing knowledge base of GPT-4, focusing specifically on its understanding of the Goal Structuring Notation (GSN), a well-established notation allowing to visually represent safety cases. Subsequently, we perform four distinct experiments with GPT-4. These experiments are designed to assess its capacity for generating safety cases within a defined system and application domain. To measure the performance of GPT-4 in this context, we compare the results it generates with ground-truth safety cases created for an X-ray system system and a Machine-Learning (ML)-enabled component for tire noise recognition (TNR) in a vehicle. This allowed us to gain valuable insights into the model's generative capabilities. Our findings indicate that GPT-4 demonstrates the capacity to produce safety arguments that are moderately accurate and reasonable. Furthermore, it exhibits the capability to generate safety cases that closely align with the semantic content of the reference safety cases used as ground-truths in our experiments.

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

↑