开源机器学习项目中真实bug的比较分析--一份注册报告
Comparative analysis of real bugs in open-source Machine Learning projects -- A Registered Report
摘要:
工作背景:机器学习(ML)系统依赖于数据来进行预测,与传统的软件系统相比,该系统增加了许多组件,例如数据处理管道,服务管道和模型训练。现有的软件维护研究已经研究了不同类型的问题,如性能和安全问题的问题报告需求和解决过程。然而,ML系统有特定的故障类别,报告ML问题需要特定于域的信息。由于ML和传统软件工程系统之间的不同特征,我们不知道报告需求在多大程度上不同,以及这些差异在多大程度上影响问题解决过程。目的:我们的目标是调查ML和非ML问题之间的解决时间分布是否存在差异,以及基于开源应用ML项目中的真实问题报告,某些类别的ML问题是否需要更长的时间来解决。我们进一步研究了ML问题和非ML问题的修复大小。方法:我们从Github提取最近活跃的应用ML项目中的问题报告、拉取请求和代码文件,并使用自动方法过滤ML和非ML问题。我们使用已知的深度学习错误分类来手动标记问题。我们在一个受控样本上测量ML和非ML问题的解决时间和修复大小,并比较每类问题的分布。
英文摘要:
Background: Machine Learning (ML) systems rely on data to make predictions, the systems have many added components compared to traditional software systems such as the data processing pipeline, serving pipeline, and model training. Existing research on software maintenance has studied the issue-reporting needs and resolution process for different types of issues, such as performance and security issues. However, ML systems have specific classes of faults, and reporting ML issues requires domain-specific information. Because of the different characteristics between ML and traditional Software Engineering systems, we do not know to what extent the reporting needs are different, and to what extent these differences impact the issue resolution process. Objective: Our objective is to investigate whether there is a discrepancy in the distribution of resolution time between ML and non-ML issues and whether certain categories of ML issues require a longer time to resolve based on real issue reports in open-source applied ML projects. We further investigate the size of fix of ML issues and non-ML issues. Method: We extract issues reports, pull requests and code files in recent active applied ML projects from Github, and use an automatic approach to filter ML and non-ML issues. We manually label the issues using a known taxonomy of deep learning bugs. We measure the resolution time and size of fix of ML and non-ML issues on a controlled sample and compare the distributions for each category of issue.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。