mlsanityData to 14 Oct 2026

Designing FSMs Specifications from Requirements with GPT 4.0

arXiv 2603.29140 ↗First posted 31 Mar 2026cs.SE cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 8 of its 17 references that are in the map. First posted on arXiv 31 Mar 2026.

Builds on

8 of 17 references.

References · 8

  1. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 619
  2. 2023VerilogEval: Evaluating Large Language Models for Verilog Code Generationcited by 252
  3. 2023VeriGen: A Large Language Model for Verilog Code Generationcited by 200
  4. 2022Conversing with Copilot: Exploring Prompt Engineering for Solving CS1 Problems Using Natural Languagecited by 82
  5. 2024LLM-Aided Testbench Generation and Bug Detection for Finite-State Machinescited by 17
  6. 2022Building Domain-Specific Machine Learning Workflows: A Conceptual Framework for the State-of-the-Practicecited by 8
  7. 2024PathOCL: Path-Based Prompt Augmentation for OCL Generation with GPT-4cited by 4
  8. 2022Mining Precise Test Oracle Modelled by FSMcited by 1

Built on by

Not cited yet.