From Requirements to Architecture: Semi-Automatically Generating Software Architectures

Tobias Eisenreich · 2025

Read From Requirements to Architecture: Semi-Automatically Generating Software Architectures by Tobias Eisenreich (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-12192.txt.

Introduction

Tobias Eisenreich presents a 2025 proposal for a tool that helps software architects draft system designs with a language model at their side. Architects now start from requirement lists and shape a design by hand, a slow craft. The proposed method walks the architect through four stages: a domain model, use cases, design choices, and a review of the result. At each stage the model drafts and the human steers.

The architect can seize full control at any point and use the tools as a plain kit. Early trials suggest the flow works and saves large amounts of time. Junior architects gain a guide, while senior ones gain a fast drafting hand. The paper is a research plan with first results, not a finished product.

Catalog record

CREATORTobias Eisenreich
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE10 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2504-12192

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

From Requirements to Architecture: Semi-Automatically Generating Software Architectures Tobias Eisenreich Abstract To support junior and senior architects, I propose developing a new architecture creation method that leverages LLMs’ evolving capabilities to support the architect. This method involves the architect’s close collaboration with LLM-fueled tooling over the whole process. The architect is guided through Domain Model creation, Use Case specification, architectural decisions, and architecture evaluation. While the architect can take complete control of the process and the results, and use the tooling as a building set, they can follow the intended process for maximum tooling support. The preliminary results suggest the feasibility of this process and indicate major time savings for the architect. [email protected] \booktitle [EMISA 2025]15th International Workshop on Enterprise Modeling and Information Systems Architectures \yearofpublication 2025 PhD Research Proposal keywords Requirements Software Architecture Architecture Evaluation LLM 1 Introduction Creating high-quality software architecture is hard due to complex domains and incomplete requirements. New software architects lack experience and technical expertise, and experienced ones focus on the concepts and technologies they are used to [ SMG19 ] . To avoid high maintenance costs from bad architectures, architects must explore broader possibilities and conduct a later evaluation. I propose the development of supportive tooling for software architects leveraging the new advancements of LLMs in NLP. This tooling should help novice architects to create high-quality architectures and nudge senior architects to explore new possibilities. Colocated with ICSE’24, I discussed tool candidates with the research community [ ESW24 ] : (1) Generation and refinement of domain models and use cases based on requirements; (2) generation and refinement of architecture candidates based on requirements, domain models, and use cases using established patterns; and (3) qualitative evaluation of architectures against the requirements. I will evaluate these tools individually and in orchestration. I believe this process can improve the quality of architecture while reducing the creation time in most projects. 2 Background and Related Work Looking at the background, I will introduce research concerning software architecture and architecture evaluation methods. The related work is brief, as not many papers have been published about the usage of AI in software architecture tooling. Finally, I will describe my previous work and preliminary results. [ Ma17 ] wrote an overview of software architecture. He summarizes the learnings from multiple decades of experience in software engineering and architecture and draws a comprehensive image of software architecture. He describes and reasons about best practices, patterns, and frameworks. Many further works go into detail on these topics. A more concrete approach is Domain Driven Design [ Ev04 ] , which describes how domain modeling can be the basis for architecture creation. This approach is very popular in practice, and I take it as an inspiration for my work. [ PS15 ] gave an overview of software architecture evaluation methods. The Architecture Tradeoff Analysis Method (ATAM) [ KKC00 ] is probably the most known evaluation method. It helps to find sensitivities and tradeoffs in architectural design. It targets multiple quality attributes but is tedious, involves intensive effort from all relevant stakeholders, and did not gain much traction in practice. Due to the novelty of LLMs, related work about using them in software architecture is scarce. A Scopus search for LLM AND “Software Architecture” yielded 21 results, four of which are relevant to this work: [ JS24 ] analyzed the state of practice on using LLMs in software architecture. However, they found mostly enthusiasm. Low quality, copyright issues, and the effort to check the generated solutions impede the usage of LLMs in software architecture practice. [ DVV24 ] generated Architecture Decision Records (ADRs) with LLMs. They found that LLMs can generate relevant and accurate design decisions, albeit not yet with the same quality as humans. [ GVA24 ] fine-tuned an LLM on AI-generated requirements on a small training set to predict one of three software architecture patterns for a single requirement. In their evaluation, seven of ten patterns were predicted correctly. [ Gü25 ] used an LLM-based agent to aid first-term students in architectural decisions. Their results show that a chatbot cannot help students create substantially better architectures, but it can effectively teach them architecture fundamentals. 2.1 Previous and In-Progress Own Work I have outlined my vision of an assisted software architecture creation process before [ ESW24 ] . In the meantime, I have concretized the vision and worked on proofs-of-concept of the proposed toolings. I will give an overview of the progress in this section. I am working on understanding architecture creation in the industry. A student conducted several interviews with software architects from different contexts. We found that software architecture is a highly individual process, and the practice varies considerably between practitioners. To support the architect, I am investigating the ability of LLMs to create Domain Models and Use Cases. My preliminary results are promising and suggest that an assisted creation of such models improves their quality while reducing the effort to create them. A naive approach to generating architectures with an LLM does not produce quality architectures. Asking an LLM for appropriate architectural styles or patterns works much better. One potential reason is the ability to use the RAG to describe architectural styles with known advantages and disadvantages, which helps the LLM to select appropriate ones. Automating the architecture tradeoff analysis method [ KKC00 ] using LLMs works surprisingly well. While the LLMs do not find as many potential tradeoffs as the participants, the LLMs find a considerable overlap with the participants’ responses. 3 Research goal and objectives Figure 1: Tool-assisted architecture creation process. The research goal of the proposed work is to explore the new possibilities of assisting software architects using LLMs. Looking at popular architecture creation processes like Domain Driven Design [ Ev04 ] , I synthesized an exemplary, idealized process of architecture creation. I analyzed potentials for tool support during that process, as seen in Figure 1 . I have started implementing these tools and obtained some preliminary results in their evaluation, as described in Section 2.1 . From a technology perspective, I will choose prompt engineering over fine-tuning. The obvious downside of this choice is forgoing some amount of response quality by not tuning the model to the use case. There are a few advantages, though, that outweigh this downside: First, there is a lack of labeled data; creating a high-quality labeled dataset for each tool to fine-tune a model would be a big effort. Second, foundation models bring the knowledge for all possible application domains and can draw on it. Fine-tuning might favor the domains it has been trained with. Lastly, prompt engineering techniques can easily be transferred between foundational models. The tooling can thus be tailored to the available hardware by using smaller models or be improved in the future by using newer, more capable models that are released after development time. 4 Research Methodology As I plan to create one or multiple artifacts, the Design Science Research Method is a good fit for the scientific methodology [ He04 ] . Applying Design Science, I will evaluate both the individual tools and the whole idealized process with full tool support. When evaluating the individual tools’ quality, efficacy, and utility, I assume the biggest challenge is evaluating

Read the complete text