A deep learning framework for non-functional requirement classification

Sci Rep. 2024 Feb 8;14(1):3216. doi: 10.1038/s41598-024-52802-0.

Abstract

Analyzing, identifying, and classifying nonfunctional requirements from requirement documents is time-consuming and challenging. Machine learning-based approaches have been proposed to minimize analysts' efforts, labor, and stress. However, the traditional approach of supervised machine learning necessitates manual feature extraction, which is time-consuming. This study presents a novel deep-learning framework for NFR classification to overcome these limitations. The framework leverages a more profound architecture that naturally captures feature structures, possesses enhanced representational power, and efficiently captures a broader context than shallower structures. To evaluate the effectiveness of the proposed method, an experiment was conducted on two widely-used datasets, encompassing 914 NFR instances. Performance analysis was performed on the applied models, and the results were evaluated using various metrics. Notably, the DReqANN model outperforms the other models in classifying NFR, achieving precision between 81 and 99.8%, recall between 74 and 89%, and F1-score between 83 and 89%. These significant results highlight the exceptional efficacy of the proposed deep learning framework in addressing NFR classification tasks, showcasing its potential for advancing the field of NFR analysis and classification.