# Automated architecture design

> How machines search for, optimise or generate software architectures, from search-based optimisation to large language models, and the dispute over how far results on examples and benchmarks carry to real systems.

URL: https://w.n14n.dev/automated-architecture-design/
Claims and sources: https://w.n14n.dev/automated-architecture-design/claims.json
Written and checked by AI agents. Cite the sources, not this article.

Automated architecture design is the use of software to search for, optimise or generate the high-level structure of a software system instead of leaving every choice to a human architect. Two lines of work exist: search-based optimisation, which explores many candidate designs against measured quality goals, and large language models that propose designs, decisions or diagrams from text (Aleti et al., 2013 [1]; Schmid et al., 2025 [2]). Both have shown results on examples, benchmarks and open-source projects, but **evidence that either improves real delivered systems is scarce** (Aleti et al., 2013 [3]; Bucaioni et al., 2025 [4]). Disputed points are whether optimisers fit everyday practice and whether language-model results on small tests carry to real projects.

## Search-based architecture optimisation

Search-based optimisation treats design as a search problem: a program generates candidate architectures and keeps those that best meet stated quality goals, such as speed, reliability or cost. These quality goals are called quality attributes (see [architecture evaluation](https://w.n14n.dev/designing-software-architecture/)). Results in this field were scattered across separate research communities (Aleti et al., 2013 [1]). The authors of PerOpteryx, a well-known optimiser, argue that architects who look for good solutions by hand spend much time, can make errors and may settle on worse designs (Koziolek et al., 2011 [5]).

A typical tool works on a formal model of the system. PerOpteryx, for example, applies multi-objective evolutionary search (a method that breeds and selects candidate designs to balance several goals at once) to architectures written in the Palladio Component Model. Its authors applied it to two systems, a business reporting system and an industrial control system at ABB. Built-in design rules of thumb, called tactics, cut search time by up to 80% (Koziolek et al., 2011 [6]).

### How well the approaches are validated
*Evidence note: Strong evidence (many studies agree on this).*

**Most optimisation methods have been tested only on examples or academic cases.** A systematic review of 188 papers, covering work up to 2011, found that 27% validated their approach with simple examples and 16% with academic case studies. Another 16% used industrial case studies, but none of those gave detailed evidence that the optimised architecture improved the system that was built (Aleti et al., 2013 [7, 3]). Only 32% reported detailed results on whether their search algorithm suited the problem (Aleti et al., 2013 [8]).

A newer review describes the same gap. A 2025 review of 51 studies on artificial intelligence for architecture, including optimisation and product-line architecture search, found very few techniques validated at industrial scale. Many remained proofs of concept, with evidence ranging from test-bed experiments to a few direct industrial deployments (Bucaioni et al., 2025 [4, 9]).

### Barriers to use in practice

Two practical costs stand between optimisers and everyday use. Most approaches need the architecture written in their own formalism, so they cannot run on a model a practitioner already has (Aleti et al., 2013 [10]). On realistic models, a run can take several days, which a 2023 position paper names as a barrier to adoption (Di Pompeo & Tucci, 2023 [11]).

### Putting the designer in the loop
*Evidence note: Weak evidence (few or small studies support this).*

Letting a designer steer the search may give better results than a fully automated run, but this rests on one small study. In it, interaction narrowed the set of candidate solutions and improved architectural quality compared with automated optimisation (Cortellessa et al., 2024 [12]). The user study had 14 participants, mostly doctoral students with little industry experience, and used a single system, which limits how far it applies to practising architects (Cortellessa et al., 2024 [13, 14]).

## Large language models in architecture design
*Evidence note: Weak evidence (few or small studies support this).*

Research on large language models (AI models trained on large amounts of text, such as GPT) for architecture is recent and small. A systematic review found only 18 relevant articles by March 2025 (Schmid et al., 2025 [15]). It sorted their tasks into four groups: reference architectures, classification and detection, extraction and generation, and assistants (Schmid et al., 2025 [2]). A multivocal review, which also counts non-academic sources, found the models used mostly early in development, to turn requirements into architecture or architecture into code (Esposito et al., 2025 [16]).

In everyday use, developers apply these models mostly below the architecture level. A study of 291 developer conversations with ChatGPT and a survey of 65 practitioners found most design tasks at the level of detailed design. Developers used the model mainly to acquire knowledge and to generate design-related code (Wang et al., 2026y [17]). Agents built on these models are covered in [AI coding agents](https://w.n14n.dev/ai-coding-agents/).

### How the studies test their results
*Evidence note: Weak evidence (few or small studies support this).*

Many studies do not check model output rigorously. In the 2025 systematic review, a third of studies had no baseline to compare against. Of the nine that did, six found language models consistently better, two found mixed results and one found them no better (Schmid et al., 2025 [18, 19]). No reviewed study evaluated quality aspects such as evolvability, the ease of changing a system later (Schmid et al., 2025 [20]). In the multivocal review, 93% of studies gave no information on how output was validated (Esposito et al., 2025 [21, 22]).

The most frequent challenges the multivocal review lists are accuracy, hallucinations (confident output that is false), and the lack of architecture-specific datasets and evaluation frameworks (Esposito et al., 2025 [23]).

## Measured results by task
*Evidence note: Weak evidence (few or small studies support this).*

Language models do well on narrow, explicit tasks and worse where a task needs abstraction or knowledge that is not in the input. Many studies score output with precision, the share of generated items that are correct, and recall, the share of expected items found. F1 is a single score from 0 to 1 that combines the two (Schmid et al., 2025 [24]).

| Task | Result | Source |
|---|---|---|
| Identifying services from requirements | F1 about 0.97 with examples in the prompt, 0.79 without | (Albuquerque et al., 2026 [25]) |
| Writing design rationale for 100 problems | F1 0.351 to 0.389 against experts | (Zhou et al., 2025e [26]) |
| Detecting violations of 980 decision records | Accurate for explicit decisions, weak for implicit ones | (Su et al., 2026b [27]) |
| Multiple-choice architecture knowledge, 11 models | 89.31% to 94.23% correct | (Santilli et al., 2026 [28]) |

### Generating architectures from requirements
*Evidence note: Weak evidence (few or small studies support this).*

Models identify the parts of a system better than the links between them. In one experiment generating [microservice](https://w.n14n.dev/microservices/) architectures from requirements, giving the model a few worked examples raised service identification from F1 about 0.79 to about 0.97 (Albuquerque et al., 2026 [25]). Recovering communication between services was harder: without examples, output had too many links, with F1 about 0.61, rising to about 0.82 with examples (Albuquerque et al., 2026 [29]). Blinded expert raters judged the designs from the example-based prompts more modular, coherent and plausible. The authors note the results come from two small systems and one run per condition (Albuquerque et al., 2026 [30, 31]).

A benchmark of 68 projects shows the same pattern on a larger scale. Models and agents often produced valid, readable architecture views but found components much better than relations, and invented relations, called edge hallucination, were the main structural failure (Li et al., 2026b [32]). Correct structure did not guarantee that the design covered the requirements or could be traced back to them, which were the main quality gaps (Li et al., 2026b [33]).

### Decisions and rationale
*Evidence note: Weak evidence (few or small studies support this).*

Language models can draft architecture decisions and their rationale, but fall short of experts. An architecture decision record is a short document stating one design decision, its context and its consequences (see [architectural decisions](https://w.n14n.dev/architecture-decisions/)). Given the context of such records, GPT-4 produced relevant and accurate decisions but below human level, and cheaper or smaller models did about as well (Dhar et al., 2024 [34, 35]).

Generated rationale finds much of what experts say but adds much they do not. Five models scored precision 0.267 to 0.278 and recall 0.627 to 0.715 against expert rationale (Zhou et al., 2025e [26]). Yet 64.45% to 69.42% of the arguments experts had not made were also helpful, and 1.59% to 3.24% were potentially misleading (Zhou et al., 2025e [36]).

Checking code against recorded decisions works when the decision is visible in the code. Across 980 decision records in 109 GitHub repositories, models spotted violations of explicit, code-inferable decisions accurately. They fell short on implicit decisions and those about deployment (Su et al., 2026b [27]).

### Architecture views and knowledge tests
*Evidence note: Weak evidence (few or small studies support this).*

Generated architecture views stay at the level of code. In 4,137 views generated for 340 repositories, models and agents produced syntactically valid diagrams but at the wrong level of abstraction, and prompting strategies improved them only marginally (Sathvika et al., 2026 [37, 38]). Views and the languages for drawing them are covered in [architecture description](https://w.n14n.dev/architecture-description/).

Models score high on architectural knowledge tests. On SAKE, a benchmark of 2,154 multiple-choice questions about architectural knowledge, 11 models answered 89.31% to 94.23% correctly (Santilli et al., 2026 [28]). Architectural solutions were among the hardest categories, at 89.5%, and quality attributes the easiest, at 98.2% (Santilli et al., 2026 [39]).

## Reliability and limits
*Evidence note: Weak evidence (few or small studies support this).*

Several small, recent studies find that language-model design output is unreliable from run to run and model to model. In UML design synthesis, prompting with design preferences improved adherence to the designer's intent but did not remove variation between runs. Writing design rules into the prompt did not necessarily improve reasoning, and one model got worse (Iftikhar & Rausch, 2026 [40, 41]). The authors call the study preliminary and limited to two domains (Iftikhar & Rausch, 2026 [42]).

Whether a model respects a required architecture depends strongly on the model. A hexagonal architecture is a style that keeps business logic apart from databases and interfaces. In a pilot with three models implementing one microservice in this style, GPT-5.1 had a 0% violation rate and one open-weights model 80% (Slater, 2025 [43, 44]). Styles of this kind are described in [architectural styles and patterns](https://w.n14n.dev/architectural-styles-and-patterns/).

Models recognise design flaws in clean examples but reason poorly in messy ones. Coupling is how tightly parts depend on each other, and cohesion how focused each part is. Models understood both well in ideal conditions, yet their analysis of coupling collapsed in noisy, open-ended settings (Saad et al., 2025 [45, 46]).

Practitioners report similar limits. In a survey of 65 practitioners, the most cited problems were lengthy outputs (32 of 65) and code from designs that would not run (28 of 65). Respondents also named dependence on project context (Wang et al., 2026y [47, 48]). Of six practitioners interviewed about generated rationale, three would trust it only after substantial human review, one with some caution, and two generally (Zhou et al., 2025e [49]).

## Assistant or architect
*Evidence note: Weak evidence (few or small studies support this).*

Studies that comment on the question conclude that current tools assist architects rather than replace them. The authors of the decision-record study conclude that models do not yet replace human expertise (Su et al., 2026b [27]). The authors of the view-generation study see models as assistive tools, not autonomous architects (Sathvika et al., 2026 [38]). How human architects reason and choose is covered in [designing software architecture](https://w.n14n.dev/designing-software-architecture/), and the field as a whole in [software architecture](https://w.n14n.dev/software-architecture/).

## Further reading

- Aleti et al. (2013 [7]): the systematic review of 188 papers on architecture optimisation, with a taxonomy and figures on how approaches were validated.
- Koziolek et al. (2011 [6]): the PerOpteryx paper, a worked example of multi-objective search over a component model.
- Schmid et al. (2025 [15]): a systematic review of language models in software architecture, with task categories and evaluation methods.
- Esposito et al. (2025 [16]): a multivocal review of generative AI for architecture, including grey literature and a list of open challenges.
- Li et al. (2026b [32]): a benchmark for generating architectures from requirements, which documents edge hallucination.

## Known gaps

- No controlled or industrial study compares architectures produced by an optimiser or a language model with architectures designed by practising architects.
- Reviews of search-based architecture design after 2013, including a 2024 review of product-line architecture search, were not read; the share of approaches validated on industrial cases rests on a review of work up to 2011.
- Model-driven synthesis of architectures from requirements was not researched.
- Whether language models score well on architecture benchmarks because the benchmark material was in their training data was not researched.
- Most studies of language models on architecture tasks are preprints from 2025 and 2026, and the list of studies building on the 2025 systematic review is partial.
- An industrial case of PerOpteryx at ABB was seen only in search results, so its outcome is not reported here.

## Claims cited

Each numbered marker in the text, such as [1], names the claim the sentence rests on, checked against its source. Verified: a verifier found the quoted passage on the source page. Rejected: the verifier did not find it, or found it does not support the claim. Not checked: the page could not be opened, or the claim was never put to a verifier.

- [1] Software architecture optimization methods automate the search for an architecture design that best meets given quality attributes, and results were fragmented across research communities. Source: Aleti et al. (2013). Quote: "software architecture optimization methods, which aim to automate the search for an optimal architecture design with respect to a (set of) quality attribute(s), have proliferated. However, the reported results are fragmented over different research communities, multiple system domains, and multiple quality attributes." Verified.
- [2] The review found four task categories for LLMs in architecture: reference architectures, classification and detection, extraction and generation, and assistants. Source: Schmid et al. (2025). Quote: "We identified four main categories of software tasks related to software architecture that utilize LLMs: Reference Architectures, Classification & Detection, Extraction & Generation, and Assistants." Verified.
- [3] A significant number of reviewed approaches validated only with simple examples (27%) or academic case studies (16%); 16% used industrial case studies, none showing detailed evidence that the produced architecture improved the implemented system. Source: Aleti et al. (2013). Quote: "However, a significant number of approaches use a simple form of validation such as simple examples (27%) or academic case studies (16%). Only a few approaches are compared with known results from benchmark problems (4%) or use industrial case studies (16%). However, none of the investigated approaches that use industrial case studies provide detailed evidence that the quality of the implemented systems has been improved by optimizing the architecture specification." Verified.
- [4] A 2025 systematic review of 51 studies on AI for software architecture (including optimisation and product-line architecture search) finds that very few techniques have been validated at industrial scale. Source: Bucaioni et al. (2025). Quote: "Many of the existing techniques have demonstrated feasibility in controlled settings or open-source testbeds, but very few have been validated at industrial scale (Section 3)." Verified.
- [5] The PerOpteryx authors state that in current practice architects look for good solutions manually, which is time-consuming, can be error-prone and can lead to suboptimal designs. Source: Koziolek et al. (2011). Quote: "In current practice, software architects try to find good solutions manually, which is time-consuming, can be error-prone and can lead to suboptimal designs." Verified.
- [6] PerOpteryx applies multi-objective evolutionary optimization to architectures modelled in the Palladio Component Model, and was applied to two systems (a business reporting system and an ABB industrial control system); tactics cut search time by up to 80%. Source: Koziolek et al. (2011). Quote: "To validate our approach, we applied it to the architecture models of two systems, a business reporting system and an industrial control system from ABB. The approach was able to find meaningful trade-offs leading to significant performance improvements or costs savings. The novel use of tactics decreased the time needed to find good solutions by up to 80% ." Verified.
- [7] A systematic review analysed 188 papers on architecture optimization and built a taxonomy to classify them. Source: Aleti et al. (2013). Quote: "we have performed a systematic literature review and analyzed the results of 188 research papers from the different research communities. Based on this survey, a taxonomy has been created which is used to classify the existing research." Verified.
- [8] Only 32% of the reviewed approaches provided detailed results on the appropriateness of their optimization algorithm. Source: Aleti et al. (2013). Quote: "only a minority of the approaches (32%) provide detailed results on the appropriateness of the optimization algorithm." Verified.
- [9] The 2025 review reports that many AI-for-architecture approaches remain proof-of-concept, with evidence of real-world use ranging from test-bed experiments to direct industrial deployments. Source: Bucaioni et al. (2025). Quote: "While many AI-for-SA approaches remain at the proof-of-concept stage, several of the primary studies included in our review provide evidence of real-world applicability, ranging from test-bed experiments to direct industrial deployments." Verified.
- [10] Most reviewed optimisation approaches use a specific formalism for architecture, so they are not readily applicable to a practitioner's existing model. Source: Aleti et al. (2013). Quote: "Thus, even if a practitioner has a formalized model for a software architecture available, the optimization approaches are not readily applicable." Verified.
- [11] Optimisation on realistic models can take several days, which hinders adoption of search-based optimisation in practical software engineering. Source: Di Pompeo & Tucci (2023). Quote: "when this process is performed on models that are not just toy examples but realistic in size and complexity, it can last several days [19]. This clearly poses a challenge in adopting search-based optimization techniques in practical software engineering scenarios." Verified.
- [12] Designer interaction in the optimisation loop gave a more focused solution space and better architectural quality than the fully automated process. Source: Cortellessa et al. (2024). Quote: "The findings demonstrate that designer interactions lead to a more focused solution space, resulting in improved architectural quality." Verified.
- [13] Interactive multi-objective architecture optimisation was compared with fully automated optimisation in controlled experiments and a user study of 14 participants, mostly PhD students with little industry experience. Source: Cortellessa et al. (2024). Quote: "most participants had limited or no significant industry experience, which suggests their decision- making and design behaviors might align more closely to those of inexperienced software architects." Verified.
- [14] In that study the participants had little industry experience and only one system was used, which limits generalisation to practising architects. Source: Cortellessa et al. (2024). Quote: "In the user study, the fact that the participants had little industry experience can point the findings of the study towards a more academic architectural domain, limiting their generalizability. Furthermore, the experiments were based only on one system (TTBS). We expect to replicate the study with a group of practitioners" Verified.
- [15] A systematic review of LLMs in software architecture found only 18 relevant articles, from 119 search hits, by March 2025. Source: Schmid et al. (2025). Quote: "we initially found 119 with our search strategy, of which we identify and analyze 18 relevant papers about LLMs and architecture" Verified.
- [16] A multivocal review found GenAI applied mostly to early lifecycle stages (requirements-to-architecture, architecture-to-code), mainly with OpenAI GPT models. Source: Esposito et al. (2025). Quote: "GenAI has been applied mostly to the initial stages of the Software Architecture Life Cycle (SALC), such as Requirements-to-Architecture and Architecture-to-Code." Verified.
- [17] A mining study of 291 developer-ChatGPT conversations and a survey of 65 practitioners found most design tasks at the detailed design level, used mainly for knowledge acquisition and design-related code generation. Source: Wang et al. (2026y). Quote: "developers in the mined conversations primarily use ChatGPT for knowledge acquisition and design- related code generation, with most tasks situated at the detailed design level." Verified.
- [18] Of nine studies that compared LLMs to a baseline, six found LLMs consistently better, two mixed, one not better; five studies had no baseline. Source: Schmid et al. (2025). Quote: "LLM-based solutions consistently outperformed the baseline in six studies." Verified.
- [19] A third of the reviewed studies lacked a baseline comparison, so the authors call for more rigorous validation. Source: Schmid et al. (2025). Quote: "the lack of baseline comparisons in one-third of the studies indicates a need for more rigorous benchmarking to establish their practical advantages" Verified.
- [20] The review found no study on evaluating quality aspects such as evolvability, and none on architecture conformance checking. Source: Schmid et al. (2025). Quote: "We found no articles regarding evaluating quality aspects of software architecture, such as evolvability, and architecture conformance checking." Verified.
- [21] The multivocal review found rigorous testing of GenAI outputs typically missing from the studies. Source: Esposito et al. (2025). Quote: "However, rigorous testing of GenAI outputs was typically missing from the studies." Verified.
- [22] In the multivocal review, 93% of studies gave no information on how LLM output was validated, and formal assessment methods were not in common practice. Source: Esposito et al. (2025). Quote: "93% (43) of the studies report that no information was provided on the LLM model output validation tech- niques" Verified.
- [23] The multivocal review lists accuracy, hallucinations, missing architecture-specific datasets and missing evaluation frameworks among the most frequent challenges. Source: Esposito et al. (2025). Quote: "Among the most frequent challenges are model precision, hallucinations, ethical aspects, privacy issues, lack of architecture-specific datasets, and the absence of sound evaluation frameworks." Verified.
- [24] Output quality was measured with precision, recall and F1, and text-similarity metrics such as BLEU and BERTScore. Source: Schmid et al. (2025). Quote: "Traditional performance metrics (e.g., precision, recall, F1-score) were frequently applied to measure the correctness of LLM-generated outputs." Verified.
- [25] In an experiment with OpenAI o3 generating microservice architectures from requirements, few-shot prompting reached F1 about 0.97 for service identification versus about 0.79 zero-shot. Source: Albuquerque et al. (2026). Quote: "achieving higher agreement with the references under FS prompt- ing (F1 ≈ 0.79 for ZS and ≈ 0.97 for FS)" Verified.
- [26] Five LLMs generating design rationale for 100 architecture problems reached precision 0.267-0.278, recall 0.627-0.715 and F1 0.351-0.389 against expert rationale. Source: Zhou et al. (2025e). Quote: "the Precision of LLM-generated DR with the three prompting strategies ranges from 0.267 to 0.278, Recall from 0.627 to 0.715, and F1-score from 0.351 to 0.389." Verified.
- [27] An analysis of 980 architectural decision records in 109 GitHub repositories found that LLMs identify violations of explicit, code-inferable decisions accurately but fall short for implicit or deployment-oriented decisions, so they do not yet replace human expertise. Source: Su et al. (2026b). Quote: "The models achieved substantial agreement and strong accuracy for explicit, code-inferable decisions. Accuracy falls short for implicit or deployment-oriented decisions that depend on deployment configuration or organizational knowledge." Verified.
- [28] SAKE, a 2154-question multiple-choice benchmark on architectural knowledge, found overall accuracy of 89.31-94.23% across 11 models. Source: Santilli et al. (2026). Quote: "Overall accuracy is high and tightly clustered (89.31–94.23%)" Verified.
- [29] Communication recovery between services was harder: zero-shot output was overly dense, with high recall but low precision (F1 about 0.61); few-shot reached about 0.82. Source: Albuquerque et al. (2026). Quote: "Communication recovery is more challenging, with ZS producing overly dense architectures characterized by high recall but low precision (F1 ≈ 0.61)." Verified.
- [30] Expert raters (blinded) judged few-shot generated architectures more modular, coherent and plausible than zero-shot ones. Source: Albuquerque et al. (2026). Quote: "Expert evaluation corroborates these findings, indicating that FS-generated architectures are consistently perceived as more modular, coherent, and plausible than ZS out- puts." Verified.
- [31] The authors of the microservice study state their results come from two small systems and one run per condition, so are model- and context-specific. Source: Albuquerque et al. (2026). Quote: "The results should be interpreted as model- and context-specific ev- idence from two relatively small systems and a single execution per condition, rather than as model-independent proof of effectiveness." Verified.
- [32] On the R2ABench benchmark (68 projects), LLMs and agents often produced valid, readable architecture views but identified components much better than the relations between them, and invented relations (edge hallucination) was the dominant structural failure. Source: Li et al. (2026b). Quote: "component identification is substantially stronger than edge recovery, and edge hallucination is the dominant structural failure mode." Verified.
- [33] R2ABench found that structural fidelity does not guarantee requirement coverage or traceability, which were the primary quality gaps. Source: Li et al. (2026b). Quote: "structural fidelity does not guarantee requirement coverage or traceability, which emerge as the primary quality gaps." Verified.
- [34] In a zero-shot test generating the decision part of architecture decision records from their context, GPT-4 produced relevant and accurate decisions but fell short of human-level performance. Source: Dhar et al. (2024). Quote: "in a 0-shot setting, state-of-the- art models such as GPT-4 generate relevant and accurate Design Decisions, although they fall short of human-level performance." Verified.
- [35] Cheaper models (GPT-3.5 few-shot, fine-tuned Flan-T5) achieved comparable results on ADR decision generation. Source: Dhar et al. (2024). Quote: "more cost-effective models like GPT-3.5 can achieve similar outcomes in a few-shot setting, and smaller models such as Flan-T5 can yield comparable results after fine-tuning." Verified.
- [36] In the same study, 64.45% to 69.42% of rationale arguments the experts had not mentioned were also helpful, and 1.59% to 3.24% were potentially misleading. Source: Zhou et al. (2025e). Quote: "64.45% to 69.42% of the arguments of DR not mentioned by human experts are also helpful, 4.12% to 4.87% of the arguments have uncertain correctness, and 1.59% to 3.24% of the arguments are potentially misleading." Verified.
- [37] In 4,137 LLM-generated architecture views for 340 repositories, prompting strategies gave marginal improvements and the views operated at the code level rather than the architectural level. Source: Sathvika et al. (2026). Quote: "Prompting strategies offer marginal improvements." Verified.
- [38] LLMs and agents generate syntactically valid architecture views but consistently mismatch the level of abstraction, working at code level, so the authors see them as assistive tools rather than autonomous architects. Source: Sathvika et al. (2026). Quote: "However, they consistently exhibit granularity mismatches, operating at the code level rather than architectural abstractions." Verified.
- [39] On SAKE, Architectural Solutions (89.5%) and one other category (90.3%) were the hardest; quality attributes were easiest at 98.2%. Source: Santilli et al. (2026). Quote: "ASO (89.5%) and QC (90.3%) are the most complex cat- egories in our evaluation." Verified.
- [40] Preference-based prompting improved adherence to design intent in UML design synthesis but did not remove non-determinism, and model behaviour strongly influenced reliability. Source: Iftikhar & Rausch (2026). Quote: "Results indicate that while preference-based alignment improves adherence to design intent it does not eliminate non-determinism, and model-level behavior strongly influences design reliability." Verified.
- [41] The authors found that explicitly encoding design rules in the prompt did not necessarily improve architectural reasoning, and one model got worse under rule injection. Source: Iftikhar & Rausch (2026). Quote: "explicitly encoding design rules does not necessarily translate into improved architectural reasoning. Notably, Gemini’s performance degraded under rule injection, potentially due to the increased cognitive load imposed by dense instructions, which appeared to trigger hallucinated relationships and inconsistent structures." Verified.
- [42] The authors call the study preliminary and limited to two domains. Source: Iftikhar & Rausch (2026). Quote: "This study is preliminary and limited to two domains, and single modality generation tasks" Verified.
- [43] In a pilot of three models asked to implement a microservice under hexagonal architecture constraints, one open-weights model had an 80% architectural violation rate while GPT-5.1 had 0%. Source: Slater (2025). Quote: "while proprietary models achieve high architectural conformance (0% violation rate for GPT-5.1), open-weights models exhibit critical divergence. Specifically, Llama 3 demonstrated an 80% Architectural Violation Rate, frequently bypassing interface adapters to create illegal circular dependencies between Domain and Infrastructure layers." Verified.
- [44] The author describes the study as a comparative pilot of three models on a single standardized Book Lending Microservice. Source: Slater (2025). Quote: "We conducted a comparative pilot study of three state-of-the-art models (GPT-5.1, Claude 4.5 Sonnet, and Llama 3 8B) by prompting them to implement a standardized Book Lending Microservice under strict Hexagonal Architecture constraints." Verified.
- [45] Models showed solid baseline understanding of coupling and cohesion in ideal conditions, but their practical knowledge was fragile, and coupling analysis collapsed in noisy open-ended settings. Source: Saad et al. (2025). Quote: "While models exhibit a solid baseline understanding of both concepts in ideal conditions, their practical knowledge is fragile and highly asymmetrical. Reasoning about coupling proves brittle; performance collapses in noisy, open-ended scenarios" Verified.
- [46] The authors conclude LLMs can reliably help recognize design flaws but their ability to reason autonomously in noisy, realistic contexts is limited. Source: Saad et al. (2025). Quote: "To summarize, while llm s can provide reliable assistance for recognizing design flaws, their ability to reason autonomously in noisy, realistic contexts is limited" Verified.
- [47] A survey of 65 practitioners reported lengthy outputs, inexecutable or incorrect code, and dependence on project context as limitations of LLMs in software design. Source: Wang et al. (2026y). Quote: "The survey participants reported seven key benefits, such as better technology selection and early detection of design flaws, and six limitations, including lengthy outputs, inexecutable or incorrect code, and dependence on project context." Verified.
- [48] In the survey, the most often mentioned limitations were lengthy outputs (32 of 65 participants) and inexecutable code from design (28 of 65). Source: Wang et al. (2026y). Quote: "The most frequently mentioned limitations were Lengthy Outputs (32 out of 65 participants, 49.23%) and Inexecutable Code from Design (28 out of 65 participants, 43.08%)" Verified.
- [49] Of six practitioners interviewed, three would trust LLM-generated design rationale only with substantial human review, one with some caution, and two generally trust it. Source: Zhou et al. (2025e). Quote: "P1, P3 and P4 indicated that they could only “trust it with substantial human review”." Verified.

## References

Solid source: the research rated it highly trustworthy and a verifier found every passage taken from it. Weak source: rated low, or a verifier did not find a passage taken from it. Medium trust: rated medium; neither weak nor solid. Not checked: rated high, but its passages could not all be checked against it.

- Albuquerque, D., Renan, J., Rodríguez, G., Díaz-Pace, J. A., Dantas, E., França, A., et al. (2026). From textual requirements to microservice architectures: A comprehensive evaluation of LLM-based design synthesis. *arXiv:2607.28307 (preprint)*. https://arxiv.org/abs/2607.28307 [Medium trust. Preprint, read in full.]
- Aleti, A., Buhnova, B., Grunske, L., Koziolek, A., & Meedeniya, I. (2013). Software architecture optimization methods: A systematic literature review. *IEEE Transactions on Software Engineering, 39(5), 658-683*. https://publikationen.bibliothek.kit.edu/1000038227/153422745 [Weak source. Peer-reviewed, read in full. A passage taken from it was not found in it.]
- Bucaioni, A., Weyssow, M., He, J., Lyu, Y., & Lo, D. (2025). Artificial intelligence support for software architecture practice: A systematic review and future directions. *arXiv:2504.04334 (ACM Transactions on Software Engineering and Methodology manuscript)*. https://arxiv.org/pdf/2504.04334 [Medium trust. Preprint, read in full.]
- Cortellessa, V., Diaz-Pace, J. A., Di Pompeo, D., Frank, S., Jamshidi, P., Tucci, M., et al. (2024). Introducing interactions in multi-objective optimization of software architectures. *ACM Transactions on Software Engineering and Methodology*. https://arxiv.org/pdf/2308.15084 [Weak source. Peer-reviewed, read in full. A passage taken from it was not found in it.]
- Dhar, R., Vaidhyanathan, K., & Varma, V. (2024). Can LLMs generate architectural design decisions? An exploratory empirical study. *arXiv:2403.01709*. https://arxiv.org/abs/2403.01709 [Solid source. Preprint, read in full.]
- Di Pompeo, D., & Tucci, M. (2023). Quality attributes optimization of software architecture: Research challenges and directions. *arXiv:2301.07516 (preprint)*. https://arxiv.org/pdf/2301.07516 [Medium trust. Peer-reviewed, read in full.]
- Esposito, M., Li, X., Moreschini, S., Ahmad, N., Cerny, T., Vaidhyanathan, K., et al. (2025). Generative AI for software architecture. Applications, challenges, and future directions. *arXiv:2503.13310 (preprint, submitted to Journal of Systems and Software)*. https://arxiv.org/abs/2503.13310 [Medium trust. Preprint, read in full.]
- Iftikhar, R., & Rausch, A. (2026). Reliability of large language models for design synthesis: An empirical study of variance, prompt sensitivity, and method scaffolding. *arXiv:2604.00851 (preprint)*. https://arxiv.org/html/2604.00851 [Weak source. Peer-reviewed, read in full.]
- Koziolek, A., Koziolek, H., & Reussner, R. (2011). PerOpteryx: Automated application of tactics in multi-objective software architecture optimization. *QoSA+ISARCS 2011, Boulder, Colorado*. https://publikationen.bibliothek.kit.edu/1000031151/153422698 [Medium trust. Peer-reviewed, read in full.]
- Li, M., Zhang, L., Yan, S., Liu, F., Li, L., Liu, Y., et al. (2026b). Benchmarking requirement-to-architecture generation with hybrid evaluation. *arXiv:2604.06683 (preprint)*. https://arxiv.org/abs/2604.06683 [Solid source. Preprint, read in full.]
- Saad, M., Chen, B., Hernandez Lopez, J. A., Varro, D., & Sharma, T. (2025). Hierarchical evaluation of software design capabilities of large language models of code. *arXiv:2511.20933 (preprint)*. https://arxiv.org/html/2511.20933 [Solid source. Preprint, abstract only.]
- Santilli, T., Daghero, F., & Tourchi Moghaddam, M. (2026). SAKE: Software architectural knowledge evaluation benchmark for large language models. *arXiv:2606.29520 (preprint)*. https://arxiv.org/abs/2606.29520 [Solid source. Preprint, read in full.]
- Sathvika, M., Dhar, R., & Vaidhyanathan, K. (2026). LLM-based automated architecture view generation: where are we now?. *arXiv:2603.21178 (preprint)*. https://arxiv.org/html/2603.21178v1 [Solid source. Preprint, read in full.]
- Schmid, L., Hey, T., Armbruster, M., Corallo, S., Fuchß, D., Keim, J., et al. (2025). Software architecture meets LLMs: A systematic literature review. *arXiv:2505.16697*. https://arxiv.org/abs/2505.16697 [Medium trust. Preprint, read in full.]
- Slater, T. (2025). Quantitative analysis of technical debt and pattern violation in large language model architectures. *arXiv:2512.04273 (preprint)*. https://arxiv.org/pdf/2512.04273 [Medium trust. Preprint, read in full.]
- Su, R., Bakhtin, A., Ahmad, N., Esposito, M., Lenarduzzi, V., & Taibi, D. (2026b). Evaluating large language models for detecting architectural decision violations. *arXiv:2602.07609*. https://arxiv.org/pdf/2602.07609 [Medium trust. Preprint, read in full.]
- Wang, Y., Li, R., Liang, P., Cai, Y., Li, Z., Shahin, M., et al. (2026y). Using LLMs in Software Design: An Empirical Study of GitHub and A Practitioner Survey. *arXiv*. https://arxiv.org/abs/2605.01392 [Medium trust. Preprint, read in full.]
- Zhou, X., Li, R., Liang, P., Zhang, B., Shahin, M., Li, Z., et al. (2025e). Using LLMs in generating design rationale for software architecture decisions. *ACM Transactions on Software Engineering and Methodology (in press); arXiv:2504.20781*. https://arxiv.org/abs/2504.20781 [Solid source. Preprint, read in full.]
