Deep Req Class: A Hybrid Deep Learning Framework for Automated Classification and Ambiguity Detection in Functional and Non-Functional Requirements

Authors

  • Ashraf Zia Department of Computer Science, Abdul Wali Khan University, Mardan, Pakistan Author
  • Hashim Ali Department of Computer Science, Abdul Wali Khan University, Mardan, Pakistan Author
  • Umer Tanveer Department of Computer Science, Abdul Wali Khan University, Mardan, Pakistan Author
  • Aftab Ahmed Department of Computer Science, Abdul Wali Khan University, Mardan, Pakistan Author
  • Kiran Falak Sher Department of Computer Science, Abdul Wali Khan University, Mardan, Pakistan Author
  • Shaista Bibi Root Millenium Schools, Mardan, Pakistan Author

DOI:

https://doi.org/10.63075/mhmfaz31

Abstract

In the domain of software engineering, the accurate classification of software requirements into Functional Requirements (FR) and Non-Functional Requirements (NFR) is pivotal for successful system development. Misclassification or ambiguity in requirements can lead to architectural erosion, increased costs, and project failure. Traditional manual classification methods are labor-intensive and prone to human error, while existing machine learning approaches often struggle with the semantic nuances of natural language and fail to address ambiguity concurrently. This paper proposes 'DeepReqClass,' a novel hybrid deep learning framework that synergizes Bidirectional Encoder Representations from Transformers (BERT) with Convolutional Neural Networks (CNN) and Bidirectional Long Short-Term Memory (Bi-LSTM) networks to automate requirements classification and ambiguity detection. By leveraging BERT for contextual embedding, CNN for local feature extraction, and Bi-LSTM for sequential dependency modeling, DeepReqClass captures both the syntactic and semantic essence of requirements specifications. We curated a diverse dataset of software requirements and conducted extensive experiments. The results demonstrate that DeepReqClass achieves a state-of-the-art accuracy of 98.4% in FR/NFR classification and 96.2% in ambiguity detection, significantly outperforming baseline models such as Support Vector Machines and standalone Recurrent Neural Networks. Furthermore, the framework effectively prioritizes requirements based on clarity and impact. This study contributes a robust tool for requirements engineers, facilitating automated quality assurance in the early stages of the software development life cycle (SDLC). The proposed model promises to streamline the requirements engineering process, ensuring that critical functional and non-functional constraints are identified and managed effectively.

Downloads

Download data is not yet available.

Downloads

Published

2025-05-15

Issue

Section

Computer Science

How to Cite

Deep Req Class: A Hybrid Deep Learning Framework for Automated Classification and Ambiguity Detection in Functional and Non-Functional Requirements. (2025). Annual Methodological Archive Research Review, 3(5), 466-477. https://doi.org/10.63075/mhmfaz31

Most read articles by the same author(s)