Designing FSMs Specifications from Requirements with GPT 4.0
Omer Nguena Timo, Paul-Alexis Rodriguez, Florent Avellaneda

TL;DR
This paper introduces an LLM-based framework utilizing GPT-4.0 to automatically generate and repair finite state machines from natural language requirements, enhancing system testing and reliability.
Contribution
It proposes a novel LLM-driven approach for designing and repairing FSMs from textual requirements, with experimental validation and expert-centric mutation techniques.
Findings
LLM can effectively generate FSMs from natural language requirements.
The framework improves FSM quality through mutation and test generation.
Experimental results demonstrate the potential of LLMs in MDE applications.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
