BET‐BiLSTM Model: A Robust Solution for Automated Requirements Classification
Authors:
- 5 March 2025
- journal article
- Published by Wiley in Journal of Software: Evolution and Process
- Vol. 37 (3)
Abstract
Transformer methods have revolutionized software requirements classification by combining advanced natural language processing to accurately understand and categorize requirements. While traditional methods like Doc2Vec and TF‐IDF are useful, they often fail to capture the deep contextual relationships and subtle meanings inherent in textual data. Transformer models possess unique strengths and weaknesses, impacting their ability to capture various aspects of the data. Consequently, relying on a single model can lead to suboptimal feature representations, limiting the overall performance of the classification task. To address this challenge, our study introduces an innovative BET‐BiLSTM (balanced ensemble transformers using Bi‐LSTM) model. This model combines the strengths of five transformer–based models BERT, RoBERTa, XLNet, GPT‐2, and T5 through weighted averaging ensemble, resulting in a sophisticated and resilient feature set. By employing data balancing techniques, we ensure a well‐distributed representation of features, addressing the issue of class imbalance. The BET‐BiLSTM model plays a crucial role in the classification process, achieving an impressive accuracy of 96%. Moreover, the practical applicability of this model is validated through its successful implementation on three publicly available unlabeled datasets and one additional labeled dataset. The model significantly improved the completeness and reliability of these datasets by accurately predicting labels for previously unclassified requirements. This makes our approach a powerful tool for large‐scale requirements analysis and classification tasks, outperforming traditional single‐model methods and showcasing its real‐world effectiveness.Keywords
Funding Information
- Natural Science Foundation of Anhui Province (2008085MF189)
This publication has 30 references indexed in Scilit:
- Software Requirements Classification: From Bag-of-Words to Transformer2025
- Non-functional requirements for machine learning: understanding current use and challenges among practitionersRequirements Engineering, 2023
- Representation Learning for Natural Language Processing2023
- A dual-stage attention-based Bi-LSTM network for multivariate time series predictionThe Journal of Supercomputing, 2022
- Framework for prediction and classification of non functional requirements: a novel visionCluster Computing, 2022
- Enactment of tf-idf and word2vec on Text Categorization2021
- Explainability as a non-functional requirement: challenges and recommendationsRequirements Engineering, 2020
- Ensemble learning: A surveyWIREs Data Mining and Knowledge Discovery, 2018
- Functional Requirements2016
- Introduction to Non-functional Requirements2015