arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.29140cs.SEcs.AIcs.CLcs.FL
收藏

基于GPT 4.0的需求设计有限状态机规范

Designing FSMs Specifications from Requirements with GPT 4.0

Université du Québec en Outaouais(魁北克大学乌塔韦校区);Université Paris-Saclay(巴黎-萨克雷大学);Université du Québec à Montréal(魁北克大学蒙特利尔分校)

Omer Nguena Timo, Paul-Alexis Rodriguez, Florent Avellaneda

AI总结:

本文提出基于LLM的有限状态机设计框架,通过专家中心方法修复LLM生成的FSM,并通过实验分析LLM在MDE中的应用潜力。

摘要:

有限状态机(FSM)是反应系统可执行的正式规范。这些机器基于系统的功能需求设计,而需求通常记录在自然语言文本中。FSM在模型驱动系统工程(MDE)的不同阶段中起关键作用,例如自动化测试活动。FSM的质量至关重要:FSM质量越低,在测试阶段存活的故障数量越多,系统在生产中的失败风险也越高,可能导致灾难性场景。因此,本文利用LLM领域最新进展,提出一个基于LLM的FSM设计框架。该框架还建议基于FSM突变和测试生成的专家中心方法,用于修复LLM生成的FSM。本文还提供了对LLM执行框架中任务和FSM修复能力的实验分析和评估。本文通过模拟数据展示了实验结果。这些结果和方法为LLM的进一步发展及其在MDE中的应用提供了新的分析和视野。

英文摘要:

Finite state machines (FSM) are executable formal specifications of reactive systems. These machines are designed based on systems' requirements. The requirements are often recorded in textual documents written in natural languages. FSMs play a crucial role in different phases of the model-driven system engineering (MDE). For example, they serve to automate testing activities. FSM quality is critical: the lower the quality of FSM, the higher the number of faults surviving the testing phase and the higher the risk of failure of the systems in production, which could lead to catastrophic scenarios. Therefore, this paper leverages recent advances in the domain of LLM to propose an LLM-based framework for designing FSMs from requirements. The framework also suggests an expert-centric approach based on FSM mutation and test generation for repairing the FSMs produced by LLMs. This paper also provides an experimental analysis and evaluation of LLM's capacities in performing the tasks presented in the framework and FSM repair via various methods. The paper presents experimental results with simulated data. These results and methods bring a new analysis and vision of LLMs that are useful for further development of machine learning technology and its applications to MDE.

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

↑