机器学习云服务误用的全面多声音实证研究
A Comprehensive Multi-Vocal Empirical Study of ML Cloud Service Misuses
AI总结:
本文通过系统文献综述、云文档灰色文献分析、377 个 GitHub 项目研究及 50 名从业者调查,提出含 20 种 ML 云服务误用的目录,并揭示其普遍性、成因与检测重构需求。
摘要:
机器学习(ML)模型被广泛应用于医疗诊断和自动驾驶等各个领域。为支持这一增长,云提供商提供 ML 服务,以简化 ML 组件在软件系统中的集成。不断演变的业务需求以及 ML 服务的普及,促使各种技能水平的从业者实现并维护基于 ML 服务的系统。然而,他们可能并不总是遵循 ML 云服务的最佳设计和使用实践,从而导致常见误用;这些误用可能显著降低基于 ML 服务的系统质量,并对其维护和演化产生不利影响。尽管已有许多关于 ML 服务误用的研究,但仍缺乏针对这些误用的一致术语和规范。因此,本文开展了一项全面的多声音实证研究,考察实践中 ML 云服务误用的普遍程度。我们提出了一个包含 20 种 ML 云服务误用的目录,其中大多数在以往研究中尚未得到研究。为实现这一目标,我们进行了:a)关于 ML 误用研究的系统性文献综述;b)针对主要云提供商官方文档的灰色文献综述;c)对 GitHub 上一组经过整理的 377 个基于 ML 服务的系统进行实证分析;以及 d)一项涉及 50 名 ML 从业者的调查。结果表明,ML 服务误用在开源项目和工业界中都很常见,其根源往往是对服务能力缺乏理解以及文档不足。这强调了持续开展 ML 服务最佳实践教育的重要性,这也是本文的重点,同时也凸显了需要能够自动检测和重构 ML 误用的工具。
英文摘要:
Machine Learning (ML) models are widely used across various domains, including medical diagnostics and autonomous driving. To support this growth, cloud providers offer ML services to ease the integration of ML components in software systems. The evolving business requirements and the popularity of ML services have led practitioners of all skill levels to implement, and maintain ML service-based systems. However, they may not always adhere to optimal design and usage practices for ML cloud services, resulting in common misuse which could significantly degrade the quality of ML service-based systems and adversely affect their maintenance and evolution. Though much research has been conducted on ML service misuse, a consistent terminology and specification for these misuses remain absent. We therefore conduct in this paper a comprehensive, multi-vocal empirical study exploring the prevalence of ML cloud service misuses in practice. We propose a catalog of 20 ML cloud service misuses, most of which have not been studied in prior research. To achieve this, we conducted a) a systematic literature review of studies on ML misuses, b) a gray literature review of the official documentation provided by major cloud providers, c) an empirical analysis of a curated set of 377 ML service-based systems on GitHub, and d) a survey with 50 ML practitioners. Our results show that ML service misuses are common in both open-source projects and industry, often stemming from a lack of understanding of service capabilities, and insufficient documentation. This emphasizes the importance of ongoing education in best practices for ML services, which is the focus of this paper, while also highlighting the need for tools to automatically detect and refactor ML misuses.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。