arXiv:2610.07356cs.SEOct 2026

Manuscript Offprint

arXiv:2610.07356

A Validated Dataset and Benchmark for Coherent Multi-Diagram SysML Models

Ardalan Aryashad, Yan Jin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Systems engineers use several diagrams to describe the structure and behavior of systems. Engineers create these diagrams together to make sure that they use the same elements and remain consistent with one another. Large language models can generate diagrams as text or code, which makes it possible to create system diagrams automatically. However, their ability to generate coherent sets of diagrams is not well understood, and existing datasets and benchmarks do not directly measure this ability at scale. We introduce SEMAADB (Systems Engineering Modeling Assistant with AI Dataset and Benchmark) a dataset of 3,000 engineering contexts and 15,000 diagrams. Each context contains five connected SysML views: Requirement, Block Definition, Activity, State Machine, and Sequence. Here, a view is a diagram that presents one aspect of a system. We checked the diagram sets for consistency and valid rendering. A set of 100 contexts is also human-verified and forms the benchmark test set. We evaluate three language models on two tasks. In diagram repair, the strongest model repairs 64.3% of semantic errors. In cross-diagram update the best propagation F1 is 80.7% when a model applies one change across related diagrams. The results show that syntax repair is nearly solved, but semantic repair and consistency across diagrams are still challenging tasks for models. SEMAADB therefore provides both a large diagram resource and a set of benchmarks for measuring coherent multi-diagram SysML generation.

1 Introduction

Modern engineered systems combine mechanical parts, electronics, software, control logic, and human interactions. Designing them requires engineers from different fields to share information about requirements, architecture, behavior, and interfaces throughout the system life cycle. Model-Based Systems Engineering (MBSE) supports this work by organizing that information in a connected system model rather than in separate documents alone. The Systems Modeling Language (SysML) provides a standard way to represent the model through diagrams of requirements, structure, behavior, and interaction [1]. These diagrams help engineers discuss a design, trace requirements, find missing information, and study the effect of a change before the system is built.

In this paper, we define a SysML view as a diagram that presents one aspect of a system. For example, a Requirement view describes what the system must do, a Block Definition view shows its main components and relations, an Activity view presents a workflow, a State Machine view shows changes in operating state, and a Sequence view presents interactions over time. Each view has a different purpose, but the views are not independent. A controller named in a sequence should match a block in the structural view. A requirement should refer to the correct system element. States, activities, and messages should also describe the same system behavior. Engineers therefore create and review the views as one diagram set.

Keeping the views coherent is necessary because an inconsistency can hide a design error or make a change difficult to trace. Maintaining this coherence is time-consuming and makes verification challenging because engineers must perform several checks within each view and across the complete diagram set. They must follow the same names, elements, relations, and requirements across diagrams that use different notations. When one part of the design changes, they need to update several views while preserving everything that is not affected. Modeling tools can check some syntax and formal rules, but many semantic links still depend on the meaning of the system and the intent of the engineer.

Large language models (LLMs) create a new opportunity for SysML tools. Because a diagram can be written as text or code, an LLM can turn natural-language requirements into model elements, generate diagram source, explain a model, or suggest an update. Recent studies have already used LLMs to generate SysML behavior models from requirements [2], build computational models through an intermediate SysML representation [3], align independently developed SysML v2 models [4], and propagate requirement changes into automotive architectures [5]. Furthermore the agentic assistants have also been integrated into MBSE tools [6]. These studies show growing interest in adding AI assistance to systems-modeling workflows.

This use of LLMs also creates a difficult reliability problem. A generated diagram may look reasonable while using the wrong element, reversing a relation, omitting a requirement, or changing behavior. It may also contain valid-looking code that does not render. The problem becomes harder across several views. The model must understand each notation, preserve exact shared names and relations, and connect information that appears in different forms. A local edit can require several related changes, but unnecessary edits can damage parts of the model that were already correct.

Despite this progress, existing research mainly studies one generated model or one diagram at a time. SysMBench evaluates requirements-to-model generation on a small human-curated benchmark [7]. Wang et al. provide a small collection of PlantUML behavior models, but the Activity, State Machine, and Sequence diagrams represent separate systems rather than connected views of the same system [2]. Larger synthetic UML collections also focus on individual diagram generation [8]. As a result, current resources offer limited support for training or studying tools that must work with several related SysML diagrams.

To our knowledge, there is no established benchmark for judging whether an AI tool preserves the meaning and consistency of a complete diagram set. Rendering alone is not enough: code may compile even when a relation is reversed or a required element is missing. Testing one diagram alone also cannot show whether a change was carried into every related view. The field therefore needs both a large collection of connected diagrams and evaluation tasks that measure semantic repair and cross-diagram consistency. These resources are necessary for developing AI-assisted modeling tools, comparing them fairly, and identifying the errors that still require engineering review.

These limitations motivated SEMAADB which the main contributions of this work are:

  1. A large multi-diagram SysML dataset. We provide 3,000 engineering contexts and 15,000 diagrams covering Requirement, Block Definition, Activity, State Machine, and Sequence views across four engineering domains.

  2. A pipeline for coherent diagram-set generation. We use a shared entity description to connect the five views, then check consistency and rendering while preserving generation provenance.

  3. A human-verified benchmark set. We human-verify 100 contexts under a documented protocol and use only this set for the evaluation.

  4. Benchmarks for repair and cross-diagram updates. The tasks measure whether a model can correct semantic errors and apply a change across related diagrams without damaging unaffected content.

  5. An objective evaluation of three language models. We report task scores, render validity, confidence intervals, failure patterns, and inference cost, showing where current models succeed and where coherent SysML modeling remains challenging.

The dataset is available at huggingface.co/datasets/ardalon/semaadb-dataset.

References (16)