Explainable attention based BiLSTM-SVM for Software Requirement Classification: Integrating Generative Artificial Intelligence
The human classification of software requirements, a difficult subjective process prone to inconsistencies and classification errors, is a major difficulty in software requirement specification (SRS). With an increasing number of requirements, manual classification becomes unfeasible. To address this issue, this work proposes a customized attention layer based BiLSTM-SVM hybrid architecture to implement automation in the categorization of software requirement. The model integrates a pre-trained GPT-Neo model to overcome the limitation of small real-world dataset by augmenting the data. The augmented dataset expands to 6,783 functional and non-functional requirements, seven times larger than the Promise_exp dataset. Experimental results on the augmented dataset are promising, achieving 97% accuracy on the testing set—significantly outperforming the other datasets. These findings demonstrate the effectiveness of data augmentation using the GPT-Neo model. GPT-Neo also enables the generation of balanced datasets, ensuring equal representation of FR and NFR. Additionally, LIME is implemented to ensure transparency in the model’s decision-making process. This approach allows future researchers to experiment with more complex architectures, such as transformers, without concerns of data scarcity or overfitting.
Authors
- Nazneen Akhter (ORCID: https://orcid.org/0000-0002-9691-4813)
- Arpa Tasnim (ORCID: https://orcid.org/0009-0006-6291-6649)
- Nushrat Jahan (ORCID: https://orcid.org/0009-0004-4438-6037)
- Kazi Nusrat Jahan Suchi
Institutions
- Bangladesh University of Professionals (BD)
Publication Details
- Published
- 2024-12-20
- DOI
- https://doi.org/10.1109/iccit64611.2024.11022439
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00