KIT | KIT-Bibliothek | Impressum | Datenschutz

Automated Generation of SysML Activity Diagrams from Industrial Requirements Using LLMs

Franze, Bastian; Fuchß, Dominik ORCID iD icon 1; Wattenberg, Friedrich; Fuchs, Till; Keim, Jan ORCID iD icon 1; Hey, Tobias ORCID iD icon 1
1 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)

Abstract:

The increasing complexity of cyber-physical systems, such as modern automotive E/E architectures, demands efficient, consistent, and scalable modeling processes. Traditional manual modeling of SysML diagrams from natural-language requirements is time-consuming and error-prone. We target to assist E/E architects in the process by utilizing large language models (LLMs). Therefore, we designed a three-step approach for automated generation of SysML activity diagrams. First, the approach identifies diagram element candidates in the requirements and matches them to potential existing elements. Second, missing elements are generated, and finally, the elements are linked. Evaluated on real-world system-level requirements documents, comprising more than 720 requirements and 72 use cases, our approach generates system-level diagrams comparable to those created by experts and provides valuable architectural recommendations. A survey with nine industry architects shows that at the system-level LLM-generated diagrams were even rated higher than the diagrams modeled by experts. However, quality degrades at the subsystem-level, where human refinement remains essential for correctness and completeness.


Postprint §
DOI: 10.5445/IR/1000194327
Veröffentlicht am 16.06.2026
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
Publikationstyp Proceedingsbeitrag
Publikationsjahr 2026
Sprache Englisch
Identifikator KITopen-ID: 1000194327
Erschienen in IEEE 34th International Requirements Engineering Conference (RE 2026)
Veranstaltung 34th IEEE International Requirements Engineering Conference (RE 2026), Montreal, Kanada, 17.08.2026 – 21.08.2026
Seiten 11 S.
Bemerkung zur Veröffentlichung in press
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page