arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.16697cs.SE
收藏

软件架构遇上大语言模型:一项系统性文献综述

Software Architecture Meets LLMs: A Systematic Literature Review

Larissa Schmid, Tobias Hey, Martin Armbruster, Sophie Corallo, Dominik Fuchß, Jan Keim, Haoyu Liu, Anne Koziolek

AI总结:

本文通过系统性文献综述,分析了18篇研究,探讨大语言模型在软件架构任务中的应用效果、自动化程度、所用模型及评估方式,发现其常优于基线但部分领域仍待探索。

摘要:

大语言模型(LLMs)被用于许多不同的软件工程任务。在软件架构领域,它们已被应用于诸如设计决策分类、设计模式检测以及从需求生成软件架构设计等任务。然而,关于它们的工作效果如何、存在哪些挑战以及还有哪些开放问题,目前缺乏全面的概述。在本文中,我们对LLMs在软件架构中的应用进行了一项系统性文献综述。我们分析了18篇研究文章,以回答五个研究问题,例如LLMs被用于哪些软件架构任务、它们提供了多少自动化程度、使用了哪些模型和技术,以及这些方法是如何被评估的。我们的研究结果表明,虽然LLMs越来越多地被应用于各种软件架构任务,并且常常优于基线方法,但某些领域,如从架构设计生成源代码、云原生计算与架构以及一致性检查,仍然探索不足。尽管当前的方法大多使用简单的提示技术,但我们发现,通过整合先进技术来改进基于LLM的方法的研究兴趣正在增长。

英文摘要:

Large Language Models (LLMs) are used for many different software engineering tasks. In software architecture, they have been applied to tasks such as classification of design decisions, detection of design patterns, and generation of software architecture design from requirements. However, there is little overview on how well they work, what challenges exist, and what open problems remain. In this paper, we present a systematic literature review on the use of LLMs in software architecture. We analyze 18 research articles to answer five research questions, such as which software architecture tasks LLMs are used for, how much automation they provide, which models and techniques are used, and how these approaches are evaluated. Our findings show that while LLMs are increasingly applied to a variety of software architecture tasks and often outperform baselines, some areas, such as generating source code from architectural design, cloud-native computing and architecture, and checking conformance remain underexplored. Although current approaches mostly use simple prompting techniques, we identify a growing research interest in refining LLM-based approaches by integrating advanced techniques.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑