Siamese Neural Networks Method for Semantic Requirements Similarity Detection

被引:0
|
作者
Alnajem, Nojoom A. [1 ]
Binkhonain, Manal [1 ]
Hossain, M. Shamim [1 ]
机构
[1] King Saud Univ, Coll Comp & Informat Sci, Dept Software Engn, Riyadh, Saudi Arabia
来源
IEEE ACCESS | 2024年 / 12卷
关键词
Semantics; Transformers; Accuracy; Vectors; Software; Long short term memory; Requirements engineering; Computer architecture; Natural language processing; XML; Artificial intelligence; Neural networks; Artificial intelligence for requirements engineering; large language models; long short-term memory networks; requirements; requirements engineering; requirements similarity; semantic requirements similarity; Siamese neural networks; similarity; transformer models;
D O I
10.1109/ACCESS.2024.3469636
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Detecting semantic similarity between textual requirements is a crucial task for various natural language processing (NLP)-based requirements engineering (RE) applications. It is also challenging due to the nature of these requirements, which are written in natural language (NL), include domain knowledge, and often follow pre-defined templates that contain duplicated words. Recently, deep neural networks (DNNs) have shown promising results in measuring semantic similarity between texts. Siamese neural networks (SNNs), a class of DNNs, are widely used for measuring similarity between various data types, demonstrating their capability and independence of language and domain. Nevertheless, SNNs have a limited use in measuring semantic requirements similarity (SRS). In this paper, a novel metric-based learning method is proposed using SNNs that combines a sentence Transformer model (LLM) and long short-term memory (LSTM) networks with a backward network layer to measure semantic similarity between pairs of requirements. The proposed method is evaluated on an annotated SRS dataset that was built based on public datasets (i.e., PROMISE and PURE) and compared with other state-of-the-art methods (i.e., fine-tuning and zero-shot methods) using accuracy, precision, recall, and F1-score classification metrics. The results show that the proposed method achieved an accuracy of 95.42% and an F1-score of 95.71%, outperforming the state-of-the-art methods.
引用
收藏
页码:140932 / 140947
页数:16
相关论文
共 50 条
  • [31] Similarity for Natural Semantic Networks
    Torres, Francisco
    Garza, Sara E.
    SIMILARITY SEARCH AND APPLICATIONS, 2014, 8821 : 195 - 200
  • [32] Siamese BERT Architecture Model with attention mechanism for Textual Semantic Similarity
    Li, Ruihao
    Cheng, Lianglun
    Wang, Depei
    Tan, Junming
    MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 82 (30) : 46673 - 46694
  • [33] Siamese BERT Architecture Model with attention mechanism for Textual Semantic Similarity
    Ruihao Li
    Lianglun Cheng
    Depei Wang
    Junming Tan
    Multimedia Tools and Applications, 2023, 82 : 46673 - 46694
  • [34] Application of Siamese Neural Networks for Fast Vulnerability Detection in MIPS Executable Code
    Demidov, Roman
    Pechenkin, Alexander
    PROCEEDINGS OF THE FUTURE TECHNOLOGIES CONFERENCE (FTC) 2019, VOL 2, 2020, 1070 : 454 - 466
  • [35] Plagiarism Detection of Multi-Threaded Programs via Siamese Neural Networks
    Tian, Zhenzhou
    Wang, Qing
    Gao, Cong
    Chen, Lingwei
    Wu, Dinghao
    IEEE ACCESS, 2020, 8 (08): : 160802 - 160814
  • [36] Cross-Lingual Semantic Textual Similarity Modeling Using Neural Networks
    Li, Xia
    Chen, Minping
    Zeng, Zihang
    MACHINE TRANSLATION, CWMT 2018, 2019, 954 : 52 - 62
  • [37] Sentence Similarity Measurement with Convolutional Neural Networks Using Semantic and Syntactic Features
    Zhang, Shiru
    Liang, Zhiyao
    Lin, Jian
    CMC-COMPUTERS MATERIALS & CONTINUA, 2020, 63 (02): : 943 - 957
  • [38] Measuring semantic similarity between words using lexical knowledge and neural networks
    Li, YH
    Bandar, Z
    Mclean, D
    INTELLIGENT DATA ENGINEERING AND AUTOMATED LEARNING - IDEAL 2002, 2002, 2412 : 111 - 116
  • [39] Intelligent fault detection strategy for knowledge entities in fault semantic networks of distribution network based on siamese networks
    Sun, Xinjie
    Qin, Tao
    Tong, Lingyun
    Zhang, Haoliang
    Xu, Weihan
    PLOS ONE, 2024, 19 (05):
  • [40] Similarity-based pairing improves efficiency of siamese neural networks for regression tasks and uncertainty quantification
    Zhang, Yumeng
    Menke, Janosch
    He, Jiazhen
    Nittinger, Eva
    Tyrchan, Christian
    Koch, Oliver
    Zhao, Hongtao
    JOURNAL OF CHEMINFORMATICS, 2023, 15 (01)