Designing FSMs Specifications from Requirements with GPT 4.0

Omer Nguena Timo, Paul-Alexis Rodriguez, Florent Avellaneda
3/31/2026
cs.SEcs.AIcs.CL

No confident code implementation found for this paper.

Abstract

Finite state machines (FSM) are executable formal specifications of reactive systems. These machines are designed based on systems' requirements.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{timo2026designing,
  title  = {Designing FSMs Specifications from Requirements with GPT 4.0},
  author = {Omer Nguena Timo and Paul-Alexis Rodriguez and Florent Avellaneda},
  year   = {2026},
  eprint = {2603.29140},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.29140v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.29140.svg)](https://codeofpaper.com/paper/2603.29140)

Discussion