Cross-Project Multiclass Classification of EARS-Based Functional Requirements Utilizing Natural Language Processing, Machine Learning, and Deep Learning
Open Access
Abstract
Software requirements are primarily classified into functional and non-functional requirements. While research has explored automated multiclass classification of non-functional requirements, functional requirements remain largely unexplored. This study addressed that gap by introducing a comprehensive dataset comprising 9529 functional requirements from 315 diverse projects. The requirements are classified into five categories: ubiquitous, event-driven, state-driven, unwanted behavior, and optional capabilities. Natural Language Processing (NLP), machine learning (ML), and deep learning (DL) techniques are employed to enable automated classification. All software requirements underwent several procedures, including normalization and feature extraction techniques such as TF-IDF. A series of Machine learning (ML) and deep learning (DL) experiments were conducted to classify subcategories of functional requirements. Among the trained models, the convolutional neural network achieved the highest performance, with an accuracy of 93, followed by the long short-term memory network with an accuracy of 92, outperforming traditional decision-tree-based methods. This work offers a foundation for precise requirement classification tools by providing both the dataset and an automated classification approach.Keywords
This publication has 36 references indexed in Scilit:
- Identifying Non-Functional Requirements From Unconstrained Documents Using Natural Language Processing and Machine Learning ApproachesIEEE Access, 2021
- Identification and Classification of Architecturally Significant Functional Requirements2020
- Automatic Multi-class Non-Functional Software Requirements Classification Using Neural Networks2019
- Automated cloud service based quality requirement classification for software requirement specificationEvolutionary Intelligence, 2019
- Extraction of non-functional requirement using semantic similarity distanceNeural Computing and Applications, 2019
- Evaluating different i*-based approaches for selecting functional requirements while balancing and optimizing non-functional requirements: A controlled experimentInformation and Software Technology, 2018
- A methodology for the classification of quality of requirements using machine learning techniquesInformation and Software Technology, 2015
- Ontology-Based Classification of Non-functional Requirements in Software Specifications: A New Corpus and SVM-Based Classifier2013
- An Effective Requirement Engineering Process Model for Software Development and Requirements Management2010
- Automated classification of non-functional requirementsRequirements Engineering, 2007