Architecture Decisions in AI-based Systems Development: An Empirical Study
Beiqi Zhang, Tianyang Liu, Peng Liang, Chong Wang, Mojtaba Shahin,, Jiaxin Yu

TL;DR
This empirical study analyzes architecture decisions in AI-based systems, revealing common patterns, decision types, application domains, quality attributes, and challenges faced by practitioners, highlighting the technical nature of these challenges.
Contribution
It provides the first comprehensive empirical analysis of architecture decision-making in AI-based systems, based on data from Stack Overflow and GitHub.
Findings
Architecture decisions are expressed in six linguistic patterns.
Main decision types include Technology, Component, and Data Decisions.
Performance is the most considered quality attribute.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Engineering Techniques and Practices · Technology Assessment and Management
