Skip to main content
QUICK REVIEW

[Paper Review] Towards Automatic Model Completion: from Requirements to SysML State Machines

Maria Stella de Biase, S. Marrone|arXiv (Cornell University)|Oct 7, 2022
Systems Engineering Methodologies and ApplicationsEngineering5 citations
TL;DR

This paper presents a semi-automatic approach that transforms BDD-style natural language requirements into complete SysML state machine fragments using NLP and formal grammar techniques. By matching requirements to predefined MetaRequirements and mapping them to SysML MetaFragments, the method enables traceable, error-reduced model completion, demonstrated in a railway signaling case study with improved model quality and tool-assisted traceability.

ABSTRACT

Even if model-driven techniques have been enabled the centrality of the models in automated development processes, the majority of the industrial settings does not embrace such a paradigm due to the procedural complexity of managing model life cycle. This paper proposes a semi-automatic approach for the completion of high-level models of critical systems. The proposal suggests a specification guidelines that starts from a partial SysML (Systems Modeling Language) model of a system and on a set of requirements, expressed in the well-known Behaviour-Driven Design paradigm. On the base of such requirements, the approach enables the automatic generation of SysML state machines fragments. Once completed, the approach also enables the modeller to check the results improving the quality of the model and avoiding errors both coming from the mis-interpretation of the tool and from the modeller himself/herself. An example taken from the railway domain shows the approach.

Motivation & Objective

  • To address industrial reluctance toward full model-driven development by enabling incremental, semi-automated model completion.
  • To improve model quality and reduce errors from misinterpretation by integrating NLP and formal traceability mechanisms.
  • To support the adoption of AI and NLP in safety-critical domains by ensuring traceability and compliance with standards like DO-178C.
  • To develop a method that maps natural language requirements to SysML state machine fragments using structured templates and semantic matching.
  • To establish a foundation for future automation of full SysML model generation from requirements.

Proposed method

  • Requirements are expressed in the BDD Given-When-Then format and structured using predefined templates to ensure consistency and parseability.
  • A MetaRequirement (MetaReq) formalism is defined using a $<<$ metclass as role $>>$ notation to capture semantic roles in requirements.
  • NLP libraries (NLTK and spaCy) are evaluated for clause extraction and lexical analysis to support automated matching of requirements to MetaReqs.
  • SysML MetaFragments are generated by mapping matched MetaReq elements to corresponding SysML state machine components such as states, transitions, and signals.
  • Traceability is enforced via automatically generated Requirement Diagrams with $<<$ satisfy $>>$ stereotyped dependencies linking requirements to model elements.
  • A SysML profile is being developed to standardize annotations and support tool integration and certification compliance.

Experimental results

Research questions

  • RQ1How can BDD-style natural language requirements be formally structured to enable reliable parsing and mapping to SysML state machines?
  • RQ2What is the optimal balance between rigid BNF grammar constraints and flexible NLP techniques for matching requirements to model fragments?
  • RQ3How can traceability between requirements and generated SysML model elements be automatically ensured and verified?
  • RQ4What role do semantic role labeling and named entity recognition play in accurately identifying model elements from textual requirements?
  • RQ5Can the proposed method reduce modeling errors and improve model quality in industrial settings without requiring full model-driven process overhauls?

Key findings

  • The approach successfully maps a BDD-formatted railway signaling requirement to a corresponding SysML state machine fragment using semantic role matching.
  • The use of MetaReqs with structured $<<$ metclass as role $>>$ notation enables consistent and machine-processable requirement modeling.
  • The integration of NLP tools like spaCy and NLTK supports effective clause extraction and lexical analysis for requirement processing.
  • Automatically generated Requirement Diagrams with $<<$ satisfy $>>$ dependencies enhance traceability and support model validation.
  • The method demonstrates feasibility in a railway domain case study, showing potential for incremental adoption in industrial settings.
  • The research establishes a foundation for future automation of SysML model completion, with traceability as a core design principle.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.