arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.00803cs.SEcs.LG
收藏

机器学习系统中的代码气味

Code Smells in Machine Learning Systems

University of California, Irvine(加州大学欧文分校);Facebook(脸书);Singapore Management University(新加坡管理大学);Federal University of Bahia(巴伊亚联邦大学);Microsoft Research(微软研究院);Zhejiang University(浙江大学)

Jiri Gesi, Siqi Liu, Jiawei Li, Iftekhar Ahmed, Nachiappan Nagappan, David Lo, Eduardo Santana de Almeida, Pavneet Singh Kochhar, Lingfeng Bao

摘要:

随着深度学习(DL)系统的不断发展和成长,确保其质量成为一项重要但具有挑战性的任务。与非深度学习系统相比,深度学习系统具有更复杂的团队构成和更强的数据依赖性。这些固有的特性可能会导致DL系统更容易出现错误,并且从长远来看,更容易出现维护问题。代码气味作为非DL系统的有效指标进行了经验测试。因此,我们向前迈进了一步,在这个全面的研究中识别代码气味,并了解它们对维护的影响。这是第一次在深度学习软件系统的背景下研究代码气味,这有助于研究人员和从业人员首先了解进行了什么样的维护修改以及开发人员一直在处理什么样的代码气味。我们的论文有三个主要贡献。首先,我们全面调查的维护修改,已通过研究DL系统的演变DL开发人员,我们确定了9个经常发生的维护相关的修改类别在DL系统。其次,我们总结了DL系统中的五种代码气味。第三,我们通过定性和定量分析的混合验证了我们新识别的代码气味的流行程度和影响。我们发现,从开发人员的角度来看,我们新识别的代码气味对DL系统的维护是普遍和有影响的。

英文摘要:

As Deep learning (DL) systems continuously evolve and grow, assuring their quality becomes an important yet challenging task. Compared to non-DL systems, DL systems have more complex team compositions and heavier data dependency. These inherent characteristics would potentially cause DL systems to be more vulnerable to bugs and, in the long run, to maintenance issues. Code smells are empirically tested as efficient indicators of non-DL systems. Therefore, we took a step forward into identifying code smells, and understanding their impact on maintenance in this comprehensive study. This is the first study on investigating code smells in the context of DL software systems, which helps researchers and practitioners to get a first look at what kind of maintenance modification made and what code smells developers have been dealing with. Our paper has three major contributions. First, we comprehensively investigated the maintenance modifications that have been made by DL developers via studying the evolution of DL systems, and we identified nine frequently occurred maintenance-related modification categories in DL systems. Second, we summarized five code smells in DL systems. Third, we validated the prevalence, and the impact of our newly identified code smells through a mixture of qualitative and quantitative analysis. We found that our newly identified code smells are prevalent and impactful on the maintenance of DL systems from the developer's perspective.

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

↑