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

使软件架构适应机器学习挑战

Adapting Software Architectures to Machine Learning Challenges

Alex Serban, Joost Visser

摘要:

ML组件独特的开发和操作特性以及其固有的不确定性要求使用强大的工程原理来确保其质量。我们的目标是确定如何(重新)构建软件系统,以实现ML组件的强大集成。为了实现这一目标,我们进行了一项混合方法的实证研究,包括(i)系统的文献综述,以确定ML软件架构中的挑战及其解决方案,(ii)与从业者的半结构化访谈,以定性地补充初步调查结果,以及(iii)调查,以定量地验证挑战及其解决方案。我们编译并验证了20个挑战和解决方案,用于使用ML组件(重新)架构系统。例如,我们的研究结果表明,传统的软件架构挑战(例如,组件耦合)在使用ML组件时也起着重要作用;以及新的ML特定挑战(例如,需要持续的再培训)。此外,结果表明,与传统的决策驱动因素(如可扩展性)相比,ML增强的决策驱动因素(如隐私)发挥的作用微不足道。通过调查,我们能够在架构解决方案和软件质量属性之间建立联系,这使我们能够提供20种用于满足ML组件系统的个性化质量要求的架构策略。总之,研究结果可以解释为一个经验框架,支持使用ML组件(重新)构建软件系统的过程。

英文摘要:

Unique developmental and operational characteristics of ML components as well as their inherent uncertainty demand robust engineering principles are used to ensure their quality. We aim to determine how software systems can be (re-) architected to enable robust integration of ML components. Towards this goal, we conducted a mixed-methods empirical study consisting of (i) a systematic literature review to identify the challenges and their solutions in software architecture for ML, (ii) semi-structured interviews with practitioners to qualitatively complement the initial findings and (iii) a survey to quantitatively validate the challenges and their solutions. We compiled and validated twenty challenges and solutions for (re-) architecting systems with ML components. Our results indicate, for example, that traditional software architecture challenges (e.g., component coupling) also play an important role when using ML components; along with new ML specific challenges (e.g., the need for continuous retraining). Moreover, the results indicate that ML heightened decision drivers, such as privacy, play a marginal role compared to traditional decision drivers, such as scalability. Using the survey we were able to establish a link between architectural solutions and software quality attributes, which enabled us to provide twenty architectural tactics used to satisfy individual quality requirements of systems with ML components. Altogether, the results of the study can be interpreted as an empirical framework that supports the process of (re-) architecting software systems with ML components.

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

↑