Deriving Domain Models From User Stories: Human vs. Machines
Publication date
2024-08-21
Editors
Liebel, Grischa
Hadar, Irit
Spoletini, Paola
Advisors
Supervisors
Document Type
Part of book
Metadata
Show full item recordCollections
License
taverne
Abstract
Domain models play a crucial role in software development, as they provide means for communication among stakeholders, for eliciting requirements, and for representing the information structure behind a database scheme or at the basis of model-driven development. However, creating such models is a tedious activity and automated support may assist in obtaining an initial domain model that can later be enriched by human analysts. In this paper, we propose an experimental comparison of the effectiveness of various approaches for deriving domain models from a given set of user stories. We contrast human derivation with machine derivation; for the latter, we compare (i) the Visual Narrator: an existing rule-based NLP approach; (ii) a machine-learning classifier that we feature engineered; and (iii) a generative AI approach that we constructed via prompt engineering. Based on a benchmark dataset that consists of nine collections of user stories and corresponding domain models, the evaluation indicates that no approach matches human performance, although a tuned version of the machine learning approach comes close. To better understand the results, we qualitatively analyze them and identify differences in the types of false positives as well as other factors that affect performance.
Keywords
Domain Models, Large Language Models, Machine Learning, Model Derivation, Requirements Engineering, User Stories, Taverne, General Computer Science, General Engineering, Strategy and Management
Citation
Bragilovski, M, Van Can, A T, Dalpiaz, F & Sturm, A 2024, Deriving Domain Models From User Stories : Human vs. Machines. in G Liebel, I Hadar & P Spoletini (eds), Proceedings - 32nd IEEE International Requirements Engineering Conference, RE 2024. Proceedings of the IEEE International Conference on Requirements Engineering, IEEE Computer Society, pp. 31-42, 32nd IEEE International Requirements Engineering Conference, RE 2024, Reykjavik, Iceland, 24/06/24. https://doi.org/10.1109/RE59067.2024.00014, conference