arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2303.09617cs.SEcs.AI
收藏

F $_1$ -分数在自我承认技术债务检测中的测量改进

Measuring Improvement of F$_1$-Scores in Detection of Self-Admitted Technical Debt

University of Ottawa(渥太华大学)

William Aiken, Paul K. Mvula, Paula Branco, Guy-Vincent Jourdan, Mehrdad Sabetzadeh, Herna Viktor

摘要:

人工智能和机器学习见证了自然语言处理(NLP)任务的快速、显著改进。利用深度学习,研究人员利用软件工程中的存储库注释,从20个开源Java项目的代码中生成了检测自承认技术债务(SATD)的准确方法。在这项工作中,我们提高了SATD检测与一种新的方法,利用双向编码器表示从Transformers(BERT)架构。为了进行比较,我们重新评估了以前的深度学习方法,并应用分层10倍交叉验证来报告可靠的F $_1$分数。我们在跨项目和项目内的上下文中检查我们的模型。对于每种情况,我们使用重新采样和重复作为增强策略来解决数据不平衡问题。我们发现,我们训练的BERT模型在跨项目场景中的20个项目中的19个项目中比所有以前的方法的最佳性能有所提高。然而,数据增强技术不足以克服项目内假设情景中存在的数据缺乏问题,现有方法的效果仍然更好。未来的研究将探讨如何使SATD数据集多样化,以最大限度地提高大型BERT模型的潜在能力。

英文摘要:

Artificial Intelligence and Machine Learning have witnessed rapid, significant improvements in Natural Language Processing (NLP) tasks. Utilizing Deep Learning, researchers have taken advantage of repository comments in Software Engineering to produce accurate methods for detecting Self-Admitted Technical Debt (SATD) from 20 open-source Java projects' code. In this work, we improve SATD detection with a novel approach that leverages the Bidirectional Encoder Representations from Transformers (BERT) architecture. For comparison, we re-evaluated previous deep learning methods and applied stratified 10-fold cross-validation to report reliable F$_1$-scores. We examine our model in both cross-project and intra-project contexts. For each context, we use re-sampling and duplication as augmentation strategies to account for data imbalance. We find that our trained BERT model improves over the best performance of all previous methods in 19 of the 20 projects in cross-project scenarios. However, the data augmentation techniques were not sufficient to overcome the lack of data present in the intra-project scenarios, and existing methods still perform better. Future research will look into ways to diversify SATD datasets in order to maximize the latent power in large BERT models.

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

↑