arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.10529cs.SE
收藏

深度学习框架中算法债务的自动化检测:一项实证研究

Automated Detection of Algorithm Debt in Deep Learning Frameworks: An Empirical Study

Emmanuel Iko-Ojo Simon, Chirath Hettiarachchi, Alex Potanin, Hanna Suominen, Fatemeh Fard

AI总结:

本研究旨在提高深度学习框架中算法债务的自动化检测性能,通过结合TF-IDF等多种特征提取方法与ROBERTA等深度学习及大型语言模型,在七个DL框架的数据集上训练多种分类器以识别和改进AD检测。

摘要:

背景:先前的研究表明,机器或深度学习(ML/DL)模型可以从源代码注释(称为自承认技术债务,SATD)中检测技术债务。尽管ML/DL在软件开发中很重要,但针对新型SATD类型——算法债务(AD)的自动化检测研究有限。AD检测很重要,因为它有助于及早识别TD,促进研究和学习,并防止与模型退化和缺乏可扩展性相关问题的积累。目标:我们的目标是提高各种ML/DL模型的AD检测性能。方法:我们将使用TF-IDF、Count Vectorizer、Hash Vectorizer和TD指示词等方法进行实证研究,以识别能改善AD检测的特征,并使用具有不同数据特征化的ML/DL分类器。我们将使用一个从七个DL框架中整理的现有数据集,其中的注释被手动分类为AD、兼容性、缺陷、设计、文档、需求和测试债务。我们将探索各种词嵌入方法以进一步丰富ML模型的特征。这些嵌入将来自DL中建立的模型,如ROBERTA、ALBERTv2,以及大型语言模型(LLMs):INSTRUCTOR和VOYAGE AI。我们将通过纳入与AD相关的术语来丰富数据集,然后训练各种ML/DL分类器:支持向量机、逻辑回归、随机森林、ROBERTA和ALBERTv2。

英文摘要:

Context: Previous studies demonstrate that Machine or Deep Learning (ML/DL) models can detect Technical Debt from source code comments called Self-Admitted Technical Debt (SATD). Despite the importance of ML/DL in software development, limited studies focus on automated detection for new SATD types: Algorithm Debt (AD). AD detection is important because it helps to identify TD early, facilitating research, learning, and preventing the accumulation of issues related to model degradation and lack of scalability. Aim: Our goal is to improve AD detection performance of various ML/DL models. Method: We will perform empirical studies using approaches: TF-IDF, Count Vectorizer, Hash Vectorizer, and TD-indicative words to identify features that improve AD detection, using ML/DL classifiers with different data featurisations. We will use an existing dataset curated from seven DL frameworks where comments were manually classified as AD, Compatibility, Defect, Design, Documentation, Requirement, and Test Debt. We will explore various word embedding methods to further enrich features for ML models. These embeddings will be from models founded in DL such as ROBERTA, ALBERTv2, and large language models (LLMs): INSTRUCTOR and VOYAGE AI. We will enrich the dataset by incorporating AD-related terms, then train various ML/DL classifiers, Support Vector Machine, Logistic Regression, Random Forest, ROBERTA, and ALBERTv2.

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

↑