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

论软件工程中深度学习的可复制性与可重现性

On the Replicability and Reproducibility of Deep Learning in Software Engineering

College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);PengCheng Laboratory(鹏城实验室);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));Monash University(莫纳什大学);Singapore Management University(新加坡管理大学)

Chao Liu, Cuiyun Gao, Xin Xia, David Lo, John Grundy, Xiaohu Yang

AI总结:

该研究针对软件工程领域深度学习研究普遍忽略可复制性与可重现性的问题,通过文献综述与四个代表性模型的复现实验,验证了两类问题的危害,并呼吁社区完善复制包、提升模型稳定性与收敛性。

摘要:

近年来,深度学习(DL)技术在软件工程(SE)研究者中获得了广泛普及,这是因为它们通常无需大量人工特征工程工作和复杂领域知识,就能解决诸多SE难题。尽管许多DL研究已宣称其在效果上相较其他现有最优模型具有显著优势,但它们往往忽略两个因素:(1)可复制性——即所报告的实验结果能否在使用相同DL模型和相同数据的情况下,以高概率近似复现;(2)可重现性——即所报告的实验发现能否通过采用相同实验方案和DL模型、但使用不同采样真实世界数据的新实验得以复现。与传统机器学习(ML)模型不同,DL研究通常忽视这两个因素,将其视为次要威胁或留待未来工作解决,这主要是由于模型复杂度高、存在大量人工设置参数,且优化过程耗时。在本研究中,我们对近期发表于20个SE期刊或会议的93篇DL研究进行了文献综述。我们的统计数据表明,在SE领域研究这两个因素已十分紧迫。此外,我们重新运行了SE领域四个具有代表性的DL模型。实验结果证明了可复制性与可重现性的重要性:由于优化过程不稳定,某DL模型所报告的性能无法被复制;如果模型训练未收敛,或者性能对词表规模和测试数据规模敏感,可重现性会大幅受损。因此,SE社区亟需提供可长期访问的复制包链接,提升基于DL的解决方案的稳定性与收敛性,并避免性能对不同采样数据的敏感性。

英文摘要:

Deep learning (DL) techniques have gained significant popularity among software engineering (SE) researchers in recent years. This is because they can often solve many SE challenges without enormous manual feature engineering effort and complex domain knowledge. Although many DL studies have reported substantial advantages over other state-of-the-art models on effectiveness, they often ignore two factors: (1) replicability - whether the reported experimental result can be approximately reproduced in high probability with the same DL model and the same data; and (2) reproducibility - whether one reported experimental findings can be reproduced by new experiments with the same experimental protocol and DL model, but different sampled real-world data. Unlike traditional machine learning (ML) models, DL studies commonly overlook these two factors and declare them as minor threats or leave them for future work. This is mainly due to high model complexity with many manually set parameters and the time-consuming optimization process. In this study, we conducted a literature review on 93 DL studies recently published in twenty SE journals or conferences. Our statistics show the urgency of investigating these two factors in SE. Moreover, we re-ran four representative DL models in SE. Experimental results show the importance of replicability and reproducibility, where the reported performance of a DL model could not be replicated for an unstable optimization process. Reproducibility could be substantially compromised if the model training is not convergent, or if performance is sensitive to the size of vocabulary and testing data. It is therefore urgent for the SE community to provide a long-lasting link to a replication package, enhance DL-based solution stability and convergence, and avoid performance sensitivity on different sampled data.

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

↑