Skip to content
Open access

On the consistency of state machines, use cases and block diagrams using dependency graphs and Large Language Models

Jul 2026 · Journal of Software and Systems Modeling · 1 citation · 26 references

TL;DR

A combined approach for the automated detection and correction of inconsistencies in multi-view SysML models and suggests that the dependency graph-based technique is a relevant complement to the LLM-based one for identifying inconsistencies in logical dependencies between model elements.

Abstract

Model-Driven Engineering aims to support rigorous reasoning about system analysis and design by relying on multiple interconnected modeling views to represent complex systems. However, maintaining consistency across these heterogeneous views remains a major challenge, especially when capturing the subtle semantic and logical dependencies inherent to such systems. Traditional approaches to consistency rely on formal rule-based methods, sometimes complemented by ontologies. Yet, these techniques often fall short when dealing with deeper semantic issues that cannot be explicitly expressed as rules. This paper introduces a combined approach for the automated detection and correction of inconsistencies in multi-view SysML models. The proposed framework articulates three complementary techniques: (1) a Large Language Model (LLM)-based technique for inconsistency detection, (2) a dependency graph-based technique for detecting inconsistencies in a class of logical relationships between model elements and (3) a correction method relying on LLMs constrained by formal rules to enforce consistency constraints. The graph-based technique relies on transforming SysML design models into dependency graphs: The paper first proves that these graphs are in bijective correspondence with the original design models. It then formalizes consistency rules for three diagram types, presents the integrated framework and evaluates its implementation on representative SysML analysis and design diagrams. Overall, the practical illustration shows that the approach is effective for identifying and correcting inconsistencies, although the LLM-based component produces both false positives and false negatives. It also suggests that the dependency graph-based technique is a relevant complement to the LLM-based one for identifying inconsistencies in logical dependencies between model elements.

Read PDF

Similar papers

Preprint Aug 2026

Constructing Dynamic Master Logic Models as Knowledge Graphs for Complex System Diagnostics Using Retrieval-Augmented Large Language Models

Dynamic Master Logic (DML) provides a hierarchical framework for representing system behavior by linking functional objectives to underlying structural elements. However, DML construction typically relies on expert interpretation of technical documentation, limiting scalability for complex systems. This study presents...

Saman Marandi, Yu-Shu Hu, Mohammad Modarres · 0 citations
Review Open access Aug 2026

Integrating large language models and knowledge graphs for adaptive design review

This paper presents a framework integrating Knowledge Graphs and Large Language Models to support a more extensible design review environment, and demonstrates its ability to retrieve and execute existing rules from the KG, capture new requests during design, and maintain a verifiable, adaptive compliance checking syst...

Maen Alnuzha, Tanya Bloch · 1 citation
#large language models Book Open access Oct 2026

OntoSTL: Canonical Knowledge Graph Representation of Signal Temporal Logic Requirements

Formal verification of safety-critical cyber-physical systems uses languages such as Signal Temporal Logic (STL) to express time-sensitive properties over real-valued signals. However, large collections of formal requirements often contain recurring structural patterns that remain hidden in syntactically different form...

Haitham Al-Shami, Riku Ala-Laurinaho, Xin-Yi Tu et al. · 0 citations
Preprint Aug 2026

Extending Triple Graph Grammars to Formalize Complex View Definitions on Families of Models - Long Version

This work continues previous work of equipping the NeoJoin view definition language with a formal semantics that is based on triple graph grammars (TGGs), and introduces a skip semantics for TGG rules, i.e., allowing to skip certain actions a rule prescribes, depending on the application context.

L. König, Jens Kosiol · 0 citations
Conference Aug 2026

From Use Cases to Sequence Diagrams: Schema-Constrained Generation with Large Language Models

Sequence diagrams are widely used to model interactions among system components and external actors by explicitly describing how operations are executed over time. However, constructing sequence diagrams manually is tedious and time-consuming in practice, and their automated generation remains largely unresolved. In th...

Chun-Hao Huang, Yuan Yao, Taolue Chen et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.