arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.13866cs.SE
收藏

基于人工智能的系统开发中的架构决策:一项实证研究

Architecture Decisions in AI-based Systems Development: An Empirical Study

Beiqi Zhang, Tianyang Liu, Peng Liang, Chong Wang, Mojtaba Shahin, Jiaxin Yu

摘要:

人工智能(AI)技术发展迅速,基于AI的系统已广泛应用于各种应用领域,机遇与挑战并存。然而,人们对基于人工智能的系统开发中所做的架构决策知之甚少,这对这些系统的成功和可持续性产生了重大影响。为此,我们通过收集和分析Stack Overflow(SO)和GitHub的数据进行了实证研究。更具体地说,我们用六组关键字搜索SO,并在GitHub上探索了32个基于AI的项目,最终我们收集了174篇文章和128个与架构决策相关的GitHub问题。研究结果表明,在基于人工智能的系统开发中,(1)体系结构决策主要以6种语言模式表达,其中最常用的是解决方案建议和信息提供;(2)技术决策、组件决策和数据决策是体系结构决策的主要类型;(3)游戏是18个应用领域中最常见的应用领域,(4)架构决策中考虑的主要质量属性是性能,以及(5)实践者在做出架构决策时遇到的主要限制和挑战是设计问题和数据问题。我们的研究结果表明,在基于AI的系统开发中做出架构决策时的限制和挑战是高度特定于基于AI的系统的特征的,并且主要是技术性质的,需要正确面对。

英文摘要:

Artificial Intelligence (AI) technologies have been developed rapidly, and AI-based systems have been widely used in various application domains with opportunities and challenges. However, little is known about the architecture decisions made in AI-based systems development, which has a substantial impact on the success and sustainability of these systems. To this end, we conducted an empirical study by collecting and analyzing the data from Stack Overflow (SO) and GitHub. More specifically, we searched on SO with six sets of keywords and explored 32 AI-based projects on GitHub, and finally we collected 174 posts and 128 GitHub issues related to architecture decisions. The results show that in AI-based systems development (1) architecture decisions are expressed in six linguistic patterns, among which Solution Proposal and Information Giving are most frequently used, (2) Technology Decision, Component Decision, and Data Decision are the main types of architecture decisions made, (3) Game is the most common application domain among the eighteen application domains identified, (4) the dominant quality attribute considered in architecture decision-making is Performance, and (5) the main limitations and challenges encountered by practitioners in making architecture decisions are Design Issues and Data Issues. Our results suggest that the limitations and challenges when making architecture decisions in AI-based systems development are highly specific to the characteristics of AI-based systems and are mainly of technical nature, which need to be properly confronted.

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

↑