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 条
  • [41] Structure-aware siamese graph neural networks for encounter-level patient similarity learning
    Gu, Yifan
    Yang, Xuebing
    Tian, Lei
    Yang, Hongyu
    Lv, Jicheng
    Yang, Chao
    Wang, Jinwei
    Xi, Jianing
    Kong, Guilan
    Zhang, Wensheng
    JOURNAL OF BIOMEDICAL INFORMATICS, 2022, 127
  • [42] Siamese Neural Networks on the Trail of Similarity in Bugs in 5G Mobile Network Base Stations
    Zarebski, Sebastian
    Kuzmich, Aleksander
    Sitko, Sebastian
    Rusek, Krzysztof
    Cholda, Piotr
    ELECTRONICS, 2022, 11 (22)
  • [43] Similarity-based pairing improves efficiency of siamese neural networks for regression tasks and uncertainty quantification
    Yumeng Zhang
    Janosch Menke
    Jiazhen He
    Eva Nittinger
    Christian Tyrchan
    Oliver Koch
    Hongtao Zhao
    Journal of Cheminformatics, 15
  • [44] SNMatch: An Unsupervised Method for Column Semantic-Type Detection Based on Siamese Network
    Nie, Tiezheng
    Mao, Hanyu
    Liu, Aolin
    Wang, Xuliang
    Shen, Derong
    Kou, Yue
    MATHEMATICS, 2025, 13 (04)
  • [45] Semantic Embeddings for Food Search Using Siamese Networks
    Vijjali, Rutvik
    Mishra, Anurag
    Nagamalla, Srinivas
    Sathyanarayna, Jairaj
    2020 4TH INTERNATIONAL CONFERENCE ON NATURAL LANGUAGE PROCESSING AND INFORMATION RETRIEVAL, NLPIR 2020, 2020, : 138 - 143
  • [46] Auto-clustering Pairs Generation Method for Siamese Neural Networks Training
    Mokin, Arseniy K.
    Gayer, Alexander, V
    Sheshkus, Alexander, V
    Arlazarov, Vladimir L.
    FOURTEENTH INTERNATIONAL CONFERENCE ON MACHINE VISION (ICMV 2021), 2022, 12084
  • [47] WTSM-SiameseNet: A Wood-Texture-Similarity-Matching Method Based on Siamese Networks
    Zhang, Yizhuo
    Wu, Guanlei
    Shi, Shen
    Yu, Huiling
    INFORMATION, 2024, 15 (12)
  • [48] TabSim: A Siamese Neural Network for Accurate Estimation of Table Similarity
    Habibi, Maryam
    Starlinger, Johannes
    Leser, Ulf
    2020 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2020, : 930 - 937
  • [49] A Siamese neural network for learning the similarity metrics of linear features
    Li, Pengbo
    Yan, Haowen
    Lu, Xiaomin
    INTERNATIONAL JOURNAL OF GEOGRAPHICAL INFORMATION SCIENCE, 2023, 37 (03) : 684 - 711
  • [50] Texture Similarity Evaluation via Siamese Convolutional Neural Network
    Hudec, Lukas
    Benesova, Wanda
    2018 25TH INTERNATIONAL CONFERENCE ON SYSTEMS, SIGNALS AND IMAGE PROCESSING (IWSSIP), 2018,