Automated NLP‐Based Classification of Nonfunctional Requirements in Blockchain and Cross‐Domain Software Systems Using BERT and Machine Learning
Authors:
- Touseef TahirTTTouseef Tahir
- Bilal HassanBilal Hassan
- Hamid JahankhaniHJHamid Jahankhani
- Nimra ZiaNZNimra Zia
- Muhammad SharjeelMSMuhammad Sharjeel
Open Access
- 1 January 2025
- journal article
- Published by Institution of Engineering and Technology (IET) in IET Software
- Vol. 2025 (1)
Abstract
Automated nonfunctional requirements (NFRs) classification enhances consistency and traceability by systematically labeling requirements, saving effort, supporting early architectural and testing decisions, improving stakeholder communication, and enabling quality across diverse software domains. While prior work has applied natural language processing (NLP) and machine learning (ML) to NFR classification, existing datasets are often limited in size, domain diversity, and contextual richness. This study presents a novel dataset comprising over 2400 NFRs spanning 269 software projects across 26 software application domains, including nine blockchain projects. The raw requirements are standardized using Rupp’s boilerplate to reduce vagueness and ambiguity, and the classification of NFRs types follows ISO/IEC 25,010 definitions. We employ a range of traditional ML, deep learning (DL), and a transformer‐based model (i.e., BERT‐base) for automated classification of NFRs, evaluating performance across cross‐domain and blockchain‐specific NFRs. Results highlight that domain‐aware adaptation significantly enhances classification accuracy, with traditional ML and DL models showing strong performance on blockchain requirements. This work contributes a publicly available, context‐rich dataset and provides empirical insights into the effectiveness of NLP‐based NFR classification in both general and blockchain‐specific settings.Keywords
This publication has 42 references indexed in Scilit:
- A study on reported under-documented non-functional requirements as an indicator of technical debtSoftware Quality Journal, 2025
- The application of AI techniques in requirements classification: a systematic mappingArtificial Intelligence Review, 2024
- MNoR-BERT: multi-label classification of non-functional requirements using BERTNeural Computing and Applications, 2023
- Blockchain for requirements traceability: A qualitative approachJournal of Software: Evolution and Process, 2022
- Requirements Elicitation for Applications Running on a Blockchain: Preliminary Results2021
- Verification of Architectural Views Model 1+5 Applicability2020
- Extraction of non-functional requirement using semantic similarity distanceNeural Computing and Applications, 2019
- Understanding the motivations, challenges and needs of Blockchain software developers: a surveyEmpirical Software Engineering, 2019
- A review of machine learning algorithms for identification and classification of non-functional requirementsExpert Systems with Applications: X, 2019
- FSKNN: Multi-label text categorization based on fuzzy similarity and k nearest neighborsExpert Systems with Applications, 2012