arrow
返回

Automatically classifying non-functional requirements using deep neural network

delete2022-12-01
delete7
PRE
AI
B
Bing Li *
DOI:10.1016/j.patcog.2022.108948delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Non-functional requirements are property that software products must have in order to meet the user's business requirements, and are additional constraints on the quality and characteristics of software sys-tems. They are generally written by software designers and documented in various parts of requirements documentation. When developing systems, developers need to classify non-functional requirements from requirements documents, and classifying these non-functional requirements requires professional skills, experience, and domain knowledge, which is challenging and time-consuming for developers. It would be beneficial to implement automatic classification of non-functional requirements from requirements documents, which could reduce the manual, time, and mental fatigue involved in identifying specific non-functional requirements from a large number of requirements. In this paper, a deep neural network model called NFRNet is designed to automatically classify non-functional requirements from software requirement documents. The network consists of two parts. One is an improved BERT word embedding model based on N-gram masking for learning context representation of the requirement descriptions, and the other is a Bi-LSTM classification network for capture context information of the requirement descrip-tions. We use a Softmax classifier in the end to classify the requirement descriptions. At the same time, in order to accelerate the training and improve the generalization ability of the model, the network uses multi-sample dropout regularization technology. This new regularization technology can reduce the num-ber of iterations needed for training, accelerate the training of deep neural networks, and the networks trained achieved lower error rates. In addition, we expanded the original non-functional requirements dataset (PROMISE dataset) and designed a new dataset called SOFTWARE NFR. The new dataset far ex-ceeds the original dataset in terms of the number of requirement description sentences and the number of non-functional requirements categories. It can be taken as a new testbed for non-functional require-ments classification. Through cross-validation on the new dataset, the experimental results show that the network designed in this paper is significantly better than the other 17 classification methods in terms of Precision, Recall, and F1-score. At the same time, for the training set and the validation set, using the multi-sample dropout regularization technology can accelerate the training speed, reduce the number of iterations, and achieve lower error rates and loss.(c) 2022 Elsevier Ltd. All rights reserved.
Keyword:
Non-functional requirements
Non-functional requirements classification
BERT
N-gram
Bi-LSTM
Multi-sample dropout

期刊

Pattern Recognition 封面图
Pattern Recognition
IF:
7.6
论文数:
1.3W
被引数:
4.5W

机构

G
Guangxi Normal University
学者数:
7.7K
论文数: 4.9K
被引数: 5.1K
G
guangdong university of science & technology
学者数:
242
论文数: 197
被引数: 0
引用论文

引用论文

GPNet: Gated pyramid network for semantic segmentationGPNet: 用于语义分割的门控金字塔网络
err2021-07-01
err34
PREAI
errZhang, Yu; Sun, Xin; Dong, Junyu; Chen, Changrui; Lv, Qingxuan
err分享
err收藏
Arbitrarily shaped scene text detection with dynamic convolution
err2022-07-01
err18
PREAI
errCai, Ying; Liu, Yuliang; Shen, Chunhua; Jin, Lianwen; Li, Yidong; Ergu, Daji
err分享
err收藏
Automatic Requirements Classification Based on Graph Attention Network
err2022-01-01
err15
errOAAI
errLi, Gang; Zheng, Chengpeng; Li, Min; Wang, Haosen
err分享
err收藏
Contextual deconvolution network for semantic segmentation用于语义分割的上下文反卷积网络
err2020-05-01
err46
PREAI
errFu, Jun; Liu, Jing; Li, Yong; Bao, Yongjun; Yan, Weipeng; Fang, Zhiwei; Lu, Hanqing
err分享
err收藏
没有更多内容