arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.20909cs.SEcs.LG
收藏

利用生成式AI增强领域驱动软件设计

Leveraging Generative AI for Enhancing Domain-Driven Software Design

Hochschule Karlsruhe University of Applied Sciences, Germany(卡尔斯鲁厄应用科学大学);esentri AG, Ettlingen, Germany(esentri公司)

Götz-Henrik Wiegand, Filip Stepniak, Patrick Baier

AI总结:

本文利用生成式AI自动化生成领域驱动设计中的元模型,提升设计效率并降低资源需求。

摘要:

领域驱动设计(DDD)是开发以客户为导向的软件的关键框架,重点在于对应用程序领域的精确建模。传统上,描述这些领域的元模型是通过系统设计师手动创建的,为迭代软件开发奠定了基础。本文探讨了使用生成式AI部分自动化元模型生成,特别是生成领域特定的JSON对象。通过在真实世界DDD项目数据上训练模型,我们证明生成式AI可以根据简单的提示生成语法正确的JSON对象,为设计流程的优化提供了巨大潜力。为了解决资源限制,AI模型在消费级GPU上使用4位量化版本的Code Llama和低秩适应(LoRA)进行了微调。尽管硬件有限,模型仍实现了高性能,生成准确的JSON对象且需要极少的后处理。本研究展示了将生成式AI纳入DDD过程的可行性,提高了效率,降低了资源需求,同时为AI驱动的软件开发进一步发展奠定了基础。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑