Deriving Domain Models From User Stories: Human vs. Machines

Maxim Bragilovski, Ashley T. Van Can, Fabiano Dalpiaz, Arnon Sturm

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

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.

Original languageEnglish
Title of host publicationProceedings - 32nd IEEE International Requirements Engineering Conference, RE 2024
EditorsGrischa Liebel, Irit Hadar, Paola Spoletini
PublisherIEEE Computer Society
Pages31-42
Number of pages12
ISBN (Electronic)9798350395112
DOIs
Publication statusPublished - 21 Aug 2024
Event32nd IEEE International Requirements Engineering Conference, RE 2024 - Reykjavik, Iceland
Duration: 24 Jun 202428 Jun 2024

Publication series

NameProceedings of the IEEE International Conference on Requirements Engineering
ISSN (Print)1090-705X
ISSN (Electronic)2332-6441

Conference

Conference32nd IEEE International Requirements Engineering Conference, RE 2024
Country/TerritoryIceland
CityReykjavik
Period24/06/2428/06/24

Keywords

  • Domain Models
  • Large Language Models
  • Machine Learning
  • Model Derivation
  • Requirements Engineering
  • User Stories

Fingerprint

Dive into the research topics of 'Deriving Domain Models From User Stories: Human vs. Machines'. Together they form a unique fingerprint.

Cite this