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

基于大语言模型的网络物理系统需求建模评估

An Evaluation of Requirements Modeling for Cyber-Physical Systems via LLMs

Dongming Jin, Shengxin Zhao, Zhi Jin, Xiaohong Chen, Chunhui Wang, Zheng Fang, Hongbin Xiao

AI总结:

本文提出CPSBench基准,通过实体识别和交互提取两个任务系统评估七种先进大语言模型在CPSs需求建模中的能力与局限,并建立幻觉分类体系,为自动化需求建模提供启示。

摘要:

网络物理系统(CPSs)集成了网络组件与物理组件,使它们能够相互交互以满足用户需求。CPSs的需求涵盖丰富的应用领域,如医疗与医药、智能家居、智能建筑等。这表明CPSs的核心在于解决现实世界的问题。随着传感设备和效应器日益丰富,人们希望借助CPSs解决的问题变得越来越复杂,准确提取和表达CPSs需求也变得愈发困难。问题框架方法旨在通过捕获组件的特征及其相互连接来塑造现实世界问题,其中问题图是表达需求的核心。CPSs需求通常呈现在领域特定文档中,这些文档一般以自然语言表达。目前尚无有效方法从自然语言文档中提取问题图。CPSs需求提取和建模通常由人工完成,耗时、费力且容易出错。大语言模型(LLMs)在自然语言理解方面表现出色。探索LLMs理解领域特定文档并识别建模元素的能力是一个值得关注的方向,本文正是围绕这一方向展开研究。为实现这一目标,我们首先制定了两个任务(即实体识别和交互提取),并提出了一个名为CPSBench的基准。基于该基准,我们进行了大量实验,以评估七种先进LLMs的能力和局限性。我们发现了一些有趣的见解。最后,我们建立了使用问题图进行CPSs需求建模时LLMs幻觉的分类体系。这些结果将启发关于使用LLMs实现自动化CPSs需求建模的研究。

英文摘要:

Cyber-physical systems (CPSs) integrate cyber and physical components and enable them to interact with each other to meet user needs. The needs for CPSs span rich application domains such as healthcare and medicine, smart home, smart building, etc. This indicates that CPSs are all about solving real-world problems. With the increasing abundance of sensing devices and effectors, the problems wanted to solve with CPSs are becoming more and more complex. It is also becoming increasingly difficult to extract and express CPS requirements accurately. Problem frame approach aims to shape real-world problems by capturing the characteristics and interconnections of components, where the problem diagram is central to expressing the requirements. CPSs requirements are generally presented in domain-specific documents that are normally expressed in natural language. There is currently no effective way to extract problem diagrams from natural language documents. CPSs requirements extraction and modeling are generally done manually, which is time-consuming, labor-intensive, and error-prone. Large language models (LLMs) have shown excellent performance in natural language understanding. It can be interesting to explore the abilities of LLMs to understand domain-specific documents and identify modeling elements, which this paper is working on. To achieve this goal, we first formulate two tasks (i.e., entity recognition and interaction extraction) and propose a benchmark called CPSBench. Based on this benchmark, extensive experiments are conducted to evaluate the abilities and limitations of seven advanced LLMs. We find some interesting insights. Finally, we establish a taxonomy of LLMs hallucinations in CPSs requirements modeling using problem diagrams. These results will inspire research on the use of LLMs for automated CPSs requirements modeling.

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

↑