大规模分类体系下的多标签需求分类
Multi-Label Requirements Classification with Large Taxonomies
AI总结:
本研究探讨大规模分类体系下的多标签需求分类,通过零样本学习评估可行性,实验发现句子级分类器召回率更高,层级策略效果不稳定,且分类体系节点数与召回率负相关。
摘要:
分类通过将需求组织到各个类别中,便于访问和检索,从而辅助软件开发活动。迄今为止,大多数需求分类研究都聚焦于二元或多类分类。采用大规模分类体系的多标签分类能够辅助需求追踪,但通过监督训练实现成本过高。因此,我们研究零样本学习,以评估在大规模分类体系下进行多标签需求分类的可行性。我们与来自工业界的领域专家合作,将129条需求与来自包含250至1183个类别的分类体系中的769个标签进行了关联。随后,我们开展了一项受控实验,以研究分类器类型、分类体系层级及其结构特征对分类性能的影响。结果表明:(1)基于句子的分类器在召回率上显著高于基于词元的分类器;然而,精确率和F1分数并未显著提升。(2)层级分类策略并不总是能提升需求分类的性能。(3)分类体系的总节点数和叶节点数与基于句子的层级分类器的召回率呈强负相关。我们研究了大规模分类体系下多标签需求分类的问题,阐述了一个涉及行业参与者构建真实数据集的系统化流程,并提供了使用零样本学习的多种分类管道的分析。
英文摘要:
Classification aids software development activities by organizing requirements in classes for easier access and retrieval. The majority of requirements classification research has, so far, focused on binary or multi-class classification. Multi-label classification with large taxonomies could aid requirements traceability but is prohibitively costly with supervised training. Hence, we investigate zero-short learning to evaluate the feasibility of multi-label requirements classification with large taxonomies. We associated, together with domain experts from the industry, 129 requirements with 769 labels from taxonomies ranging between 250 and 1183 classes. Then, we conducted a controlled experiment to study the impact of the type of classifier, the hierarchy, and the structural characteristics of taxonomies on the classification performance. The results show that: (1) The sentence-based classifier had a significantly higher recall compared to the word-based classifier; however, the precision and F1-score did not improve significantly. (2) The hierarchical classification strategy did not always improve the performance of requirements classification. (3) The total and leaf nodes of the taxonomies have a strong negative correlation with the recall of the hierarchical sentence-based classifier. We investigate the problem of multi-label requirements classification with large taxonomies, illustrate a systematic process to create a ground truth involving industry participants, and provide an analysis of different classification pipelines using zero-shot learning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。