Automated architecture design

Hand-drawn thin terracotta tracks fanning out from one point across a dense hatched grid of cream, sand, umber and moss cells.

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; Schmid et al., 2025). 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; Bucaioni et al., 2025). 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). Results in this field were scattered across separate research communities (Aleti et al., 2013). 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).

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).

How well the approaches are validated 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). Only 32% reported detailed results on whether their search algorithm suited the problem (Aleti et al., 2013).

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).

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). On realistic models, a run can take several days, which a 2023 position paper names as a barrier to adoption (Di Pompeo & Tucci, 2023).

Putting the designer in the loop 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). 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).

Large language models in architecture design 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). It sorted their tasks into four groups: reference architectures, classification and detection, extraction and generation, and assistants (Schmid et al., 2025). 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).

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). Agents built on these models are covered in AI coding agents.

How the studies test their results 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). No reviewed study evaluated quality aspects such as evolvability, the ease of changing a system later (Schmid et al., 2025). In the multivocal review, 93% of studies gave no information on how output was validated (Esposito et al., 2025).

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).

Measured results by task 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).

TaskResultSource
Identifying services from requirementsF1 about 0.97 with examples in the prompt, 0.79 without(Albuquerque et al., 2026)
Writing design rationale for 100 problemsF1 0.351 to 0.389 against experts(Zhou et al., 2025e)
Detecting violations of 980 decision recordsAccurate for explicit decisions, weak for implicit ones(Su et al., 2026b)
Multiple-choice architecture knowledge, 11 models89.31% to 94.23% correct(Santilli et al., 2026)

Generating architectures from requirements 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 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). 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). 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).

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). 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).

Decisions and rationale 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). 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).

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). 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).

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).

Architecture views and knowledge tests 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). Views and the languages for drawing them are covered in 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). Architectural solutions were among the hardest categories, at 89.5%, and quality attributes the easiest, at 98.2% (Santilli et al., 2026).

Reliability and limits 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). The authors call the study preliminary and limited to two domains (Iftikhar & Rausch, 2026).

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). Styles of this kind are described in 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).

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). 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).

Assistant or architect 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). The authors of the view-generation study see models as assistive tools, not autonomous architects (Sathvika et al., 2026). How human architects reason and choose is covered in designing software architecture, and the field as a whole in software architecture.

Further reading

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

Known gaps

What this article cannot tell you yet.

  1. No controlled or industrial study compares architectures produced by an optimiser or a language model with architectures designed by practising architects.
  2. 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.
  3. Model-driven synthesis of architectures from requirements was not researched.
  4. Whether language models score well on architecture benchmarks because the benchmark material was in their training data was not researched.
  5. 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.
  6. An industrial case of PerOpteryx at ABB was seen only in search results, so its outcome is not reported here.

References

Solid source
Rated highly trustworthy by the research, and every passage taken from it was found in it.
Weak source
Rated low, or a passage taken from it was not found in it.
Medium trust
Rated medium by the research.
Not checked
Rated high, but its passages could not all be checked against it.
Show all 18 references
  • 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.