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

软件需求层次分类的机器学习方法

A Machine Learning Approach for Hierarchical Classification of Software Requirements

King Saud University(沙特国王大学);University of Manchester(曼彻斯特大学)

Manal Binkhonain, Liping Zhao

摘要:

背景:将软件需求分类为不同的类别是需求工程(RE)中一项至关重要的任务。自2000年以来,开发用于需求分类的机器学习(ML)方法引起了RE社区的极大兴趣。目的:本文旨在解决ML方法在现实世界中应用的两个相关问题:类不平衡问题和低样本量数据的高维问题(HDLSS)。这些问题会大大降低ML方法的分类性能。方法:本文提出了HC 4 RC,一种新的ML方法,用于需求的多类分类。HC 4 RC通过基于语义角色的特征选择、数据集分解和层次分类解决了上述问题。我们通过实验比较了HC 4 RC与三种密切相关的方法的有效性-其中两种基于传统的统计分类模型,而一种使用先进的深度学习模型。结果:我们的实验表明:1)类不平衡和HDLSS问题对传统和先进的ML方法都提出了挑战。2)HC 4 RC方法使用简单,与类似方法相比,可以有效地解决类不平衡和HDLSS问题。结论:本文对解决软件需求多类分类中的类不平衡和HDLSS问题做出了重要的实际贡献。

英文摘要:

Context: Classification of software requirements into different categories is a critically important task in requirements engineering (RE). Developing machine learning (ML) approaches for requirements classification has attracted great interest in the RE community since the 2000s. Objective: This paper aims to address two related problems that have been challenging real-world applications of ML approaches: the problems of class imbalance and high dimensionality with low sample size data (HDLSS). These problems can greatly degrade the classification performance of ML methods. Method: The paper proposes HC4RC, a novel ML approach for multiclass classification of requirements. HC4RC solves the aforementioned problems through semantic-role-based feature selection, dataset decomposition and hierarchical classification. We experimentally compare the effectiveness of HC4RC with three closely related approaches - two of which are based on a traditional statistical classification model whereas one uses an advanced deep learning model. Results: Our experiment shows: 1) The class imbalance and HDLSS problems present a challenge to both traditional and advanced ML approaches. 2) The HC4RC approach is simple to use and can effectively address the class imbalance and HDLSS problems compared to similar approaches. Conclusion: This paper makes an important practical contribution to addressing the class imbalance and HDLSS problems in multiclass classification of software requirements.

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

↑