arrow
Return

Requirement Classification using Transfer Learning Models

delete2026-04-13
delete0
PRE
AI
T
Tawfeeq Alsanoosy *
DOI:10.1007/s13369-026-11242-wdelete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Requirement engineering (RE) is the initial and crucial phase of software development to identify software requirements. These requirements are categorised as functional requirements (FRs) or non-functional requirements (NFRs). Classifying requirements is a critical task in ensuring the successful development of high-quality software. Automated classification can reduce ambiguity and development costs. Recent studies applied ML and DL techniques to automate requirement classification. However, these methods often lacked generalisation. Furthermore, training DL models from scratch required substantial time due to the limited availability of labelled data in RE. Transfer learning provided a solution by offering pre-trained models adaptable to domain-specific data. This study evaluates the performance of pre-trained transformer models, specifically BERT, RoBERTa and DeBERTa, for both binary and multi-class NFR classification using a newly collected dataset. The dataset comprised 4908 requirements, with 2595 FRs and 2313 NFRs. For binary requirement classification, BERT combined with LSTM achieved F1-score of 86.93%, followed by DeBERTa with 86.85%. For multi-class NFR classification, BERT combined with LSTM attained F1-scores ranging from 95.00 to 77.93%, with a weighted average F1-score of 89.45%. This research contributed to the understanding of transformer models for FR and NFR classification, thereby establishing a foundation for improved software development and quality. The findings also indicated promising results when applied to unseen software projects, yielding satisfactory outcomes. Additionally, the use of explainable artificial intelligence will support RE practitioners, as it provides transparency in the model’s decision-making, enabling practitioners to understand why certain classifications are made. This increases the model’s trustworthiness across projects.
Keywords:
Requirement engineering
Requirement classification
Non-functional requirements
BERT
RoBERTa
DeBERTa
LSTMs

Journal

A
Arabian Journal for Science and Engineering
IF:
2.9
Papers:
1.1K
Citations:
0

Organization

C
college of computer science and engineering
Scholars:
53
Papers: 22
Citations: 0
Cited Papers

Cited Papers

BERT applications in natural language processing: a review
err2025-03-15
err1
errOAAI
errGardazi, Nadia Mushtaq; Malik, Muhammad Kamran; Bukhari, Amal; Alshemaimri, Bader
errShare
errSave
errShare
errSave
AI4People—An Ethical Framework for a Good AI Society: Opportunities, Risks, Principles, and Recommendations
err2018-11-26
err0
errOAAI
errLuciano Floridi; Josh Cowls; Monica Beltrametti; Raja Chatila; Patrice Chazerand; Virginia Dignum; Christoph Luetge; Robert Madelin; Ugo Pagallo; Francesca Rossi; Burkhard Schafer; Peggy Valcke; Effy Vayena
errShare
errSave
Long Short-Term Memory
err1997-11-01
err0
PREAI
errSepp Hochreiter; Jürgen Schmidhuber
errShare
errSave
Responsible AI—Two Frameworks for Ethical Design Practice
err2020-03-01
err0
errOAAI
errDorian Peters; Karina Vold; Diana Robinson; Rafael A. Calvo
errShare
errSave
Deep Learning-based Text Classification: A Comprehensive Review
err2021-04-17
err587
PREAI
errMinaee, Shervin; Kalchbrenner, Nal; Cambria, Erik; Nikzad, Narjes; Chenaghlu, Meysam; Gao, Jianfeng
errShare
errSave
researcher View more