{"title":"基于合作关注机制与标签嵌入融合的非功能性需求分类模型","authors":"Zuhua Dai, Yifu He","doi":"10.1016/j.compeleceng.2024.109856","DOIUrl":null,"url":null,"abstract":"<div><div>Intelligent classification of software requirements is a hot research issue in the field of requirements engineering. Complete and accurate identification of functional requirements (FRs) and non-functional requirements (NFRs) is the primary task of requirements engineering. However, in real software projects, NFRs are easily neglected and may become a potential risk of project failure. Text is the main source of information about software requirements. With the increasing scale of software projects, a large number of complex types of text materials are used for software requirements analysis. Manual identification of NFRs of software projects has the problems of easy omission, ambiguity, vagueness, and high time-consuming cost. Based on the above existing defects, a deep neural network model named CAFLE is designed in this paper to solve it. CAFLE is composed of two parts, Text-label cooperative attention encoder (TLCAE) and Label decoder (LD). TLCAE adopts a Bi-directional long short-term memory network (Bi-LSTM) and multi-head cooperative attention mechanism to generate an encoded representation of the mutual involvement of requirement classification labels and requirement text. LD is an LSTM decoder with an attention mechanism constructed for the multi-class classification task of requirement text. LD utilizes the representation generated by TLCAE for prediction. Experimental results on the PROMISE benchmark dataset show that CAFLE outperforms existing NFRs classification methods with an F1 score of 95%.</div></div>","PeriodicalId":50630,"journal":{"name":"Computers & Electrical Engineering","volume":"121 ","pages":"Article 109856"},"PeriodicalIF":4.0000,"publicationDate":"2024-11-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A non-functional requirements classification model based on cooperative attention mechanism fused with label embedding\",\"authors\":\"Zuhua Dai, Yifu He\",\"doi\":\"10.1016/j.compeleceng.2024.109856\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Intelligent classification of software requirements is a hot research issue in the field of requirements engineering. Complete and accurate identification of functional requirements (FRs) and non-functional requirements (NFRs) is the primary task of requirements engineering. However, in real software projects, NFRs are easily neglected and may become a potential risk of project failure. Text is the main source of information about software requirements. With the increasing scale of software projects, a large number of complex types of text materials are used for software requirements analysis. Manual identification of NFRs of software projects has the problems of easy omission, ambiguity, vagueness, and high time-consuming cost. Based on the above existing defects, a deep neural network model named CAFLE is designed in this paper to solve it. CAFLE is composed of two parts, Text-label cooperative attention encoder (TLCAE) and Label decoder (LD). TLCAE adopts a Bi-directional long short-term memory network (Bi-LSTM) and multi-head cooperative attention mechanism to generate an encoded representation of the mutual involvement of requirement classification labels and requirement text. LD is an LSTM decoder with an attention mechanism constructed for the multi-class classification task of requirement text. LD utilizes the representation generated by TLCAE for prediction. Experimental results on the PROMISE benchmark dataset show that CAFLE outperforms existing NFRs classification methods with an F1 score of 95%.</div></div>\",\"PeriodicalId\":50630,\"journal\":{\"name\":\"Computers & Electrical Engineering\",\"volume\":\"121 \",\"pages\":\"Article 109856\"},\"PeriodicalIF\":4.0000,\"publicationDate\":\"2024-11-27\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computers & Electrical Engineering\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0045790624007833\",\"RegionNum\":3,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Electrical Engineering","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0045790624007833","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
A non-functional requirements classification model based on cooperative attention mechanism fused with label embedding
Intelligent classification of software requirements is a hot research issue in the field of requirements engineering. Complete and accurate identification of functional requirements (FRs) and non-functional requirements (NFRs) is the primary task of requirements engineering. However, in real software projects, NFRs are easily neglected and may become a potential risk of project failure. Text is the main source of information about software requirements. With the increasing scale of software projects, a large number of complex types of text materials are used for software requirements analysis. Manual identification of NFRs of software projects has the problems of easy omission, ambiguity, vagueness, and high time-consuming cost. Based on the above existing defects, a deep neural network model named CAFLE is designed in this paper to solve it. CAFLE is composed of two parts, Text-label cooperative attention encoder (TLCAE) and Label decoder (LD). TLCAE adopts a Bi-directional long short-term memory network (Bi-LSTM) and multi-head cooperative attention mechanism to generate an encoded representation of the mutual involvement of requirement classification labels and requirement text. LD is an LSTM decoder with an attention mechanism constructed for the multi-class classification task of requirement text. LD utilizes the representation generated by TLCAE for prediction. Experimental results on the PROMISE benchmark dataset show that CAFLE outperforms existing NFRs classification methods with an F1 score of 95%.
期刊介绍:
The impact of computers has nowhere been more revolutionary than in electrical engineering. The design, analysis, and operation of electrical and electronic systems are now dominated by computers, a transformation that has been motivated by the natural ease of interface between computers and electrical systems, and the promise of spectacular improvements in speed and efficiency.
Published since 1973, Computers & Electrical Engineering provides rapid publication of topical research into the integration of computer technology and computational techniques with electrical and electronic systems. The journal publishes papers featuring novel implementations of computers and computational techniques in areas like signal and image processing, high-performance computing, parallel processing, and communications. Special attention will be paid to papers describing innovative architectures, algorithms, and software tools.