mlsanityData to 7 Oct 2026

LLM-based Automated Architecture View Generation: Where Are We Now?

arXiv 2603.21178 ↗First posted 22 Mar 2026cs.SE cs.AIcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Architecture views are essential for software architecture documentation, yet their manual creation is labor intensive and often leads to outdated artifacts. As systems grow in complexity, the automated generation of views from source code becomes increasingly valuable. Goal: We empirically evaluate the ability of LLMs and agentic approaches to generate architecture views from source code. Method: We analyze 340 open-source repositories across 13 experimental configurations using 3 LLMs with 3 prompting techniques and 2 agentic approaches, yielding 4,137 generated views. We evaluate the generated views by comparing them with the ground-truth using a combination of automated metrics complemented by human evaluations. Results: Prompting strategies offer marginal improvements. Few-shot prompting reduces clarity failures by 9.2% compared to zero-shot baselines. The custom agentic approach consistently outperforms the general-purpose agent, achieving the best clarity (22.6% failure rate) and level-of-detail success (50%). Conclusions: LLM and agentic approaches demonstrate capabilities in generating syntactically valid architecture views. However, they consistently exhibit granularity mismatches, operating at the code level rather than architectural abstractions. This suggests that there is still a need for human expertise, positioning LLMs and agents as assistive tools rather than autonomous architects.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 21 of its 63 references that are in the map. First posted on arXiv 22 Mar 2026.

Builds on

21 of 63 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Agents in Software Engineering: Survey, Landscape, and Vision13 Sep

Other references · 20

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  3. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  4. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  5. 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,151
  6. 2024A Survey on Large Language Models for Code Generationcited by 646
  7. 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
  8. 2024From Generation to Judgment: Opportunities and Challenges of LLM-as-a-judgecited by 480
  9. 2024LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methodscited by 451
  10. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  11. 2024MLLM-as-a-Judge: Assessing Multimodal LLM-as-a-Judge with Vision-Language Benchmarkcited by 362
  12. 2023GPTScore: Evaluate as You Desirecited by 357
8 more
  1. 2024Self-Preference Bias in LLM-as-a-Judgecited by 248
  2. 2023Navigating the Complexity of Generative AI Adoption in Software Engineeringcited by 32
  3. 2024Can LLMs Generate Architectural Design Decisions? -An Exploratory Empirical studycited by 19
  4. 2025Generative AI for Software Architecture. Applications, Challenges, and Future Directionscited by 15
  5. 2024Model Generation with LLMs: From Requirements to UML Sequence Diagramscited by 11
  6. 2024From Image to UML: First Results of Image Based UML Diagram Generation Using LLMscited by 11
  7. 2025Software Architecture Meets LLMs: A Systematic Literature Reviewcited by 10
  8. 2025LLMs for Generation of Architectural Components: An Exploratory Empirical Study in the Serverless Worldcited by 8

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Beyond Correctness: Enhancing Architectural Reasoning in Code LLMs via Scalable Labeling with Agentic Judgment
  2. 2025VisDocSketcher: Towards Scalable Visual Documentation with Agentic Systems
  3. 2026ArchBench: Benchmarking Generative-AI for Software Architecture Tasks ↗
  4. 2026Code2UML: Agentic LLMs with context engineering for scalable software visualization
  5. 2025Collaborative LLM Agents for C4 Software Architecture Design Automation
  6. 2025Using LLMs in Generating Design Rationale for Software Architecture Decisions
  7. 2025Beyond Code Generation: LLM-supported Exploration of the Program Design Space
  8. 2025DRAFT-ing Architectural Design Decisions using LLMs