错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Classification of Crowd-Based Software Requirements via Unsupervised Learning

  • Naimish Sharma,
  • Arpit Sharma

摘要

Crowd-based requirements engineering (CrowdRE) involves large scale user participation in RE related tasks. In order to extract meaningful insights, supervised machine learning techniques (SML) have been used in the literature for the classification of crowd-based software requirements. These techniques involve training ML models which requires a lot of time, computational resources and high quality labeled data which is extremely rare to obtain in the context of CrowdRE. We focus on the problem of classifying crowd-based software requirements using unsupervised ML techniques. Our approach involves generating sentence embeddings, evaluating them using information retrieval (IR) measures and applying clustering algorithms on the best performing sentence embeddings. In the last step, we apply topic modeling using BERTopic followed by the manual labeling of clusters. We also provide the option of automated labeling of these clusters using the idea of semantic similarity. We have applied our approach to a large-sized dataset with around 3000 crowd-generated requirements for smart home applications. We have experimented with both binary and multi-class classification problems, e.g., tertiary, quaternary and quinary classification. Our experimental results demonstrate that this approach can be very useful for the classification of crowd-based software requirements in the absence of labeled data. Additionally, our approach can also be used to analyse and identify labeling related issues in the dataset which may be useful for improving the quality of existing ground truth data.