Minimal Data, Maximal Impact: Language Model-based Pipelines for the Automatic Generation of Use Case Diagrams from Requirements
Simon Schleifer · 2024
Striving for unique selling points leads to an increase in product requirements, which are prevalently written in natural language. In order to mitigate inherent ambiguities in these requirements specifications, methods of Model-Based Systems Engineering, like use case diagrams, can be utilized. However, creating model-based requirements is time-consuming. Thus, two novel pipelines for the automatic generation of use case diagrams are proposed and discussed with focus on reducing the amount of needed annotated training data. The first pipeline combines named entity recognition with active learning. The second pipeline utilizes generative large language models and prompt engineering. Both pipelines are exemplarily applied to a requirements specification from the automotive industry.