A System Model Generation Benchmark from Natural Language Requirements

Dongming Jin, Zhi Jin, Linyu Li, Zheng Fang, Jia Li, Xiao-hong ChenarXiv 2025 · OpenReview

Introduction

Model-Based Systems Engineering (MBSE) is essential for designing complex systems, such as aerospace vehicles or autonomous driving platforms. By providing formal abstractions of structural and behavioral aspects, system models—often expressed in languages like SysML—enable early error detection and architectural validation. However, creating these models is a labor-intensive process requiring deep domain expertise and mastery of strict, verbose syntaxes.

While Large Language Models (LLMs) have excelled in general-purpose code generation, their ability to generate formal system models remains largely unmeasured due to a lack of specialized benchmarks. This paper introduces SysMBench, the first comprehensive benchmark designed to evaluate LLM performance in transforming natural language requirements into SysML v2 models.

Equivalence between graphical and textual SysML v2 notations

The SysMBench Dataset

SysMBench consists of 151 human-curated scenarios spanning 13 diverse domains, including aerospace, medical health, and transportation. Each scenario is structured to provide a complete evaluation context, including natural language requirements, textual SysML v2 models, and visualized diagrams for manual validation. Scenarios are categorized by difficulty level (1-5) based on the "Lines of Model" (LoM) metric.

A complete scenario from the SysMBench dataset, illustrating the relationship between requirements, textual code, and graphical diagrams.

The SysMEval Metric

Traditional text-matching metrics like BLEU or ROUGE are often inadequate for modeling tasks. A generated model may be semantically identical to the reference while using different component names or ordering. To address this, the researchers proposed SysMEval, a semantic-aware evaluation framework. SysMEval utilizes an LLM to decompose models into "atomic semantic claims" (e.g., "Component A contains Part B"). It then evaluates the precision and recall of these claims, providing a more accurate reflection of a model's functional correctness than surface-level string matching.

Experimental Results and Insights

The authors evaluated 17 LLMs, including GPT-4, Claude 3, and specialized code models. Key findings include:

  • Performance Gap: Even top-tier models struggled, with the highest BLEU score reaching only 4% and the best semantic F1 score (achieved by Qwen3-32B) at 62%.
  • Reasoning over Coding: General-purpose models often outperformed code-specific models, suggesting that system modeling relies more on cross-domain reasoning than standard programming patterns.
  • The Grammar Trap: Forcing models to adhere to strict grammar rules improved syntax scores but often led to "semantic hallucinations," where the model sacrificed logical accuracy to satisfy formatting constraints.
  • Domain Sensitivity: Models performed significantly better on "Calculation" and "Network" tasks compared to safety-critical "Transportation" or "Medical" domains.

Conclusion

SysMBench reveals that while LLMs show promise, generating high-fidelity system models from natural language remains a significant challenge. Common failures include missing package imports and the misuse of specialized SysML keywords. By releasing SysMBench and the SysMEval framework, the authors aim to catalyze future research into domain-knowledge infusion and recall-oriented generation strategies for systems engineering.

Summary updated

BibTeX
@misc{jin2025system,
  author = {Dongming Jin and Zhi Jin and Linyu Li and Zheng Fang and Jia Li and Xiao-hong Chen},
  title = {{A System Model Generation Benchmark from Natural Language Requirements}},
  year = {2025},
  eprint = {2508.03215},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.03215},
}
Figure