基于合作关注机制与标签嵌入融合的非功能性需求分类模型

IF 4 3区 计算机科学 Q1 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE
Zuhua Dai, Yifu He
{"title":"基于合作关注机制与标签嵌入融合的非功能性需求分类模型","authors":"Zuhua Dai,&nbsp;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,&nbsp;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}
引用次数: 0

摘要

软件需求的智能分类是需求工程领域的一个热点研究课题。完整准确地识别功能需求(FRs)和非功能需求(NFRs)是需求工程的首要任务。然而,在实际软件项目中,非功能性需求很容易被忽视,成为项目失败的潜在风险。文本是软件需求信息的主要来源。随着软件项目规模的不断扩大,大量复杂类型的文本资料被用于软件需求分析。人工识别软件项目的 NFR 存在易遗漏、模糊、含糊、耗时成本高等问题。基于上述现有缺陷,本文设计了一种名为 CAFLE 的深度神经网络模型来解决这一问题。CAFLE 由文本-标签合作注意力编码器(TLCAE)和标签解码器(LD)两部分组成。TLCAE 采用双向长短期记忆网络(Bi-LSTM)和多头合作注意机制,生成需求分类标签和需求文本相互参与的编码表示。LD 是一种具有注意力机制的 LSTM 解码器,专为需求文本的多类分类任务而构建。LD 利用 TLCAE 生成的表示进行预测。在 PROMISE 基准数据集上的实验结果表明,CAFLE 优于现有的 NFRs 分类方法,F1 分数高达 95%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
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%.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Computers & Electrical Engineering
Computers & Electrical Engineering 工程技术-工程:电子与电气
CiteScore
9.20
自引率
7.00%
发文量
661
审稿时长
47 days
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信