从信息物理系统的文本需求中自动提取关注点:一项多解决方案研究
Automated Concern Extraction from Textual Requirements of Cyber-Physical Systems: A Multi-solution Study
AI总结:
针对信息物理系统需求关注点提取缺乏公平基准的问题,提出包含2721条真实需求的ReqEBench基准,对比三类提取方案并分析LLM方案缺陷,为相关技术评估与发展提供支撑。
摘要:
信息物理系统(CPS)以信息空间与物理世界的深度融合为特征,这使得需求关注点的提取更具挑战性。为减轻需求工程师的负担,已有一些用于需求关注点提取的自动化解决方案被提出。然而,依托公平全面的基准来评估这些解决方案的有效性仍是一个悬而未决的问题。为填补这一空白,我们提出了ReqEBench——一个全新的CPS需求关注点提取基准,包含来自12个真实CPS的2721条需求。ReqEBench具备四大优势:它在规模、复杂度等多个维度与真实CPS需求相契合;覆盖了与CPS需求相关的全面关注点;经过了严格的标注流程;覆盖航空航天、医疗等多个CPS应用领域。我们利用ReqEBench对三类自动化需求关注点提取解决方案开展了对比研究,揭示了它们在真实CPS场景下的性能。研究发现,GPT-4在实体关注点提取中的最高F1值仅为0.24。我们进一步分析了主流基于大语言模型(LLM)的解决方案的失败案例,总结了其不足,并为提升其能力提供了思路。我们相信ReqEBench将推动自动化需求关注点提取技术的评估与发展。
英文摘要:
Cyber-physical systems (CPSs) are characterized by a deep integration of the information space and the physical world, which makes the extraction of requirements concerns more challenging. Some automated solutions for requirements concern extraction have been proposed to alleviate the burden on requirements engineers. However, evaluating the effectiveness of these solutions, which relies on fair and comprehensive benchmarks, remains an open question. To address this gap, we propose ReqEBench, a new CPSs requirements concern extraction benchmark, which contains 2,721 requirements from 12 real-world CPSs. ReqEBench offers four advantages. It aligns with real-world CPSs requirements in multiple dimensions, e.g., scale and complexity. It covers comprehensive concerns related to CPSs requirements. It undergoes a rigorous annotation process. It covers multiple application domains of CPSs, e.g., aerospace and healthcare. We conducted a comparative study on three types of automated requirements concern extraction solutions and revealed their performance in real-world CPSs using our ReqEBench. We found that the highest F1 score of GPT-4 is only 0.24 in entity concern extraction. We further analyze failure cases of popular LLM-based solutions, summarize their shortcomings, and provide ideas for improving their capabilities. We believe ReqEBench will facilitate the evaluation and development of automated requirements concern extraction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。