Leveraging LLMs for Domain Modeling: The Impact of Granularity and Strategy on Quality

Iris Reinhartz-Berger, Syed Juned Ali, Dominik Bork

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

Abstract

The information systems engineering community is increasingly exploring the use of Large Language Models (LLMs) for a variety of tasks, including domain modeling, business process modeling, software modeling, and systems modeling. However, most existing research remains exploratory and lacks a systematic approach to analyzing the impact of prompt content on model quality. This paper seeks to fill this gap by investigating how different levels of description granularity (whole text vs. paragraph-by-paragraph) and modeling strategies (model-based vs. list-based) affect the quality of LLM-generated domain models. Specifically, we conducted an experiment with two state-of-the-art LLMs (GPT-4o and Llama-3.1-70b-versatile) on tasks involving use case and class modeling. Our results reveal challenges that extend beyond the chosen granularity, strategy, and LLM, emphasizing the importance of human modelers not only in crafting effective prompts but also in identifying and addressing critical aspects of LLM-generated models that require refinement and correction.

Original languageEnglish
Title of host publicationAdvanced Information Systems Engineering - 37th International Conference, CAiSE 2025, Proceedings
EditorsJohn Krogstie, Stefanie Rinderle-Ma, Gerti Kappel, Henderik A. Proper
PublisherSpringer Science and Business Media Deutschland GmbH
Pages3-19
Number of pages17
ISBN (Print)9783031945687
DOIs
StatePublished - 2025
Event37th International Conference on Advanced Information Systems Engineering, CAiSE 2025 - Vienna, Austria
Duration: 16 Jun 202520 Jun 2025

Publication series

NameLecture Notes in Computer Science
Volume15701 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference37th International Conference on Advanced Information Systems Engineering, CAiSE 2025
Country/TerritoryAustria
CityVienna
Period16/06/2520/06/25

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2025.

Keywords

  • Conceptual modeling
  • Domain modeling
  • Generative AI
  • LLM
  • UML

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Leveraging LLMs for Domain Modeling: The Impact of Granularity and Strategy on Quality'. Together they form a unique fingerprint.

Cite this