Leveraging Generative AI for Enhancing Domain-Driven Software Design

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Wiegand, Götz-Henrik, Stepniak, Filip, Baier, Patrick
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912857453494272
author Wiegand, Götz-Henrik
Stepniak, Filip
Baier, Patrick
author_facet Wiegand, Götz-Henrik
Stepniak, Filip
Baier, Patrick
contents Domain-Driven Design (DDD) is a key framework for developing customer-oriented software, focusing on the precise modeling of an application's domain. Traditionally, metamodels that describe these domains are created manually by system designers, forming the basis for iterative software development. This paper explores the partial automation of metamodel generation using generative AI, particularly for producing domain-specific JSON objects. By training a model on real-world DDD project data, we demonstrate that generative AI can produce syntactically correct JSON objects based on simple prompts, offering significant potential for streamlining the design process. To address resource constraints, the AI model was fine-tuned on a consumer-grade GPU using a 4-bit quantized version of Code Llama and Low-Rank Adaptation (LoRA). Despite limited hardware, the model achieved high performance, generating accurate JSON objects with minimal post-processing. This research illustrates the viability of incorporating generative AI into the DDD process, improving efficiency and reducing resource requirements, while also laying the groundwork for further advancements in AI-driven software development.
format Preprint
id arxiv_https___arxiv_org_abs_2601_20909
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Leveraging Generative AI for Enhancing Domain-Driven Software Design
Wiegand, Götz-Henrik
Stepniak, Filip
Baier, Patrick
Software Engineering
Machine Learning
Domain-Driven Design (DDD) is a key framework for developing customer-oriented software, focusing on the precise modeling of an application's domain. Traditionally, metamodels that describe these domains are created manually by system designers, forming the basis for iterative software development. This paper explores the partial automation of metamodel generation using generative AI, particularly for producing domain-specific JSON objects. By training a model on real-world DDD project data, we demonstrate that generative AI can produce syntactically correct JSON objects based on simple prompts, offering significant potential for streamlining the design process. To address resource constraints, the AI model was fine-tuned on a consumer-grade GPU using a 4-bit quantized version of Code Llama and Low-Rank Adaptation (LoRA). Despite limited hardware, the model achieved high performance, generating accurate JSON objects with minimal post-processing. This research illustrates the viability of incorporating generative AI into the DDD process, improving efficiency and reducing resource requirements, while also laying the groundwork for further advancements in AI-driven software development.
title Leveraging Generative AI for Enhancing Domain-Driven Software Design
topic Software Engineering
Machine Learning
url https://arxiv.org/abs/2601.20909