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 条
  • [1] Siamese Networks for Semantic Pattern Similarity
    Benajiba, Yassine
    Sun, Jin
    Zhang, Yong
    Jiang, Longquan
    Weng, Zhiliang
    Biran, Or
    2019 13TH IEEE INTERNATIONAL CONFERENCE ON SEMANTIC COMPUTING (ICSC), 2019, : 191 - 194
  • [2] Measuring Semantic Similarity Between Sentences Using a Siamese Neural Network
    Ichida, Alexandre Yukio
    Meneguzzi, Felipe
    Ruiz, Duncan D.
    2018 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2018,
  • [3] SIMILARITY METRIC BASED ON SIAMESE NEURAL NETWORKS FOR VOICE CASTING
    Gresse, Adrien
    Quillot, Mathias
    Dufour, Richard
    Labatut, Vincent
    Bonastre, Jean-Francois
    2019 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2019, : 6585 - 6589
  • [4] Siamese Neural Networks for Class Activity Detection
    Li, Hang
    Wang, Zhiwei
    Tang, Jiliang
    Ding, Wenbiao
    Liu, Zitao
    ARTIFICIAL INTELLIGENCE IN EDUCATION (AIED 2020), PT II, 2020, 12164 : 162 - 167
  • [5] Asymmetric Siamese Networks for Semantic Change Detection in Aerial Images
    Yang, Kunping
    Xia, Gui-Song
    Liu, Zicheng
    Du, Bo
    Yang, Wen
    Pelillo, Marcello
    Zhang, Liangpei
    IEEE TRANSACTIONS ON GEOSCIENCE AND REMOTE SENSING, 2022, 60
  • [6] ReSimNet: drug response similarity prediction using Siamese neural networks
    Jeon, Minji
    Park, Donghyeon
    Lee, Jinhyuk
    Jeon, Hwisang
    Ko, Miyoung
    Kim, Sunkyu
    Choi, Yonghwa
    Tan, Aik-Choon
    Kang, Jaewoo
    BIOINFORMATICS, 2019, 35 (24) : 5249 - 5256
  • [7] Similarity Measure of Time Series Based on Siamese and Sequential Neural Networks
    Li, Jiangeng
    Xu, Changjian
    Zhang, Ting
    PROCEEDINGS OF THE 39TH CHINESE CONTROL CONFERENCE, 2020, : 6408 - 6413
  • [8] Order Matters: Semantic-Aware Neural Networks for Binary Code Similarity Detection
    Yu, Zeping
    Cao, Rui
    Tang, Qiyi
    Nie, Sen
    Huang, Junzhou
    Wu, Shi
    THIRTY-FOURTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, THE THIRTY-SECOND INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE AND THE TENTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2020, 34 : 1145 - 1152
  • [9] Siamese Convolutional Neural Networks to Quantify Crack Pattern Similarity in Masonry Facades
    Rozsas, Arpad
    Slobbe, Arthur
    Huizinga, Wyke
    Kruithof, Maarten
    Pillai, Krishna Ajithkumar
    Kleijn, Kelvin
    Giardina, Giorgia
    INTERNATIONAL JOURNAL OF ARCHITECTURAL HERITAGE, 2023, 17 (01) : 147 - 169
  • [10] Detection of Image Manipulations Using Siamese Convolutional Neural Networks
    Mazumdar, Aniruddha
    Singh, Jaya
    Tomar, Yosha Singh
    Bora, P. K.
    PATTERN RECOGNITION AND MACHINE INTELLIGENCE, PREMI 2019, PT I, 2019, 11941 : 226 - 233