An LLM-Based Framework for the Automatic Generation of SysML Models.
Baoran An, Tao Lei, Guangtai Tian
Institute of Computer Application, China Academy of Engineering Physics, Mianyang 621900, China. · School of Aeronautics and Astronautics, Sichuan University, Chengdu 610065, China.
Key points
From the paper's conclusion- This paper builds a 914-sample SysML PlantUML corpus and proposes a fully offline lightweight framework based on Qwen2.5-Coder-7B-Instruct, integrating 4-bit NF4 Quantized Low-Rank Adaptation (QLoRA) fine-tuning, vector-free Jaccard same-diagram reference retrieval and a three-round syntax correction loop.
Abstract
Model-based systems engineering (MBSE) takes Systems Modeling Language (SysML) as the industrial standard modeling language, yet cloud Large Language Model (LLM)-based SysML generation faces limited domain data, model hallucinations, high hardware cost and confidential data leakage risks. This paper builds a 914-sample SysML PlantUML corpus and proposes a fully offline lightweight framework based on Qwen2.5-Coder-7B-Instruct, integrating 4-bit NF4 Quantized Low-Rank Adaptation (QLoRA) fine-tuning, vector-free Jaccard same-diagram reference retrieval and a three-round syntax correction loop. PlantUML executes syntax parsing while Graphviz only renders layouts. Tested on 131 samples covering five structural and behavioral SysML v1 diagram types, the plain-prompt baseline achieves word-set semantic F1 of 52.94%, and the retrieval-enhanced variant lifts the zero-retry syntax pass rate from 92.37% to 99.28%, with F1 slightly dropping to 50.64%. Running fully local without cloud data transmission, this pipeline offers a privacy-safe lightweight solution for SysML PlantUML modeling and does not support SysML-exclusive requirement or parametric diagrams.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Bootstrapping SysML with LLM-based inference and integrated discrete-event simulationSIMULATION · 2026
- A Validated Dataset and Benchmark for Coherent Multi-Diagram SysML ModelsarXiv · 2026
- LLMs for Model-driven Engineering: A Systematic Literature ReviewACM Transactions on Software Engineering and Methodology · 2026
- Cross-Organizational SysML Model Integration: A Survey of Challenges and AI-Supported TasksarXiv · 2026
- Formal Modeling in Software Engineering with LLMs: A Systematic Literature ReviewarXiv · 2026
- Beyond Zero-Shot Business Process Diagram Extraction: Supervised Adaptation and Reliability Limits of Vision-Language ModelsACM SIGAPP Applied Computing Review · 2026