Large Language Model-based Generation of Use Case Diagrams from Requirement Specifications

Schleifer S, Lungu A, Kruse B, Götz S, Wartzack S (2025)


Publication Language: English

Publication Type: Conference contribution, Conference Contribution

Publication year: 2025

Publisher: Wiley

Book Volume: 35

Pages Range: 261 - 275

Conference Proceedings Title: INCOSE International Symposium

Event location: Ottawa CA

DOI: 10.1002/iis2.70015

Open Access Link: https://incose.onlinelibrary.wiley.com/doi/10.1002/iis2.70015

Abstract

Model-based formalization of natural language requirements is a promising approach to cope with the ever-increasing complexity of technical systems and the resulting increase in requirements. Use case diagrams typically are the first step towards model-based requirements in terms of Model-Based Systems Engineering. As manual modeling is perceived as time-consuming for large requirements specifications, there is a need for modeling assistance with artificial intelligence. To allow for an industrial application, certain demands must be met. This comprises working with multiple requirements per use case as well as dealing with inhomogeneous natural language requirements. Recent advances in the field of Large Language Models open new possibilities to support the manual modeling task. Therefore, this contribution proposes a comprehensive method based on two sequential prompting pipelines, namely intra-use case and inter-use case pipeline. Both utilize advanced prompting techniques like one-shot prompting to improve the quality of the results. Semi-structured expert interviews were conducted to assess the quality of the resulting use case diagrams. This revealed a general applicability and semantic integrity of the results especially with consideration of the industrial application scenario. Thus, the method can effectively support the creation of use case diagrams and contributes to a clear model basis for subsequent behavior modeling.

Authors with CRIS profile

Involved external institutions

How to cite

APA:

Schleifer, S., Lungu, A., Kruse, B., Götz, S., & Wartzack, S. (2025). Large Language Model-based Generation of Use Case Diagrams from Requirement Specifications. In INCOSE International Symposium (pp. 261 - 275). Ottawa, CA: Wiley.

MLA:

Schleifer, Simon, et al. "Large Language Model-based Generation of Use Case Diagrams from Requirement Specifications." Proceedings of the 35th Annual INCOSE International Symposium, Ottawa Wiley, 2025. 261 - 275.

BibTeX: Download