Zero-Shot Learning for Requirements Classification: An Exploratory Study
Waad Alhoshan, Alessio Ferrari, Liping Zhao

TL;DR
This paper explores using zero-shot learning with transformer models to classify requirements without labeled data, showing promising results across multiple classification tasks in requirements engineering.
Contribution
It demonstrates the feasibility of zero-shot learning for requirements classification, reducing dependency on labeled training data in requirements engineering.
Findings
Achieved F1 score of 0.66 for FR/NFR classification
F1 scores of 0.72-0.80 for NFR classification
F1 score of 0.66 for security requirement classification
Abstract
Context: Requirements engineering researchers have been experimenting with machine learning and deep learning approaches for a range of RE tasks, such as requirements classification, requirements tracing, ambiguity detection, and modelling. However, most of today's ML/DL approaches are based on supervised learning techniques, meaning that they need to be trained using a large amount of task-specific labelled training data. This constraint poses an enormous challenge to RE researchers, as the lack of labelled data makes it difficult for them to fully exploit the benefit of advanced ML/DL technologies. Objective: This paper addresses this problem by showing how a zero-shot learning approach can be used for requirements classification without using any labelled training data. We focus on the classification task because many RE tasks can be framed as classification problems. Method: The ZSL…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Reliability and Analysis Research · Software Engineering Research · Software Engineering Techniques and Practices
MethodsNegative Face Recognition
