Leveraging Large Language Models for Use Case Model Generation from Software Requirements

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Eisenreich, Tobias, Friedlaender, Nicholas, Wagner, Stefan
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914155799248896
author Eisenreich, Tobias
Friedlaender, Nicholas
Wagner, Stefan
author_facet Eisenreich, Tobias
Friedlaender, Nicholas
Wagner, Stefan
contents Use case modeling employs user-centered scenarios to outline system requirements. These help to achieve consensus among relevant stakeholders. Because the manual creation of use case models is demanding and time-consuming, it is often skipped in practice. This study explores the potential of Large Language Models (LLMs) to assist in this tedious process. The proposed method integrates an open-weight LLM to systematically extract actors and use cases from software requirements with advanced prompt engineering techniques. The method is evaluated using an exploratory study conducted with five professional software engineers, which compares traditional manual modeling to the proposed LLM-based approach. The results show a substantial acceleration, reducing the modeling time by 60\%. At the same time, the model quality remains on par. Besides improving the modeling efficiency, the participants indicated that the method provided valuable guidance in the process.
format Preprint
id arxiv_https___arxiv_org_abs_2511_09231
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Leveraging Large Language Models for Use Case Model Generation from Software Requirements
Eisenreich, Tobias
Friedlaender, Nicholas
Wagner, Stefan
Software Engineering
Artificial Intelligence
D.2.2; I.2.7
Use case modeling employs user-centered scenarios to outline system requirements. These help to achieve consensus among relevant stakeholders. Because the manual creation of use case models is demanding and time-consuming, it is often skipped in practice. This study explores the potential of Large Language Models (LLMs) to assist in this tedious process. The proposed method integrates an open-weight LLM to systematically extract actors and use cases from software requirements with advanced prompt engineering techniques. The method is evaluated using an exploratory study conducted with five professional software engineers, which compares traditional manual modeling to the proposed LLM-based approach. The results show a substantial acceleration, reducing the modeling time by 60\%. At the same time, the model quality remains on par. Besides improving the modeling efficiency, the participants indicated that the method provided valuable guidance in the process.
title Leveraging Large Language Models for Use Case Model Generation from Software Requirements
topic Software Engineering
Artificial Intelligence
D.2.2; I.2.7
url https://arxiv.org/abs/2511.09231