[2603.21178] LLM-based Automated Architecture View Generation: Where Are We Now?
About this article
Abstract page for arXiv paper 2603.21178: LLM-based Automated Architecture View Generation: Where Are We Now?
Computer Science > Software Engineering arXiv:2603.21178 (cs) [Submitted on 22 Mar 2026] Title:LLM-based Automated Architecture View Generation: Where Are We Now? Authors:Miryala Sathvika, Rudra Dhar, Karthik Vaidhyanathan View a PDF of the paper titled LLM-based Automated Architecture View Generation: Where Are We Now?, by Miryala Sathvika and 2 other authors View PDF HTML (experimental) Abstract: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 capabilitie...